/* ==========================================================================
   Cinderreach — cinderreach.com
   Palette from the production bible v2.6 (ember orange, aged gold, cyan energy,
   navy steel). Fonts: Barlow / Barlow Condensed (SIL OFL, self-hosted).
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --void: #07090c;
  --coal: #0d1117;
  --graphite: #121a23;
  --steel: #23394a;
  --slate: #435562;
  --fog: #a8b8c4;
  --alloy: #eef3f6;
  --ember: #ff6a1a;
  --orange: #f28a2e;
  --flame: #ffb347;
  --gold: #d9a441;
  --gold-soft: #f3cf7a;
  --cyan: #3db9c8;
  --ice: #8fe6f2;
  --line: rgba(217, 164, 65, .22);
  --glass: rgba(14, 20, 28, .62);
  --radius: 18px;
  --wrap: 1200px;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--void); color: var(--alloy);
  font-family: var(--body); font-weight: 500; font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
/* Subtle film grain over everything. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; margin: 0; text-transform: uppercase; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ember); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.wrap.narrow { width: min(820px, calc(100% - 40px)); }
.center { text-align: center; margin-top: 48px; }

/* ---------- Buttons (bevelled, like the in-game kit) ---------- */
.btn {
  --cut: 14px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 0; cursor: pointer; text-decoration: none; overflow: hidden;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.btn-ember {
  color: #1a0b02;
  background: linear-gradient(180deg, #ffd08a 0%, #ffab4a 22%, var(--orange) 55%, #d4550f 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -4px 0 rgba(120, 35, 0, .45);
  text-shadow: 0 1px 0 rgba(255, 220, 170, .6);
}
.btn-ember::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 120%, rgba(255, 90, 20, .55), transparent 60%);
}
.btn .shine {
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: shine 3.8s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
.btn-ghost {
  color: var(--alloy); background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1.5px rgba(238, 243, 246, .35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 10px 18px; font-size: 16px; --cut: 9px; }
.btn-lg { padding: 18px 38px; font-size: 22px; }
.btn-xl { padding: 20px 42px; font-size: 24px; --cut: 16px; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(20px, env(safe-area-inset-left)); transition: background .35s, box-shadow .35s, height .35s;
}
.nav.scrolled { background: rgba(7, 9, 12, .78); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); height: 64px; }
.nav-logo img { width: 168px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--fog); transition: color .2s; }
.nav-links a:hover { color: var(--alloy); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { background: none; border: 1px solid rgba(255, 255, 255, .25); color: var(--alloy); border-radius: 8px; padding: 6px 10px; font-family: var(--display); font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.lang:hover { border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: kenburns 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
.embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 55% at 50% 45%, rgba(7, 9, 12, .15), rgba(7, 9, 12, .7) 75%),
    linear-gradient(180deg, rgba(7, 9, 12, .55) 0%, transparent 25%, transparent 55%, var(--void) 100%);
}
.hero-inner { width: min(980px, calc(100% - 32px)); text-align: center; padding: 120px 0 110px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(7, 9, 12, .55); border: 1px solid rgba(255, 179, 71, .35); backdrop-filter: blur(8px);
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--flame);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 106, 26, .8); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 106, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); } }
.hero-logo { margin: 26px auto 8px; width: min(860px, 100%); }
.hero-logo img { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .75)) drop-shadow(0 0 60px rgba(255, 106, 26, .25)); }
.hero-tag {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(28px, 4.4vw, 54px); line-height: 1;
  background: linear-gradient(180deg, #fff6e6 10%, var(--gold-soft) 55%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .8));
}
.hero-sub { max-width: 680px; margin: 18px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: #dfe7ec; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-platforms { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-platforms li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(7, 9, 12, .55); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: 15px; backdrop-filter: blur(6px); }
.hero-platforms svg { width: 18px; height: 18px; fill: currentColor; }
.hero-platforms .soon { color: var(--fog); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .45); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--flame); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 70px); }
.head.left { text-align: left; margin-left: 0; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--flame); font-size: 15px; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, transparent, var(--orange)); }
.kicker::after { transform: scaleX(-1); }
.head.left .kicker::after { display: none; }
h2 { font-size: clamp(40px, 6.2vw, 80px); margin-top: 14px; background: linear-gradient(180deg, #ffffff 30%, #c9d6de); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 18px; color: var(--fog); font-size: clamp(17px, 1.5vw, 19px); }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.tag-ember { background: rgba(255, 106, 26, .16); color: var(--flame); border: 1px solid rgba(255, 106, 26, .45); }

/* ---------- Rewards ---------- */
.rewards { background: radial-gradient(60% 50% at 50% 0%, rgba(255, 106, 26, .13), transparent 70%); }
.reward-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.skin-card {
  position: relative; margin: 0; padding: 28px 30px 32px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(40, 24, 14, .9), rgba(12, 14, 20, .95) 60%);
  border: 1px solid rgba(255, 179, 71, .35); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.skin-glow { position: absolute; inset: 10% 15% 35%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 120, 30, .45), rgba(61, 185, 200, .12) 60%, transparent); filter: blur(20px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(1.08); } }
.skin-img { width: min(460px, 88%); margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.skin-card figcaption { margin-top: 8px; }
.skin-card h3 { font-size: clamp(28px, 3vw, 38px); margin: 12px 0 8px; color: #fff; }
.skin-card p { color: var(--fog); }
.reward-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reward {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(35, 57, 74, .55), rgba(13, 17, 23, .85));
  border: 1px solid rgba(143, 230, 242, .14); transition: transform .3s var(--ease), border-color .3s;
}
.reward:hover { transform: translateY(-4px); border-color: rgba(255, 179, 71, .45); }
.reward img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); flex: 0 0 auto; }
.reward b { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: #fff; }
.reward span { color: var(--fog); font-size: 15px; line-height: 1.3; }

.milestones { margin-top: 36px; padding: 30px; border-radius: 22px; background: rgba(13, 17, 23, .8); border: 1px solid var(--line); }
.ms-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.ms-head h3 { font-size: 30px; color: var(--gold-soft); }
.ms-head p { color: var(--fog); }
.ms-track { position: relative; height: 10px; margin: 26px 0 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ms-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ember), var(--flame), var(--gold-soft)); box-shadow: 0 0 18px rgba(255, 106, 26, .7); transition: width 1.6s var(--ease); }
.ms-count { color: var(--flame); font-weight: 600; margin-bottom: 6px; }
.ms-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ms-list li { position: relative; padding: 16px 14px 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.ms-list li::before { content: ""; position: absolute; top: -6px; left: 16px; width: 12px; height: 12px; rotate: 45deg; background: var(--slate); border: 2px solid var(--void); }
.ms-list li.reached { border-color: rgba(255, 179, 71, .55); background: rgba(255, 106, 26, .1); }
.ms-list li.reached::before { background: var(--flame); box-shadow: 0 0 12px var(--ember); }
.ms-list b { display: block; font-family: var(--display); font-size: 24px; color: #fff; }
.ms-list span { font-size: 14px; color: var(--fog); line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; padding: 30px 28px 34px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(170deg, rgba(35, 57, 74, .45), rgba(12, 16, 22, .9) 55%);
  border: 1px solid rgba(255, 255, 255, .08); transition: transform .4s var(--ease), border-color .4s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(255, 179, 71, .4); }
.pillar::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 70%; background: radial-gradient(closest-side, rgba(61, 185, 200, .18), transparent); pointer-events: none; }
.pillar-no { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--orange); letter-spacing: .1em; }
.pillar img { width: 180px; height: 180px; object-fit: contain; margin: 10px auto 12px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.pillar:hover img { transform: scale(1.06) rotate(-2deg); }
.pillar h3 { font-size: 40px; color: #fff; }
.pillar p { color: var(--fog); margin-top: 10px; }

/* ---------- Base evolution ---------- */
.evolve { background: linear-gradient(180deg, transparent, rgba(35, 57, 74, .22) 50%, transparent); overflow: hidden; }
.evolve-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.tier-card { padding: 22px 24px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.tier-levels { font-family: var(--display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fog); font-size: 15px; }
.tier-levels b { color: var(--flame); font-size: 22px; letter-spacing: .04em; }
#tier-name { font-size: clamp(36px, 4vw, 52px); margin: 6px 0 6px; color: #fff; }
#tier-text { color: var(--fog); }
.level-slider { display: block; margin-top: 26px; }
.level-slider input { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; outline: none; background: linear-gradient(90deg, var(--ember) var(--p, 0%), rgba(255, 255, 255, .12) var(--p, 0%)); cursor: pointer; }
.level-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff2d8, var(--flame) 45%, var(--ember)); box-shadow: 0 0 0 5px rgba(255, 106, 26, .25), 0 0 24px rgba(255, 106, 26, .8); border: 0; }
.level-slider input::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 5px rgba(255, 106, 26, .25), 0 0 24px rgba(255, 106, 26, .8); border: 0; }
.slider-scale { display: flex; justify-content: space-between; margin-top: 10px; color: var(--fog); font-family: var(--display); font-weight: 700; font-size: 14px; }
.slider-scale i { font-style: normal; }
.evolve-note { margin-top: 22px; font-size: 15px; color: var(--fog); border-left: 3px solid var(--cyan); padding-left: 14px; }
.evolve-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.stage-ring {
  position: absolute; bottom: 12%; left: 50%; width: 86%; height: 26%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 185, 200, .5), rgba(61, 185, 200, .08) 60%, transparent);
  box-shadow: 0 0 80px rgba(61, 185, 200, .25); animation: breathe 4s ease-in-out infinite;
}
.stage-ring::after { content: ""; position: absolute; inset: 14% 10%; border-radius: 50%; border: 2px solid rgba(143, 230, 242, .35); }
.stage-hq { position: relative; width: 92%; aspect-ratio: 1; }
.stage-hq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .6s var(--ease), transform .8s var(--ease); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)); }
.stage-hq img.on { opacity: 1; transform: none; }
.tier-dots { position: absolute; bottom: 0; left: 50%; translate: -50% 0; display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tier-dots button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(13, 17, 23, .7); color: var(--fog); font-family: var(--display); font-weight: 800; cursor: pointer; transition: all .25s; }
.tier-dots button[aria-current="true"] { background: var(--orange); color: #1a0b02; border-color: var(--flame); box-shadow: 0 0 18px rgba(255, 106, 26, .6); }

/* ---------- Seasons ---------- */
.seasons { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0; overflow: hidden; isolation: isolate; }
.season-bg { position: absolute; inset: 0; z-index: -2; }
.season-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease), transform 6s ease-out; }
.season-bg img.on { opacity: 1; transform: scale(1); }
.season-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 9, 12, .92) 0%, rgba(7, 9, 12, .7) 38%, rgba(7, 9, 12, .15) 70%), linear-gradient(180deg, var(--void), transparent 18%, transparent 82%, var(--void)); }
.season-inner { position: relative; }
.season-inner .head { max-width: 600px; }
.season-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.season-tabs button {
  display: flex; flex-direction: column; align-items: flex-start; padding: 12px 18px; border-radius: 14px; cursor: pointer;
  background: rgba(13, 17, 23, .6); border: 1px solid rgba(255, 255, 255, .16); color: var(--alloy); backdrop-filter: blur(8px);
  font-family: var(--display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .03em; transition: all .3s var(--ease);
}
.season-tabs small { font-size: 13px; letter-spacing: .2em; color: var(--fog); }
.season-tabs button[aria-selected="true"] { border-color: var(--accent, var(--orange)); box-shadow: 0 0 0 1px var(--accent, var(--orange)), 0 10px 30px rgba(0, 0, 0, .4); background: rgba(13, 17, 23, .82); }
.season-tabs button[aria-selected="true"] small { color: var(--accent, var(--orange)); }
.season-tabs button.locked { color: var(--fog); }
.season-tabs button.locked span::before { content: ""; display: inline-block; width: 12px; height: 14px; margin-right: 8px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2 6V4a4 4 0 118 0v2h1a1 1 0 011 1v6a1 1 0 01-1 1H1a1 1 0 01-1-1V7a1 1 0 011-1h1zm2 0h4V4a2 2 0 10-4 0v2z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2 6V4a4 4 0 118 0v2h1a1 1 0 011 1v6a1 1 0 01-1 1H1a1 1 0 01-1-1V7a1 1 0 011-1h1zm2 0h4V4a2 2 0 10-4 0v2z'/%3E%3C/svg%3E") no-repeat center / contain; }
.seasons.is-locked .season-bg img { filter: grayscale(1) brightness(.25) blur(14px); transform: scale(1.15); }
.seasons.is-locked .season-card { border-style: dashed; }
.season-card { max-width: 560px; padding: 26px 28px; border-radius: 20px; background: rgba(9, 12, 16, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); }
.season-cap { font-family: var(--display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fog); font-size: 14px; }
.season-cap b { color: var(--accent, var(--orange)); font-size: 26px; letter-spacing: 0; }
#season-title { font-size: clamp(34px, 4vw, 50px); margin: 6px 0 10px; color: #fff; }
#season-text { color: #d3dde3; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- World ---------- */
.world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wm {
  margin: 0; padding: 18px 16px 20px; border-radius: 18px; text-align: center;
  background: radial-gradient(90% 70% at 50% 35%, rgba(61, 185, 200, .12), transparent 70%), rgba(13, 17, 23, .75);
  border: 1px solid rgba(255, 255, 255, .07); transition: transform .4s var(--ease), border-color .4s;
}
.wm:hover { transform: translateY(-6px); border-color: rgba(143, 230, 242, .35); }
.wm img { width: 78%; margin: 0 auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.wm:hover img { transform: translateY(-6px) scale(1.04); }
.wm b { display: block; margin-top: 8px; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.wm span { display: block; color: var(--fog); font-size: 14px; }

/* ---------- Pre-registration ---------- */
.signup { overflow: hidden; }
.signup-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 20% 50%, rgba(255, 106, 26, .22), transparent 70%), radial-gradient(40% 50% at 85% 30%, rgba(61, 185, 200, .12), transparent 70%); }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.signup-copy h2 { font-size: clamp(38px, 5vw, 66px); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; font-size: 18px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 6px; rotate: 45deg; scale: .8; background: linear-gradient(135deg, var(--flame), var(--ember)); box-shadow: 0 0 14px rgba(255, 106, 26, .6); }
.signup-skin { width: min(360px, 70%); margin-top: 24px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); animation: float 7s ease-in-out infinite; }
.signup-form {
  position: relative; padding: 34px; border-radius: 26px;
  background: linear-gradient(170deg, rgba(30, 44, 58, .85), rgba(10, 13, 18, .95));
  border: 1px solid rgba(255, 179, 71, .3); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.signup-form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(255, 179, 71, .8), transparent 30%, transparent 70%, rgba(61, 185, 200, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.signup-form h3 { font-size: 34px; margin-bottom: 20px; }
.field { display: block; }
.field span, .platforms legend { display: block; font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--fog); margin-bottom: 8px; }
.field input {
  width: 100%; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(7, 9, 12, .7);
  color: #fff; font: 600 18px var(--body); transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 4px rgba(255, 106, 26, .2); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.platforms { border: 0; padding: 0; margin: 20px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.platforms legend { width: 100%; }
.platforms label { flex: 1; min-width: 120px; }
.platforms input { position: absolute; opacity: 0; pointer-events: none; }
.platforms span { display: block; text-align: center; padding: 13px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(7, 9, 12, .5); font-weight: 600; cursor: pointer; transition: all .2s; }
.platforms input:checked + span { border-color: var(--flame); background: rgba(255, 106, 26, .14); box-shadow: inset 0 0 0 1px var(--flame); }
.platforms input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 6px; font-size: 14px; color: var(--fog); line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: 0 0 auto; }
.consent a { color: var(--flame); }
.err { display: block; color: #ff8f8f; font-size: 14px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.signup-form .btn { margin-top: 18px; }
.btn[disabled] { opacity: .7; cursor: progress; }
.form-demo { margin-top: 14px; font-size: 13px; color: var(--gold-soft); background: rgba(217, 164, 65, .1); border: 1px dashed rgba(217, 164, 65, .45); padding: 10px 12px; border-radius: 10px; }
.form-error { margin-top: 14px; color: #ff8f8f; font-size: 14px; }
#form-done { text-align: center; padding: 20px 0; outline: none; }
.done-badge { width: 84px; height: 84px; margin: 0 auto 16px; display: grid; place-items: center; font-size: 42px; font-weight: 800; color: #1a0b02; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1d4, var(--flame) 45%, var(--ember)); box-shadow: 0 0 0 10px rgba(255, 106, 26, .15), 0 0 50px rgba(255, 106, 26, .7); animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
#form-done p { color: var(--fog); margin-top: 10px; }
.share-title { margin-top: 24px !important; color: var(--alloy) !important; font-weight: 600; }
.share { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 23px; text-transform: uppercase; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 30px; color: var(--orange); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--fog); max-width: 700px; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 110px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--coal), var(--void)); text-align: center; }
.footer-grid { display: grid; justify-items: center; gap: 22px; }
.footer img { width: 220px; }
.socials, .legal { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.socials a { text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }
.socials a:hover { color: var(--flame); }
.legal a { color: var(--slate); font-size: 14px; }
.copy { color: var(--slate); font-size: 13px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: none;
  text-align: center; text-decoration: none; padding: 16px; border-radius: 14px; color: #1a0b02;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(180deg, #ffd08a, var(--orange) 60%, #d4550f); box-shadow: 0 14px 40px rgba(0, 0, 0, .6), 0 0 30px rgba(255, 106, 26, .4);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.sticky-cta.show { transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .reward-main, .evolve-grid, .signup-grid { grid-template-columns: minmax(0, 1fr); } /* minmax: columns may shrink below their content */
  .evolve-stage { max-width: 560px; margin: 0 auto; width: 100%; }
  .ms-list { grid-template-columns: repeat(3, 1fr); }
  .world-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-skin { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .nav-logo img { width: 130px; }
  .nav-end .btn { display: none; }
  .reward-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reward div { min-width: 0; }
  .tier-dots { gap: 5px; }
  .tier-dots button { width: 30px; height: 30px; border-radius: 8px; }
  .reward span { overflow-wrap: anywhere; }
  .reward { padding: 12px; gap: 10px; }
  .reward img { width: 48px; height: 48px; }
  .reward b { font-size: 24px; }
  .ms-list { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .skin-card, .signup-form, .milestones { padding: 22px; }
  .seasons { align-items: flex-end; padding-bottom: 60px; }
  .season-veil { background: linear-gradient(180deg, rgba(7, 9, 12, .92) 0%, rgba(7, 9, 12, .78) 32%, rgba(7, 9, 12, .35) 50%, rgba(7, 9, 12, .88) 68%, var(--void) 100%); }
  /* Four seasons: a 2×2 grid, every tab fully visible, long names wrap. */
  .season-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .season-tabs button { font-size: 16px; line-height: 1.1; padding: 10px 12px; min-height: 58px; min-width: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; padding: 7px 12px; }
  .hero-inner { padding-top: 100px; }
  .hero-logo { margin-top: 18px; }
  .sticky-cta { display: block; }
  .hero-cta .btn-ghost { display: none; }
  .btn-xl { font-size: 21px; padding: 18px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
