/* ============================================================
   Vintage Vegas Trivia — marketing site
   Neon-Vegas design system (mirrors the app's AppTheme palette)
   ============================================================ */

:root {
  /* Brand palette (from the app's AppTheme) */
  --pink: #ff2d95;
  --cyan: #20e5ff;
  --gold: #ffcf4d;
  --green: #2bd576;
  --red: #ff5d6c;
  --purple: #9b1fc8;

  /* Surfaces */
  --bg: #0c0717;
  --bg-2: #120a1f;
  --card: #1b1133;
  --card-2: #221542;
  --line: rgba(255, 255, 255, 0.09);

  /* Text */
  --text: #f3eefc;
  --text-dim: #b3a3cf;
  --text-faint: #7d6fa0;

  /* Effects */
  --grad-pink: linear-gradient(135deg, #ff2d95, #9b1fc8);
  --grad-cyan: linear-gradient(135deg, #20e5ff, #0a8ed9);
  --grad-gold: linear-gradient(135deg, #ffcf4d, #ff9600);
  --grad-hero: linear-gradient(120deg, #ff2d95 0%, #ffcf4d 50%, #20e5ff 100%);

  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----------------------------- Reset ----------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}
a:hover {
  color: var(--pink);
}

/* Ambient background: deep night sky with neon glow blooms */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      60vw 60vw at 12% -8%,
      rgba(255, 45, 149, 0.22),
      transparent 60%
    ),
    radial-gradient(
      55vw 55vw at 100% 8%,
      rgba(32, 229, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      50vw 50vw at 50% 120%,
      rgba(155, 31, 200, 0.18),
      transparent 60%
    ),
    var(--bg);
}
/* Subtle star field */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(
      1.4px 1.4px at 20% 30%,
      rgba(255, 255, 255, 0.55),
      transparent
    ),
    radial-gradient(
      1.2px 1.2px at 70% 20%,
      rgba(255, 255, 255, 0.45),
      transparent
    ),
    radial-gradient(
      1.6px 1.6px at 40% 70%,
      rgba(255, 255, 255, 0.4),
      transparent
    ),
    radial-gradient(
      1.2px 1.2px at 85% 60%,
      rgba(255, 255, 255, 0.4),
      transparent
    ),
    radial-gradient(
      1.3px 1.3px at 55% 90%,
      rgba(255, 255, 255, 0.35),
      transparent
    ),
    radial-gradient(
      1.1px 1.1px at 10% 80%,
      rgba(255, 255, 255, 0.4),
      transparent
    );
  background-size: 100% 100%;
  opacity: 0.5;
  pointer-events: none;
}

/* ----------------------------- Layout ---------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}
.section-head p {
  color: var(--text-dim);
  font-size: 1.08rem;
  margin-top: 16px;
}

.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------------------------- Nav ------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(12, 7, 23, 0.6);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover {
  color: var(--text);
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 45, 149, 0.45);
}
.brand span {
  font-size: 1.02rem;
}
.brand small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--grad-pink);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px -8px rgba(255, 45, 149, 0.7);
}
.nav-cta:hover {
  filter: brightness(1.08);
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ----------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn-primary {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: 0 14px 36px -12px rgba(255, 45, 149, 0.8);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: #fff;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  transform: translateY(-2px);
}

/* App Store badge (styled, swap href when live) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 20px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.store-badge:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px rgba(32, 229, 255, 0.7);
}
.store-badge svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.store-badge .sb-text {
  text-align: left;
  line-height: 1.1;
}
.store-badge .sb-top {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: #cfc8df;
}
.store-badge .sb-main {
  font-size: 1.15rem;
  font-weight: 700;
}
.store-badge .sb-soon {
  font-size: 0.62rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ----------------------------- Hero ------------------------------ */
.hero {
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
}
.hero-copy .sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text-dim);
  max-width: 30ch;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-meta .m {
  display: flex;
  flex-direction: column;
}
.hero-meta .m b {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-meta .m span {
  font-size: 0.82rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Phone mockup */
.phone {
  position: relative;
  width: min(310px, 78vw);
  margin-inline: auto;
  aspect-ratio: 295 / 639;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #2a2042, #150d28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    var(--shadow),
    0 0 0 2px rgba(0, 0, 0, 0.4) inset,
    0 0 60px -10px rgba(255, 45, 149, 0.5);
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}
.phone-glow {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(255, 45, 149, 0.35),
    transparent 65%
  );
  filter: blur(20px);
}
.hero-visual {
  position: relative;
}
.hero-visual .float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(27, 17, 51, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.float-badge.fb-1 {
  top: 14%;
  left: -6%;
}
.float-badge.fb-2 {
  bottom: 16%;
  right: -8%;
  animation-delay: 1.4s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy .sub {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-meta {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 12px;
  }
  .float-badge.fb-1 {
    left: 2%;
  }
  .float-badge.fb-2 {
    right: 2%;
  }
}

/* ----------------------------- Marquee --------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding-block: 18px;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scrollx 28s linear infinite;
  white-space: nowrap;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 48px;
  text-transform: uppercase;
}
.marquee-track span::after {
  content: "✦";
  color: var(--gold);
}
@keyframes scrollx {
  to {
    transform: translateX(-50%);
  }
}

/* ----------------------------- Features -------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 45, 149, 0.4);
  box-shadow: 0 20px 50px -24px rgba(255, 45, 149, 0.5);
}
.feature .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.feature h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.feature p {
  color: var(--text-dim);
  font-size: 0.97rem;
}
@media (max-width: 880px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------- Showcase ---------------------------- */
.showcase {
  background:
    radial-gradient(
      50vw 40vw at 100% 0,
      rgba(32, 229, 255, 0.1),
      transparent 60%
    ),
    radial-gradient(
      50vw 40vw at 0 100%,
      rgba(255, 45, 149, 0.12),
      transparent 60%
    );
}
.shots {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 14px 4px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar {
  height: 8px;
}
.shots::-webkit-scrollbar-thumb {
  background: var(--card-2);
  border-radius: 999px;
}
.shot {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: center;
}
.shot .frame {
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2042, #150d28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.shot:hover .frame {
  transform: translateY(-8px);
}
.shot img {
  border-radius: 27px;
}
.shot .cap {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* --------------------------- Steps ------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 26px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad-pink);
  box-shadow: 0 10px 24px -10px rgba(255, 45, 149, 0.8);
}
.step h3 {
  margin: 14px 0 8px;
  font-size: 1.18rem;
}
.step p {
  color: var(--text-dim);
  font-size: 0.97rem;
}
@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* --------------------------- CTA --------------------------------- */
.cta {
  text-align: center;
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px) 24px;
  background:
    radial-gradient(
      60% 120% at 50% 0,
      rgba(255, 45, 149, 0.28),
      transparent 70%
    ),
    linear-gradient(180deg, var(--card-2), var(--bg-2));
  border: 1px solid var(--line);
}
.cta-card img.mini-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin: 0 auto 22px;
  box-shadow: 0 0 40px -6px rgba(255, 45, 149, 0.7);
}
.cta-card h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
}
.cta-card p {
  color: var(--text-dim);
  margin: 16px auto 30px;
  max-width: 46ch;
  font-size: 1.08rem;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------- Footer ------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 54px 38px;
  background: rgba(0, 0, 0, 0.25);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer .brand img {
  width: 46px;
  height: 46px;
}
.footer-tag {
  color: var(--text-faint);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 34ch;
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--text-faint);
  font-size: 0.86rem;
}

/* --------------------------- Article (legal/support) ------------- */
.page-hero {
  padding-block: clamp(54px, 7vw, 88px) 24px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.page-hero p {
  color: var(--text-dim);
  margin-top: 14px;
}
.article {
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: 90px;
}
.article .card-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
}
.article h2 {
  font-size: 1.4rem;
  margin: 34px 0 12px;
  color: var(--text);
}
.article h2:first-child {
  margin-top: 0;
}
.article p,
.article li {
  color: var(--text-dim);
  margin-bottom: 14px;
}
.article ul {
  padding-left: 22px;
  margin-bottom: 14px;
}
.article strong {
  color: var(--text);
}
.article .updated {
  color: var(--text-faint);
  font-size: 0.9rem;
}

/* FAQ accordion */
.faq {
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-q .chev {
  transition: transform 0.25s ease;
  color: var(--pink);
  flex: none;
  font-size: 1.3rem;
}
.faq-item.open .faq-q .chev {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a div {
  padding: 0 22px 20px;
  color: var(--text-dim);
}
.contact-card {
  text-align: center;
  background:
    radial-gradient(
      70% 130% at 50% 0,
      rgba(32, 229, 255, 0.16),
      transparent 70%
    ),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 24px;
  margin-top: 40px;
}
.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.contact-card p {
  color: var(--text-dim);
  margin-bottom: 22px;
}

/* --------------------------- Reveal animation -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
