/* Aurora Tide Theme – clean, distinctive, and accessible */
/* Mobile-first, redesigned classes and color system */

/* =====================================================
   Design Tokens
   ===================================================== */
:root {
  /* Palette: teal/cyan with sand neutrals and ink */
  --ink-900: #0b1220; /* base background */
  --ink-800: #0f1a2a;
  --ink-700: #122038;
  --sand-100: #eef2f6; /* base text on dark */
  --sand-300: #cbd5e1; /* secondary text */
  --sand-500: #94a3b8; /* muted */
  --tide-400: #0ea5a4; /* primary */
  --tide-500: #0891b2; /* primary deep */
  --tide-300: #2dd4bf; /* accent light */
  --sunset-400: #fb7185; /* secondary accent */
  --plum-500: #7c3aed; /* highlight */

  /* Surfaces */
  --surface-1: #111827; /* card background */
  --surface-2: #0b1324; /* section alt */
  --surface-3: #0e172a; /* footer */

  /* Typography */
  --font-ui: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Chakra Petch', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Type scale */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-52: 3.25rem;

  /* Spacing */
  --sp-4: 0.25rem;
  --sp-8: 0.5rem;
  --sp-12: 0.75rem;
  --sp-16: 1rem;
  --sp-20: 1.25rem;
  --sp-24: 1.5rem;
  --sp-32: 2rem;
  --sp-40: 2.5rem;
  --sp-48: 3rem;
  --sp-64: 4rem;

  /* Radius / Shadows */
  --r-10: 10px;
  --r-14: 14px;
  --r-18: 18px;
  --r-round: 999px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --ring: 0 0 0 3px rgba(8, 145, 178, 0.45);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: 200ms var(--ease);

  /* Layout */
  --wrap-max: 1180px;
}

/* =====================================================
   Base / Reset
   ===================================================== */
* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--sand-100);
  background: radial-gradient(1200px 800px at 20% -10%, rgba(8,145,178,0.15), transparent 60%),
              radial-gradient(1200px 800px at 100% 10%, rgba(124,58,237,0.12), transparent 50%),
              var(--ink-900);
  font-family: var(--font-ui);
  font-size: var(--fs-16);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tide-300); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--tide-400); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 var(--sp-12); }
h1 { font-size: clamp(var(--fs-32), 2vw + 1.6rem, var(--fs-52)); letter-spacing: 0.2px; }
h2 { font-size: clamp(var(--fs-24), 1.2vw + 1.1rem, var(--fs-40)); }
h3 { font-size: var(--fs-20); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* Skip link */
.access-skip { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.access-skip:focus { left: 12px; top: 12px; width: auto; height: auto; background: var(--surface-1); color: var(--sand-100); padding: var(--sp-8) var(--sp-12); border-radius: var(--r-10); z-index: 1000; }

/* Container */
.container { width: 100%; max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--sp-16); }

/* =====================================================
   Buttons
   ===================================================== */
.uix-btn {
  --btn-bg: var(--tide-400);
  --btn-fg: var(--sand-100);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6ch;
  padding: var(--sp-12) var(--sp-24);
  border-radius: var(--r-14);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-14);
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-soft);
  border: 0;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), filter var(--transition);
}
.uix-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.uix-btn:active { transform: translateY(0); }
.uix-btn--primary { --btn-bg: linear-gradient(135deg, var(--tide-400), var(--tide-500)); }
.uix-btn--ghost { --btn-bg: transparent; color: var(--sand-300); border: 1px solid rgba(148, 163, 184, 0.35); backdrop-filter: blur(2px); }
.cta--primary { --btn-bg: linear-gradient(135deg, var(--tide-400), var(--plum-500)); }

/* =====================================================
   Age Gate (ids preserved for JS)
   ===================================================== */
.ui-age-gate { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(2,6,23,0.8); z-index: 1000; padding: var(--sp-16); }
.ui-age-gate__content { width: 100%; max-width: 420px; background: linear-gradient(160deg, var(--surface-2), var(--ink-800)); border: 1px solid rgba(148,163,184,0.15); border-radius: var(--r-18); padding: var(--sp-32); box-shadow: var(--shadow-soft); text-align: center; }
.ui-age-gate__icon { width: 80px; height: 80px; margin: 0 auto var(--sp-16); opacity: 0.95; }
.ui-age-gate__title { font-size: var(--fs-24); margin-bottom: var(--sp-8); }
.ui-age-gate__text { color: var(--sand-300); margin-bottom: var(--sp-20); }
.ui-age-gate__actions { display: grid; gap: var(--sp-12); }
@media (min-width: 480px) { .ui-age-gate__actions { grid-template-columns: 1fr 1fr; } }

/* =====================================================
   Hero
   ===================================================== */
.nova-hero { background: linear-gradient(180deg, rgba(8,145,178,0.1), transparent 60%) no-repeat, radial-gradient(900px 500px at 100% 0%, rgba(124,58,237,0.12), transparent 60%), var(--ink-900); padding: var(--sp-48) 0 var(--sp-24); border-bottom: 1px solid rgba(148,163,184,0.12); }
.nova-hero__title { color: var(--sand-100); text-shadow: 0 2px 14px rgba(14, 165, 164, 0.2); }
.nova-hero__lead { color: var(--sand-300); margin: var(--sp-16) 0 0; font-size: var(--fs-16); max-width: 75ch; }

/* =====================================================
   Deck / Cards
   ===================================================== */
.nova-deck { padding: var(--sp-24) 0 var(--sp-32); }
.nova-deck__title { margin-bottom: var(--sp-16); }
.nova-deck__rail { display: grid; grid-auto-flow: row; gap: var(--sp-16); }

/* Card */
.nova-card { display: grid; grid-template-columns: 1fr; background: var(--surface-1); border: 1px solid rgba(148,163,184,0.2); border-radius: var(--r-18); padding: var(--sp-20); box-shadow: var(--shadow-soft); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.nova-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(2, 6, 23, 0.55); border-color: rgba(45, 212, 191, 0.35); }
.nova-card__media { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--sp-16); margin-bottom: var(--sp-12); }
.nova-card__logo { width: 160px; height: 96px; border-radius: var(--r-14); display: grid; place-items: center; overflow: hidden; background: var(--logo-bg, #fff); box-shadow: inset 0 0 0 1px rgba(148,163,184,0.15); }
.nova-card__name { font-size: var(--fs-20); letter-spacing: 0.3px; text-align: center;}
.nova-card__body { margin-top: var(--sp-8); }
.nova-card__bonus { background: rgba(8,145,178,0.08); border: 1px dashed rgba(45,212,191,0.4); color: var(--sand-100); padding: var(--sp-12) var(--sp-16); border-radius: var(--r-14); font-size: var(--fs-14); }
.nova-card__chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); padding: 0; margin: var(--sp-12) 0 0; list-style: none; }
.nova-chip { --c: var(--tide-300); border: 1px solid color-mix(in oklab, var(--c), #000 40%); color: var(--sand-100); background: color-mix(in oklab, var(--c), transparent 85%); padding: 6px 10px; border-radius: var(--r-round); font-size: var(--fs-12); }
.nova-card__rating { display: flex; align-items: center; gap: 10px; color: var(--sand-300); margin-top: var(--sp-12); }
.nova-stars { color: var(--tide-300); font-size: var(--fs-14); }
.nova-card__reviews { font-size: var(--fs-12); color: var(--sand-500); }
.nova-card__payments { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-8); margin-top: var(--sp-12); }
.nova-card__cta { margin-top: var(--sp-16); display: flex; justify-content: flex-start; }

@media (min-width: 760px) {
  .nova-deck__rail { grid-template-columns: 1fr; }
  .nova-card { grid-template-columns: 220px 1fr auto; align-items: center; column-gap: var(--sp-24); }
  .nova-card__media { margin: 0; grid-template-columns: 1fr; }
  .nova-card__logo { width: 180px; height: 110px; margin: 0 auto; }
  .nova-card__cta { justify-content: flex-end; }
}

/* Ensure at least one card visible on mobile horizontally (optional future slider-ready) */
@media (max-width: 759.98px) {
  .nova-deck__rail { display: grid; grid-auto-flow: row; }
  .nova-card { min-width: 0; }
}

/* =====================================================
   Why / Criteria / How / Bonus / ProsCons / Summary
   ===================================================== */
.nova-why { padding: var(--sp-40) 0; background: var(--ink-900); }
.nova-why__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
.nova-why__item { background: var(--surface-2); border: 1px solid rgba(148,163,184,0.18); border-radius: var(--r-18); padding: var(--sp-20); box-shadow: var(--shadow-soft); transition: transform var(--transition), border-color var(--transition); }
.nova-why__item:hover { transform: translateY(-3px); border-color: rgba(8,145,178,0.4); }
.nova-why__icon { width: 48px; height: 48px; border-radius: var(--r-round); display: grid; place-items: center; margin-bottom: var(--sp-12); color: var(--tide-300); background: rgba(14,165,164,0.12); }
.nova-why__subtitle { color: var(--sand-100); }
.nova-why__text { color: var(--sand-300); margin: 0; }
@media (min-width: 992px) { .nova-why__grid { grid-template-columns: repeat(3, 1fr); } }

.nova-criteria { padding: var(--sp-40) 0; background: var(--surface-2); border-top: 1px solid rgba(148,163,184,0.12); }
.nova-criteria__text, .nova-criteria__foot { color: var(--sand-300); }
.nova-criteria__list { color: var(--sand-100); padding-left: var(--sp-16); }

.nova-how { padding: var(--sp-40) 0; background: var(--ink-900); }
.nova-how__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
.nova-how__item { background: var(--surface-1); border-radius: var(--r-18); padding: var(--sp-20); border: 1px solid rgba(148,163,184,0.18); }
@media (min-width: 768px) { .nova-how__grid { grid-template-columns: repeat(2, 1fr); } }

.nova-bonus { padding: var(--sp-40) 0; background: var(--surface-2); }
.nova-bonus__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
.nova-bonus__item { background: var(--surface-1); border-radius: var(--r-18); padding: var(--sp-20); border: 1px solid rgba(148,163,184,0.18); }
@media (min-width: 768px) { .nova-bonus__grid { grid-template-columns: repeat(2, 1fr); } }

.nova-proscons { padding: var(--sp-40) 0; background: var(--ink-900); }
.nova-proscons__cols { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
.nova-proscons__list { color: var(--sand-300); padding-left: var(--sp-16); }
@media (min-width: 768px) { .nova-proscons__cols { grid-template-columns: repeat(2, 1fr); } }

.nova-summary { padding: var(--sp-40) 0; background: var(--surface-2); }
.nova-summary__text { color: var(--sand-300); margin: var(--sp-12) 0 0; }

/* =====================================================
   Footer
   ===================================================== */
.nova-footer { background: var(--surface-3); padding: var(--sp-40) 0 var(--sp-24); border-top: 1px solid rgba(148,163,184,0.12); }
.nova-footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-24); margin-bottom: var(--sp-24); }
.nova-footer__heading { color: var(--sand-100); margin-bottom: var(--sp-12); font-size: var(--fs-18); }
.nova-footer__legal { color: var(--sand-500); margin: 0; }
.nova-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nova-footer__link { color: var(--sand-300); }
.nova-footer__link:hover { color: var(--tide-300); }
.nova-footer__logos { display: flex; flex-wrap: wrap; gap: var(--sp-12); align-items: center; }
.nova-footer__cert { height: 34px; width: auto; opacity: 0.9; transition: opacity var(--transition), transform var(--transition); }
.nova-footer__cert:hover { opacity: 1; transform: translateY(-2px); }
.nova-footer__bottom { border-top: 1px solid rgba(148,163,184,0.12); padding-top: var(--sp-16); text-align: center; }
.nova-footer__copy { color: var(--sand-300); margin: 0; font-size: var(--fs-14); }
@media (min-width: 900px) { .nova-footer__grid { grid-template-columns: 2fr 1fr 1fr; align-items: start; } }

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

/* =====================================================
   Motion Preferences
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================
   Print
   ===================================================== */
@media print {
  .ui-age-gate, .nova-footer__logos { display: none !important; }
  body { background: #fff; color: #000; }
}