/* ── STATUS BAR (sticky, hides on scroll) ── */
.status-bar {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.status-bar.hidden { transform: translateY(calc(-100% - 1px)); }
.status-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 22px; padding: 10px 24px;
  font-size: 12.5px;
}
.status-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); letter-spacing: 0.02em;
}
.status-item strong { color: #fff; font-weight: 700; }
.status-item .status-online { color: #4ade80; font-weight: 700; }
a.status-item--link {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
a.status-item--link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transform: translateY(-1px);
}
a.status-item--link:hover strong { color: var(--gold); }
.status-sep {
  width: 1px; height: 14px; background: rgba(255,255,255,0.10);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.18);
}
.status-dot.offline { background: #c92a2a; box-shadow: 0 0 0 3px rgba(201,42,42,0.18); }
.status-label { letter-spacing: 0.06em; text-transform: uppercase; font-size: 10.5px; font-weight: 600; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 130px 32px 60px; overflow: hidden;
}
/* The hero (and the rest of the home) shows the global .page-bg-fixed
   parallax — see the rule near the bottom of this file. No dedicated
   .hero-bg is needed; sections layer their own veils over the parallax. */
.hero-overlay {
  position: absolute; inset: 0;
  /* Two-layer overlay.
     The vertical fade ends at 0.94 (not 1.0) to match the opacity of the
     next dark section — so the hero blends seamlessly into it instead
     of producing a visible "cut". */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.73) 25%, #0000001c 50%),
   linear-gradient(to bottom, #0000 0%,
    #0000 28%, rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.45) 62%,
    rgba(0, 0, 0, 0.27) 80%, 
    rgba(0, 0, 0, 0) 95%, 
    rgb(0, 0, 0) 100%);
  }
.hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.hero-left {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  min-width: 0;
}
.hero-right {
  display: flex; flex-direction: column;
  align-items: stretch; gap: 28px;
  min-width: 0;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,147,58,0.12); border: 1px solid rgba(201,147,58,0.35);
  color: var(--gold-lt); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 28px;
}
.hero-title {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; margin-bottom: 18px;
}
.hero-logo {
  /* logo-oro-full.png — bigger statement size on the hero */
  width: clamp(260px, 33vw, 460px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 8px 28px rgba(0,0,0,0.55))
    drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
  opacity: 0.9;
}
.hero-logo:hover {
  transform: scale(1.02);
  filter:
    drop-shadow(0 10px 36px rgba(201,147,58,0.28))
    drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.hero-title-sub {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 500; color: var(--gold-lt); letter-spacing: 0.10em;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}
.hero-subtitle {
  font-size: 13px; font-weight: 400; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px;
}
.hero-desc {
  font-size: 16px; line-height: 1.7; color: rgba(212,216,226,0.78);
  max-width: 460px; margin: 0 auto;
}
.hero-ctas {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap;
}

/* Subtle dark halo behind hero text lines (logo stays untouched).
   Uses a blurred radial gradient via pseudo-element + a soft text-shadow.
   z-index: -1 keeps the halo behind the text but inside the .hero-content
   stacking context (z-index: 2), so it sits above .hero-overlay. */
.hero-title-sub,
.hero-subtitle,
.hero-desc {
  position: relative;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
.hero-title-sub::before,
.hero-subtitle::before,
.hero-desc::before {
  content: "";
  position: absolute;
  left: -28px; right: -28px;
  top: -6px; bottom: -6px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 75%);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
/* Tighter top inset under the logo (avoid bleeding onto .hero-logo). */
.hero-title-sub::before { top: -2px; }

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr; gap: 36px; max-width: 540px;
    text-align: center;
  }
  .hero-left { text-align: center; }
  .hero-title { align-items: center; }
  .hero-title-sub { margin-left: 0; }
  .hero-desc { margin: 0 auto; }
}

/* ── COUNTDOWN ── */
.countdown {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201,147,58,0.30);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,147,58,0.06) inset;
}
.countdown-label {
  font-size: 16px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 14px;
}
.countdown-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.countdown-cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.countdown-num {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em; line-height: 1;
}
.countdown-unit {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 8px;
}
.countdown-foot {
  margin-top: 14px; font-size: 11.5px;
  color: var(--muted); letter-spacing: 0.04em;
}
.countdown-foot span { color: var(--gold-lt); font-weight: 600; }
.countdown.launched .countdown-grid { display: none; }
.countdown.launched .countdown-foot::before { content: 'Server is live!'; color: #4ade80; font-weight: 700; }

/* ── FEATURES ── */
.section-features { padding: 80px 0; }
.section-features .section-desc { margin-bottom: 44px; }

/* ── RANKINGS (light section, contrasts with the dark theme) ── */
.section-rankings {
  padding: 96px 0;
  background: #f5f3ee;
  color: #1a1f2e;
}
.section-rankings .section-label  { color: var(--gold-dk); }
.section-rankings .section-title  { color: #1a1f2e; }
.section-rankings .section-desc   { color: #6b7280; }

.section-rankings .table-wrap {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 24px rgba(15,23,42,0.06);
}
.section-rankings thead th {
  color: #8b94a3;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: transparent;
}
.section-rankings tbody td {
  color: #1a1f2e;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.section-rankings tbody tr:last-child td { border-bottom: none; }
.section-rankings tbody tr:hover td { background: rgba(201,147,58,0.04); }

.section-rankings .rank-num    { color: #9ca3af; font-size: 14px; }
.section-rankings .rank-num.gold   { color: var(--gold); }
.section-rankings .rank-num.silver { color: #94a3b8; }
.section-rankings .rank-num.bronze { color: #b87333; }
.section-rankings .player-name { color: #1a1f2e; font-weight: 600; }
.section-rankings .job-name    { color: var(--gold-dk); font-weight: 500; }

.section-rankings .level-badge {
  background: rgba(201,147,58,0.10);
  border: 1px solid rgba(201,147,58,0.30);
  color: var(--gold-dk);
}

.guild-cell { display: inline-flex; align-items: center; gap: 8px; }
.guild-emblem {
  width: 24px; height: 24px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

/* ── NEWS ── */
.section-news { padding: 80px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.news-card {
  background: var(--card); border: 1px solid var(--border2); border-radius: 12px;
  overflow: hidden; transition: all 0.2s; cursor: pointer;
}
.news-card:hover { border-color: var(--border); transform: translateY(-3px); }
.news-card-img {
  height: 150px; background: linear-gradient(135deg, rgba(201,147,58,0.12), rgba(110,168,212,0.08));
  display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.news-card-body { padding: 20px; }
.news-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.news-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.news-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; }
.news-date { font-size: 11.5px; color: var(--muted); margin-top: 14px; opacity: 0.7; }

/* ===== Preinscription CTA + modal ===== */

/* Base: shared layout/structure for both colored buttons */
.preg-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.22);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: filter 0.18s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 14px rgba(0,0,0,0.22);
}
.preg-cta:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.preg-cta:active { transform: translateY(0); filter: brightness(1); }
.preg-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* shimmer on hover */
.preg-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.preg-cta:hover::before { transform: translateX(100%); }

/* Icon tile (dark transparent on filled bg, white icon) */
.preg-cta-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(0,0,0,0.18);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.preg-cta-ico svg { display: block; }

.preg-cta-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}

.preg-cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 9px;
  background: rgba(0,0,0,0.32);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.22);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

/* ─── GOLD theme: Pre-register (matches O-Ro logo) ─── */
.preg-cta--register {
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold-dk) 100%);
  color: #1a1208;
  border-color: rgba(0,0,0,0.28);
  /* Subtle "breathing" gold halo — invites the click without being noisy.
     box-shadow is rendered outside the element regardless of overflow:hidden,
     so no clipping issue here. Uses `alternate` (ping-pong from↔to) so the
     cycle has no wraparound discontinuity — period halved to keep the same
     total breathing rhythm. Pauses on hover and respects reduced-motion. */
  animation: pregPulseGlow 1.4s ease-in-out infinite alternate;
}
@keyframes pregPulseGlow {
  from {
    box-shadow:
      0 1px 0 rgba(255,255,255,0.18) inset,
      0 6px 14px rgba(0,0,0,0.22),
      0 0 0 0 rgba(245,216,133,0);
  }
  to {
    box-shadow:
      0 1px 0 rgba(255,255,255,0.28) inset,
      0 6px 14px rgba(0,0,0,0.22),
      0 0 28px 3px rgba(245,216,133,0.50);
  }
}
.preg-cta--register:hover { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .preg-cta--register { animation: none; }
}
.preg-cta--register .preg-cta-text { color: #1a1208; text-shadow: 0 1px 0 rgba(255,255,255,0.18); }
.preg-cta--register .preg-cta-ico {
  background: rgba(0,0,0,0.18);
  border-color: rgba(0,0,0,0.22);
  color: #1a1208;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
}
.preg-cta--register:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.32) inset, 0 10px 22px rgba(201,147,58,0.45);
  color: #1a1208;
}
.preg-cta--register .preg-cta-badge {
  background: rgba(0,0,0,0.28);
  border-color: rgba(0,0,0,0.22);
  color: #1a1208;
  text-shadow: 0 1px 0 rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

/* ─── GRAY theme: Download (slate) ─── */
.preg-cta--download {
  background: linear-gradient(180deg, #3d4554 0%, #232934 100%);
  border-color: rgba(255,255,255,0.10);
}
.preg-cta--download:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 22px rgba(0,0,0,0.45);
}

a.preg-cta { color: #fff; }

/* ----- Modal ----- */
html.preg-modal-open { overflow: hidden; }

.preg-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.preg-modal.is-visible { opacity: 1; pointer-events: auto; }
.preg-modal[hidden] { display: none; }

.preg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.preg-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, #161e2f82 0%, #0d14222b 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px 32px 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.26s cubic-bezier(0.2,0.7,0.2,1);
}
.preg-modal.is-visible .preg-modal-card { transform: translateY(0) scale(1); }

.preg-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  color: #cfd5e1;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preg-modal-close:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  transform: rotate(90deg);
}

.preg-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-align: left;
  padding-right: 32px;
}
.preg-modal-sub {
  font-size: 13.5px;
  color: #9aa3b3;
  margin: 0 0 22px;
  line-height: 1.55;
  text-align: left;
}

/* ── Hero reward card (single item) ── */
.preg-reward-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin: 0 0 22px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(201,147,58,0.08), transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(201,147,58,0.22);
  border-radius: 14px;
  position: relative;
}
.preg-reward-hero-icon {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.18) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.preg-reward-hero-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.55));
}
.preg-reward-hero-qty {
  position: absolute;
  bottom: -6px;
  right: -6px;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk));
  color: #1a1208;
  font-size: 11px;
  font-weight: 900;
  border-radius: 11px;
  letter-spacing: 0.02em;
  border: 1.5px solid #0d1422;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.preg-reward-hero-info { flex: 1; min-width: 0; }
.preg-reward-hero-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.preg-reward-hero-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 2px;
}
.preg-reward-hero-desc {
  font-size: 12.5px;
  color: #9aa3b3;
  line-height: 1.4;
}

/* ── Counter as subtle inline pill ── */
.preg-modal-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 12px;
}
.preg-modal-counter-num {
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.preg-modal-counter-label { color: #9aa3b3; }

/* ── Form ── */
.preg-modal-form { display: flex; flex-direction: column; gap: 10px; }
.preg-modal-form input {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.preg-modal-form input::placeholder { color: rgba(255,255,255,0.35); }
.preg-modal-form input:focus {
  border-color: rgba(201,147,58,0.6);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(201,147,58,0.12);
}

.preg-modal-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  padding: 13px 22px;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk));
  border: 1px solid rgba(0,0,0,0.28);
  border-radius: 10px;
  color: #1a1208;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  letter-spacing: -0.005em;
  box-shadow: 0 6px 14px rgba(201,147,58,0.25), inset 0 1px 0 rgba(255,255,255,0.28);
}
.preg-modal-form button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(201,147,58,0.35), inset 0 1px 0 rgba(255,255,255,0.32);
}
.preg-modal-form button[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.preg-modal-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin: 8px 0 0;
  line-height: 1.5;
  text-align: center;
}
.preg-form-msg {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.preg-form-msg.is-success { color: #4ade80; }
.preg-form-msg.is-error   { color: #f87171; }

@media (max-width: 480px) {
  .preg-modal-card { padding: 26px 22px 22px; }
  .preg-modal-title { font-size: 19px; }
  .preg-reward-hero-icon { flex-basis: 56px; width: 56px; height: 56px; }
  .preg-reward-hero-icon img { width: 38px; height: 38px; }
}

/* ----- Pre-register / Download common base override (anchor variant) ----- */
a.preg-cta {
  text-decoration: none;
  color: inherit;
}
/* ----- Hero CTAs row variant (Pre-register + Download side-by-side) ----- */
.hero-ctas--stacked {
  flex-direction: row;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-ctas--stacked .preg-cta { margin-bottom: 0; }
@media (max-width: 520px) {
  .hero-ctas--stacked { flex-direction: column; }
  .preg-cta-text { font-size: 14.5px; }
}

/* Anchor variant inherits everything; no extra background tint anymore */
a.preg-cta { color: inherit; }

/* ─── Preinscription modal — thank-you state ─── */
.preg-state--thanks { text-align: center; }

.preg-thanks-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(74,222,128,0.10);
  color: #4ade80;
  margin: 6px auto 18px;
  box-shadow: 0 0 0 6px rgba(74,222,128,0.05);
  animation: pregPop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.preg-thanks-icon svg { width: 32px; height: 32px; }

@keyframes pregPop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.1);  opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}

.preg-thanks-title {
  margin-bottom: 22px !important;
  font-size: 22px !important;
}

.preg-thanks-mailcard {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 16px;
  background: rgba(224,169,62,0.06);
  border: 1px solid rgba(224,169,62,0.22);
  border-radius: 10px;
  margin: 0 0 24px 0;
  text-align: left;
}
.preg-thanks-mailcard-icon {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(224,169,62,0.14);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.preg-thanks-mailcard-icon svg { width: 22px; height: 22px; }
.preg-thanks-mailcard-text { flex: 1; min-width: 0; }
.preg-thanks-mailcard-title {
  font-size: 14px; font-weight: 700; color: #fff;
  margin-bottom: 4px; letter-spacing: 0.02em;
}
.preg-thanks-mailcard-body {
  font-size: 13px; line-height: 1.55; color: var(--muted);
}

.preg-thanks-download {
  padding: 18px 0 0 0;
  border-top: 1px solid var(--border2);
  margin-bottom: 18px;
}
.preg-thanks-download-label {
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0 0 10px 0;
}
.preg-thanks-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #000;
  font-size: 14px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.02em;
  border-radius: 9px;
  transition: transform 0.16s, box-shadow 0.18s;
  box-shadow: 0 4px 14px rgba(224,169,62,0.22);
}
.preg-thanks-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(224,169,62,0.32);
}

.preg-thanks-close-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  padding: 8px 14px; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.preg-thanks-close-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* ─── Sex radio group (modal pre-registration) ─── */
.preg-sex-group {
  border: none; padding: 0; margin: 4px 0 0 0;
  display: flex; gap: 10px; align-items: stretch;
}
.preg-sex-legend {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.preg-sex-option {
  flex: 1;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
  user-select: none;
}
.preg-sex-option:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
}
.preg-sex-option input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.preg-sex-option:has(input[type="radio"]:checked) {
  background: rgba(224,169,62,0.10);
  border-color: rgba(224,169,62,0.45);
  color: var(--gold);
}
.preg-sex-bullet {
  font-size: 16px; line-height: 1;
  color: inherit; opacity: 0.75;
  font-weight: 700;
}
.preg-sex-option:has(input[type="radio"]:checked) .preg-sex-bullet {
  opacity: 1;
}
.preg-sex-option:focus-within {
  outline: 2px solid rgba(224,169,62,0.5);
  outline-offset: 1px;
}

/* Tighten password fields (same look as text inputs, just narrower line-height) */
.preg-modal-form input[type="password"] { letter-spacing: 0.04em; }

@media (max-width: 480px) {
  .preg-sex-option { padding: 10px 12px; font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════════
   SIGNATURE SYSTEMS — feature carousel (Loi du Sang / Territoires / Training)
   ════════════════════════════════════════════════════════════════ */
.section-systems {
  padding: 80px 0 96px;
  position: relative;
  background: rgba(0,0,0,0.94);
}
.section-systems .section-desc { margin-bottom: 40px; }

.systems-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.systems-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.systems-track::-webkit-scrollbar { display: none; }

.systems-slide {
  flex: 0 0 100%;
  max-width: none;
  margin: 0;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  min-height: 360px;
}
.systems-slide:hover { border-color: var(--border); }

/* ── slide image (or placeholder) ── */
.systems-slide-img {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #0a0e18;
}
.systems-slide-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.systems-slide-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%, transparent 60%,
    rgba(0,0,0,0.55) 88%, rgba(0,0,0,0.95) 100%);
  pointer-events: none;
}
.systems-slide-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 72px;
  line-height: 1;
  opacity: 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
  transition: opacity 0.25s, transform 0.4s ease;
  z-index: 1;
}
/* show big icon only when the actual image fails / missing */
.systems-slide-img.is-placeholder .systems-slide-icon {
  opacity: 0.95;
}
.systems-slide-img.is-placeholder::after {
  background: linear-gradient(90deg,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.95) 100%);
}
.systems-slide:hover .systems-slide-img.is-placeholder .systems-slide-icon {
  transform: translate(-50%, -50%) scale(1.06);
}

/* placeholder gradients per tier (used when image missing) */
.systems-slide[data-tier="loisang"] .systems-slide-img.is-placeholder {
  background: radial-gradient(ellipse at 30% 30%, #2a0808 0%, #150404 55%, #000 100%);
}
.systems-slide[data-tier="territoires"] .systems-slide-img.is-placeholder {
  background: radial-gradient(ellipse at 30% 30%, #1a1a1a 0%, #0d0d0d 55%, #000 100%);
}
.systems-slide[data-tier="training"] .systems-slide-img.is-placeholder {
  background: radial-gradient(ellipse at 30% 30%, #142712 0%, #0a140a 55%, #000 100%);
}

/* ── slide body ── */
.systems-slide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
  gap: 14px;
}
.systems-slide-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid rgba(201,147,58,0.32);
  border-radius: 999px;
  background: rgba(201,147,58,0.06);
}
.systems-slide-title {
  font-family: 'Cinzel', 'Trajan Pro', 'Inter', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.systems-slide-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.82;
  max-width: 460px;
}
.systems-slide-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #0a0a0a;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  box-shadow: 0 4px 14px rgba(201,147,58,0.22);
}
.systems-slide-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201,147,58,0.34);
  filter: brightness(1.05);
}
.systems-slide-link svg { display: block; transition: transform 0.18s; }
.systems-slide-link:hover svg { transform: translateX(3px); }

/* ── arrows ── */
.systems-arrow {
  position: absolute;
  top: 50%;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, opacity 0.18s;
  z-index: 5;
  transform: translateY(-50%);
  opacity: 0.85;
}
.systems-arrow:hover {
  background: rgba(201,147,58,0.18);
  border-color: var(--gold);
  opacity: 1;
}
.systems-arrow:active { transform: translateY(-50%) scale(0.94); }
.systems-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.systems-arrow--prev { left: 4px; }
.systems-arrow--next { right: 4px; }

/* ── dots ── */
.systems-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.systems-dot {
  width: 10px; height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s;
}
.systems-dot:hover { border-color: var(--gold-lt); }
.systems-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
}

/* ── responsive ── */
@media (max-width: 820px) {
  .systems-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .systems-slide-img { min-height: 220px; }
  .systems-slide-img::after {
    background: linear-gradient(180deg,
      transparent 0%, transparent 50%,
      rgba(0,0,0,0.55) 80%, rgba(0,0,0,0.95) 100%);
  }
  .systems-slide-body { padding: 26px 24px 30px; gap: 12px; }
  .systems-slide-title { font-size: 26px; }
  .systems-slide-desc { font-size: 13.5px; }
  .systems-arrow { width: 38px; height: 38px; }
  .systems-arrow--prev { left: 8px; }
  .systems-arrow--next { right: 8px; }
}
@media (max-width: 520px) {
  .section-systems { padding: 60px 0 72px; }
  .systems-slide-icon { font-size: 56px; }
}

/* ════════════════════════════════════════════════════════════════
   LIVE COUNTER (preinscription) — between hero and features
   Addictive: count-up + pulse + progress to next tier
   ════════════════════════════════════════════════════════════════ */
.section-counter {
  position: relative;
  padding: 22px 24px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,147,58,0.08) 0%, transparent 60%),
    rgba(0,0,0,0.94);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section-counter::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,147,58,0.4), transparent);
}
.counter-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.counter-character {
  position: relative;
  z-index: 1;
  height: 220px;
  width: auto;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.55)) drop-shadow(0 0 24px rgba(201,147,58,0.20));
}

/* ── Horizontal strip ─────────────────────────────────────────
   Single row, 3 cells separated by vertical dividers, all
   baseline-aligned. Cleaner than scattered floating elements.
   ────────────────────────────────────────────────────────────*/
.counter-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  flex: 1;
  min-width: 0;
}
.counter-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.counter-divider {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.14) 50%, transparent 100%);
  flex-shrink: 0;
}

/* Cell 1: status (pill-style label) */
.counter-cell--status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-lt);
  gap: 9px;
}

/* Cell 2: stats (icon + number + unit + trend) */
.counter-cell--stats { gap: 12px; }
.counter-cell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(201,147,58,0.08);
  border: 1px solid rgba(201,147,58,0.26);
  color: var(--gold-lt);
  flex-shrink: 0;
}
.counter-cell-icon svg { width: 19px; height: 19px; }
.counter-unit {
  font-size: 14px;
  color: rgba(241,243,246,0.72);
  font-weight: 500;
}
.counter-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.25);
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.02em;
}
.counter-trend::before {
  content: '\2191';
  font-weight: 900;
}

/* Trust badges row */
.counter-trust {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  width: 100%;
}
.counter-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
}
.counter-trust-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(201,147,58,0.10);
  border: 1px solid rgba(201,147,58,0.22);
  color: var(--gold-lt);
  flex-shrink: 0;
}
.counter-trust-ico svg { width: 14px; height: 14px; }
.counter-trust strong {
  display: inline;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
.counter-trust em {
  display: inline;
  font-style: normal;
  color: rgba(241,243,246,0.55);
  font-weight: 500;
  margin-left: 4px;
}

/* Character with golden glow halo */
.counter-character-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.counter-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(245,216,133,0.28) 0%,
      rgba(201,147,58,0.14) 30%,
      rgba(201,147,58,0.04) 55%,
      transparent 75%);
  filter: blur(6px);
  animation: counterGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.counter-glow::after {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(245,216,133,0.22);
  box-shadow: inset 0 0 18px rgba(245,216,133,0.12);
  animation: counterRingSpin 60s linear infinite;
}
@keyframes counterGlowPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1.0; }
}
@keyframes counterRingSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
.counter-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.55);
  animation: counterPulse 1.6s infinite;
}
@keyframes counterPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.counter-number {
  font-family: 'Cinzel', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 0%, #f5d885 50%, #c9933a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 4px 12px rgba(201,147,58,0.20));
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.counter-number.is-pulsing { animation: counterFlash 0.85s ease; }
@keyframes counterFlash {
  0%   { transform: scale(1);    filter: drop-shadow(0 4px 12px rgba(201,147,58,0.20)); }
  35%  { transform: scale(1.06); filter: drop-shadow(0 8px 22px rgba(201,147,58,0.50)); }
  100% { transform: scale(1);    filter: drop-shadow(0 4px 12px rgba(201,147,58,0.20)); }
}
.counter-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  box-shadow: 0 8px 22px rgba(201,147,58,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
}
.counter-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,147,58,0.45), inset 0 1px 0 rgba(255,255,255,0.30);
  filter: brightness(1.06);
}
.counter-cta:active { transform: translateY(0); }
.counter-cta:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }
.counter-cta svg { transition: transform 0.18s; }
.counter-cta:hover svg { transform: translateX(3px); }
@media (max-width: 980px) {
  .counter-inner { gap: 24px; }
  .counter-character { height: 180px; }
  .counter-glow { width: 200px; height: 200px; }
  .counter-strip { gap: 16px; }
}
@media (max-width: 760px) {
  .section-counter { padding: 28px 18px; }
  .counter-inner {
    flex-direction: column-reverse;
    gap: 16px;
  }
  .counter-character { height: 180px; }
  .counter-glow { width: 200px; height: 200px; }
  .counter-strip {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }
  .counter-divider { display: none; }
}
@media (max-width: 520px) {
  .counter-cell--status { font-size: 10.5px; letter-spacing: 0.16em; }
  .counter-number { font-size: 30px; }
  .counter-cta { padding: 11px 20px; font-size: 12.5px; }
}

/* ════════════════════════════════════════════════════════════════
   PARALLAX BACKGROUND
   Fixed hero bg, blurred + dimmed, visible only through translucent
   ("light") sections. Dark sections cover it with opaque bg.
   ════════════════════════════════════════════════════════════════ */
html { background: var(--bg); }
body { background: transparent; }
.page-bg-fixed {
  position: fixed; inset: 0;
  z-index: -1;
  background-image: url('/images/background4.jpg');
  background-size: cover;
  /* "center 25%" — image is shifted downward in the viewport so the upper
     portion (sky + sun glare) sits below the sticky header instead of
     being clipped by it. */
  background-position: center 25%;
  filter: blur(0.8px) saturate(1.10) contrast(1.04);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   TRANSLUCENT SECTIONS — anthracite veil over the fixed bg.
   No gold accents (gold reserved for full-dark sections + CTA).
   ════════════════════════════════════════════════════════════════ */
.section-features {
  /* Edges (0.94) match the dark sections above & below for seamless
     transitions — the center fades to 0.55 to reveal the parallax. */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.55) 140px,
    rgba(0, 0, 0, 0.55) calc(100% - 140px),
    rgba(0, 0, 0, 0.94) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #f1f3f6;
}
.section-news {
  background: rgba(0,0,0,0.94);
  color: #f1f3f6;
}
.section-features .section-label,
.section-news     .section-label {
  color: rgba(241,243,246,0.70);
  letter-spacing: 0.20em;
}
.section-features .section-title,
.section-news     .section-title {
  color: #f5f7fa;
  font-family: 'Cinzel', 'Playfair Display', 'Inter', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-features .section-desc,
.section-news     .section-desc {
  color: rgba(241,243,246,0.65);
}

/* Features cards */
.section-features .card {
  background: rgba(13, 16, 22, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.30);
}
.section-features .card:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
  transform: translateY(-3px);
}
.section-features .card::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.40), transparent);
}
.section-features .card-icon {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: #e5e9f0;
}
.section-features .card-stat {
  color: #f5f7fa;
}
.section-features .card-title { color: #f5f7fa; }
.section-features .card-text  { color: rgba(241,243,246,0.65); }
.section-features .card-anti {
  border-top-color: rgba(255,255,255,0.08);
  color: rgba(241,243,246,0.55);
}
.section-features .card-anti-x {
  color: rgba(232,108,108,0.85);
}
.section-features + .divider  { display: none; }

/* News cards */
.section-news .news-card {
  background: rgba(13, 16, 22, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.30);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.section-news .news-card:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
  transform: translateY(-3px);
}
.section-news .news-card-img {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  color: rgba(241,243,246,0.85);
}
.section-news .news-tag    { color: rgba(241,243,246,0.85); letter-spacing: 0.10em; }
.section-news .news-title  { color: #f5f7fa; }
.section-news .news-excerpt{ color: rgba(241,243,246,0.65); }
.section-news .news-date   { color: rgba(241,243,246,0.50); }
.section-news + .divider   { display: none; }

/* ════════════════════════════════════════════════════════════════
   FEATURES — asymmetric layout, "premium game website" style
   Left column: title block + featured PK Mode card
   Right column: 3 smaller cards (2x2 grid, anti-cheat spans bottom)
   ════════════════════════════════════════════════════════════════ */
.features-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
  align-items: stretch;
}

/* ── Left column ──────────────────────────────────────────── */
.features-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.features-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Featured PK Mode card ────────────────────────────────── */
.card.card--featured {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: rgba(13, 16, 22, 0.88);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}
.card.card--featured:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.20);
  box-shadow: 0 22px 44px rgba(0,0,0,0.55);
}

/* Circular icon variant (gold ring + halo) */
.card-icon--circle {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: rgba(201,147,58,0.08) !important;
  border: 1px solid rgba(245,216,133,0.40) !important;
  color: var(--gold-lt) !important;
  position: relative;
  margin-bottom: 22px !important;
  box-shadow: 0 0 22px rgba(201,147,58,0.12), inset 0 0 12px rgba(245,216,133,0.06);
}
.card-icon--circle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(245,216,133,0.32);
  pointer-events: none;
}
.card-icon--circle svg { width: 26px; height: 26px; }

/* Featured: title bigger, stat is the small label */
.card.card--featured .card-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 6px;
}
.card.card--featured .card-stat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(241,243,246,0.50);
  margin-bottom: 16px;
}
.card.card--featured .card-text {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Diamond bullets list (for featured card) */
.card-bullets {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(245,216,133,0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(241,243,246,0.85);
}
.card-bullet-mark {
  color: var(--gold-lt);
  font-size: 9px;
  flex-shrink: 0;
}

/* ── Right column: 2-col grid, anti-cheat spans bottom ─────── */
.features-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 16px;
}
.features-right .card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}
.features-right .card.card--wide {
  grid-column: 1 / -1;
}
.features-right .card .card-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.012em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 4px;
}
.features-right .card .card-stat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(241,243,246,0.50);
  margin-bottom: 12px;
}
.features-right .card .card-text {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.features-right .card .card-anti {
  margin-top: 0;
  padding-top: 12px;
}

/* Wide card (Anti-Cheat) — same vertical layout as other cards, just spans 2 columns */

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-layout { grid-template-columns: 1fr; gap: 32px; }
  .features-right { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .features-right { grid-template-columns: 1fr; }
  .features-right .card.card--wide { grid-column: auto; }
  .card.card--featured { padding: 26px 22px; }
  .card.card--featured .card-title { font-size: 28px; }
  .ft-line { font-size: clamp(32px, 9vw, 48px); }
}

/* ════════════════════════════════════════════════════════════════
   CTA-PREG — rich preinscription banner just above footer.
   Full-bleed, cinematic, characters with magic glow.
   ════════════════════════════════════════════════════════════════ */
.section-cta-preg {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: rgba(0,0,0,0.94);
}
.cta-preg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 78% 50%, rgba(201,147,58,0.18), transparent 65%),
    radial-gradient(700px 500px at 20% 30%, rgba(0,0,0,0.0), rgba(0,0,0,0.20) 70%);
  pointer-events: none;
}
.cta-preg-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 12px;
}
.cta-preg-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 580px;
}

/* Pill */
.cta-preg-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(201,147,58,0.40);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.cta-preg-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.55);
  animation: ctaPregPulse 1.7s infinite;
}
@keyframes ctaPregPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* Main title (Rejoins l'aventure) */
.cta-preg-overline {
  margin: 8px 0 0;
  font-family: 'Cinzel', 'Playfair Display', 'Inter', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #f5d885 38%, #d4a04f 70%, #ad7d27 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 14px rgba(201,147,58,0.25));
}
.cta-preg-brand {
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.cta-preg-brand-text {
  font-family: 'Cinzel', 'Playfair Display', 'Inter', serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #fff 0%, #f5d885 38%, #d4a04f 70%, #ad7d27 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(201,147,58,0.32));
}
.cta-preg-brand-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 320px;
  opacity: 0.75;
}
.cta-preg-brand-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,216,133,0.55), transparent);
}
.cta-preg-brand-diamond { font-size: 9px; color: var(--gold-lt); }

.cta-preg-sub {
  margin: 4px 0 6px;
  font-size: clamp(14px, 1.4vw, 16.5px);
  color: rgba(241,243,246,0.78);
  line-height: 1.6;
  max-width: 500px;
}
.cta-preg-sub strong, .cta-preg-sub em {
  color: var(--gold-lt);
  font-style: normal;
  font-weight: 600;
}

/* Row: count card + CTA button */
.cta-preg-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.cta-preg-count {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 14px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
}
.cta-preg-count-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(201,147,58,0.10);
  border: 1px solid rgba(201,147,58,0.30);
  color: var(--gold-lt);
}
.cta-preg-count-icon svg { width: 20px; height: 20px; }
.cta-preg-count-body {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.cta-preg-count-num {
  font-family: 'Cinzel', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #f5d885;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.cta-preg-count-num::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,216,133,0.4), transparent);
}
.cta-preg-count-unit {
  font-size: 13.5px;
  color: rgba(241,243,246,0.78);
  font-weight: 500;
}

/* Big gold CTA */
.cta-preg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk));
  color: #1a1208;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  box-shadow: 0 10px 30px rgba(201,147,58,0.32);
}
.cta-preg-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 40px rgba(201,147,58,0.50);
}
.cta-preg-btn svg { transition: transform 0.18s; }
.cta-preg-btn:hover svg:last-child { transform: translateX(2px); }

/* Perks row */
.cta-preg-perks {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  width: 100%;
}
.cta-preg-perks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(241,243,246,0.85);
}
.cta-preg-perk-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(201,147,58,0.10);
  border: 1px solid rgba(201,147,58,0.25);
  color: var(--gold-lt);
}
.cta-preg-perk-ico svg { width: 14px; height: 14px; }

/* Right side: art with glow + runes + character */
.cta-preg-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 440px;
}
.cta-preg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(340px, 32vw, 460px);
  height: clamp(340px, 32vw, 460px);
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(245,216,133,0.32) 0%,
      rgba(201,147,58,0.18) 28%,
      rgba(201,147,58,0.05) 52%,
      transparent 72%);
  filter: blur(8px);
  animation: ctaPregGlow 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaPregGlow {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.0); }
  50%      { opacity: 1.0;  transform: translate(-50%, -50%) scale(1.04); }
}
.cta-preg-runes {
  position: absolute;
  top: 50%; left: 50%;
  /* Cap so the decorative ring never overflows narrow phone viewports.
     min() picks the smaller of the clamp() value and 92% of parent width. */
  width: min(clamp(290px, 27vw, 400px), 92%);
  height: min(clamp(290px, 27vw, 400px), 92%);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(245,216,133,0.30);
  box-shadow:
    inset 0 0 20px rgba(245,216,133,0.16),
    0 0 22px rgba(245,216,133,0.08);
  animation: ctaPregRingSpin 50s linear infinite;
  pointer-events: none;
}
.cta-preg-runes::before,
.cta-preg-runes::after {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(245,216,133,0.18);
}
.cta-preg-runes::after {
  inset: 14%;
  border-style: solid;
  border-color: rgba(245,216,133,0.10);
}
@keyframes ctaPregRingSpin {
  from { transform: translate(-50%, -50%) rotate(0); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.cta-preg-character {
  position: relative;
  z-index: 2;
  height: clamp(340px, 36vw, 470px);
  width: auto;
  filter: drop-shadow(0 20px 36px rgba(0,0,0,0.65)) drop-shadow(0 0 28px rgba(245,216,133,0.22));
  user-select: none;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .cta-preg-inner { grid-template-columns: 1fr; }
  .cta-preg-art { min-height: 360px; order: -1; }
  .cta-preg-content { align-items: center; text-align: center; }
  .cta-preg-brand { align-items: center; }
  .cta-preg-brand-divider { margin: 0 auto; }
  .cta-preg-sub { margin-left: auto; margin-right: auto; }
  .cta-preg-row { justify-content: center; }
  .cta-preg-perks { justify-content: center; }
}
@media (max-width: 600px) {
  .section-cta-preg { padding: 64px 0; }
  .cta-preg-inner { padding: 0 18px; }
  .cta-preg-character { height: 240px; }
  .cta-preg-row { flex-direction: column; align-items: stretch; }
  .cta-preg-count { justify-content: center; }
  .cta-preg-btn { justify-content: center; }
  .cta-preg-perks { gap: 14px; }
}

/* ════════════════════════════════════════════════════════════════
   FEATURES — per-card accent colors
   Subtle tinting on icon, dashed ring, stat number, hover border.
   Card body stays uniform dark.
   ════════════════════════════════════════════════════════════════ */

/* RED — PK Mode (combat/risk) */
.card--accent-red .card-icon--circle {
  background: rgba(232,92,92,0.08) !important;
  border-color: rgba(232,92,92,0.42) !important;
  color: #f59999 !important;
  box-shadow: 0 0 22px rgba(232,92,92,0.12), inset 0 0 12px rgba(232,92,92,0.06) !important;
}
.card--accent-red .card-icon--circle::before {
  border-color: rgba(232,92,92,0.32) !important;
}
.card--accent-red .card-title {
  background: linear-gradient(180deg, #fff 0%, #f5b8b8 50%, #c95252 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 12px rgba(232,92,92,0.22));
}
.card--accent-red .card-stat { color: rgba(232,92,92,0.70); }
.section-features .card.card--accent-red:hover {
  border-color: rgba(232,92,92,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45), 0 0 24px rgba(232,92,92,0.10);
}

/* GOLD — True Rate ×1 (purity, default — already gold-tinted) */
.card--accent-gold .card-icon--circle {
  background: rgba(201,147,58,0.10) !important;
  border-color: rgba(245,216,133,0.42) !important;
  color: var(--gold-lt) !important;
  box-shadow: 0 0 22px rgba(201,147,58,0.14), inset 0 0 12px rgba(245,216,133,0.06) !important;
}
.card--accent-gold .card-icon--circle::before {
  border-color: rgba(245,216,133,0.32) !important;
}
.card--accent-gold .card-title {
  background: linear-gradient(180deg, #fff 0%, #f5d885 50%, #c9933a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 12px rgba(201,147,58,0.22));
}
.card--accent-gold .card-stat { color: rgba(245,216,133,0.70); }
.section-features .card.card--accent-gold:hover {
  border-color: rgba(245,216,133,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45), 0 0 24px rgba(201,147,58,0.10);
}

/* BLUE — International (community/global) */
.card--accent-blue .card-icon--circle {
  background: rgba(110,168,212,0.08) !important;
  border-color: rgba(110,168,212,0.42) !important;
  color: #a4cce8 !important;
  box-shadow: 0 0 22px rgba(110,168,212,0.12), inset 0 0 12px rgba(110,168,212,0.06) !important;
}
.card--accent-blue .card-icon--circle::before {
  border-color: rgba(110,168,212,0.32) !important;
}
.card--accent-blue .card-title {
  background: linear-gradient(180deg, #fff 0%, #c4ddef 50%, #6ea8d4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 12px rgba(110,168,212,0.22));
}
.card--accent-blue .card-stat { color: rgba(164,204,232,0.70); }
.section-features .card.card--accent-blue:hover {
  border-color: rgba(110,168,212,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45), 0 0 24px rgba(110,168,212,0.10);
}

/* GREEN — Anti-cheat (security/fair-play) */
.card--accent-green .card-icon--circle {
  background: rgba(74,222,128,0.08) !important;
  border-color: rgba(74,222,128,0.42) !important;
  color: #8ee9b1 !important;
  box-shadow: 0 0 22px rgba(74,222,128,0.12), inset 0 0 12px rgba(74,222,128,0.06) !important;
}
.card--accent-green .card-icon--circle::before {
  border-color: rgba(74,222,128,0.32) !important;
}
.card--accent-green .card-title {
  background: linear-gradient(180deg, #fff 0%, #b8edcd 50%, #4ade80 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 12px rgba(74,222,128,0.22));
}
.card--accent-green .card-stat { color: rgba(142,233,177,0.70); }
.section-features .card.card--accent-green:hover {
  border-color: rgba(74,222,128,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45), 0 0 24px rgba(74,222,128,0.10);
}

/* ════════════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS — triggered when section enters viewport
   (.is-visible class added by IntersectionObserver in home.ejs)
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .section-systems, .section-features, .section-cta-preg,
  .section-systems *, .section-features *, .section-cta-preg * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }
}

/* ─── 1. Systems — Cinematic Reveal ─────────────────────────── */
/* Note: only the *content* fades in. Section bg stays visible to avoid
   a "hole" appearing during scroll before the observer fires. */
.section-systems > .container > .section-label,
.section-systems > .container > .section-title,
.section-systems > .container > .section-desc,
.section-systems .systems-slider {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.85, 0.2, 1);
}
.section-systems.is-visible > .container > .section-label { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.section-systems.is-visible > .container > .section-title { opacity: 1; transform: translateY(0); transition-delay: 200ms; }
.section-systems.is-visible > .container > .section-desc  { opacity: 1; transform: translateY(0); transition-delay: 320ms; }
.section-systems.is-visible .systems-slider              { opacity: 1; transform: translateY(0); transition-delay: 440ms; }

/* Ken Burns on slide images — runs only after section visible */
.section-systems.is-visible .systems-slide-img img {
  animation: kenBurns 14s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}

/* ─── 2. Features — Cards Deal ──────────────────────────────── */
.section-features .features-intro > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.85, 0.2, 1);
}
.section-features.is-visible .features-intro > * { opacity: 1; transform: translateY(0); }
.section-features.is-visible .features-intro .section-label { transition-delay: 100ms; }
.section-features.is-visible .features-intro .section-title { transition-delay: 220ms; }
.section-features.is-visible .features-intro .section-desc  { transition-delay: 340ms; }

/* Cards initial hidden state */
.section-features .card { opacity: 0; }
.section-features .card.card--featured { transform: scale(0.94); }
.section-features .features-right .card { transform: translateY(28px); }

/* Staggered "deal" entrance */
.section-features.is-visible .card.card--featured {
  animation: ftCardFeaturedEnter 700ms cubic-bezier(0.2, 0.85, 0.2, 1) 220ms forwards;
}
.section-features.is-visible .features-right .card:nth-child(1) {
  animation: ftCardEnter 700ms cubic-bezier(0.2, 0.85, 0.2, 1) 380ms forwards;
}
.section-features.is-visible .features-right .card:nth-child(2) {
  animation: ftCardEnter 700ms cubic-bezier(0.2, 0.85, 0.2, 1) 510ms forwards;
}
.section-features.is-visible .features-right .card:nth-child(3) {
  animation: ftCardEnter 700ms cubic-bezier(0.2, 0.85, 0.2, 1) 640ms forwards;
}
@keyframes ftCardFeaturedEnter {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ftCardEnter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 3. CTA Preg — Summoning Ritual ────────────────────────── */
.section-cta-preg .cta-preg-character {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transition: opacity 800ms ease, clip-path 900ms cubic-bezier(0.2, 0.85, 0.2, 1);
}
.section-cta-preg.is-visible .cta-preg-character {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition-delay: 300ms;
}

.section-cta-preg .cta-preg-content > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.85, 0.2, 1);
}
.section-cta-preg.is-visible .cta-preg-content > * {
  opacity: 1;
  transform: translateY(0);
}
.section-cta-preg.is-visible .cta-preg-pill     { transition-delay: 450ms; }
.section-cta-preg.is-visible .cta-preg-overline { transition-delay: 580ms; }
.section-cta-preg.is-visible .cta-preg-sub      { transition-delay: 720ms; }
.section-cta-preg.is-visible .cta-preg-row      { transition-delay: 860ms; }
.section-cta-preg.is-visible .cta-preg-perks    { transition-delay: 1000ms; }

/* Breathing glow on CTA button — kicks in after entrance */
.section-cta-preg.is-visible .cta-preg-btn {
  animation: ctaBreathe 2.8s ease-in-out infinite 1400ms;
}
.cta-preg-btn:hover { animation-play-state: paused; }
@keyframes ctaBreathe {
  0%, 100% { box-shadow: 0 10px 30px rgba(201,147,58,0.32); }
  50%      { box-shadow: 0 14px 36px rgba(201,147,58,0.55), 0 0 22px rgba(245,216,133,0.30); }
}
