/* ============================================================
   BIG NOVEMBER — 666 Memecoin holder event
   Brand-matched with 666memecoin.com:
   fonts Road Rage + Roboto · hellfire reds · lavender/cyan accents
   ============================================================ */

:root {
  --bg-deep: #14151f;
  --bg-dark: #2c2e3d;        /* 666memecoin.com preloader/section color */
  --bg-panel: rgba(20, 21, 31, .82);
  --red: #d2042d;            /* 666memecoin.com accent red */
  --red-deep: #8f0020;
  --fire-1: #ffb347;
  --fire-2: #ff4d00;
  --gold: #ffd700;
  --lavender: #b9b7ff;       /* 666memecoin.com accent */
  --cyan: #00bcd4;           /* 666memecoin.com accent */
  --text: #b6c0cf;
  --text-dim: #99a9b5;       /* 666memecoin.com body color */
  --heading: #ffffff;
  --border: rgba(185, 183, 255, .16);
  --radius: 14px;
  --font-display: 'Road Rage', 'Roboto', cursive;
  --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--fire-1); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { width: min(1170px, 92%); margin: 0 auto; }

::selection { background: var(--red); color: #fff; }

/* ============ Fire gradient text ============ */
.fire-text {
  background: linear-gradient(180deg, #ffd700 0%, var(--fire-2) 45%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.red { color: var(--red); }

/* ============================================================
   PRELOADER — identical motion to 666memecoin.com
   ============================================================ */
#page-preloader {
  position: fixed; inset: 0; z-index: 999999;
  background: var(--bg-dark); opacity: .98;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#page-preloader.preloader-loaded { opacity: 0; visibility: hidden; }
.page-preloader-spin {
  position: relative; width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--lavender);
  animation: PreloaderSpin 2s linear infinite;
}
.page-preloader-spin::before,
.page-preloader-spin::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid transparent;
}
.page-preloader-spin::before {
  inset: 4px; border-top-color: var(--cyan);
  animation: PreloaderSpin 3s linear infinite;
}
.page-preloader-spin::after {
  inset: 10px; border-top-color: #a3e7f0;
  animation: PreloaderSpin 1.5s linear infinite;
}
@keyframes PreloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================================
   EMBER CANVAS
   ============================================================ */
#fire-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* ============================================================
   BUTTONS — wallet buttons carry .xrpl-wallet-connect
   (no JS handlers attached: the 666 backend owns them)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  border-radius: 50px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  position: relative;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--fire-2) 0%, var(--red) 60%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(210, 4, 45, .65);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px -8px rgba(255, 77, 0, .75);
}

.btn-ghost {
  background: rgba(210, 4, 45, .08);
  color: #fff;
  border: 1px solid rgba(255, 77, 0, .55);
}
.btn-ghost:hover {
  background: rgba(210, 4, 45, .22);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(210, 4, 45, .6);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: .82rem; }
.btn-block { width: 100%; padding: 14px 20px; font-size: .95rem; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 22px 0;
}
#site-header.scrolled {
  background: rgba(20, 21, 31, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  padding: 10px 0;
}
.header-inner {
  width: min(1300px, 94%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo img { width: 62px; height: auto; filter: drop-shadow(0 4px 14px rgba(210, 4, 45, .45)); transition: width .3s ease; }
#site-header.scrolled .logo img { width: 48px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-menu {
  display: flex; align-items: center; gap: 26px;
  list-style: none;
}
.nav-menu a {
  font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: #e8ecf4;
  padding: 6px 2px;
  position: relative;
  transition: color .25s ease;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--fire-2), var(--red));
  transition: width .3s ease;
}
.nav-menu a:hover { color: var(--fire-1); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu li.active a { color: var(--fire-1); }
.nav-menu li.active a::after { width: 100%; }

/* Hamburger */
.menu-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; padding: 8px;
}
.menu-toggle span {
  width: 26px; height: 3px; border-radius: 2px;
  background: #fff; transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -8% 0 -8% 0; z-index: -3;
  background: url("../assets/hell-background-1.png") center / cover no-repeat;
  will-change: transform; /* JS parallax */
}
.hero-sparks {
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/sparks.png") center / cover no-repeat;
  opacity: .5;
  animation: sparksFlicker 4.5s ease-in-out infinite;
}
@keyframes sparksFlicker {
  0%, 100% { opacity: .38; }
  50% { opacity: .6; }
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 0%, rgba(20, 21, 31, .55) 70%),
    linear-gradient(180deg, rgba(20, 21, 31, .8) 0%, rgba(20, 21, 31, .15) 30%, rgba(20, 21, 31, .35) 65%, var(--bg-deep) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 30px;
  position: relative;
}
.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-block;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fire-1);
  background: rgba(210, 4, 45, .14);
  border: 1px solid rgba(255, 77, 0, .45);
  border-radius: 50px;
  padding: 7px 18px;
  margin-bottom: 22px;
  animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, .35); }
  50% { box-shadow: 0 0 22px 2px rgba(255, 77, 0, .35); }
}

.hero-kicker {
  font-weight: 700; letter-spacing: .35em; text-transform: uppercase;
  color: var(--lavender);
  font-size: .95rem;
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.2rem, 11vw, 9.5rem);
  line-height: .92;
  color: #fff;
  letter-spacing: .01em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--fire-1); }

/* Countdown */
.countdown { margin-bottom: 38px; }
.countdown-label {
  font-weight: 700; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.countdown-label.live { color: var(--fire-1); }
.countdown-grid {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.cd-cell {
  min-width: 92px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px 10px;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cd-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  background: linear-gradient(180deg, #ffd700, var(--fire-2) 55%, var(--red));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cd-cap {
  display: block;
  margin-top: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim);
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-character { position: relative; z-index: 1; }
.hero-character img {
  width: 100%; max-width: 460px; margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7));
  animation: charFloat 5s ease-in-out infinite;
  will-change: transform;
}
@keyframes charFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

/* Scroll mouse */
.scroll-mouse {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: .75; transition: opacity .3s ease;
}
.scroll-mouse:hover { opacity: 1; }
.mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  display: flex; justify-content: center;
  padding-top: 7px;
}
.wheel {
  width: 4px; height: 9px; border-radius: 2px;
  background: var(--fire-1);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
.scroll-text {
  font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { position: relative; padding: 110px 0; overflow: hidden; }

.section-dark { background: var(--bg-dark); }
.section-dark::before, .section-dark::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, transparent, var(--red), var(--fire-2), transparent);
  opacity: .55;
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }

.section-hell .section-bg {
  position: absolute; inset: 0;
  background: url("../assets/666-meme-coin-1-bk.png") center / cover no-repeat;
  opacity: .22;
}
.section-hell .section-bg-alt {
  background-image: url("../assets/13-lucky-winners-bk.png");
}
.section-hell .container { position: relative; z-index: 1; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  color: #fff;
  text-align: center;
  margin-bottom: 18px;
  text-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}
.section-sub {
  text-align: center;
  max-width: 640px; margin: 0 auto 64px;
  color: var(--text);
  font-size: 1.05rem;
}
.section-sub strong { color: var(--fire-1); }

/* ============================================================
   HOW IT WORKS — steps
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 77, 0, .55);
  box-shadow: 0 24px 50px -18px rgba(210, 4, 45, .5);
}
.step-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--fire-2), var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.step-card:hover::before { transform: scaleX(1); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem; line-height: 1;
  background: linear-gradient(180deg, var(--lavender), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.75rem; letter-spacing: .04em;
  color: #fff; margin-bottom: 10px;
}
.step-text { font-size: .93rem; color: var(--text); }
.step-text strong { color: var(--fire-1); }

/* ============================================================
   GIFT BOXES
   ============================================================ */
.boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.box-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 46px 24px 28px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.box-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.box-rarity {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  font-size: .66rem; font-weight: 900; letter-spacing: .26em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px;
  background: var(--bg-deep);
  border: 1px solid currentColor;
}
.box-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.6rem; color: #fff;
  margin: 6px 0 4px;
  letter-spacing: .03em;
}
.box-prize {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.box-prize .token { font-size: .85rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; }
.box-desc { font-size: .88rem; color: var(--text-dim); margin-bottom: 20px; min-height: 42px; }

/* --- CSS gift box --- */
.gift-box {
  position: relative;
  width: 150px; height: 148px;
  margin: 0 auto 26px;
  animation: boxFloat 4.2s ease-in-out infinite;
}
.gift-box:nth-of-type(1) { animation-delay: 0s; }
@keyframes boxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.box-glow {
  position: absolute; left: 50%; top: 55%;
  width: 190px; height: 190px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(255, 77, 0, .5)) 0%, transparent 65%);
  opacity: .55;
  filter: blur(6px);
  transition: opacity .4s ease, transform .4s ease;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .4; }
  50% { opacity: .65; }
}
.box-body {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 138px; height: 96px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--box-a) 0%, var(--box-b) 100%);
  box-shadow: inset 0 -14px 24px rgba(0, 0, 0, .35), 0 18px 36px -12px rgba(0, 0, 0, .65);
  transition: filter .4s ease;
}
.box-ribbon {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 26px; transform: translateX(-50%);
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 0 12px rgba(255, 255, 255, .25);
}
.box-lid {
  position: absolute; top: 26px; left: 50%;
  width: 158px; height: 34px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: linear-gradient(160deg, var(--box-a) 0%, var(--box-b) 100%);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6);
  z-index: 2;
  transform-origin: 85% 90%;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .4s ease;
}
.box-lid::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 26px; transform: translateX(-50%);
  background: rgba(255, 255, 255, .28);
}
.box-bow {
  position: absolute; top: -16px; left: 50%;
  width: 12px; height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  box-shadow: -16px -2px 0 -2px rgba(255, 255, 255, .35),
              16px -2px 0 -2px rgba(255, 255, 255, .35);
}
.box-card:hover .box-lid {
  transform: translateX(-50%) translateY(-34px) rotate(-14deg);
}
.box-card:hover .box-body { filter: brightness(1.18); }
.box-card:hover .box-glow { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }

/* Rarity palettes */
.box-card[data-rarity="hellfire"] {
  --box-a: #ff9d00; --box-b: #d2042d;
  --glow: rgba(255, 157, 0, .5);
  border-color: rgba(255, 157, 0, .35);
}
.box-card[data-rarity="hellfire"] .box-rarity,
.box-card[data-rarity="hellfire"] .box-prize { color: #ffb347; }
.box-card[data-rarity="hellfire"] .box-prize .token { color: #ffb347; }

.box-card[data-rarity="brimstone"] {
  --box-a: #e0233f; --box-b: #8f0020;
  --glow: rgba(210, 4, 45, .55);
  border-color: rgba(210, 4, 45, .4);
}
.box-card[data-rarity="brimstone"] .box-rarity,
.box-card[data-rarity="brimstone"] .box-prize,
.box-card[data-rarity="brimstone"] .box-prize .token { color: #ff5a6e; }

.box-card[data-rarity="inferno"] {
  --box-a: #b9b7ff; --box-b: #5a4fcf;
  --glow: rgba(185, 183, 255, .5);
  border-color: rgba(185, 183, 255, .4);
}
.box-card[data-rarity="inferno"] .box-rarity,
.box-card[data-rarity="inferno"] .box-prize,
.box-card[data-rarity="inferno"] .box-prize .token { color: var(--lavender); }

.box-card[data-rarity="devil"] {
  --box-a: #ffd700; --box-b: #ff4d00;
  --glow: rgba(255, 215, 0, .55);
  border-color: rgba(255, 215, 0, .5);
}
.box-card[data-rarity="devil"] .box-rarity,
.box-card[data-rarity="devil"] .box-prize,
.box-card[data-rarity="devil"] .box-prize .token {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 215, 0, .55);
}
.box-card[data-rarity="devil"] { box-shadow: 0 0 44px -10px rgba(255, 215, 0, .35); }
.box-card[data-rarity="devil"]:hover {
  box-shadow: 0 0 70px -6px rgba(255, 215, 0, .55);
}

.boxes-note {
  text-align: center;
  margin-top: 44px;
  font-size: .88rem; color: var(--text-dim);
}

/* ============================================================
   THE LOOT
   ============================================================ */
.loot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.loot-media img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .8);
  transition: transform .45s ease, box-shadow .45s ease;
}
.loot-media img:hover {
  transform: scale(1.025) rotate(.5deg);
  box-shadow: 0 40px 90px -24px rgba(210, 4, 45, .5);
}
.loot-lead {
  font-size: 1.28rem;
  color: #e8ecf4;
  margin-bottom: 26px;
}
.loot-list { list-style: none; display: grid; gap: 14px; margin-bottom: 26px; }
.loot-list li {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  transition: transform .3s ease, border-color .3s ease;
}
.loot-list li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 77, 0, .5);
}
.loot-icon { font-size: 1.3rem; }
.loot-list strong { color: #fff; }
.loot-note { color: var(--text-dim); font-size: .95rem; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--fire-2), var(--red), var(--fire-2), transparent);
  opacity: .6;
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  align-items: center;
  margin-bottom: 44px;
}
.tl-date {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--fire-1);
  text-align: right;
  padding-right: 8px;
  text-shadow: 0 0 24px rgba(255, 77, 0, .5);
}
.tl-dot {
  width: 20px; height: 20px; margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fire-1) 0%, var(--red) 70%);
  box-shadow: 0 0 0 5px rgba(255, 77, 0, .18), 0 0 26px rgba(255, 77, 0, .7);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255, 77, 0, .18), 0 0 26px rgba(255, 77, 0, .7); }
  50% { box-shadow: 0 0 0 9px rgba(255, 77, 0, .08), 0 0 40px rgba(255, 77, 0, .95); }
}
.tl-body {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .3s ease, border-color .3s ease;
}
.tl-body:hover { transform: translateX(6px); border-color: rgba(255, 77, 0, .5); }
.tl-body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.45rem; color: #fff; margin-bottom: 6px;
}
.tl-body p { font-size: .92rem; color: var(--text); }
.tl-item:nth-child(even) .tl-date { grid-column: 3; text-align: left; padding-left: 8px; }
.tl-item:nth-child(even) .tl-dot { grid-column: 2; grid-row: 1; }
.tl-item:nth-child(even) .tl-body { grid-column: 1; grid-row: 1; }
.tl-item:nth-child(even) .tl-body:hover { transform: translateX(-6px); }

/* ============================================================
   ELIGIBILITY CTA
   ============================================================ */
.section-cta {
  padding: 130px 0 140px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(210, 4, 45, .35) 0%, transparent 60%),
    radial-gradient(ellipse at 50% -20%, rgba(0, 188, 212, .12) 0%, transparent 55%),
    var(--bg-deep);
}
.cta-panel {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 77, 0, .35);
  border-radius: 24px;
  padding: 70px 40px 64px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cta-panel::before {
  content: "666";
  position: absolute; top: -30px; right: -10px;
  font-family: var(--font-display);
  font-size: 13rem;
  color: rgba(185, 183, 255, .05);
  line-height: 1;
  pointer-events: none;
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 0, .12) 0%, transparent 55%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff; margin-bottom: 16px;
}
.cta-text {
  font-size: 1.08rem;
  max-width: 560px; margin: 0 auto 36px;
}
.cta-text strong { color: var(--fire-1); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0e0f16;
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  text-align: center;
}
.footer-logo img {
  width: 74px; margin: 0 auto 20px;
  filter: drop-shadow(0 6px 18px rgba(210, 4, 45, .45));
}
.footer-socials {
  display: flex; justify-content: center; gap: 14px;
  margin-bottom: 26px;
}
.footer-socials a {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text);
  background: rgba(44, 46, 61, .8);
  border: 1px solid var(--border);
  transition: color .3s ease, transform .3s ease, border-color .3s ease, background .3s ease;
}
.footer-socials a:hover {
  color: #fff;
  border-color: rgba(255, 77, 0, .6);
  background: rgba(210, 4, 45, .25);
  transform: translateY(-4px);
}
.footer-links {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer-links a {
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim);
  transition: color .25s ease;
}
.footer-links a:hover { color: var(--fire-1); }
.footer-copy { font-size: .8rem; color: #6f7b8c; }
.footer-copy a { color: var(--text-dim); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.visible { opacity: 1 !important; transform: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .boxes-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: .74rem; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-character { order: -1; }
  .hero-character img { max-width: 300px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .countdown-grid { justify-content: center; }
  .loot-grid { grid-template-columns: 1fr; gap: 36px; }

  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0;
    background: rgba(14, 15, 22, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 34px;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 99;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .nav-menu { flex-direction: column; gap: 26px; }
  .nav-menu a { font-size: 1.15rem; }
  .nav-cta .btn { padding: 14px 34px; font-size: .95rem; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .boxes-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .cd-cell { min-width: 74px; }
  .cd-num { font-size: 2rem; }
  .tl-item { grid-template-columns: 56px 1fr; }
  .timeline::before { left: 28px; }
  .tl-date {
    grid-column: 1 !important;
    grid-row: 1;
    text-align: center !important;
    font-size: 1.05rem;
    padding: 0 !important;
    align-self: start;
    padding-top: 16px !important;
  }
  .tl-dot { grid-column: 1 !important; grid-row: 2; }
  .tl-body { grid-column: 2 !important; grid-row: 1 / span 2 !important; }
  .tl-item:nth-child(even) .tl-body { grid-column: 2 !important; }
  .btn-lg { padding: 16px 30px; width: 100%; max-width: 340px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
