/* =========================================================================
   Smash Karts Hub — fan site design system
   ========================================================================= */

:root {
  /* Palette */
  --bg: #0a0f1e;
  --bg-2: #0f152a;
  --surface: #141c36;
  --surface-2: #1a2245;
  --surface-3: #232c54;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --orange: #f97316;
  --orange-2: #fb923c;
  --yellow: #facc15;
  --yellow-2: #fde047;
  --pink: #ec4899;
  --cyan: #22d3ee;

  --text: #ffffff;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-4: #64748b;

  /* Type */
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Radii + motion */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  --shadow-glow: 0 0 0 1px rgba(249, 115, 22, 0.4),
                 0 20px 60px -10px rgba(249, 115, 22, 0.45),
                 0 0 80px -20px rgba(250, 204, 21, 0.35);

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

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

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(249, 115, 22, 0.18), transparent 60%),
    radial-gradient(700px 500px at 95% 5%, rgba(250, 204, 21, 0.12), transparent 65%),
    radial-gradient(800px 600px at 50% 110%, rgba(236, 72, 153, 0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Grid lines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; color: var(--text-2); }
a  { color: var(--yellow); text-decoration: none; }

img { max-width: 100%; display: block; }

/* =========================================================================
   Container + sections
   ========================================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(32px, 4vw, 64px) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 6px 12px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.06);
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--yellow);
}

.section-head { margin-bottom: 42px; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 6px 18px -4px rgba(249, 115, 22, 0.55);
}

.brand-mark svg { width: 22px; height: 22px; }

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.brand-name { display: inline-flex; align-items: baseline; gap: 2px; }
.brand-name b { color: var(--yellow); font-weight: 700; }

.brand-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  color: var(--text-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--yellow); }

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}

.btn-lg { padding: 18px 30px; font-size: 1.1rem; }

.btn-primary {
  background: linear-gradient(180deg, var(--orange-2) 0%, var(--orange) 100%);
  color: #1a0a00;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset,
    0 14px 30px -10px rgba(249, 115, 22, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset,
    0 20px 36px -10px rgba(249, 115, 22, 0.85);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--yellow);
  background: rgba(250, 204, 21, 0.08);
  color: var(--yellow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* =========================================================================
   HERO
   ========================================================================= */

.page-hero {
  padding: clamp(32px, 5vw, 64px) 0 clamp(20px, 3vw, 36px);
}

.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
}

.hero > .container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  padding-bottom: 12px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero .hero-inner {
  flex: 1;
  min-height: 0;
  gap: 8px;
}

.hero .embed-frame {
  aspect-ratio: unset;
  flex: 1;
  min-height: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 22px;
}

.hero-eyebrow .pill {
  background: var(--yellow);
  color: #1a1500;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.hero h1 {
  max-width: 14ch;
  text-wrap: balance;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--orange) 10%, var(--yellow) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--text-2);
  max-width: 52ch;
  margin-top: 24px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  align-items: center;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 0.9rem;
}

.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--yellow);
  font-size: 1.05rem;
  letter-spacing: 1px;
}


/* =========================================================================
   GAME EMBED
   ========================================================================= */

.embed-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-glow);
}

.embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.embed-frame .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.025) 0 14px,
      transparent 14px 28px),
    linear-gradient(160deg, #131a30, #0a0f1e);
  text-align: center;
  padding: 24px;
  color: var(--text-3);
  cursor: pointer;
}

.embed-frame .placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
}

.embed-frame .placeholder-inner .play-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.15), 0 20px 40px -10px rgba(249, 115, 22, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.embed-frame .placeholder:hover .play-circle {
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(249, 115, 22, 0.2), 0 24px 50px -10px rgba(249, 115, 22, 0.7);
}

.embed-frame .placeholder-inner .play-circle::before {
  content: "";
  width: 0; height: 0;
  border-left: 28px solid #1a0a00;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 6px;
}

.embed-frame .placeholder-inner .tag {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

.embed-frame .placeholder-inner .label {
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 600;
}

.game-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(20px, 4vw, 48px);
  background-color: #080d1c;
  overflow: hidden;
}

.game-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 1s ease;
  filter: brightness(0.55) saturate(0.8);
}

.game-cover:hover .game-cover-bg { transform: scale(1.1); }

.game-cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: cover, 50px 50px, 50px 50px;
}

.game-cover-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.game-cover-icon img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15), 0 20px 40px -8px rgba(0,0,0,0.7);
  display: block;
}

.game-cover-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 20px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.5), transparent 70%);
  filter: blur(12px);
  z-index: -1;
  animation: icon-glow 2.4s ease-in-out infinite;
}

@keyframes icon-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* corner decorations */
.game-cover::before,
.game-cover::after {
  content: "";
  position: absolute;
  width: 56px; height: 56px;
  border-style: solid;
  border-color: rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 2;
}
.game-cover::before { top: 14px; left: 14px; border-width: 2px 0 0 2px; border-radius: 10px 0 0 0; }
.game-cover::after  { top: 14px; right: 14px; border-width: 2px 2px 0 0; border-radius: 0 10px 0 0; }

.game-cover-content {
  position: relative;
  z-index: 1;
  width: 80%;
}

.game-cover .hero-eyebrow { margin-bottom: 16px; }
.game-cover h1 { line-height: 1.05; text-align: center; margin: 0 auto; }
.game-cover .hero-sub { margin-top: 14px; font-size: clamp(0.9rem, 1.2vw, 1.1rem); text-align: center; margin-left: auto; margin-right: auto; }
.game-cover .hero-cta-row { margin-top: 28px; justify-content: center; }
.game-cover .trust-row { margin-top: 14px; justify-content: center; }

.game-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(8, 13, 28, 0.94);
  color: var(--text-3);
  font-size: 0.9rem;
}

.game-spinner {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(249, 115, 22, 0.2);
  border-top-color: var(--orange);
  animation: game-spin 0.8s linear infinite;
}

.game-spinner-inner {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-bottom-color: rgba(249, 115, 22, 0.5);
  animation: game-spin 1.4s linear infinite reverse;
}

.game-spinner-wrap {
  position: relative;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes game-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .game-cover .hero-sub,
  .game-cover .rating-badge,
  .game-cover .trust-row { display: none; }
  .game-cover { padding: 16px; }
  .game-cover-content { width: 92%; }
  .game-cover h1 { font-size: clamp(1.4rem, 6.5vw, 2rem); }
  .game-cover .hero-eyebrow { display: none; }
  .game-cover .hero-cta-row { margin-top: 16px; }
  .hero .crumb { font-size: 0.78rem; }
  .embed-meta .left { display: none; }
}

.embed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  flex-wrap: wrap;
}

.embed-meta .left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.9rem;
}

/* =========================================================================
   FEATURE CARDS
   ========================================================================= */

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.15), transparent 40%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--orange);
}

.feature-icon.yellow {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.25);
  color: var(--yellow);
}

.feature-icon.cyan {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.25);
  color: var(--cyan);
}

.feature-icon svg { width: 28px; height: 28px; }

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.card p { font-size: 0.95rem; color: var(--text-3); }

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

.about-copy p { color: var(--text-2); }

/* =========================================================================
   HOW TO PLAY — numbered flow
   ========================================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--yellow) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  opacity: 0.4;
  z-index: 0;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  z-index: 1;
}

.step-num {
  position: absolute;
  top: -14px;
  left: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  color: #1a1500;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 16px -4px rgba(250, 204, 21, 0.55);
}

.step-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin: 16px 0 14px;
  color: var(--text);
}

.step-icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--text-3); }

/* =========================================================================
   GAME MODES
   ========================================================================= */

.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mode-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: border-color .15s ease, transform .15s ease;
}

.mode-card:hover {
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-2px);
}

.mode-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mode-tag {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--yellow);
}

.mode-card h3 { font-size: 1.02rem; }
.mode-card p { font-size: 0.85rem; color: var(--text-3); }

/* =========================================================================
   TIPS SECTION
   ========================================================================= */

.tips-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: start;
}

.tip-card {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 12px;
}

.tip-card:last-child { margin-bottom: 0; }

.tip-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--orange);
  width: 36px;
  flex-shrink: 0;
}

.tip-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tip-card p { font-size: 0.9rem; color: var(--text-3); }

/* =========================================================================
   Generic YouTube embed wrapper
   ========================================================================= */

.yt-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.5);
}

.yt-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.yt-facade { position: absolute; inset: 0; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); border: 0; cursor: pointer; padding: 0;
}
.yt-play:hover { background: rgba(0,0,0,0.15); }
.yt-play svg path:first-child { transition: fill 0.15s; }
.yt-facade:hover .yt-play svg path:first-child { fill: #cc0000; }

.yt-cap {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: var(--text-3);
  font-size: 0.9rem;
}

.video-center { max-width: 760px; margin: 0 auto; }

/* =========================================================================
   AD SLOT
   ========================================================================= */

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.02) 0 10px,
      transparent 10px 20px);
  color: var(--text-4);
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 32px 16px;
  margin: 0 auto;
  max-width: 970px;
  min-height: 110px;
}

/* =========================================================================
   BANNER (orange CTA strip)
   ========================================================================= */

.banner {
  background:
    radial-gradient(800px 200px at 80% 50%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(105deg, var(--orange) 0%, #ea580c 60%, var(--orange) 100%);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 100, 0.3);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 8px, transparent 8px 16px);
  opacity: 0.25;
  pointer-events: none;
}

.banner-content { position: relative; z-index: 1; max-width: 60%; }
.banner h3 {
  font-size: 1.7rem;
  color: #1a0a00;
  margin-bottom: 6px;
  line-height: 1.1;
}

.banner p {
  color: #2a1300;
  font-weight: 500;
}

.banner .btn {
  position: relative;
  z-index: 1;
  background: #1a0a00;
  color: var(--yellow);
  border-color: rgba(0, 0, 0, 0.3);
}

.banner .btn:hover { background: #000; color: var(--yellow-2); }

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s ease;
}

.faq-item[open] { border-color: rgba(250, 204, 21, 0.4); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary > span:not(.faq-icon) { flex: 1; text-align: left; }

.faq-item summary::after {
  content: "";
  width: 22px; height: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
}

.faq-item summary {
  position: relative;
}

.faq-item .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.3);
  display: grid;
  place-items: center;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--yellow); color: #1a1500; }
.faq-item .faq-icon::before { content: "+"; font-size: 1.2rem; font-weight: 700; line-height: 1; }

.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--text-2);
  font-size: 0.98rem;
}

/* =========================================================================
   BREADCRUMB
   ========================================================================= */

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 22px;
}

.hero .crumb { margin-bottom: 0; }

.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--yellow); }
.crumb .sep { color: var(--text-4); }

/* =========================================================================
   TRUST BADGES
   ========================================================================= */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-2);
}

.trust-pill .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* =========================================================================
   CONTROLS TABLE
   ========================================================================= */

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2c365f, #1d2547);
  border: 1px solid #3a4576;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -2px 0 rgba(0, 0, 0, 0.3) inset,
    0 2px 0 #0a0f1e;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.keycap-group { display: inline-flex; gap: 6px; align-items: center; }
.keycap-group .or { color: var(--text-4); font-size: 0.8rem; }

.control-row .label {
  color: var(--text-2);
  font-weight: 500;
}

/* =========================================================================
   BACK CARD
   ========================================================================= */

.back-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(140deg, rgba(250, 204, 21, 0.08), rgba(249, 115, 22, 0.04));
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s ease, transform .15s ease;
}

.back-card:hover {
  border-color: var(--yellow);
  transform: translateX(-4px);
}

.back-card .arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: #1a1500;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.back-card .label-row {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}

.back-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.back-card p { font-size: 0.92rem; color: var(--text-3); }

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  margin-top: 60px;
  background: rgba(10, 15, 30, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-tag { color: var(--text-3); margin-top: 10px; max-width: 36ch; }
.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
  justify-content: flex-end;
}
.footer-links a { color: var(--text-2); font-family: var(--font-display); }
.footer-links a:hover { color: var(--yellow); }

.disclaimer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-4);
  font-size: 0.82rem;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .modes-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: grid; place-items: center; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    background: rgba(15, 21, 42, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px;
    backdrop-filter: blur(12px);
  }
  .nav-links.open a { width: 100%; }

  .hero { height: auto; }
  .hero > .container { padding-top: 12px; padding-bottom: 12px; }
  .hero .hero-inner { gap: 8px; }
  .hero .embed-frame { aspect-ratio: 16 / 9; flex: none; min-height: 500px; }

  .controls-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 10px 20px; }

  .banner { padding: 26px; flex-direction: column; align-items: flex-start; }
  .banner-content { max-width: 100%; }

  .back-card { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .hero-cta-row .btn { flex: 1 1 100%; }
}
