/* ─── Tokens (Closers · Blind Lord / Baal) ─── */
:root {
  --bg: #07040f;
  --bg-2: #0e0820;
  --bg-3: #160d33;
  --panel: rgba(20, 12, 46, 0.78);
  --panel-line: rgba(178, 140, 255, 0.22);
  --violet: #8b5cf6;
  --violet-soft: #c4b5fd;
  --gold: #e7c068;
  --gold-deep: #b8892f;
  --red: #e4362c;
  --sky: #cfe9ff;
  --sky-line: #6fb4ff;
  --text: #ece7ff;
  --muted: #a69cc7;
  --ink: #17102d;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --wrap: 960px;
  --radius: 14px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
b { font-weight: 700; }

.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }

/* ─── Ambient background (fixed, behind nothing / above sections, non-interactive) ─── */
.ambient { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ambient canvas { position: absolute; inset: 0; mix-blend-mode: screen; }
.glow {
  position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; opacity: .55;
  will-change: transform;
}
.glow-a { width: 60vw; height: 60vw; left: -20vw; top: 10vh; background: radial-gradient(circle, rgba(120, 70, 220, .55), rgba(120, 70, 220, 0) 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.glow-b { width: 50vw; height: 50vw; right: -18vw; top: 45vh; background: radial-gradient(circle, rgba(70, 40, 160, .6), rgba(70, 40, 160, 0) 65%); animation: drift-b 32s ease-in-out infinite alternate; }
.glow-c { width: 34vw; height: 34vw; left: 35vw; bottom: -14vw; background: radial-gradient(circle, rgba(231, 192, 104, .22), rgba(231, 192, 104, 0) 65%); animation: drift-c 38s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(14vw, 18vh) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-16vw, -22vh) scale(.95); } }
@keyframes drift-c { from { transform: translate(0, 0); } to { transform: translate(-12vw, -10vh) scale(1.2); } }
main, .site-header, .site-footer, .to-top { position: relative; }
.site-header, .to-top { z-index: 50; }

/* ─── Hero entrance ─── */
.hero-title img { animation: title-in 1.4s cubic-bezier(.16, .84, .3, 1) .45s both; }
.hero-title { animation: title-glow 2.2s ease-out .45s both; }
.update-badge { animation: rise-in .9s cubic-bezier(.16, .84, .3, 1) 1.15s both; }
.hero .story { transition-delay: .25s; }
@keyframes title-in {
  0%   { opacity: 0; transform: scale(1.28) translateY(26px); filter: blur(10px) brightness(2.2); }
  55%  { opacity: 1; filter: blur(0) brightness(1.5); }
  100% { opacity: 1; transform: none; filter: blur(0) brightness(1); }
}
@keyframes title-glow {
  0%   { filter: drop-shadow(0 6px 26px rgba(120, 60, 220, 0)); }
  50%  { filter: drop-shadow(0 0 60px rgba(190, 120, 255, .95)); }
  100% { filter: drop-shadow(0 6px 26px rgba(120, 60, 220, .55)); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  .hero-title img, .hero-title, .update-badge, .hero-char { animation: none; }
}

/* ─── Reveal ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  background: rgba(7, 4, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 10px; }
.nav-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  transition: background .2s;
}
.nav-icon:hover { background: rgba(139, 92, 246, 0.35); }
.nav-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.btn-play {
  font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .12em;
  color: var(--ink); padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe39a, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(255,230,160,.5) inset, 0 6px 18px rgba(231,192,104,.35);
  transition: transform .15s, filter .2s;
}
.btn-play:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* ─── Sections common ─── */
.section { position: relative; padding: 64px 0; }
.sec-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 4vw, 40px); line-height: 1.15; text-align: center;
  color: #fff; letter-spacing: .02em;
  text-shadow: 0 0 24px rgba(139, 92, 246, .45);
}
.sec-title::after {
  content: ""; display: block; width: 72px; height: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.sec-desc { text-align: center; color: var(--violet-soft); margin: 18px auto 0; max-width: 720px; font-size: 16px; }
.sec-desc b { color: #fff; }

/* ─── Decorative frames (title-bar.webp / date-frame.webp) ─── */
.has-bar .sec-title {
  width: min(760px, 100%); aspect-ratio: 2000 / 667; margin: -5% auto -4%;
  display: grid; place-items: center; padding: 0 14% 0.6%;
  background: url('assets/title-bar.webp') center / contain no-repeat;
  font-size: clamp(20px, 3.4vw, 34px); line-height: 1.08; text-wrap: balance;
  color: #fff8e6; text-shadow: 0 2px 10px rgba(0,0,0,.9), 0 0 22px rgba(231,192,104,.45);
}
.has-bar .sec-title::after { display: none; }
.has-date-frame .update-badge {
  width: min(490px, 94%); aspect-ratio: 2000 / 667; margin: -30px auto 0;
  display: grid; place-items: center; padding: 0 9% 0.4%;
  background: url('assets/date-frame.webp') center / contain no-repeat;
  border: 0; box-shadow: none; font-size: clamp(15px, 2.2vw, 21px); letter-spacing: .1em; color: #f1ecff; white-space: nowrap;
  text-shadow: 0 0 14px rgba(139,92,246,.9), 0 2px 8px rgba(0,0,0,.8);
}

/* ─── Hero ─── */
.hero {
  --S: min(100vw, 1265px); /* stage width: the hero composition scales with this and freezes above 1265px */
  position: relative; overflow: hidden;
  padding: 0 0 48px;
  background:
    linear-gradient(180deg, rgba(18,10,44,0) calc(var(--S) * .26), rgba(18,10,44,.85) calc(var(--S) * .46), #120a2c calc(var(--S) * .56), #120a2c 78%, var(--bg) 100%),
    url('assets/hero-bg.webp') center top / 100% auto no-repeat,
    #120a2c;
}
.hero-art { position: relative; height: calc(var(--S) * .54); }
.hero-char {
  position: absolute; left: 55.5%; top: 0; width: min(1290px, 102%); aspect-ratio: 1500 / 1080;
  background: url('assets/hero-char.webp') center / contain no-repeat;
  translate: -50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, rgba(0,0,0,.4) 80%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 58%, rgba(0,0,0,.4) 80%, transparent 96%);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55));
  animation: char-in 1.5s cubic-bezier(.16, .84, .3, 1) both, char-float 7s ease-in-out 1.5s infinite;
}
@keyframes char-in {
  0%   { opacity: 0; translate: -50% 70px; scale: 1.08; filter: blur(10px) brightness(1.9) drop-shadow(0 30px 40px rgba(0,0,0,0)); }
  60%  { opacity: 1; filter: blur(0) brightness(1.35) drop-shadow(0 30px 40px rgba(0,0,0,.3)); }
  100% { opacity: 1; translate: -50% 0; scale: 1; filter: blur(0) brightness(1) drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
}
@keyframes char-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-body { position: relative; margin-top: calc(var(--S) * -.10); text-align: center; }
.hero-title { margin: 0 auto; width: min(760px, 92%); filter: drop-shadow(0 6px 26px rgba(120, 60, 220, .55)); }
.hero-title img { width: 100%; height: auto; margin: 0 auto; }
.update-badge {
  display: inline-block; margin-top: 26px; padding: 9px 30px;
  font-family: var(--font-serif); font-size: 17px; font-weight: 600; letter-spacing: .06em;
  color: #e9e3ff; background: rgba(12, 6, 30, .82); border: 1px solid rgba(214, 196, 255, .45);
  box-shadow: 0 0 0 3px rgba(12, 6, 30, .5), 0 0 24px rgba(139, 92, 246, .35);
}
.story {
  margin: -20px auto 0; max-width: 780px; padding: 0 12px;
  font-family: var(--font-serif); font-size: clamp(17px, 2.1vw, 20px); font-weight: 500;
  line-height: 1.75; color: #efe9ff; letter-spacing: .01em;
  text-shadow: 0 2px 14px rgba(0,0,0,.8);
}
.story p + p { margin-top: 16px; }
.story-quote {
  margin-top: 26px !important; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(18px, 2.2vw, 23px); letter-spacing: .01em; color: #fff; text-wrap: balance;
  text-shadow: 0 0 18px rgba(196, 181, 253, .8), 0 0 40px rgba(139, 92, 246, .6);
}

/* ─── Video ─── */
.video-section { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.video-frame {
  position: relative; margin-top: 24px; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--panel-line); box-shadow: 0 30px 70px rgba(0,0,0,.6);
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ─── Dungeons ─── */
.dungeons { background: var(--bg-2); }
.dungeon { margin-top: 8px; }
.dungeon + .dungeon { margin-top: 24px; }
.dungeon-visual {
  position: relative; height: clamp(360px, 42vw, 520px); margin-top: 90px;
}
.dungeon-visual::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--bg) center bottom / cover no-repeat;
  background-image: linear-gradient(90deg, rgba(7,4,15,.55) 0%, rgba(7,4,15,.15) 45%, rgba(7,4,15,.05) 100%), var(--bg);
  border: 1px solid var(--panel-line);
}
.dungeon-char {
  position: absolute; left: -7%; bottom: 0; height: 124%; width: auto; max-width: 68%;
  object-fit: contain; object-position: left bottom;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.65));
}
.dungeon-name { position: absolute; right: 0; bottom: 0; padding: 30px 38px 36px; text-align: right; max-width: 60%; }
.dungeon-name h3 {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; margin-top: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,.9), 0 0 40px rgba(0,0,0,.6);
}
.dungeon--flip .dungeon-visual::before { background-image: linear-gradient(270deg, rgba(7,4,15,.55) 0%, rgba(7,4,15,.15) 45%, rgba(7,4,15,.05) 100%), var(--bg); }
.dungeon--flip .dungeon-char { left: auto; right: -6%; max-width: 56%; object-position: right bottom; }
.dungeon--flip .dungeon-name { right: auto; left: 0; text-align: left; }
.preview { margin-top: 14px; }
.preview-label { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 4px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clip { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #000; border: 1px solid rgba(255,255,255,.08); }

/* ─── Raid / Farming ─── */
.raid { background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); }
.farming { background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.info-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 26px; }
.panel { background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius); padding: 18px; }
.panel-title { font-family: var(--font-display); font-size: 15px; letter-spacing: .06em; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.panel-title small { font-family: var(--font-body); font-size: 12px; color: var(--muted); letter-spacing: 0; font-weight: 500; }
.entrance { margin-top: 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); }
.reward-list { margin-top: 14px; display: grid; gap: 10px; }
.panel { display: flex; flex-direction: column; }
.reward-list.reward-list--single { flex: 1; display: flex; }
.reward-list.reward-list--single li { flex: 1; padding: 24px 22px; gap: 22px; }
.reward-list.reward-list--single img { width: 104px; height: 104px; flex: 0 0 104px; border-radius: 12px; }
.reward-list.reward-list--single span { font-size: 20px; line-height: 1.3; }
.reward-list.reward-list--single .chip { margin-top: 10px; font-size: 12px; padding: 4px 12px; }
.reward-list li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.05); }
.reward-list img { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 8px; object-fit: cover; }
.reward-list span { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.35; }
.chip { display: block; width: max-content; margin-top: 6px; padding: 2px 8px; border-radius: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--red); }
.stats { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats li { text-align: center; padding: 16px 12px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--panel-line); }
.stat-k { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat-v { display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--gold); }
.stat-v small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--muted); }

/* ─── Gear ─── */
.gear-block { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--panel-line); }
.gear-block .sec-desc { margin-top: 0; }
.gear-title { margin-top: 34px; text-align: center; font-family: var(--font-display); font-size: 20px; color: #fff; letter-spacing: .06em; }
.gear-title small { font-family: var(--font-body); font-size: 12px; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; margin-left: 10px; }
.gear-block .gear-title:first-of-type { margin-top: 26px; }
.upgrade-grid { margin-top: 16px; display: grid; gap: 22px; padding: 26px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-line); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
.upgrade-col { display: grid; gap: 26px; }
.upgrade-col li { position: relative; text-align: center; }
.upgrade-col li img { width: 76px; height: 76px; margin: 0 auto; object-fit: cover; border-radius: 10px; border: 2px solid rgba(255,255,255,.12); background: #1a1333; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.upgrade-col li span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #ddd5f5; line-height: 1.3; }
.upgrade-col li + li::before { content: "▼"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--violet); }
.upgrade-col li.final img { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231,192,104,.25), 0 0 26px rgba(231,192,104,.45); }
.upgrade-col li.final span { color: var(--gold); }

/* ─── Event ─── */
.event { padding-top: 0; background: linear-gradient(180deg, var(--bg-2), var(--bg) 40%); }
.event-banner {
  padding: 56px 0 48px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(55% 90% at 50% 100%, rgba(139,92,246,.45), transparent 70%),
    radial-gradient(40% 60% at 15% 20%, rgba(231,192,104,.12), transparent 70%),
    linear-gradient(180deg, var(--bg-2), #1a1038 60%, var(--bg-2));
  border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line);
}
.event-banner::before, .event-banner::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: min(560px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.event-banner::before { top: 30px; }
.event-banner::after { bottom: 26px; }
.event-logo { width: min(680px, 88%); margin: -30px auto -34px; height: auto; filter: drop-shadow(0 8px 26px rgba(120,60,220,.55)); }
.event-banner.has-logo { padding: 40px 0 34px; }
.event-banner.has-logo .event-kicker, .event-banner.has-logo .event-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.event-kicker { font-family: var(--font-display); font-size: clamp(16px, 2.6vw, 22px); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); }
.event-title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 5vw, 50px); line-height: 1.1; margin-top: 10px; color: #fff;
  text-shadow: 0 0 30px rgba(139,92,246,.7), 0 4px 30px rgba(0,0,0,.6);
}
.event-intro { margin-top: 44px; text-align: center; font-family: var(--font-serif); font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; color: #efe9ff; line-height: 1.6; }
.event-intro b { color: var(--gold); font-weight: 700; }
.event-label {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px; line-height: 1.1;
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(231,192,104,.45));
}
.howto {
  margin: 28px auto 0; max-width: 680px; padding: 30px 28px 28px; text-align: center;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-line);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.howto h3 { font-family: var(--font-display); font-size: 20px; color: #fff; letter-spacing: .04em; }
.howto h3::after { content: ""; display: block; width: 48px; height: 1px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.howto p { margin-top: 14px; font-size: 15px; color: var(--violet-soft); }
.howto ul { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.howto li { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; padding: 10px 18px; border-radius: 999px; background: rgba(139,92,246,.16); border: 1px solid rgba(196,181,253,.35); }
.callout {
  position: relative; margin: 32px auto 0; padding: 26px 26px; max-width: 760px; text-align: center;
  font-family: var(--font-serif); font-size: clamp(18px, 2.4vw, 23px); font-weight: 600; color: #fff; line-height: 1.5;
  background: linear-gradient(180deg, rgba(60, 30, 120, .55), rgba(30, 14, 66, .75));
  border: 1px solid rgba(231,192,104,.45); border-radius: var(--radius);
  box-shadow: 0 0 0 4px rgba(231,192,104,.06), 0 24px 60px rgba(0,0,0,.45), inset 0 0 40px rgba(139,92,246,.18);
}
.callout::before, .callout::after {
  content: "✦"; position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: var(--gold); opacity: .9;
}
.callout::before { left: 16px; }
.callout::after { right: 16px; }
.callout b { color: var(--gold); font-weight: 700; }
.reward-table-wrap { margin: 24px auto 0; max-width: 680px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--panel-line); background: var(--panel); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.table-title {
  text-align: center; font-family: var(--font-display); font-size: 19px; letter-spacing: .04em; color: #fff; padding: 20px 16px;
  background: linear-gradient(180deg, rgba(139,92,246,.35), rgba(139,92,246,.12));
  border-bottom: 1px solid var(--panel-line);
}
.reward-table { width: 100%; border-collapse: collapse; color: var(--text); }
.reward-table th, .reward-table td { padding: 13px 20px; text-align: left; font-size: 14.5px; border-top: 1px solid rgba(178,140,255,.12); }
.reward-table th { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: rgba(0,0,0,.25); border-top: 0; font-weight: 600; }
.reward-table th:last-child, .reward-table td:last-child { text-align: center; width: 120px; }
.reward-table td:last-child { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--gold); }
.reward-table td:first-child { display: flex; align-items: center; gap: 14px; font-weight: 600; color: #fff; }
.reward-table td img { flex: 0 0 46px; width: 46px; height: 46px; object-fit: cover; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); background: #1a1333; }
.reward-table tbody tr:hover { background: rgba(139,92,246,.08); }
.reward-table tr.is-title td { background: rgba(231,192,104,.08); }
.reward-table tr.is-title td:first-child { color: var(--gold); }
.reward-table tr.is-title td img { object-fit: contain; padding: 3px; }

/* ─── Baal Raid Clear Event ─── */
.clear-event { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); border-top: 1px solid var(--panel-line); }
.clear-event .event-intro { margin-top: 28px; }
.clear-event .event-intro b { color: var(--gold); }
.info-grid--even { grid-template-columns: 1fr 1fr; }
.period { margin-top: 14px; font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: #efe9ff; }
.period b { color: var(--gold); font-weight: 700; }
.chip-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; padding: 10px 18px; border-radius: 999px; background: rgba(139,92,246,.16); border: 1px solid rgba(196,181,253,.35); }
.draw { margin: 34px auto 0; max-width: 760px; }
.draw-head { display: flex; align-items: flex-start; gap: 18px; padding: 0 4px 18px; }
.draw-num {
  flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink);
  background: linear-gradient(180deg, #ffe39a, var(--gold) 55%, var(--gold-deep)); border-radius: 12px;
  box-shadow: 0 8px 20px rgba(231,192,104,.3);
}
.draw-head h3 { font-family: var(--font-display); font-size: 20px; color: #fff; letter-spacing: .02em; line-height: 1.25; }
.winners { display: inline-block; margin-left: 10px; padding: 3px 12px; border-radius: 999px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(231,192,104,.5); vertical-align: middle; }
.draw-head p { margin-top: 8px; font-size: 15px; color: var(--violet-soft); line-height: 1.55; }
.draw .reward-table-wrap { margin-top: 0; max-width: none; }

/* ─── Footer ─── */
.site-footer { padding: 40px 20px 50px; text-align: center; color: var(--muted); font-size: 12px; border-top: 1px solid rgba(255,255,255,.06); background: #05030b; }
.site-footer img { height: 26px; margin: 0 auto 12px; opacity: .8; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; color: var(--ink);
  background: var(--gold); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .section { padding: 48px 0; }
  .info-grid, .info-grid--even { grid-template-columns: 1fr; }
  .draw-head { gap: 14px; }
  .draw-num { width: 44px; height: 44px; font-size: 18px; }
  .draw-head h3 { font-size: 17px; }
  .winners { display: block; width: max-content; margin: 8px 0 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
  .dungeon-visual, .dungeon--flip .dungeon-visual { height: auto; aspect-ratio: 4 / 5; max-height: 560px; margin-top: 70px; }
  .dungeon-visual::before, .dungeon--flip .dungeon-visual::before { background-image: linear-gradient(180deg, rgba(7,4,15,.15) 0%, rgba(7,4,15,.85) 100%), var(--bg); }
  .dungeon-char, .dungeon--flip .dungeon-char { left: 50%; right: auto; transform: translateX(-50%); bottom: 88px; height: 92%; max-width: 96%; object-position: center bottom; }
  .dungeon-name, .dungeon--flip .dungeon-name { left: 0; right: 0; max-width: none; text-align: center; padding: 0 20px 26px; }
}
@media (max-width: 600px) {
  .site-header { padding: 8px 14px; }
  .brand img { height: 24px; }
  .btn-play { padding: 8px 14px; font-size: 11px; }
  .hero {
    background:
      linear-gradient(180deg, rgba(18,10,44,0) 40vw, rgba(18,10,44,.85) 66vw, #120a2c 78vw, #120a2c 82%, var(--bg) 100%),
      url('assets/hero-bg.webp') center top / 170% auto no-repeat,
      #120a2c;
  }
  .hero-art { height: 78vw; }
  .hero-char { width: 150%; top: 0; -webkit-mask-image: linear-gradient(180deg, #000 48%, rgba(0,0,0,.3) 72%, transparent 92%); mask-image: linear-gradient(180deg, #000 48%, rgba(0,0,0,.3) 72%, transparent 92%); }
  .hero-body { margin-top: -26px; }
  .story { font-size: 16px; }
  .story br { display: none; }
  .update-badge { font-size: 14px; padding: 7px 18px; }
  .has-bar .sec-title { width: 100%; font-size: clamp(17px, 5.4vw, 22px); padding: 0 15% 0.6%; }
  .has-date-frame .update-badge { width: 100%; font-size: 14px; letter-spacing: .06em; padding: 0 11% 0.4%; margin-top: -22px; }
  .story { margin-top: -14px; }
  .sec-desc br, .callout br, .event-intro br, .period br { display: none; }
  .preview-grid { grid-template-columns: 1fr; }
  .stats, .stats--3 { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: 1fr; gap: 34px; }
  .cols-2 { grid-template-columns: 1fr; gap: 34px; }
  .upgrade-col li img { width: 64px; height: 64px; }
  .reward-list.reward-list--single img { width: 80px; height: 80px; flex-basis: 80px; }
  .reward-list.reward-list--single span { font-size: 17px; }
  .reward-table th, .reward-table td { padding: 11px 12px; font-size: 13px; }
  .reward-table td img { flex-basis: 38px; width: 38px; height: 38px; }
  .reward-table td:first-child { gap: 10px; }
  .reward-table th:last-child, .reward-table td:last-child { width: 72px; }
  .callout { padding: 22px 30px; }
  .callout::before, .callout::after { display: none; }
}
