@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --bg-deep:       #04101a;
  --bg-mid:        #071c2e;
  --bg-card:       #0c2740;
  --bg-glass:      rgba(10, 34, 58, 0.72);
  --aurora-teal:   #00c9a7;
  --aurora-cyan:   #22e4c8;
  --aurora-green:  #39e098;
  --aurora-blue:   #0ea5e9;
  --gold:          #e8b84b;
  --gold-light:    #f5d47a;
  --text-primary:  #e8f4f8;
  --text-muted:    #7da8be;
  --text-subtle:   #4a7490;
  --border:        rgba(0, 201, 167, 0.15);
  --border-glow:   rgba(0, 201, 167, 0.35);
  --shadow-glow:   0 0 40px rgba(0, 201, 167, 0.12);
  --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.4);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--aurora-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--aurora-teal); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: 'Raleway', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { font-size: 0.975rem; line-height: 1.7; color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-cyan), var(--aurora-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-mid); }
::-webkit-scrollbar-thumb { background: var(--aurora-teal); border-radius: 3px; }

/* ===== NAV ===== */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 16, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
#site-nav.scrolled { background: rgba(4, 16, 26, 0.97); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 18px rgba(0, 201, 167, 0.4);
}
.nav-logo-text {
  font-family: 'Raleway', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 8px; font-size: 0.875rem; font-weight: 600; transition: all var(--transition); }
.btn-outline { border: 1.5px solid var(--border-glow); color: var(--text-primary); background: transparent; }
.btn-outline:hover { border-color: var(--aurora-teal); color: var(--aurora-cyan); background: rgba(0,201,167,0.06); }
.btn-primary { background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue)); color: #fff; border: none; box-shadow: 0 4px 18px rgba(0, 201, 167, 0.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0, 201, 167, 0.45); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a0f00; border: none; font-weight: 700; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232, 184, 75, 0.4); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--transition); display: block; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(4, 16, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%;
  flex-direction: column;
  gap: 1rem;
  z-index: 899;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: none; }

/* ===== FOOTER ===== */
#site-footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: 0.875rem; margin-top: 1rem; max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 0; }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aurora-teal);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--text-primary); }

.footer-disclaimer {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.footer-disclaimer p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-subtle);
}
.footer-disclaimer strong { color: var(--text-muted); }
.footer-disclaimer a { color: var(--aurora-teal); font-size: 0.8rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-subtle); margin: 0; }
.footer-age-badge {
  background: rgba(232, 184, 75, 0.1);
  border: 1px solid rgba(232, 184, 75, 0.3);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== AGE MODAL ===== */
#age-modal {
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
#age-modal.hidden { display: none; }
.age-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.age-modal-logo {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(0,201,167,0.4);
}
.age-modal-box h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.age-modal-box p { font-size: 0.9rem; margin-bottom: 2rem; }
.age-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  cursor: pointer;
}
.age-checkbox-row input[type="checkbox"] {
  width: 20px; height: 20px;
  min-width: 20px;
  accent-color: var(--aurora-teal);
  cursor: pointer;
  margin-top: 2px;
}
.age-checkbox-row label { font-size: 0.875rem; color: var(--text-muted); cursor: pointer; line-height: 1.5; }
#age-confirm-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  pointer-events: none;
  transition: all var(--transition);
}
#age-confirm-btn.active {
  opacity: 1;
  pointer-events: all;
  box-shadow: 0 6px 24px rgba(0,201,167,0.35);
}
#age-confirm-btn.active:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,201,167,0.5); }
.age-modal-box .modal-note { font-size: 0.75rem; color: var(--text-subtle); margin-top: 1rem; margin-bottom: 0; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: rgba(7, 28, 46, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 1.25rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#cookie-banner.hidden { transform: translateY(110%); pointer-events: none; }
#cookie-banner p { font-size: 0.85rem; color: var(--text-muted); max-width: 640px; margin: 0; }
#cookie-banner p a { color: var(--aurora-cyan); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept { background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue)); color: #fff; padding: 9px 20px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; border: none; cursor: pointer; transition: all var(--transition); }
.btn-cookie-accept:hover { transform: translateY(-1px); }
.btn-cookie-decline { background: transparent; border: 1px solid var(--border-glow); color: var(--text-muted); padding: 9px 20px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all var(--transition); }
.btn-cookie-decline:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* ===== LAYOUT HELPERS ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 5rem 5%; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aurora-teal);
  margin-bottom: 0.75rem;
  display: block;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 5%; }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card-icon.teal { background: rgba(0,201,167,0.12); }
.card-icon.blue { background: rgba(14,165,233,0.12); }
.card-icon.gold { background: rgba(232,184,75,0.12); }
.card-icon.green { background: rgba(57,224,152,0.12); }
.card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }

/* ===== INNER PAGE HERO ===== */
.inner-hero {
  padding: 9rem 5% 4rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,201,167,0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.inner-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aurora-teal);
  margin-bottom: 0.75rem;
  display: block;
}
.inner-hero h1 { margin-bottom: 1rem; }
.inner-hero p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; color: var(--text-muted); }

/* ===== PROSE ===== */
.prose { max-width: 800px; margin: 0 auto; padding: 3rem 5%; }
.prose h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; color: var(--text-primary); }
.prose h3 { font-size: 1.1rem; margin: 2rem 0 0.75rem; color: var(--aurora-teal); }
.prose p { font-size: 0.95rem; margin-bottom: 1rem; color: var(--text-muted); }
.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.prose ul li { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.prose a { color: var(--aurora-cyan); }
.prose strong { color: var(--text-primary); }

/* ===== AURORA BG EFFECT ===== */
.aurora-bg {
  position: relative;
  overflow: hidden;
}
.aurora-bg::before {
  content: '';
  position: absolute;
  top: -20%; left: 10%;
  width: 80%; height: 60%;
  background: radial-gradient(ellipse, rgba(0,201,167,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: auroraFloat 8s ease-in-out infinite;
}
.aurora-bg::after {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.05) 0%, transparent 65%);
  pointer-events: none;
  animation: auroraFloat 12s ease-in-out infinite reverse;
}
@keyframes auroraFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-20px) scale(1.05); opacity: 0.7; }
}

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }

/* ===== MAIN CONTENT OFFSET ===== */
main { padding-top: 68px; }

/* ===== NOTIFICATION TOAST ===== */
.toast {
  position: fixed;
  top: 80px; right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.875rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  z-index: 7000;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  max-width: 300px;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(20px); } }

/* ===== STARS PARTICLE ===== */
.stars-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle linear infinite;
  opacity: 0;
}
@keyframes twinkle {
  0% { opacity: 0; } 50% { opacity: 0.8; } 100% { opacity: 0; }
}
