/* ============================================================
   $HELLON · Hell on Mars
   ============================================================ */

@font-face {
  font-family: "El Diablo";
  src: url("../assets/fonts/eldiablo.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #0b0706;
  --bg-2: #110a08;
  --panel: #150e0b;
  --panel-2: #1c130f;
  --line: rgba(216, 178, 122, .15);
  --line-2: rgba(216, 178, 122, .3);
  --bone: #efe3cf;
  --text: #d8cab3;
  --muted: #a4927c;
  --dim: #75665a;
  --gold: #d8b27a;
  --gold-2: #f3d39b;
  --bronze: #8c6a45;
  --blood: #9e140b;
  --red: #e0301e;
  --ember: #ff7a2a;
  --fire: #ffb25a;
  --magic: #8093ff;
  --rare: #f5d33d;
  --legendary: #ff8a2a;
  --unique: #dcbc7c;
  --mythic: #c77dff;
  --secret: #3fd46a;
  --f-display: "El Diablo", "Cinzel", serif;
  --f-head: "Cinzel", Georgia, serif;
  --f-body: "Crimson Pro", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1180px;
  --nav-h: 68px;
  --sword: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M2 2 L20 16 L16 20 Z' fill='%23eef0f2' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M14 22 L22 14' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M14 22 L22 14' stroke='%23d9a441' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M19 19 L27 27' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M19 19 L27 27' stroke='%236a3a1c' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='28' cy='28' r='2.6' fill='%23d9a441' stroke='%23000'/%3E%3C/svg%3E") 2 2, crosshair;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; }
a { color: var(--gold-2); }
p { margin: 0 0 1em; }
button { font: inherit; }
::selection { background: rgba(224, 48, 30, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 3px; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: #120a06; font-family: var(--f-head); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.wrap-narrow { width: min(820px, 100% - 40px); }

/* El Diablo text with the custom H */
/* Always weight 400: the font has no bold, and a faked bold breaks its letters. */
.dfont { font-family: var(--f-display); font-weight: 400; }
.dh { display: inline-block; height: 1.008em; width: .36em; vertical-align: baseline; fill: currentColor; overflow: visible; }
.dh-word, .brand-name { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--h);
  padding: 0 22px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { flex: none; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 15px; }
.btn-sm { --h: 38px; padding: 0 15px; font-size: 12.5px; }
.btn-hell {
  color: #fff6ea;
  background: linear-gradient(180deg, #ea5a2e 0%, #b8220f 55%, #7a1208 100%);
  border-color: #ff9a5a;
  text-shadow: 0 1px 0 rgba(60, 6, 2, .6);
  box-shadow: 0 0 0 1px #2a0604, 0 8px 26px rgba(224, 48, 30, .35), inset 0 1px 0 rgba(255, 220, 180, .5);
}
.btn-hell:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #2a0604, 0 12px 36px rgba(255, 80, 30, .55), inset 0 1px 0 rgba(255, 220, 180, .6); }
.btn-bone { color: #1a0e08; background: linear-gradient(180deg, #f7eedc, #d6c4a0); border-color: #fff3dc; box-shadow: 0 0 0 1px #1a0e08, 0 8px 22px rgba(0, 0, 0, .4); }
.btn-bone:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--gold-2); background: rgba(20, 12, 9, .65); border-color: #6a4a2a; }
.btn-ghost:hover { border-color: var(--gold); color: #fff; box-shadow: 0 0 20px rgba(216, 178, 122, .15); }
.btn:active { transform: translateY(1px); }
.soon { font-size: .74em; margin-left: 4px; padding: 2px 7px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .28); letter-spacing: .1em; }
.btn-bone .soon { background: rgba(0, 0, 0, .08); border-color: rgba(0, 0, 0, .25); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(20, 12, 9, .7);
  border: 1px solid #4a3422;
  color: var(--gold-2);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--gold); color: #fff; }
[data-sound-toggle][aria-pressed="true"] .i-off,
[data-sound-toggle][aria-pressed="false"] .i-on { display: none; }

/* ---------- Frames (Diablo panels with corner pieces) ---------- */
.frame {
  position: relative;
  background: linear-gradient(180deg, #1a120e 0%, #110b09 100%);
  border: 1px solid #3a2a1e;
  box-shadow: 0 0 0 1px #000, inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 0 50px rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .45);
}
.frame::before {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M1 12V1h11' fill='none' stroke='%23d8b27a' stroke-width='2'/%3E%3Cpath d='M4 14 14 4' stroke='%23d8b27a' stroke-width='1.3'/%3E%3Cpath d='M9 9 11 7 9 5 7 7Z' fill='%23d8b27a'/%3E%3C/svg%3E") top left no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M27 12V1H16' fill='none' stroke='%23d8b27a' stroke-width='2'/%3E%3Cpath d='M24 14 14 4' stroke='%23d8b27a' stroke-width='1.3'/%3E%3Cpath d='M19 9 17 7 19 5 21 7Z' fill='%23d8b27a'/%3E%3C/svg%3E") top right no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M1 16v11h11' fill='none' stroke='%23d8b27a' stroke-width='2'/%3E%3Cpath d='M4 14 14 24' stroke='%23d8b27a' stroke-width='1.3'/%3E%3Cpath d='M9 19 11 21 9 23 7 21Z' fill='%23d8b27a'/%3E%3C/svg%3E") bottom left no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M27 16v11H16' fill='none' stroke='%23d8b27a' stroke-width='2'/%3E%3Cpath d='M24 14 14 24' stroke='%23d8b27a' stroke-width='1.3'/%3E%3Cpath d='M19 19 17 21 19 23 21 21Z' fill='%23d8b27a'/%3E%3C/svg%3E") bottom right no-repeat;
  opacity: .7;
}
/* a hairline bevel just inside the plate */
.frame::after {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid rgba(216, 178, 122, .1);
  box-shadow: inset 0 1px 0 rgba(255, 190, 130, .06);
}

/* ---------- Grain and vignette, over the whole page ---------- */
.grain {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background: 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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .16;
}
.grain::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(130% 85% at 50% 42%, transparent 50%, rgba(0, 0, 0, .5) 100%);
  mix-blend-mode: normal;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - var(--wrap)) / 2));
  background: linear-gradient(180deg, rgba(8, 5, 4, .94), rgba(8, 5, 4, .74));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 178, 122, .14);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); }
.brand-sigil { display: block; width: 44px; height: 44px; }
.brand-sigil svg { display: block; width: 100%; height: 100%; }
.brand-name { font-size: 36px; line-height: 1; padding-top: 6px; color: var(--bone); }
.tier {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; margin-left: 4px;
  background: linear-gradient(180deg, #1c130f, #0e0907);
  border: 1px solid #5a3f28;
  font-family: var(--f-head); font-weight: 700; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
}
.tier b { color: #d05a2a; font-size: 12px; letter-spacing: .08em; }
@media (max-width: 960px) { .tier { display: none; } }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-family: var(--f-head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--gold-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 36px) 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 72% 108%, rgba(255, 70, 20, .38), transparent 62%),
    radial-gradient(800px 460px at 12% -6%, rgba(90, 20, 10, .55), transparent 62%),
    linear-gradient(180deg, #060303 0%, #150705 55%, #2b0a06 100%);
}
.mars {
  position: absolute;
  right: 9%;
  top: 15%;
  width: clamp(56px, 7vw, 108px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #ffb892 0%, #d0502a 42%, #6a160a 78%, #2a0604 100%);
  box-shadow: 0 0 70px rgba(255, 90, 40, .38), inset -14px -12px 26px rgba(0, 0, 0, .55);
  animation: float 9s ease-in-out infinite;
}
.mars::before, .mars::after { content: ""; position: absolute; border-radius: 50%; background: rgba(90, 20, 8, .45); }
.mars::before { width: 22%; height: 18%; left: 26%; top: 44%; }
.mars::after { width: 14%; height: 12%; left: 58%; top: 26%; }
.mars i { position: absolute; inset: -38%; border-radius: 50%; border: 1px dashed rgba(255, 170, 120, .18); transform: rotateX(70deg); }
.spires { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(180px, 30vw, 420px); }
.lava {
  position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background: linear-gradient(0deg, rgba(255, 80, 20, .42), rgba(255, 60, 10, .1) 50%, transparent);
  animation: lava 5s ease-in-out infinite;
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; position: relative; }

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  line-height: 1.5;
  padding: 7px 14px;
  font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(14, 8, 6, .72);
  border: 1px solid rgba(216, 178, 122, .28);
}
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; vertical-align: 1px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.6s infinite; }
.hero-logo { margin: 0; line-height: 1; font-weight: 400; }
.hero-mark { display: block; width: min(600px, 100%); }
.hero-mark .wordmark { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 28px rgba(255, 70, 20, .42)) drop-shadow(0 5px 0 #1a0402); }
.hero-musk {
  display: flex; align-items: center; gap: 16px;
  margin-top: 2px;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: .06em;
  text-shadow: 0 0 22px rgba(216, 178, 122, .25);
}
.hero-musk::before, .hero-musk::after { content: ""; height: 2px; flex: 1; max-width: 120px; background: linear-gradient(90deg, transparent, var(--bronze)); }
.hero-musk::after { background: linear-gradient(270deg, transparent, var(--bronze)); }
.hero-title { margin: 14px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--ember); }
.hero-tag { margin: 8px 0 12px; font-family: var(--f-head); font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; color: var(--bone); text-shadow: 0 2px 0 #000, 0 0 30px rgba(255, 90, 40, .3); }
.hero-sub { max-width: 540px; font-size: 20px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.ca-box {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 9px 10px 9px 10px;
  max-width: 560px;
  background: rgba(10, 6, 5, .78);
  border: 1px solid #3a2a1e;
}
.ca-label { flex: none; font-family: var(--f-head); font-weight: 900; font-size: 12px; letter-spacing: .16em; color: #1a0a06; background: var(--gold); padding: 4px 8px; }
.ca-text { flex: 1; min-width: 0; font-family: var(--f-mono); font-size: 14px; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-box:not(.live) .ca-text { font-family: var(--f-body); font-style: italic; font-size: 16px; color: var(--muted); white-space: normal; }
.ca-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: #2a1a12; color: var(--gold-2); border: 1px solid #6a4a2a; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ca-copy:hover { border-color: var(--gold); color: #fff; }

/* The arena */
.hero-arena { position: relative; display: flex; flex-direction: column; align-items: center; }
.boss-bar { width: min(440px, 100%); text-align: center; margin-bottom: 4px; position: relative; z-index: 3; }
.boss-name { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 7px; font-family: var(--f-head); font-weight: 700; font-size: 17px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); text-shadow: 0 2px 0 #000; }
.boss-lvl { font-size: 11px; letter-spacing: .08em; color: #ffcf8a; border: 1px solid #7a4220; background: #1a0a06; padding: 2px 6px; }
.boss-bar.uber .boss-name { color: var(--mythic); }
.boss-hp { position: relative; height: 20px; background: #170504; border: 1px solid #6a2a18; box-shadow: 0 0 0 1px #000, 0 0 18px rgba(224, 48, 30, .25), inset 0 2px 6px rgba(0, 0, 0, .8); overflow: hidden; }
.boss-hp::before, .boss-hp::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; background: var(--gold); transform: translateY(-50%) rotate(45deg); z-index: 3; box-shadow: 0 0 0 2px #000; }
.boss-hp::before { left: -6px; }
.boss-hp::after { right: -6px; }
.boss-hp .fill, .boss-hp .trail { position: absolute; inset: 0; transform-origin: left center; }
.boss-hp .trail { background: #f3d39b; transition: transform .7s ease .25s; }
.boss-hp .fill { background: linear-gradient(180deg, #ff6a45 0%, #c21d0e 55%, #6a0806 100%); transition: transform .12s linear; }
.boss-hp-text { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
.boss-stagger { height: 5px; margin: 3px 12px 0; background: #140d0a; border: 1px solid #3a2a1e; overflow: hidden; }
.boss-stagger i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #d8b27a, #fff1c8); transition: width .15s; }
.boss-bar.staggered .boss-stagger i { background: linear-gradient(90deg, #7fd0ff, #e6f6ff); animation: blink .35s infinite; }
.boss-sub { margin: 6px 0 0; font-size: 15px; font-style: italic; color: var(--muted); }

.arena { position: relative; width: min(470px, 100%); aspect-ratio: 400 / 520; }
.arena-glow { position: absolute; left: 50%; top: 40%; width: 115%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 60, 20, .32), rgba(255, 40, 10, .1) 40%, transparent 64%); animation: pulse 3.2s ease-in-out infinite; pointer-events: none; }
.boss {
  position: absolute; left: 0; right: 0; top: 0; bottom: 12%;
  display: block; padding: 0; margin: 0;
  background: none; border: 0;
  cursor: var(--sword);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.boss:focus-visible { outline: none; }
.boss:focus-visible .boss-art { filter: drop-shadow(0 0 0 2px var(--fire)); }
.boss-art { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%); mask-image: linear-gradient(180deg, #000 78%, transparent 99%); }
.boss-art svg { display: block; width: 100%; height: 100%; }
.hellon-svg .h-bg { animation: bgpulse 7s ease-in-out infinite; }
.hellon-svg .h-body { animation: breathe 4.2s ease-in-out infinite; transform-origin: 200px 560px; }
.hellon-svg .h-head { animation: headbob 4.2s ease-in-out infinite; transform-origin: 200px 250px; }
.hellon-svg .h-eyes { animation: blinkeyes 6s ease-in-out infinite; transform-origin: 200px 163px; }
.hellon-svg .h-gem { animation: gem 1.9s ease-in-out infinite; transform-origin: 200px 369px; }
.boss.hit .boss-art { animation: hit .2s ease-out; }
.boss.crit .boss-art { animation: hitbig .26s ease-out; }
.boss.dead { pointer-events: none; }
.boss.dead .boss-art { animation: sinkdown 1.3s ease-in forwards; }
.boss.respawn .boss-art { animation: riseup .9s cubic-bezier(.2, 1.2, .4, 1); }
.boss.stagger .boss-art { filter: saturate(.4) brightness(1.2) hue-rotate(-20deg); }

.taunt {
  position: absolute; left: 50%; top: 1%; z-index: 4;
  max-width: 92%;
  margin: 0;
  padding: 8px 14px;
  transform: translate(-50%, 8px);
  background: rgba(12, 7, 6, .94);
  border: 1px solid #6a4a2a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .6);
  font-size: 17px; font-style: italic; line-height: 1.3; text-align: center;
  color: var(--bone);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.taunt.on { opacity: 1; transform: translate(-50%, 0); }
.dmg-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.dmg {
  position: absolute;
  font-family: var(--f-head); font-weight: 900; font-size: 24px;
  color: #fff;
  text-shadow: 0 2px 0 #000, 0 0 8px rgba(0, 0, 0, .9);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: dmg 1s cubic-bezier(.2, .8, .3, 1) forwards;
}
.dmg.crit { color: #ffd23a; font-size: 34px; }
.dmg.crit::after { content: "!"; margin-left: 2px; }
.dmg.op { color: #7fd8ff; font-size: 42px; text-shadow: 0 0 16px rgba(80, 190, 255, .95), 0 2px 0 #000; }
.dmg.stg { color: #e6f6ff; font-size: 30px; }
.dmg.txt { font-size: 20px; color: #ffcf8a; letter-spacing: .06em; }
.ground { position: absolute; left: -12%; right: -12%; bottom: 0; z-index: 6; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 6px 10px; min-height: 64px; pointer-events: none; }
.drop {
  --rc: #fff;
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0; margin: 0;
  background: none; border: 0;
  cursor: pointer;
  pointer-events: auto;
  animation: dropin .7s cubic-bezier(.2, 1.5, .4, 1) both;
}
.drop .beam { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 230px; transform: translateX(-50%); background: linear-gradient(0deg, var(--rc), transparent); opacity: .55; filter: blur(4px); pointer-events: none; animation: beam 2.2s ease-in-out infinite; }
.drop .ico { position: relative; width: 44px; height: 44px; filter: drop-shadow(0 0 8px var(--rc)) drop-shadow(0 3px 2px #000); }
.drop .lbl { position: relative; max-width: 150px; padding: 2px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-head); font-size: 11px; font-weight: 700; color: var(--rc); background: rgba(8, 5, 4, .9); border: 1px solid color-mix(in srgb, var(--rc) 40%, #000); }
.drop:hover .lbl, .drop:focus-visible .lbl { background: #1a120e; }
.drop.gone { animation: pickup .35s ease-in forwards; pointer-events: none; }
.slain { position: absolute; left: 50%; top: 40%; z-index: 7; width: min(440px, 100%); margin: 0; padding: 26px 18px; transform: translate(-50%, -50%); text-align: center; opacity: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(8, 4, 3, .88), rgba(8, 4, 3, .55) 70%, transparent); }
.slain span { display: block; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); text-shadow: 0 2px 0 #000; }
.slain b { display: block; margin-top: 4px; font-family: var(--f-head); font-weight: 900; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; color: #ff3a24; text-shadow: 0 0 24px rgba(255, 58, 36, .6), 0 3px 0 #000; }
.slain em { display: block; margin-top: 8px; font-size: 17px; color: var(--gold-2); text-shadow: 0 2px 0 #000; }
.slain.on { animation: slain 2.4s ease-out; }
.arena-hint { margin: 10px 0 0; font-size: 16px; color: var(--muted); text-align: center; }
.kills { display: inline-block; margin-left: 8px; font-family: var(--f-head); font-size: 13px; letter-spacing: .1em; color: var(--gold); }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: linear-gradient(180deg, #7a1208, #4a0a05); border-top: 1px solid #ff7a4a; border-bottom: 1px solid #1a0402; box-shadow: 0 0 30px rgba(224, 48, 30, .3); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 13px 0; animation: ticker 48s linear infinite; }
.ticker span { font-family: var(--f-head); font-weight: 900; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: #ffe8cc; white-space: nowrap; }
.ticker i { font-style: normal; color: var(--fire); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 116px 0; }
.section + .section { border-top: 1px solid rgba(216, 178, 122, .07); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--ember); }
.kicker::before, .kicker::after { content: ""; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); }
.sec-head h2 { margin: 0; font-size: clamp(56px, 8.4vw, 108px); line-height: .98; letter-spacing: .02em; color: var(--bone); text-shadow: 0 0 34px rgba(255, 80, 30, .22); }
.sec-head h2 .dh { filter: drop-shadow(0 0 16px rgba(255, 80, 30, .2)); }
.sec-head h2::after {
  content: "";
  display: block;
  width: 240px; height: 16px;
  margin: 20px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16'%3E%3Cpath d='M0 8 H96 M144 8 H240' stroke='%238c6a45' stroke-width='1.5'/%3E%3Cpath d='M120 1 L128 8 L120 15 L112 8 Z' fill='%23e0301e' stroke='%23f3d39b' stroke-width='1'/%3E%3Cpath d='M100 8 L106 4 L106 12 Z M140 8 L134 4 L134 12 Z' fill='%23d8b27a'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sec-sub { margin: 18px auto 0; max-width: 640px; font-size: 20px; color: var(--muted); }
.fine { margin: 18px 0 0; text-align: center; font-size: 15px; font-style: italic; color: var(--dim); }

/* ---------- Lore ---------- */
.lore { background: radial-gradient(900px 500px at 50% 0%, rgba(90, 20, 10, .25), transparent 70%), var(--bg); }
.epigraph { margin: 26px auto 0; max-width: 660px; padding: 0; }
.epigraph p { margin: 0; font-size: 23px; font-style: italic; line-height: 1.35; color: var(--bone); }
.epigraph cite { display: block; margin-top: 10px; font-family: var(--f-head); font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.true-tag { display: inline-block; margin-right: 6px; padding: 2px 7px; font-family: var(--f-head); font-weight: 900; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: #1a0a06; background: var(--gold); vertical-align: 2px; }
.lore-wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: start; }
.lore-stage { position: sticky; top: calc(var(--nav-h) + 18px); height: calc(100vh - var(--nav-h) - 36px); max-height: 820px; }
.lore-map { display: block; width: 100%; height: 100%; }
.lore-hud { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(10, 6, 5, .85); border: 1px solid #4a3422; font-family: var(--f-head); color: var(--muted); font-size: 13px; }
.lore-hud b { color: var(--gold-2); font-size: 18px; }
.lore-bar { width: 90px; height: 4px; background: #2a1c14; }
.lore-bar i { display: block; height: 100%; width: 12.5%; background: linear-gradient(90deg, var(--red), var(--fire)); transition: width .4s; }
.lore-steps { list-style: none; margin: 0; padding: 12vh 0 18vh; }
.lore-step { min-height: 74vh; display: flex; align-items: center; }
.step-card {
  position: relative;
  padding: 28px 30px 24px;
  background: linear-gradient(180deg, rgba(26, 18, 14, .96), rgba(16, 10, 8, .96));
  border: 1px solid #3a2a1e;
  box-shadow: 0 0 0 1px #000, 0 24px 60px rgba(0, 0, 0, .45);
  opacity: .28;
  transform: translateY(24px) scale(.98);
  transition: opacity .5s ease, transform .5s ease, border-color .5s;
}
.lore-step.on .step-card { opacity: 1; transform: none; border-color: #6a4a2a; }
.step-tag { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); }
.step-card h3 { margin: 8px 0 12px; font-family: var(--f-head); font-weight: 900; font-size: 30px; line-height: 1.12; color: var(--bone); }
.step-card p { color: var(--text); }
.step-card .truth { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed rgba(216, 178, 122, .22); font-size: 16px; color: var(--muted); }
.step-final { border-color: #8a3a1e; box-shadow: 0 0 0 1px #000, 0 0 60px rgba(224, 48, 30, .2), 0 24px 60px rgba(0, 0, 0, .45); }
.step-final .btn { margin-top: 6px; }

/* Map pieces */
.lore-map .route-bg { fill: none; stroke: rgba(216, 178, 122, .16); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.lore-map .route { fill: none; stroke: #ff4a24; stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 74, 36, .9)); }
.lore-map .loc text { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; fill: #a4927c; paint-order: stroke; stroke: #0c0806; stroke-width: 4px; }
.lore-map .loc .pin { fill: #2a1c14; stroke: #6a4a2a; stroke-width: 2; transition: fill .3s, stroke .3s; }
.lore-map .loc.on text { fill: #ffe0b0; }
.lore-map .loc.on .pin { fill: #e0301e; stroke: #ffcf8a; }
.lore-map .loc.done .pin { fill: #7a1a0e; stroke: #b8834a; }
.lore-map .cow { cursor: pointer; }

/* ---------- Stash ---------- */
.loot { background: linear-gradient(180deg, var(--bg), #0e0806); }
.stash { padding: 22px 22px 18px; }
.stash-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-bottom: 18px; }
.stash-count { margin: 0; font-family: var(--f-head); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stash-count b { font-size: 22px; color: var(--bone); }
.stash-myth b { color: var(--mythic); }
.stash-actions { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.stash-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 7px; }
.slot {
  --rc: #3a2e26;
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 0;
  background: radial-gradient(circle at 50% 40%, #1b1310, #0b0706 75%);
  border: 1px solid #2c2119;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .85);
  cursor: default;
}
.slot .ico { width: 76%; height: 76%; }
.slot .q { font-family: var(--f-head); font-weight: 700; font-size: 20px; color: #3a2e26; }
.slot.has { border-color: color-mix(in srgb, var(--rc) 60%, #000); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--rc) 24%, #140d0a), #0b0706 78%); cursor: help; }
.slot.has .ico { filter: drop-shadow(0 2px 2px #000); }
.slot.has:hover, .slot.has:focus-visible { box-shadow: inset 0 0 14px rgba(0, 0, 0, .6), 0 0 0 1px var(--rc), 0 0 18px color-mix(in srgb, var(--rc) 45%, transparent); }
.slot .cnt { position: absolute; right: 4px; bottom: 1px; font-family: var(--f-mono); font-weight: 700; font-size: 11px; color: var(--bone); text-shadow: 0 1px 2px #000; }
.slot.secret:not(.has) .q { color: #1f3a26; }
.slot.fresh::after { content: "New"; position: absolute; left: 50%; top: -9px; transform: translateX(-50%); padding: 1px 5px; font-family: var(--f-head); font-weight: 900; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #1a0a06; background: var(--rc); }
.stash-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 16px 0 0; font-family: var(--f-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stash-legend span { display: inline-flex; align-items: center; gap: 7px; }
.stash-legend span::before { content: ""; width: 9px; height: 9px; background: var(--rc); transform: rotate(45deg); }

/* ---------- Item tooltips ---------- */
.tt {
  --rc: #fff;
  position: relative;
  width: 100%;
  padding: 16px 18px 12px;
  background: linear-gradient(180deg, #1c1411 0%, #0f0a08 100%);
  border: 1px solid color-mix(in srgb, var(--rc) 45%, #2a1f18);
  box-shadow: 0 0 0 1px #000, 0 20px 44px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .04);
  color: var(--text);
  overflow: hidden;
}
.tt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 20%, transparent), transparent); pointer-events: none; }
.tt-head { position: relative; display: flex; gap: 12px; align-items: center; }
.tt-ico { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--rc) 26%, #1a1210), #0c0807 72%); border: 1px solid color-mix(in srgb, var(--rc) 55%, #000); }
.tt-ico .ico { width: 46px; height: 46px; }
.tt-titles { min-width: 0; }
.tt-name { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.15; color: var(--rc); text-shadow: 0 0 14px color-mix(in srgb, var(--rc) 45%, transparent); }
.tt-type { margin: 3px 0 0; font-size: 15px; color: var(--muted); }
.tt-ip { position: relative; margin: 12px 0 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.tt-ip b { font-family: var(--f-head); font-size: 19px; color: var(--bone); margin-right: 3px; }
.tt-stats { list-style: none; margin: 0; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.tt-stats li { position: relative; padding: 1px 0 1px 18px; font-size: 16.5px; color: #e9e0d2; }
.tt-stats li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: #8c7a64; transform: rotate(45deg); }
.tt-stats b { color: var(--bone); font-weight: 600; }
.tt-power { margin: 10px 0 0; padding-left: 18px; position: relative; font-size: 16px; color: #f0a45e; }
.tt-power::before { content: "✦"; position: absolute; left: 0; top: 0; color: #f0a45e; font-size: 13px; }
.tt-flavor { margin: 10px 0 0; font-size: 15.5px; font-style: italic; color: #a88c6a; }
.tt-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); font-family: var(--f-head); font-size: 12px; letter-spacing: .04em; color: var(--dim); }
.tt-foot b { color: var(--muted); }
.ttpop { position: fixed; z-index: 90; width: min(340px, calc(100vw - 24px)); pointer-events: none; }
.ttpop .tt { animation: ttin .14s ease-out; }

/* ---------- Helltide ---------- */
.helltide { background: radial-gradient(1000px 600px at 50% 60%, rgba(120, 20, 8, .28), transparent 70%), #0a0605; }
.ht { max-width: 1000px; margin: 0 auto; }
.ht-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0505;
  border: 1px solid #4a2a1a;
  box-shadow: 0 0 0 1px #000, 0 30px 80px rgba(0, 0, 0, .6), 0 0 80px rgba(224, 48, 30, .12);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
#htCanvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: var(--sword); }
.ht-top { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.ht-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(10, 6, 5, .8); border: 1px solid #4a3422; font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--bone); }
.ht-chip svg { color: var(--ember); }
.ht-cinders { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 4px 10px; background: rgba(10, 6, 5, .8); border: 1px solid #4a3422; font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ht-cinders i { width: clamp(70px, 14vw, 150px); height: 8px; background: #1a0d08; border: 1px solid #5a3a22; }
.ht-cinders b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff5a1a, #ffd36a); box-shadow: 0 0 8px rgba(255, 140, 40, .7); transition: width .2s; }
.ht-cinders em { font-style: normal; color: var(--fire); min-width: 62px; text-align: right; }
.ht-banner { position: absolute; left: 50%; top: 24%; z-index: 3; margin: 0; transform: translate(-50%, -50%); font-family: var(--f-head); font-weight: 900; font-size: clamp(18px, 3vw, 32px); letter-spacing: .08em; text-transform: uppercase; color: #ffd9a0; text-shadow: 0 0 22px rgba(255, 90, 30, .75), 0 3px 0 #000; white-space: nowrap; opacity: 0; pointer-events: none; }
.ht-banner.on { animation: banner 2.4s ease-out; }
.ht-overlay {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(46, 12, 6, .78), rgba(6, 3, 2, .95) 72%);
}
.ht-overlay[hidden] { display: none; }
.ht-kick { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--ember); }
.ht-overlay h3 { margin: 6px 0 10px; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--bone); }
.ht-overlay > p { max-width: 520px; color: var(--text); font-size: 18px; }
.ht-keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); max-width: 620px; }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; margin-right: 4px; font-family: var(--f-head); font-weight: 700; font-size: 12px; color: var(--bone); background: #241812; border: 1px solid #6a4a2a; border-bottom-width: 2px; }
.ht-best { margin: 14px 0 0; font-family: var(--f-head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.dead-title { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(50px, 9vw, 96px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: #e8321f; text-shadow: 0 0 34px rgba(232, 50, 31, .55), 0 4px 0 #000; animation: died 1.4s ease-out; }
.dead-sub { margin: 10px 0 16px; font-style: italic; color: var(--muted); }
.dead-stats { display: flex; gap: 28px; margin: 0; }
.dead-stats div { text-align: center; }
.dead-stats dt { font-family: var(--f-head); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.dead-stats dd { margin: 2px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 28px; color: var(--bone); }
.dead-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

.ht-hud { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: -40px; padding: 0 6px; pointer-events: none; }
.ht-hud > * { pointer-events: auto; }
.orb {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #0c0605;
  border: 3px solid #7a5530;
  box-shadow: 0 0 0 2px #000, 0 0 0 7px #24160e, 0 0 0 8px #000, 0 12px 30px rgba(0, 0, 0, .7), inset 0 0 22px rgba(0, 0, 0, .9);
}
.orb i { position: absolute; inset: 0; transform-origin: bottom; transition: transform .25s ease; }
.orb-life i { background: radial-gradient(circle at 42% 30%, #ff7a64, #c01a0e 45%, #4a0404 92%); }
.orb-hype i { background: radial-gradient(circle at 42% 30%, #9fdcff, #2c6ae0 45%, #0a1a4a 92%); }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .38), transparent 34%), radial-gradient(circle at 50% 120%, rgba(0, 0, 0, .5), transparent 60%); pointer-events: none; }
.orb span { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-family: var(--f-head); font-weight: 900; font-size: 18px; color: #fff; text-shadow: 0 1px 3px #000, 0 0 6px #000; }
.orb-hype.full { animation: orbfull 1s ease-in-out infinite; }
.ht-skills { justify-self: center; display: flex; gap: 7px; padding: 8px 10px; background: linear-gradient(180deg, #1c130f, #0e0907); border: 1px solid #4a3422; box-shadow: 0 0 0 1px #000, 0 12px 30px rgba(0, 0, 0, .6); }
.skill { position: relative; width: 60px; height: 60px; padding: 0; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2a1c14, #0c0807); border: 1px solid #7a5530; box-shadow: inset 0 0 10px rgba(0, 0, 0, .8); cursor: pointer; }
.skill:hover { border-color: var(--gold-2); }
.sk-ico { position: absolute; inset: 5px; display: block; }
.sk-ico svg { display: block; width: 100%; height: 100%; }
.skill kbd { position: absolute; left: 2px; top: 2px; z-index: 2; min-width: 16px; height: 16px; font-size: 10px; margin: 0; background: rgba(0, 0, 0, .7); }
.skill .cd { position: absolute; inset: 0; z-index: 1; background: conic-gradient(rgba(0, 0, 0, .74) var(--p, 0%), transparent 0); pointer-events: none; }
.skill.nores .sk-ico { filter: grayscale(.9) brightness(.55); }
.skill.flash { animation: ready .45s ease-out; }
.skill-ult { border-color: #a36bd6; }
.skill-ult.ready { box-shadow: inset 0 0 10px rgba(0, 0, 0, .6), 0 0 16px rgba(199, 125, 255, .65); border-color: var(--mythic); }
.skill-pot .pots { position: absolute; right: 3px; bottom: 1px; z-index: 2; font-family: var(--f-head); font-weight: 900; font-size: 14px; color: #fff; text-shadow: 0 1px 2px #000; }

/* ---------- Tokenomics ---------- */
.token { background: radial-gradient(800px 500px at 30% 40%, rgba(120, 60, 160, .1), transparent 70%), var(--bg); }
.token-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 40px; align-items: start; justify-content: center; }
.tt-big { padding: 22px 24px 16px; animation: mythglow 4s ease-in-out infinite; }
.tt-big .tt-name { font-size: 30px; }
.tt-big .tt-ico { width: 76px; height: 76px; }
.tt-sigil svg { width: 66px; height: 66px; display: block; }
.tt-big .tt-stats li { font-size: 18px; padding: 3px 0 3px 18px; }
.tt-big .tt-power, .tt-big .tt-flavor { font-size: 17px; }
.unid { color: #ff4a3a; }
.tt-ca small { color: var(--dim); font-size: 14px; }
.tt-ca [data-ca-short] { font-family: var(--f-mono); font-size: 15px; }
.pc-copy { margin-left: 6px; padding: 2px 8px; background: #2a1a12; color: var(--gold-2); border: 1px solid #6a4a2a; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.coin-stage { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin: -10px auto 4px; display: grid; place-items: center; }
.coin-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.coin-stage .sigil { width: min(240px, 70%); height: auto; filter: drop-shadow(0 0 34px rgba(255, 80, 30, .35)); }
.coin-stage.on .coin-fallback { display: none; }
.coin-stage.on { cursor: pointer; }
.coin-hint { display: none; color: var(--gold); font-style: normal; }
.coin-stage.on + .coin-caption .coin-hint { display: inline; }
.coin-caption { margin: 0 0 22px; text-align: center; font-size: 15px; font-style: italic; color: var(--dim); }
.side-card { padding: 24px 26px; margin-bottom: 20px; }
.side-card h3 { margin: 0 0 8px; font-family: var(--f-head); font-weight: 900; font-size: 22px; color: var(--bone); }
.side-card p { margin: 0; }
.side-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- How to buy ---------- */
.howto { background: linear-gradient(180deg, var(--bg), #0f0806); }
.quest-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.quest { padding: 26px 28px 22px; }
.quest-title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 26px; color: #ffcf8a; }
.quest-ico { color: var(--red); font-size: 18px; }
.quest-desc { margin: 6px 0 0; font-style: italic; color: var(--muted); }
.objectives { list-style: none; margin: 16px 0 0; padding: 0; }
.objectives button {
  position: relative;
  display: block; width: 100%;
  padding: 14px 4px 14px 42px;
  text-align: left;
  background: none; border: 0; border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 18px; line-height: 1.45;
  cursor: pointer;
  transition: color .2s;
}
.objectives b { color: var(--bone); }
.objectives button::before { content: ""; position: absolute; left: 10px; top: 20px; width: 14px; height: 14px; border: 2px solid #8c6a45; transform: rotate(45deg); transition: background .2s, border-color .2s; }
.objectives button[aria-pressed="true"] { color: var(--dim); }
.objectives button[aria-pressed="true"] b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(224, 48, 30, .7); }
.objectives button[aria-pressed="true"]::before { background: var(--red); border-color: var(--gold-2); box-shadow: 0 0 10px rgba(224, 48, 30, .7); }
.objectives button:hover::before { border-color: var(--gold-2); }
.quest-reward { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--f-head); font-size: 14px; letter-spacing: .08em; color: var(--muted); }
.quest-reward b { color: var(--unique); }
.buy-box { padding: 26px; }
.buy-box .ca-box { margin-top: 0; max-width: none; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.buy-warn { margin: 18px 0 0; font-size: 16px; font-style: italic; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: linear-gradient(180deg, #19110d, #110b09); border: 1px solid #33251b; box-shadow: 0 0 0 1px #000; }
.faq-list details[open] { border-color: #6a4a2a; }
.faq-list summary { position: relative; padding: 18px 54px 18px 22px; font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--bone); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin: 0; padding: 0 22px 20px; color: var(--text); }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 130px; background: #070404; border-top: 1px solid rgba(216, 178, 122, .12); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-tag { margin: 0; font-family: var(--f-head); font-weight: 700; letter-spacing: .1em; color: var(--ember); }
.footer-links { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.disclaimer { margin: 28px 0 0; max-width: 900px; font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.copyright { margin: 16px 0 0; font-size: 14.5px; color: var(--dim); }

/* ---------- HUD, toast ---------- */
/* ---------- The host band ---------- */
.hostband {
  position: relative;
  height: clamp(280px, 34vw, 420px);
  overflow: hidden;
  border-top: 1px solid rgba(216, 178, 122, .12);
  border-bottom: 1px solid rgba(216, 178, 122, .12);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.host-art { position: absolute; inset: 0; z-index: -1; }
.host-art svg { display: block; width: 100%; height: 100%; }
.host-copy { text-align: center; padding: 0 20px; }
.host-line { margin: 2px 0 8px; font-size: clamp(38px, 6vw, 76px); line-height: .95; color: var(--bone); text-shadow: 0 2px 24px #000, 0 0 60px rgba(0, 0, 0, .9); }
.host-sub { margin: 0; font-style: italic; color: #e8cba6; text-shadow: 0 2px 10px #000; }
.q-sparks { animation: sparkdrift 9s ease-in-out infinite alternate; }
@keyframes sparkdrift { from { transform: translateY(6px); opacity: .7; } to { transform: translateY(-10px); opacity: 1; } }

/* ---------- Action bar (the game's, borrowed for the site) ---------- */
.abar {
  position: fixed; left: 50%; bottom: 14px; z-index: 70;
  display: flex; align-items: center; gap: 16px;
  max-width: 100vw;
  transform: translateX(-50%);
  transition: opacity .3s ease, transform .3s ease;
}
.abar.away { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(22px); }
.abar .orb { width: 72px; height: 72px; border-width: 2px; box-shadow: 0 0 0 2px #000, 0 0 0 5px #24160e, 0 0 0 6px #000, 0 10px 26px rgba(0, 0, 0, .7), inset 0 0 18px rgba(0, 0, 0, .9); text-decoration: none; }
.abar .orb span { font-size: 15px; }
.abar .orb small { font-size: 11px; opacity: .8; margin-left: 1px; }
.orb-depth i { background: radial-gradient(circle at 42% 30%, #ff7a64, #c01a0e 45%, #4a0404 92%); transform: scaleY(.04); }
.orb-stash i { background: radial-gradient(circle at 42% 30%, #ffdca6, #c8862a 45%, #4a2604 92%); transform: scaleY(0); }
.abar-mid { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.abar-gold {
  display: flex; align-items: center; gap: 6px;
  padding: 2px 11px;
  background: rgba(8, 5, 4, .85); border: 1px solid #4a3422;
  font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .06em;
  color: var(--gold-2); cursor: pointer;
}
.abar-gold:hover { border-color: var(--gold); }
.abar-gold.paid { animation: goldpaid .7s ease-out; }
@keyframes goldpaid {
  0% { border-color: var(--gold-2); box-shadow: 0 0 18px rgba(255, 200, 110, .8); color: #fff6d8; }
  100% { border-color: #4a3422; box-shadow: none; color: var(--gold-2); }
}
.abar-skills { justify-self: center; }
.abar .skill { display: block; width: 54px; height: 54px; text-decoration: none; }
.abar .skill.here { border-color: var(--gold-2); box-shadow: inset 0 0 10px rgba(0, 0, 0, .6), 0 0 14px rgba(216, 178, 122, .5); }
.abar .skill.here .sk-ico { filter: drop-shadow(0 0 5px rgba(255, 190, 120, .6)); }
.abar .skill-ult { border-color: var(--mythic); box-shadow: inset 0 0 10px rgba(0, 0, 0, .6), 0 0 14px rgba(199, 125, 255, .45); }
.abar.bump .orb-stash { animation: bump .45s ease-out; }
@media (max-width: 760px) {
  .abar { gap: 9px; bottom: 10px; }
  .abar .orb { width: 54px; height: 54px; }
  .abar .orb span { font-size: 12px; }
  .abar .skill { width: 46px; height: 46px; }
  .abar-skills { gap: 5px; padding: 6px 7px; }
  .abar-gold { font-size: 11px; padding: 1px 8px; }
}
@media (max-width: 440px) {
  .abar .orb-depth { display: none; }
  .abar .skill { width: 44px; height: 44px; }
}
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 95;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 18px;
  transform: translate(-50%, 140%);
  background: rgba(14, 8, 6, .97);
  border: 1px solid #7a5530;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  font-size: 17px; line-height: 1.4; text-align: center;
  color: var(--bone);
  opacity: 0;
  transition: transform .3s cubic-bezier(.2, 1.2, .4, 1), opacity .3s;
  pointer-events: none;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast .t { color: var(--gold-2); }
.toast .r { font-family: var(--f-head); font-weight: 700; }

/* ---------- Secrets ---------- */
.butcher {
  position: fixed; z-index: 80;
  width: 150px; height: 162px;
  padding: 0; background: none; border: 0;
  cursor: var(--sword);
  transition: left 1.8s linear, top 1.8s linear;
}
.butcher img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 18px rgba(255, 40, 20, .5)); }
.butcher.hit img { animation: hit .18s; }
.butcher-say { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; background: rgba(12, 7, 6, .95); border: 1px solid #7a1a0e; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: #ff6a4a; }
.cows { position: fixed; inset: 0; z-index: 85; pointer-events: none; overflow: hidden; }
.cows img { position: absolute; top: -80px; width: 64px; height: 64px; animation: cowfall var(--t, 3s) linear forwards; }
.uber-flash { position: fixed; inset: 0; z-index: 85; pointer-events: none; background: radial-gradient(circle, rgba(199, 125, 255, .35), transparent 70%); animation: fadeout 1.4s forwards; }

/* ---------- Keyframes ---------- */
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes lava { 50% { opacity: .7; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes pulse { 50% { opacity: .65; transform: translate(-50%, -50%) scale(1.04); } }
@keyframes breathe { 50% { transform: scale(1.012, 1.018); } }
@keyframes headbob { 50% { transform: translateY(2px) rotate(-.4deg); } }
@keyframes bgpulse { 0%, 100% { opacity: .88; } 50% { opacity: 1; } }
@keyframes blinkeyes { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.12); } }
@keyframes gem { 50% { transform: scale(1.12); opacity: .85; } }
@keyframes hit { 0% { transform: translate(0, 0); filter: brightness(2.2) saturate(.3); } 40% { transform: translate(-6px, 2px); } 70% { transform: translate(4px, -1px); } 100% { transform: none; filter: none; } }
@keyframes hitbig { 0% { transform: scale(1.03); filter: brightness(2.8) saturate(0); } 30% { transform: translate(-10px, 3px) rotate(-1deg); } 65% { transform: translate(8px, -2px) rotate(1deg); } 100% { transform: none; filter: none; } }
@keyframes sinkdown { 0% { transform: none; filter: brightness(2) saturate(0); } 25% { filter: brightness(.6) sepia(1) hue-rotate(-30deg) saturate(3); } 100% { transform: translateY(26%) scale(.94); opacity: 0; filter: brightness(.2); } }
@keyframes riseup { 0% { transform: translateY(18%) scale(.96); opacity: 0; filter: brightness(3) saturate(0); } 60% { opacity: 1; } 100% { transform: none; filter: none; } }
@keyframes dmg { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 12% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); } 30% { transform: translate(-50%, -80%) scale(1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), -260%) scale(.9); } }
@keyframes dropin { 0% { opacity: 0; transform: translate(var(--fx, 0px), -170px) rotate(-30deg) scale(.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes pickup { to { opacity: 0; transform: translateY(-40px) scale(.6); } }
@keyframes beam { 50% { opacity: .85; height: 250px; } }
@keyframes slain { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%); } }
@keyframes died { 0% { opacity: 0; letter-spacing: .4em; filter: blur(8px); } 100% { opacity: 1; letter-spacing: .06em; filter: none; } }
@keyframes orbfull { 50% { box-shadow: 0 0 0 2px #000, 0 0 0 7px #24160e, 0 0 0 8px #000, 0 0 30px rgba(120, 180, 255, .8), inset 0 0 22px rgba(0, 0, 0, .9); } }
@keyframes ready { 0% { box-shadow: 0 0 0 0 rgba(255, 220, 160, .9); } 100% { box-shadow: 0 0 0 10px rgba(255, 220, 160, 0); } }
@keyframes mythglow { 50% { box-shadow: 0 0 0 1px #000, 0 20px 44px rgba(0, 0, 0, .65), 0 0 50px rgba(199, 125, 255, .22); } }
@keyframes ttin { from { opacity: 0; transform: translateY(4px); } }
@keyframes bump { 40% { transform: scale(1.08); border-color: var(--gold-2); } }
@keyframes cowfall { to { transform: translateY(calc(100vh + 160px)) rotate(var(--r, 360deg)); } }
@keyframes fadeout { to { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stash-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 28px); }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-mark { margin: 0 auto; width: min(520px, 92%); }
  .hero-musk { justify-content: center; }
  .hero-actions { justify-content: center; }
  .ca-box { margin-left: auto; margin-right: auto; width: 100%; }
  .lore-wrap { grid-template-columns: 1fr; gap: 0; }
  .lore-stage { top: var(--nav-h); height: 44vh; z-index: 2; margin: 0 -20px; background: linear-gradient(180deg, var(--bg) 85%, transparent); padding: 8px 12px 18px; }
  .lore-hud { left: 22px; bottom: 22px; }
  .lore-steps { padding: 4vh 0 10vh; }
  .lore-step { min-height: 64vh; align-items: flex-start; padding-top: 4vh; }
  .token-grid, .quest-grid { grid-template-columns: 1fr; }
  .token-card { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  :root { --nav-h: 60px; }
  .nav { gap: 10px; padding: 0 12px; }
  .brand-name { font-size: 30px; }
  .brand-sigil { width: 38px; height: 38px; }
  .nav-cta .btn { padding: 0 12px; font-size: 11.5px; }
  .section { padding: 84px 0; }
  .sec-head { margin-bottom: 40px; }
  .hero-sub, .sec-sub { font-size: 18px; }
  .btn-lg { --h: 52px; padding: 0 20px; font-size: 14px; }
  .stash { padding: 16px 12px 14px; }
  .stash-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .stash-actions { margin-left: 0; }
  .ht-stage { aspect-ratio: 4 / 5; }
  .ht-hud { grid-template-columns: auto 1fr auto; gap: 6px; margin-top: -30px; padding: 0; }
  .orb { width: 70px; height: 70px; border-width: 2px; }
  .orb span { font-size: 14px; }
  .ht-skills { gap: 4px; padding: 5px; }
  .skill { width: 44px; height: 44px; }
  .sk-ico { inset: 3px; }
  .ht-keys { display: none; }
  .dead-stats { gap: 16px; }
  .dead-stats dd { font-size: 22px; }
  .step-card { padding: 22px 20px 18px; }
  .step-card h3 { font-size: 25px; }
  .hud { right: 10px; bottom: 10px; }
  .butcher { width: 110px; height: 119px; }
}
@media (max-width: 560px) {
  .mars { display: none; }
  .ht-hud { grid-template-columns: auto 1fr auto; grid-template-areas: "life . hype" "skills skills skills"; row-gap: 10px; margin-top: -34px; }
  .orb-life { grid-area: life; }
  .orb-hype { grid-area: hype; }
  .ht-skills { grid-area: skills; gap: 6px; padding: 6px 8px; }
  .skill { width: 52px; height: 52px; }
  .sk-ico { inset: 4px; }
  .lore-hud { padding: 4px 9px; font-size: 11px; }
  .lore-hud b { font-size: 15px; }
  .lore-bar { width: 56px; }
}
@media (max-width: 420px) {
  .nav-cta .icon-btn[data-sound-toggle] { display: none; }
  .orb { width: 62px; height: 62px; }
  .ht-cinders > span { display: none; }
}

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