/* Vegas Route — site styles. Night-purple sky, logo gradient (red → sky blue), gold accents. */
:root {
  --night: #0B0A24;
  --night-2: #151236;
  --plum: #2A1550;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.10);
  --text: #F5F3FF;
  --muted: #B9B4D6;
  --red: #FF3B4E;
  --pink: #E8415E;
  --blue: #5C8FE8;
  --sky: #4FC3F7;
  --gold: #FFD166;
  --grad: linear-gradient(90deg, var(--red), var(--pink) 30%, var(--blue) 55%, var(--sky));
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(79, 195, 247, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(255, 59, 78, 0.10), transparent 60%),
    var(--night);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }

/* Neon road line used as a divider (red on the left, sky blue on the right) */
.road-line {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--red) 48%, var(--sky) 52%, var(--sky) 80%, transparent);
  box-shadow: 0 0 18px rgba(255, 59, 78, 0.5), 0 0 18px rgba(79, 195, 247, 0.5);
}

/* Top bar: floats over the hero on the home page */
.topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(11, 10, 36, 0.72); border-bottom: 1px solid var(--line); }
.home .topbar { position: fixed; left: 0; right: 0; background: rgba(11, 10, 36, 0.55); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-icon { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
.brand-word { white-space: nowrap; }
.brand-word b {
  font-weight: 900; font-style: italic; font-size: 21px; letter-spacing: -0.5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-word i { font-family: 'Pacifico', cursive; font-style: normal; font-size: 17px; text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
.menu { display: flex; gap: 6px; }
.menu a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.menu a:hover { background: rgba(255, 255, 255, 0.08); }

/* Hero: full-bleed key art with the wordmark centered */
.hero { position: relative; min-height: 92vh; display: flex; overflow: hidden; }
.hero-art {
  position: absolute; inset: 0;
  background: url('hero.jpg') center 72% / cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 36, 0.55) 0%, rgba(11, 10, 36, 0) 34%, rgba(11, 10, 36, 0) 55%, rgba(11, 10, 36, 0.88) 82%, var(--night) 100%);
}
.hero-inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 84px; padding-bottom: 48px;
}
.hero-wordmark { margin: 0 auto 4px; width: min(440px, 70vw); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6)); }
.hero-tag { font-size: 22px; font-weight: 700; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.hero-tag span { font-family: 'Pacifico', cursive; font-weight: 400; color: var(--gold); }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; padding: 10px 20px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.25); }
.store-badge small { display: block; font-size: 11px; line-height: 1.1; opacity: 0.85; }
.store-badge strong { display: block; font-size: 19px; line-height: 1.15; }
.hero-facts { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.hero-facts li { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: rgba(11, 10, 36, 0.6); border: 1px solid var(--line); }

/* Section headings */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker {
  display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head h2, .daily h2 { font-size: 40px; line-height: 1.12; font-weight: 900; margin: 8px 0 10px; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Phone frame around real game screens */
.phone {
  margin: 0; padding: 10px; border-radius: 40px; background: linear-gradient(160deg, #2b2a46, #0e0d22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 50px rgba(92, 143, 232, 0.18);
}
.phone img { border-radius: 31px; }

/* How it plays: zig-zag steps */
.play { padding: 90px 0 40px; }
.step { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; margin: 0 auto 80px; max-width: 920px; }
.step.flip { grid-template-columns: 1fr 300px; }
.step.flip .phone { order: 2; }
.step-no { font-family: 'Pacifico', cursive; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sky); }
.step.flip .step-no { -webkit-text-stroke-color: var(--red); }
.step h3 { font-size: 30px; font-weight: 900; margin: 10px 0 12px; }
.step p { color: var(--muted); font-size: 17px; margin: 0; }
.tokens { display: flex; gap: 14px; margin-top: 24px; }
.tokens figure { margin: 0; text-align: center; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.tokens img { width: 64px; height: 64px; margin: 0 auto 6px; }
.tokens figcaption { font-size: 13px; color: var(--muted); line-height: 1.3; }
.tokens b { color: var(--gold); font-size: 17px; }

/* Garage: showroom of the six cars */
.garage { padding: 0 0 90px; background: linear-gradient(180deg, transparent, rgba(42, 21, 80, 0.45) 30%, transparent); }
.garage .road-line { margin-bottom: 90px; }
.showroom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.car {
  position: relative; text-align: center; padding: 26px 22px 24px; border-radius: var(--radius);
  background: radial-gradient(120% 70% at 50% 0%, rgba(92, 143, 232, 0.18), transparent 60%), var(--card);
  border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.car:hover { transform: translateY(-4px); border-color: rgba(79, 195, 247, 0.45); }
.car img { width: 82%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center bottom; margin: 0 auto 14px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)); }
.car h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.perk { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; color: #1B0F02; background: var(--gold); }
.car p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* Daily bonus: 7-day track */
.daily { padding: 40px 0 90px; }
.daily-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: center; max-width: 920px; }
.phone.small { border-radius: 34px; }
.phone.small img { border-radius: 26px; }
.daily p { color: var(--muted); font-size: 17px; margin: 0 0 26px; }
.track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.track li { text-align: center; padding: 12px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.track span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.track b { display: block; font-size: 18px; font-weight: 900; color: var(--gold); }
.track li.top { background: linear-gradient(160deg, rgba(255, 209, 102, 0.25), rgba(255, 59, 78, 0.15)); border-color: rgba(255, 209, 102, 0.6); }

/* FAQ */
.faq { padding: 30px 0 100px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--sky); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Legal pages (privacy, terms) */
.legal-header { padding: 56px 0 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-header .back { text-decoration: none; font-weight: 700; font-size: 14px; }
.legal-header h1 { font-size: 40px; font-weight: 900; margin: 14px 0 6px; line-height: 1.15; }
.legal-meta { color: var(--muted); font-size: 14px; }
.legal-content { max-width: 780px; padding-bottom: 80px; }
.legal-content h2 {
  font-size: 22px; font-weight: 800; margin: 36px 0 10px; padding-left: 14px;
  border-left: 4px solid; border-image: linear-gradient(180deg, var(--red), var(--sky)) 1;
}
.legal-content p, .legal-content li { color: #DCD8F2; }
.legal-content ul { padding-left: 22px; }
.table-scroll { overflow-x: auto; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.legal-content th, .legal-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-content th { background: var(--plum); }

/* Footer */
.foot { margin-top: 0; background: #07061A; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.foot-col h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.foot-col a { display: block; color: var(--text); text-decoration: none; font-size: 15px; margin-bottom: 8px; }
.foot-col a:hover { color: var(--sky); }
.foot-meta { color: #7D78A0; font-size: 13px; padding-bottom: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .step, .step.flip, .daily-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .step.flip .phone { order: 0; }
  .phone { max-width: 270px; margin: 0 auto; }
  .tokens { justify-content: center; }
  .showroom { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sec-head h2, .daily h2 { font-size: 32px; }
}
@media (max-width: 600px) {
  .menu a { padding: 6px 8px; font-size: 14px; }
  .menu a:not(.menu-legal):not([href*="#play"]) { display: none; }
  .brand-word i { display: none; }
  .hero { min-height: 82vh; }
  .hero-art { background-position: center 40%; }
  .hero-tag { font-size: 18px; }
  .showroom { grid-template-columns: 1fr 1fr; gap: 12px; }
  .car { padding: 18px 12px; }
  .car h3 { font-size: 16px; }
  .car p { display: none; }
  .track { grid-template-columns: repeat(4, 1fr); }
  .legal-header h1 { font-size: 30px; }
  .foot-grid { grid-template-columns: 1fr; }
}
