/* ═══════════════════════════════════════════════════════════════════════
   BITCOIN RACING US — Static Site Stylesheet
   Converted from Next.js + Tailwind to pure CSS
   Design: Dark theme, Bitcoin orange (#FF9D0A), racing aesthetic
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --color-bg: #0A0A0A;
  --color-bg-elevated: #141414;
  --color-bg-card: #1A1A1A;
  --color-accent: #FF9D0A;
  --color-accent-hover: #FFB340;
  --color-text: #FFFFFF;
  --color-text-muted: #A0A0A0;
  --color-text-dim: #666666;
  --color-border: #4A4A4A;
  --color-success: #22C55E;
  --color-error: #EF4444;

  /* Animation */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Fonts */
  --font-display: 'Bai Jamjuree', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════ */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-body { font-family: var(--font-body); }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }

.text-accent { color: var(--color-accent); }
.text-text { color: var(--color-text); }
.text-text-muted { color: var(--color-text-muted); }
.text-text-dim { color: var(--color-text-dim); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* ═══════════════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════════════════ */
.container { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-xs { max-width: 20rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-none { flex: none; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.w-px { width: 1px; }
.h-px { height: 1px; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-1 { margin-left: 0.25rem; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border { border: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.border-b { border-bottom: 1px solid var(--color-border); }
.border-l-4 { border-left: 4px solid; }
.border-accent { border-color: var(--color-accent); }
.border-border { border-color: var(--color-border); }

.bg-bg { background-color: var(--color-bg); }
.bg-bg-elevated { background-color: var(--color-bg-elevated); }
.bg-bg-card { background-color: var(--color-bg-card); }
.bg-accent { background-color: var(--color-accent); }
.bg-transparent { background-color: transparent; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

.transition-all { transition: all var(--duration-normal) ease; }
.transition-colors { transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease; }
.transition-opacity { transition: opacity var(--duration-normal) ease; }
.transition-transform { transition: transform var(--duration-normal) ease; }

.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* Screen reader only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   COMPONENT CLASSES
   ═══════════════════════════════════════════════════════════════════════ */

/* Section container */
.section { min-height: 100vh; padding: 5rem 2rem; position: relative; overflow: hidden; }

/* Section label (eyebrow text) */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

/* Section headline */
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* Glass overlay */
.glass {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
}

/* Card base */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  transition: all var(--duration-normal) ease;
}
.card:hover { border-color: rgba(255, 157, 10, 0.5); }

/* Button primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  transition: all var(--duration-fast) ease;
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* Button secondary */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  transition: all var(--duration-fast) ease;
}
.btn-secondary:hover { background: var(--color-accent); color: var(--color-bg); }

/* Racing number badge */
.race-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}


/* Checkered divider */
.checkered-divider {
  height: 8px;
  background-image:
    linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
    linear-gradient(-45deg, #1a1a1a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1a1a1a 75%),
    linear-gradient(-45deg, transparent 75%, #1a1a1a 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
  background-color: #2a2a2a;
  opacity: 0.4;
}


/* Flow accent line */
.flow-accent {
  position: absolute; left: 0; right: 0; height: 1px;
  opacity: 0.06; pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, var(--color-accent) 30%, var(--color-accent) 70%, transparent 95%);
}

/* Start light */
.start-light {
  width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  transition: all 200ms ease;
}
.start-light--red { background: #dc2626; box-shadow: 0 0 20px rgba(204, 0, 0, 0.6); }
.start-light--go { background: var(--color-success); box-shadow: 0 0 20px rgba(34, 197, 94, 0.6); }


/* ═══════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  height: 100vh; min-height: 600px;
}

/* Bottom fade */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,10,10,0.5) 40%, rgba(10,10,10,0.9) 70%, #0A0A0A 100%);
  z-index: 25; pointer-events: none;
}

/* Speed lines */
.hero::before {
  content: '';
  position: absolute; top: 20%; left: -10%; right: 50%; height: 50%;
  background: repeating-linear-gradient(90deg, transparent 0px, transparent 40px, rgba(255,157,10,0.03) 40px, rgba(255,157,10,0.03) 42px);
  filter: blur(1px); opacity: 0.6; z-index: 3; pointer-events: none;
  animation: speedLines 8s linear infinite;
}

@keyframes speedLines {
  0% { transform: translateX(0); }
  100% { transform: translateX(80px); }
}


.hero__content {
  position: absolute; z-index: 20;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem;
  top: 42%; right: 4rem; left: 62%;
  transform: translateY(-50%);
}

.hero__headline {
  font-family: var(--font-display); font-weight: 700;
  line-height: 0.95; max-width: 500px; text-align: right;
  font-size: clamp(2rem, 5vw, 3.5rem);
  opacity: 0; transform: translateY(40px);
}

.hero__cta {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-weight: 700;
  color: var(--color-bg); background: var(--color-accent);
  padding: 0.75rem 1.5rem; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.875rem;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  opacity: 0; transform: translateY(20px);
  transition: all var(--duration-normal) ease;
}
.hero__cta:hover {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(4px);
  background: var(--color-accent-hover);
}

.hero__scroll {
  position: absolute; z-index: 30;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  bottom: 10%; right: 2rem; opacity: 0;
  animation: scrollFloat 3s ease-in-out infinite;
}

@keyframes scrollFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__scroll-text {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--color-text-muted); text-transform: uppercase;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl; text-orientation: mixed;
}

.hero__scroll-line {
  width: 1px; height: 4rem; position: relative;
  background: linear-gradient(to bottom, var(--color-accent) 0%, var(--color-accent) 50%, transparent 100%);
}
.hero__scroll-line::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { top: 0; opacity: 1; }
  80% { top: 100%; opacity: 0.3; }
  100% { top: 0; opacity: 1; }
}


/* ═══════════════════════════════════════════════════════════════════════
   HERO RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero__content { left: 1rem; right: 1rem; align-items: center; text-align: center; top: 15vh; transform: none; }
  .hero__headline { max-width: none; text-align: center; font-size: clamp(2.5rem, 6vw, 4rem); }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .hero__content { left: 0.75rem; right: 0.75rem; padding: 0 0.5rem; top: 16vh; transform: none; gap: 1rem; }
  .hero__headline { font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.05; }
  .hero__cta { padding: 0.625rem 1rem; font-size: 0.875rem; }
}



/* ═══════════════════════════════════════════════════════════════════════
   ANIMATION UTILITIES
   ═══════════════════════════════════════════════════════════════════════ */

/* Fade in up */
.animate-fade-in-up { animation: fadeInUp 0.6s var(--ease-spring) forwards; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scanline overlay */
.scanlines::before {
  content: '';
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(10,10,10,0.4) 2px, rgba(10,10,10,0.4) 4px);
}

/* Glow effect */
.glow-accent { box-shadow: 0 0 20px rgba(255, 157, 10, 0.3); }

/* Marquee animations */
.animate-marquee-left { animation: marquee-left 40s linear infinite; }
.animate-marquee-right { animation: marquee-right 45s linear infinite; }

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Pulse */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Spin */
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════
   START LIGHT ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════ */
@keyframes pulse-glow {
  0%, 100% { box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 0 15px rgba(255, 50, 50, 0.4); }
  50% { box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 0 25px rgba(255, 50, 50, 0.8); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 0 15px rgba(50, 255, 50, 0.6); }
  50% { box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 0 30px rgba(50, 255, 50, 1); }
}

/* ═══════════════════════════════════════════════════════════════════════
   TRAVELING HEAT PULSE
   ═══════════════════════════════════════════════════════════════════════ */
.heat-pulse-primary { animation: heatDriftPrimary 25s ease-in-out infinite; }
.heat-pulse-secondary { animation: heatDriftSecondary 30s ease-in-out infinite; }

@keyframes heatDriftPrimary {
  0% { top: -20%; left: -10%; opacity: 0.6; }
  25% { top: 20%; left: 60%; opacity: 0.8; }
  50% { top: 50%; left: 30%; opacity: 0.5; }
  75% { top: 70%; left: 70%; opacity: 0.7; }
  100% { top: -20%; left: -10%; opacity: 0.6; }
}

@keyframes heatDriftSecondary {
  0% { top: 80%; right: -15%; opacity: 0.5; }
  33% { top: 30%; right: 50%; opacity: 0.7; }
  66% { top: 60%; right: 20%; opacity: 0.4; }
  100% { top: 80%; right: -15%; opacity: 0.5; }
}

/* ═══════════════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-elevated);
  overflow: hidden;
}
.video-container video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; transition: opacity 0.3s ease;
}
.video-container:hover .video-controls { opacity: 1; }
.video-progress {
  flex: 1; height: 4px; background: rgba(255,255,255,0.2);
  border-radius: 2px; cursor: pointer; position: relative;
}
.video-progress-bar {
  height: 100%; background: var(--color-accent);
  border-radius: 2px; transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════════════════
   IMAGE CROSSFADE
   ═══════════════════════════════════════════════════════════════════════ */
.crossfade-container { position: relative; height: 500px; }
.crossfade-image {
  position: absolute; inset: 0;
  transition: opacity 1s ease-in-out;
}
.crossfade-image img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════════════ */
.faq-item { overflow: hidden; transition: all 200ms ease; border-radius: 0.5rem; }
.faq-item:hover { background: var(--color-bg-card); }
.faq-item.active { background: var(--color-bg-elevated); box-shadow: 0 0 0 1px rgba(255,157,10,0.3); }
.faq-answer {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;
}
.faq-item.active .faq-answer { max-height: 8rem; opacity: 1; margin-top: 0.5rem; }
.faq-chevron { transition: transform 200ms ease; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE GRID HELPERS
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:gap-12 { gap: 3rem; }
  .md\:w-80 { width: 20rem; }
  .md\:h-110 { height: 27.5rem; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-7xl { font-size: 4.5rem; }
  .lg\:col-span-1 { grid-column: span 1; }
  .lg\:h-150 { height: 37.5rem; }

  .crossfade-container { height: 600px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MEMBERSHIP TIER CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.tier-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all var(--duration-normal) ease;
  position: relative;
  overflow: hidden;
}
.tier-card:hover {
  border-color: rgba(255, 157, 10, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.tier-card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(145deg, rgba(255,157,10,0.05) 0%, var(--color-bg-card) 100%);
}

/* ═══════════════════════════════════════════════════════════════════════
   SCHEDULE CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.race-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all var(--duration-normal) ease;
  position: relative;
  overflow: hidden;
}
.race-card:hover {
  border-color: rgba(255, 157, 10, 0.5);
  box-shadow: 0 0 30px rgba(255, 157, 10, 0.1);
}
.race-card .status-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.status-completed { background: rgba(34, 197, 94, 0.1); color: var(--color-success); border: 1px solid rgba(34, 197, 94, 0.3); }
.status-upcoming { background: rgba(255, 157, 10, 0.1); color: var(--color-accent); border: 1px solid rgba(255, 157, 10, 0.3); }
.status-next { background: var(--color-accent); color: var(--color-bg); }



/* ═══════════════════════════════════════════════════════════════════════
   UTILITY — ICONS (SVG replacements for lucide-react)
   ═══════════════════════════════════════════════════════════════════════ */
.icon {
  width: 1rem; height: 1rem;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 0.75rem; height: 0.75rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 1.5rem; height: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE GRIDS
   ═══════════════════════════════════════════════════════════════════════ */
/* Mobile defaults */
#top-tiers-grid,
#support-goes-grid,
#faq-grid,
#car-duo-grid,
#design-specs-grid,
#mission-grid,
#driver-grid { grid-template-columns: 1fr; }

#support-goes-grid { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  #top-tiers-grid  { grid-template-columns: 1fr 1fr; }
  #support-goes-grid { grid-template-columns: repeat(4, 1fr); }
  #faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  #car-duo-grid { grid-template-columns: 1fr 1fr; }
  #design-specs-grid { grid-template-columns: 1fr 1fr; }
  #mission-grid { grid-template-columns: 1fr 1fr; }
  #driver-grid { grid-template-columns: 2fr 240px 3fr; }
}
