/* ============================================================
   NEP9 — Main Stylesheet
   Dark casino · Royal blue nav · Gold accents · Neon glow
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg-0: #050507;
  --bg-1: #0A0A0F;
  --bg-2: #101018;
  --bg-3: #16161F;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(56, 86, 229, 0.08);
  --bg-glass: rgba(20, 24, 38, 0.55);

  --header-bg: #000000;

  --nav-blue: #2A4FD4;
  --nav-blue-bright: #3856E5;
  --nav-blue-deep: #1F3CB0;
  --nav-blue-glow: rgba(56, 86, 229, 0.55);

  --gold: #FFD700;
  --gold-warm: #F5C518;
  --gold-deep: #C9A227;
  --gold-glow: rgba(255, 215, 0, 0.4);

  --red: #FF1744;
  --red-deep: #E63946;
  --red-glow: rgba(255, 23, 68, 0.4);

  --success: #00D26A;
  --success-glow: rgba(0, 210, 106, 0.5);

  --text-100: #FFFFFF;
  --text-200: #E5E7EF;
  --text-300: #B8B8C8;
  --text-400: #7A7A8C;
  --text-500: #555566;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-blue: rgba(56, 86, 229, 0.35);

  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-1);
  color: var(--text-200);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-out); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--text-100); }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(56, 86, 229, 0.35));
  transition: filter .25s var(--ease-out), transform .25s var(--ease-out);
}
.brand:hover .brand-logo { filter: drop-shadow(0 0 18px rgba(56, 86, 229, 0.7)); transform: translateY(-1px); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-100); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   PRIMARY NAV (Royal Blue)
   ============================================================ */
.primary-nav {
  background: linear-gradient(180deg, var(--nav-blue-bright) 0%, var(--nav-blue) 100%);
  border-bottom: 2px solid var(--nav-blue-deep);
  box-shadow:
    0 6px 24px rgba(56, 86, 229, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 90;
}

.nav-inner { padding-top: 0; padding-bottom: 0; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.nav-list li a {
  display: inline-block;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  transition: color .2s var(--ease-out);
}
.nav-list li a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 3px;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
  transition: width .25s var(--ease-out), left .25s var(--ease-out);
  box-shadow: 0 0 8px var(--gold-glow);
}
.nav-list li a:hover, .nav-list li a.active {
  color: var(--gold);
}
.nav-list li a:hover::after, .nav-list li a.active::after {
  width: calc(100% - 24px);
  left: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, color .25s;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 30px; font-size: 15px; border-radius: 12px; }

.btn-primary {
  background: linear-gradient(135deg, var(--nav-blue-bright), var(--nav-blue));
  color: #fff;
  box-shadow:
    0 6px 20px var(--nav-blue-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px var(--nav-blue-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-gold {
  background: linear-gradient(135deg, #FFE15B, var(--gold-warm));
  color: #1A1300;
  box-shadow:
    0 6px 18px var(--gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-100);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  background: rgba(56, 86, 229, 0.12);
  border-color: var(--nav-blue-bright);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-100);
  border-color: rgba(255, 255, 255, 0.08);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56, 86, 229, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(140, 50, 200, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(255, 23, 68, 0.10) 0%, transparent 70%),
    var(--bg-0);
  overflow: hidden;
  padding-bottom: 60px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.6), transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(255, 215, 0, 0.5), transparent 50%),
    radial-gradient(1px 1px at 90% 20%, rgba(255, 255, 255, 0.7), transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(56, 86, 229, 0.6), transparent 50%),
    radial-gradient(1px 1px at 60% 50%, rgba(255, 255, 255, 0.4), transparent 50%);
  background-size: 100% 100%;
  pointer-events: none;
  opacity: 0.7;
}

/* Carousel */
.hero-carousel {
  position: relative;
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 0 24px;
  z-index: 2;
}
.hero-track {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1200 / 420;
  background: var(--bg-2);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--border),
    0 0 80px rgba(56, 86, 229, 0.15);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 3;
  transition: background .2s, transform .15s var(--ease-out), border-color .2s;
}
.carousel-arrow:hover {
  background: var(--nav-blue-bright);
  border-color: var(--nav-blue-bright);
  transform: translateY(-50%) scale(1.07);
}
.carousel-prev { left: 38px; }
.carousel-next { right: 38px; }

/* Carousel dots */
.carousel-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: width .25s var(--ease-out), background .25s;
}
.dot.is-active {
  width: 26px;
  border-radius: 4px;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Hero content */
.hero-content {
  text-align: center;
  padding-top: 56px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(56, 86, 229, 0.15);
  border: 1px solid var(--border-blue);
  color: #B8C8FF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 var(--success-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--success-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 210, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 210, 106, 0); }
}

.hero-title {
  font-size: clamp(36px, 5.6vw, 64px);
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(56, 86, 229, 0.25);
}
.text-gradient-gold {
  background: linear-gradient(135deg, #FFE15B 0%, #FFD700 50%, #F5A623 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.3));
}

.hero-sub {
  max-width: 880px;
  margin: 0 auto 36px;
  color: var(--text-300);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
}
.inline-link {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px dashed var(--gold-glow);
  transition: color .2s, border-color .2s;
}
.inline-link:hover { color: #FFE15B; border-color: var(--gold); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.7) 0%, rgba(20, 24, 38, 0.4) 100%);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--text-100);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-plus { color: var(--gold); }
.stat-label {
  margin-top: 8px;
  color: var(--text-300);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: scroll-x 30s linear infinite;
  width: max-content;
}
.trust-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  opacity: 0.65;
  filter: grayscale(0.4) brightness(1.1);
  transition: opacity .3s, filter .3s;
}
.trust-item:hover { opacity: 1; filter: grayscale(0) brightness(1.2); }
.trust-item img { max-height: 50px; width: auto; }
@keyframes scroll-x {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 90px 0; }
.section-head { max-width: 800px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}
.section-head--center .section-eyebrow { padding-left: 0; }
.section-head--center .section-eyebrow::before { display: none; }

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 18px;
  color: var(--text-100);
}
.section-title--center { text-align: center; }

.section-lead {
  color: var(--text-300);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
}

/* ============================================================
   QUICK ACCESS — 8 cards
   ============================================================ */
.quick-access {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 86, 229, 0.08) 0%, transparent 50%),
    var(--bg-1);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.qa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
}
.qa-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nav-blue-bright), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.qa-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(56, 86, 229, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.qa-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  background: linear-gradient(180deg, rgba(56, 86, 229, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.qa-card:hover::before { opacity: 1; }
.qa-card:hover::after { opacity: 1; }

.qa-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 86, 229, 0.25), rgba(56, 86, 229, 0.05));
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A0B5FF;
  margin-bottom: 18px;
  transition: color .25s, background .25s, transform .25s var(--ease-out);
}
.qa-card:hover .qa-icon {
  background: linear-gradient(135deg, var(--nav-blue-bright), var(--nav-blue));
  color: #fff;
  transform: scale(1.05);
}

.qa-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-100);
}
.qa-desc {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-300);
  margin: 0 0 18px;
}
.qa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.qa-link .arrow {
  transition: transform .25s var(--ease-out);
}
.qa-card:hover .qa-link .arrow { transform: translateX(4px); }

/* ============================================================
   ACCESS / VERIFIED LINK
   ============================================================ */
.access-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 210, 106, 0.06) 0%, transparent 60%),
    var(--bg-2);
}

.link-card {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 210, 106, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.8), rgba(10, 12, 20, 0.7));
  border: 1px solid var(--border-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.link-card::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--success), transparent);
}

.link-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 210, 106, 0.12);
  border: 1px solid rgba(0, 210, 106, 0.3);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 var(--success-glow);
  animation: pulse 1.8s infinite;
}

.link-card-url {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  word-break: break-all;
  transition: color .25s;
}
.link-card-url:hover { color: var(--gold); }
.external-icon { flex-shrink: 0; opacity: .7; }

.link-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
[data-copy] .copy-success { color: var(--success); }
[data-copy].is-copied .copy-default { display: none; }
[data-copy].is-copied .copy-success { display: inline; }
[data-copy].is-copied { border-color: var(--success); }

.trust-caveat {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 23, 68, 0.06);
  border: 1px solid rgba(255, 23, 68, 0.18);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-300);
  text-align: center;
}
.trust-caveat strong {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ============================================================
   WHY NEP9
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.why-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.why-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
}
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(56, 86, 229, 0.6) 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.why-title {
  font-size: 22px;
  color: var(--text-100);
  margin-bottom: 12px;
}
.why-card p {
  color: var(--text-300);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SNAPSHOT
   ============================================================ */
.snapshot-section {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
    var(--bg-1);
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.snap-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 215, 0, 0.18);
  position: relative;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.snap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 14px 40px rgba(255, 215, 0, 0.1);
}
.snap-stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 18px var(--gold-glow));
}
.snap-stat span {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-300);
  letter-spacing: 0;
  margin-left: 4px;
}
.snap-title {
  font-size: 18px;
  color: var(--text-100);
  margin-bottom: 12px;
}
.snap-card p {
  color: var(--text-300);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}
.snap-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.snap-link .arrow { transition: transform .25s var(--ease-out); }
.snap-link:hover .arrow { transform: translateX(4px); }

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.bottom-cta {
  background: var(--bg-2);
  padding: 70px 0 100px;
}
.cta-shell {
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 86, 229, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 215, 0, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.8), rgba(10, 12, 20, 0.6));
  border: 1px solid var(--border-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 40px auto 44px;
  text-align: left;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nav-blue-bright), var(--nav-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 18px var(--nav-blue-glow);
}
.step-text {
  margin: 8px 0 0;
  color: var(--text-200);
  font-size: 14.5px;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  color: var(--text-300);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  height: 40px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(56, 86, 229, 0.3));
}
.footer-brand-line {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-400);
  max-width: 380px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-100);
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--text-300);
  font-size: 14px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-licences {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.footer-licence-item {
  height: 44px;
  display: flex;
  align-items: center;
  opacity: 0.55;
  filter: grayscale(0.5);
  transition: opacity .25s, filter .25s;
}
.footer-licence-item:hover { opacity: 1; filter: grayscale(0); }
.footer-licence-item img { max-height: 44px; width: auto; }

.footer-responsible {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.age-badge {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 0 0 2px rgba(255, 23, 68, 0.3);
}
.footer-responsible p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-400);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-500);
}
.footer-bottom a { color: var(--text-300); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: relative; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease-out);
  }
  .primary-nav.is-open .nav-list { max-height: 600px; }
  .nav-list li a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-list li a::after { display: none; }
  .header-actions .btn { padding: 8px 14px; font-size: 13px; }

  .section { padding: 64px 0; }
  .hero-content { padding-top: 40px; }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .stat { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }

  .carousel-prev { left: 12px; }
  .carousel-next { right: 12px; }
  .carousel-arrow { width: 38px; height: 38px; }

  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cta-shell { padding: 40px 22px; }
  .footer-licences { gap: 22px; }
  .footer-licence-item { height: 36px; }
  .footer-licence-item img { max-height: 36px; }
}
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-track { aspect-ratio: 16 / 11; border-radius: var(--radius-md); }
  .footer-cols { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIBLE GAMING PAGE
   ============================================================ */
.page-hero {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(56, 86, 229, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(255, 23, 68, 0.10) 0%, transparent 60%),
    var(--bg-0);
  padding: 56px 0 70px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { padding: 72px 0 80px; }
}
.page-hero-inner { text-align: center; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(255, 215, 0, 0.4), transparent 50%),
    radial-gradient(1px 1px at 90% 20%, rgba(255, 255, 255, 0.5), transparent 50%);
  pointer-events: none;
  opacity: 0.6;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  margin: 18px 0 18px;
  letter-spacing: -0.02em;
}
.page-hero p {
  color: var(--text-300);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-400);
  margin: 0 0 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  position: relative;
  z-index: 2;
  text-align: left;
}
.breadcrumb a {
  color: var(--text-300);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.5; }

/* Warning signs grid */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sign-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 23, 68, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 23, 68, 0.15);
  transition: border-color .25s, transform .25s var(--ease-out);
}
.sign-card:hover {
  border-color: rgba(255, 23, 68, 0.4);
  transform: translateY(-3px);
}
.sign-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 23, 68, 0.15);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sign-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-200);
}

/* Tools / self-help cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tool-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(56, 86, 229, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-blue);
  text-align: center;
}
.tool-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nav-blue-bright), var(--nav-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 18px var(--nav-blue-glow);
}
.tool-title {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-100);
}
.tool-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-300);
  line-height: 1.6;
}

/* Resource cards (external authorities) */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.resource-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(0, 210, 106, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.7), rgba(10, 12, 20, 0.5));
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.resource-card:hover {
  border-color: rgba(0, 210, 106, 0.35);
  transform: translateY(-3px);
}
.resource-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.resource-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.01em;
}
.resource-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 210, 106, 0.12);
  border: 1px solid rgba(0, 210, 106, 0.3);
  color: var(--success);
}
.resource-card p {
  margin: 0;
  color: var(--text-300);
  font-size: 14px;
  line-height: 1.65;
  flex-grow: 1;
}
.resource-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-400);
}
.resource-meta strong { color: var(--text-200); }
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.resource-link .arrow { transition: transform .25s var(--ease-out); }
.resource-card:hover .resource-link .arrow { transform: translateX(4px); }

/* Helpline strip */
.helpline-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.7), rgba(10, 12, 20, 0.5));
  border: 1px solid var(--border-strong);
}
.helpline-item {
  padding: 26px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.helpline-item:last-child { border-right: none; }
.helpline-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-400);
  margin-bottom: 10px;
}
.helpline-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.01em;
}
.helpline-num a {
  color: inherit;
  border-bottom: 1px dashed transparent;
  transition: border-color .2s, color .2s;
}
.helpline-num a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-glow);
}
.helpline-region {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-400);
}

/* Inline link in responsible block */
.footer-responsible a.inline-help {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-glow);
  margin-left: 4px;
  transition: color .2s;
}
.footer-responsible a.inline-help:hover {
  color: #FFE15B;
  text-decoration-color: var(--gold);
}
.age-badge.is-link {
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .25s;
}
.age-badge.is-link:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(255, 23, 68, 0.25);
}

/* Responsive for responsible page */
@media (max-width: 900px) {
  .signs-grid   { grid-template-columns: repeat(2, 1fr); }
  .tool-grid    { grid-template-columns: repeat(2, 1fr); }
  .resource-grid{ grid-template-columns: 1fr; }
  .helpline-strip {
    grid-template-columns: 1fr;
  }
  .helpline-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .helpline-item:last-child { border-bottom: none; }
}
@media (max-width: 520px) {
  .signs-grid   { grid-template-columns: 1fr; }
  .tool-grid    { grid-template-columns: 1fr; }
}

/* ============================================================
   BONUS PAGE
   ============================================================ */

/* Intro paragraph block */
.intro-block {
  max-width: 880px;
  margin: 0 auto 56px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(56, 86, 229, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-blue);
  color: var(--text-300);
  font-size: 15.5px;
  line-height: 1.75;
}
.intro-block p { margin: 0 0 14px; }
.intro-block p:last-child { margin: 0; }
.intro-block strong { color: var(--text-100); font-weight: 700; }
.intro-block em { color: var(--gold); font-style: normal; }

/* Table of Contents */
.toc {
  position: relative;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.8), rgba(10, 12, 20, 0.5));
  border: 1px solid var(--border-strong);
  margin-bottom: 60px;
}
.toc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.toc-title::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}
.toc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 24px;
}
.toc-grid a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-300);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.toc-grid a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-glow);
}
.toc-num {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--nav-blue-bright);
  min-width: 22px;
}

/* Promo cards (alternating layout) */
.promo-list { display: flex; flex-direction: column; gap: 60px; }
.promo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  scroll-margin-top: 100px;
}
.promo:nth-child(even) .promo-media { order: 2; }

.promo-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(56, 86, 229, 0.1);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.promo-media:hover {
  transform: translateY(-3px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(56, 86, 229, 0.2);
}
.promo-media img {
  width: 100%;
  height: auto;
  display: block;
}
.promo-media-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.promo-body { padding: 0; }
.promo-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nav-blue-bright);
  margin-bottom: 8px;
}
.promo h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0 0 10px;
  color: var(--text-100);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.promo-tagline {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.35);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.promo-intro {
  margin: 0 0 18px;
  color: var(--text-300);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Pros / Cons block */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.pros, .cons {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.pros { border-color: rgba(0, 210, 106, 0.2); }
.cons { border-color: rgba(255, 23, 68, 0.2); }
.pros-cons h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}
.pros h4 { color: var(--success); }
.cons h4 { color: var(--red); }
.pros-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pros-cons li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-300);
}
.pros li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 4px;
  color: var(--success);
  font-weight: 700;
}
.cons li::before {
  content: "!";
  position: absolute;
  left: 0; top: 4px;
  color: var(--red);
  font-weight: 700;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 23, 68, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
}

/* How to claim */
.how-to {
  margin: 16px 0 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(56, 86, 229, 0.06);
  border: 1px solid var(--border-blue);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-200);
}
.how-to strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nav-blue-bright);
  margin-bottom: 4px;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-warm));
  color: #1A1300;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px var(--gold-glow);
  transition: transform .15s var(--ease-out), box-shadow .25s;
}
.promo-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px var(--gold-glow); }

/* Section anchor headings */
.anchor-h2 {
  scroll-margin-top: 100px;
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 18px;
  color: var(--text-100);
  letter-spacing: -0.02em;
}

/* Stack cards (Final Word section) */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.stack-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 215, 0, 0.18);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.stack-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.4);
}
.stack-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.stack-title {
  font-size: 18px;
  color: var(--text-100);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.stack-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-300);
}
.stack-card strong { color: var(--text-100); font-weight: 600; }

/* FAQ accordion */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color .25s;
}
.faq-item[open] { border-bottom-color: var(--border-blue); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 0;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-100);
  line-height: 1.5;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(56, 86, 229, 0.15);
  border: 1px solid var(--border-blue);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 10px 2px, 2px 10px;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-100);
  transform: translateY(-50%);
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after {
  background-size: 10px 2px, 0 0;
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  padding: 0 0 24px;
  color: var(--text-300);
  font-size: 15px;
  line-height: 1.75;
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin: 0; }
.faq-answer strong { color: var(--text-100); }

/* Inline keyword link styling (within paragraphs) */
.kw-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 215, 0, 0.3);
  transition: text-decoration-color .2s;
}
.kw-link:hover { text-decoration-color: var(--gold); }

/* Onboarding numbered list (How to Get Started) */
.onboarding-list {
  counter-reset: onb;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 36px auto 0;
}
.onboarding-list li {
  counter-increment: onb;
  position: relative;
  padding: 18px 22px 18px 76px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-300);
  list-style: none;
  transition: border-color .25s;
}
.onboarding-list li:hover { border-color: var(--border-blue); }
.onboarding-list li::before {
  content: counter(onb, decimal-leading-zero);
  position: absolute;
  left: 18px; top: 18px;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nav-blue-bright), var(--nav-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 16px var(--nav-blue-glow);
}
.onboarding-list li strong { color: var(--text-100); font-weight: 600; }

/* Featured banner (between hero and content) */
.feature-bn-section {
  padding: 0 0 20px;
  position: relative;
}
.feature-bn {
  display: block;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-decoration: none;
}
.feature-bn-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(56, 86, 229, 0.12);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.feature-bn:hover .feature-bn-frame {
  transform: translateY(-4px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(255, 215, 0, 0.22);
}
.feature-bn-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-bn-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 7px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFE15B, var(--gold-warm));
  color: #1A1300;
  z-index: 2;
  box-shadow: 0 6px 18px var(--gold-glow);
}
.feature-bn-cta {
  position: absolute;
  bottom: 18px; right: 18px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: 2;
  transition: background .25s, color .25s, border-color .25s, transform .15s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feature-bn:hover .feature-bn-cta {
  background: linear-gradient(135deg, #FFE15B, var(--gold-warm));
  color: #1A1300;
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Responsive — Bonus page */
@media (max-width: 1024px) {
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-bn { padding: 0 16px; }
  .feature-bn-tag { font-size: 10px; padding: 5px 10px; top: 10px; left: 10px; }
  .feature-bn-cta { padding: 8px 14px; font-size: 12px; bottom: 12px; right: 12px; }
}

/* ============================================================
   FLOATING WIDGETS (right-bottom: Invite + TG + Back-to-Top)
   ============================================================ */
.nep9-float-wrapper {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.nep9-float-wrapper > * { pointer-events: auto; }

@keyframes nep9-float-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.nep9-btn-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  animation: nep9-float-bounce 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(56, 86, 229, 0.35));
}
.nep9-tg-wrap     { animation-delay: 0.4s; }
.nep9-invite-wrap { animation-delay: 0s;   }

.nep9-icon-box {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform .25s var(--ease-out);
}
.nep9-icon-box:hover { transform: scale(1.06) rotate(-2deg); }
.nep9-btn-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nep9-top-btn {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
    linear-gradient(135deg, var(--nav-blue-bright), var(--nav-blue-deep));
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(56, 86, 229, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s var(--ease-out), transform .25s var(--ease-out), background .25s, box-shadow .25s;
}
.nep9-top-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: url('/img/circle.webp') no-repeat center/contain;
  pointer-events: none;
  opacity: 0.55;
  z-index: -1;
}
.nep9-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nep9-top-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(56, 86, 229, 0.7);
}
.nep9-arrow-icon { width: 22px; height: 22px; }

@media (max-width: 600px) {
  .nep9-float-wrapper { right: 10px; bottom: 10px; gap: 8px; }
  .nep9-btn-wrap     { width: 76px; height: 76px; }
  .nep9-top-btn      { width: 48px; height: 48px; }
}

/* ============================================================
   APP DOWNLOAD POPUP (Partner Promotion, auto-shows after 5s)
   ============================================================ */
.nep9-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.nep9-popup-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.nep9-popup-container {
  position: relative;
  max-width: 560px;
  width: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #2A1B5C 0%, #1F0F4F 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform .4s var(--ease-out);
}
.nep9-popup-overlay.is-active .nep9-popup-container {
  transform: scale(1) translateY(0);
}

.nep9-popup-label {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  padding: 6px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1300;
  background: linear-gradient(135deg, #FFE15B, var(--gold-warm));
  border-radius: 999px;
  box-shadow: 0 6px 18px var(--gold-glow);
}

.nep9-popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s var(--ease-out);
}
.nep9-popup-close:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(90deg);
}

.nep9-popup-banner {
  display: block;
  width: 100%;
  text-decoration: none;
}
.nep9-popup-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.nep9-popup-bottom {
  padding: 22px 26px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nep9-popup-cta-text {
  margin: 0 0 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  flex-grow: 1;
}
.nep9-popup-cta-text strong {
  display: block;
  font-size: 22px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.nep9-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF8E2C, #FF6B00);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(255, 107, 0, 0.45);
  transition: transform .15s var(--ease-out), box-shadow .25s;
}
.nep9-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 0, 0.6);
}

@media (max-width: 480px) {
  .nep9-popup-bottom { flex-direction: column; padding: 18px 18px 22px; gap: 14px; text-align: center; }
  .nep9-popup-cta-text strong { font-size: 19px; }
  .nep9-popup-label { font-size: 10px; padding: 4px 10px; top: 12px; left: 12px; }
  .nep9-popup-close { top: 10px; right: 10px; width: 34px; height: 34px; font-size: 20px; }
}
@media (max-width: 880px) {
  .promo {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .promo:nth-child(even) .promo-media { order: 0; }
  .pros-cons { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .toc-grid { grid-template-columns: 1fr; }
  .toc, .intro-block { padding: 22px; }
  .onboarding-list li { padding: 16px 18px 16px 64px; }
  .onboarding-list li::before { left: 14px; top: 14px; width: 36px; height: 36px; }
}
