:root {
    --ink: #0b0908;
    --stone: #15110d;
    --stone-2: #1d1711;
    --line: #3a2f20;
    --gold: #c8a060;
    --gold-bright: #f0cf8a;
    --blood: #b01818;
    --blood-deep: #5e0c0c;
    --bone: #e6dcc0;
    --dust: #9a8f78;
    --display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --body: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 17px/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--gold-bright); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }

/* ---- top bar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; background: linear-gradient(#000e, #000a 60%, #0000); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.top .name { font: 15px var(--display); letter-spacing: 5px; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--bone); text-decoration: none; font-size: 14px; letter-spacing: 1px; opacity: 0.85; }
.top nav a:hover { color: var(--gold-bright); opacity: 1; }

/* ---- hero */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden;
    background: #000 url(img/hero.jpg) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, #0000 0, #000a 70%), linear-gradient(#0000 55%, var(--ink)); }
.hero .inner { position: relative; z-index: 2; padding: 120px 0 90px; }
#portal { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero h1 { margin: 0; }
.hero h1 img { width: min(600px, 84vw); margin: 0 auto; filter: drop-shadow(0 6px 28px #000); }
.tagline { margin: 10px 0 0; font: italic 22px var(--display); color: var(--bone); text-shadow: 0 2px 10px #000; }
.pitch { margin: 18px auto 0; max-width: 620px; color: #d6cbb0; text-shadow: 0 2px 8px #000; }
.cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 30px; font: 17px var(--display); letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
    border: 1px solid var(--gold); color: var(--gold-bright); background: #14100bd9; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: #241a10; transform: translateY(-2px); }
.btn.primary { background: linear-gradient(#b01818, #6d0f0f); border-color: #e0a070; color: #fff3da; box-shadow: 0 0 34px #b0181866; }
.btn.primary:hover { background: linear-gradient(#c82020, #7d1212); }
.needs { margin-top: 16px; font-size: 13px; color: var(--dust); text-shadow: 0 1px 6px #000; }

/* ---- the count */
.count { background: var(--stone); border-block: 1px solid var(--line); }
.count ul { list-style: none; margin: 0 auto; padding: 30px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; text-align: center; }
.count b { display: block; font: 34px var(--display); color: var(--gold-bright); line-height: 1.1; }
.count span { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dust); }

/* ---- sections */
section { padding: 84px 0; }
section.alt { background: var(--stone) url(img/stone.jpg); background-blend-mode: multiply; background-color: #2a2119; border-block: 1px solid var(--line); }
h2 { margin: 0 0 8px; font: 38px var(--display); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); text-align: center; }
h2 + .lede { margin: 0 auto 44px; max-width: 680px; text-align: center; color: #cfc4a8; }
.rule { width: 120px; height: 1px; margin: 0 auto 18px; background: linear-gradient(90deg, #0000, var(--blood), #0000); }
h3 { margin: 0 0 6px; font: 22px var(--display); letter-spacing: 1px; color: var(--gold-bright); }

/* ---- shots */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shots figure { margin: 0; background: var(--stone-2); border: 1px solid var(--line); }
.shots img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-bottom: 1px solid var(--line); }
.shots figcaption { padding: 14px 18px 18px; }
.shots p { margin: 0; color: #cfc4a8; font-size: 15.5px; }

/* ---- heroes */
.heroes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px; background: #110d09e6; border: 1px solid var(--line); }
.card .portrait { width: 170px; height: 170px; object-fit: cover; border: 1px solid #5a4830; background: #000; }
.card p { margin: 0 0 12px; color: #d6cbb0; font-size: 15.5px; }
.skills { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.skills li { position: relative; }
.skills img { width: 46px; height: 46px; border: 1px solid #5a4830; }
.skills li::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap;
    padding: 3px 8px; font-size: 12px; background: #000; border: 1px solid var(--line); color: var(--bone); opacity: 0; pointer-events: none; transition: opacity .15s; }
.skills li:hover::after { opacity: 1; }

/* ---- descent */
.descent { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: area; }
.descent li { position: relative; padding: 26px 22px 28px; border: 1px solid var(--line); margin-left: -1px; background: linear-gradient(#17120d, #0d0a08); }
.descent li:first-child { margin-left: 0; }
.descent .floors { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--dust); }
.descent .boss { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.descent .boss b { display: block; color: #e86a5a; font: 18px var(--display); }
.descent .boss i { color: var(--dust); font-size: 14px; }
.descent p { margin: 6px 0 0; font-size: 15px; color: #cfc4a8; }
.loop { margin: 30px auto 0; max-width: 760px; text-align: center; padding: 20px 24px; border: 1px solid var(--blood-deep); background: #1a0b0a; color: #e9d7c6; }
.loop b { color: #ff8a70; }

/* ---- loot */
.loot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.hoard { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.hoard li { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(#2a2016, #0e0b08); border: 1px solid var(--line); }
.hoard li:nth-child(-n+12) { border-color: #7a5a2a; }
.hoard img { width: 82%; filter: drop-shadow(0 3px 5px #000); transition: transform .2s; }
.hoard li:hover img { transform: scale(1.14); }
.facts { list-style: none; margin: 18px 0 0; padding: 0; }
.facts li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; color: #d6cbb0; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; background: var(--blood); transform: rotate(45deg); }
.facts b { color: var(--gold-bright); font-weight: normal; }

/* ---- camp and keys */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.keys { width: 100%; border-collapse: collapse; }
.keys td { padding: 8px 0; border-bottom: 1px solid var(--line); color: #d6cbb0; }
.keys td:first-child { width: 42%; }
kbd { display: inline-block; min-width: 30px; padding: 2px 8px; margin-right: 3px; text-align: center; font: 13px Consolas, monospace; color: var(--gold-bright); background: #0c0906; border: 1px solid #6b5a3a; border-radius: 3px; }

/* ---- last call and foot */
.last { text-align: center; background: linear-gradient(#0000, #2a0b0b66), var(--ink); }
.last p { max-width: 560px; margin: 0 auto 28px; color: #cfc4a8; }
footer { padding: 28px 0 40px; border-top: 1px solid var(--line); text-align: center; color: var(--dust); font-size: 14px; }

@media (max-width: 900px) {
    .count ul { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
    .shots, .heroes, .loot, .two { grid-template-columns: 1fr; }
    .descent { grid-template-columns: 1fr 1fr; }
    .descent li { margin: -1px 0 0 -1px; }
    .top nav { display: none; }
    h2 { font-size: 30px; }
}
@media (max-width: 520px) {
    body { font-size: 16px; }
    .card { grid-template-columns: 1fr; }
    .card .portrait { width: 100%; height: auto; aspect-ratio: 1; }
    .descent { grid-template-columns: 1fr; }
    .hoard { grid-template-columns: repeat(4, 1fr); }
    section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .hoard img { transition: none; } }

/* ---- skills: the click-to-read box, and the full list (index.php?skills) */
button.skill { padding: 0; border: 1px solid #5a4830; background: #000; cursor: pointer; display: block; line-height: 0; transition: border-color .15s, transform .15s; }
button.skill:hover { border-color: var(--gold-bright); transform: translateY(-2px); }
button.skill img { width: 46px; height: 46px; border: 0; }
.card .more { margin: 10px 0 0; font-size: 13.5px; color: var(--dust); }
.meta { margin: 0 0 8px; font-size: 13px; letter-spacing: .5px; color: var(--dust); }
.ranks { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.ranks th { text-align: left; font-weight: normal; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dust); padding: 4px 8px 4px 0; border-bottom: 1px solid var(--line); }
.ranks td { padding: 4px 8px 4px 0; border-bottom: 1px solid #2a2219; color: #d6cbb0; vertical-align: top; width: 50%; }
.ranks td:last-child { color: var(--gold-bright); }
#skill-box { width: min(480px, 92vw); padding: 22px 24px 20px; color: var(--bone); background: #14100b; border: 1px solid var(--gold); box-shadow: 0 0 60px #000; }
#skill-box::backdrop { background: #000b; }
#skill-box .top-row { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
#skill-box .top-row img { border: 1px solid #5a4830; }
#skill-box h3 { margin: 0 0 2px; }
#skill-box p { margin: 0 0 6px; }
#skill-box .close { position: absolute; right: 8px; top: 4px; border: 0; background: none; color: var(--dust); font-size: 28px; cursor: pointer; }
#skill-box .close:hover { color: var(--gold-bright); }
.skillpage:first-of-type { padding: 130px 0 30px; }
.skillpage { padding: 56px 0; }
.jump { text-align: center; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0; }
.jump .btn { padding: 9px 20px; font-size: 14px; }
.classhead { display: flex; gap: 22px; align-items: center; margin-bottom: 10px; }
.classhead img { border: 1px solid #5a4830; }
.classhead h2 { text-align: left; margin: 0; }
.classhead p { margin: 4px 0 0; color: #cfc4a8; max-width: 640px; }
h3.branch { margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--blood-deep); font-size: 24px; color: #e86a5a; letter-spacing: 2px; text-transform: uppercase; }
.skillgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sk { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 14px 16px; background: #110d09e6; border: 1px solid var(--line); scroll-margin-top: 70px; }
.sk.passive { border-left: 3px solid #6b5a3a; }
button.skill.passive { border-radius: 50%; overflow: hidden; border-color: #4a8e9c; box-shadow: 0 0 0 2px #0b0907, 0 0 0 3px #2c5560; }
button.skill.passive:hover { border-color: #9be0ee; }
button.skill.passive img { border-radius: 50%; }
.sk.passive { border-left-color: #4a8e9c; }
.sk.active { border-left: 3px solid var(--blood); }
.sk button.skill { align-self: start; width: 58px; height: 58px; }   /* the icon sits at the top of its card, not stretched down it */
.sk button.skill img { width: 56px; height: 56px; }
.sk h4 { margin: 0; font: 19px var(--display); color: var(--gold-bright); }
.sk p { margin: 0 0 4px; font-size: 15px; color: #d6cbb0; }
section[id] { scroll-margin-top: 50px; }
@media (max-width: 900px) { .skillgrid { grid-template-columns: 1fr; } }

/* ---- the story */
.narrow { width: min(760px, 92vw); }
.story p { color: #d6cbb0; font-size: 18px; }
.story b { color: var(--gold-bright); font-weight: normal; }
.story .twist { margin-top: 26px; text-align: center; font: italic 22px var(--display); color: #e86a5a; }
.story .facts { margin-top: 22px; }
.card .why { font-size: 14.5px; color: #b9ad90; font-style: italic; border-left: 2px solid var(--blood-deep); padding-left: 12px; }
.descent blockquote { margin: 12px 0 0; padding: 0; font: italic 15px var(--display); color: #e8b0a0; }
.descent .boss { margin-top: 10px; }
.descent li p { font-size: 14.5px; }

/* ---- the way in (front page): a stone plaque over everything until it is clicked ---- */
#gate { display: none; }
.gated { overflow: hidden; }
.gated #gate, #gate.open { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
    background: radial-gradient(ellipse at 50% 50%, #1a0606 0, #050303 60%, #000 100%); }
#gate.open { opacity: 0; transform: scale(1.12); pointer-events: none; transition: opacity 1.5s ease, transform 1.6s ease; }
#gate-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#gate button { position: relative; padding: 0; border: 0; background: none; cursor: pointer; width: min(760px, 92vw); animation: gate-breathe 3.2s ease-in-out infinite; transition: transform .25s; }
#gate button img { display: block; width: 100%; height: auto; }
#gate button:hover, #gate button:focus-visible { transform: scale(1.04); outline: none; filter: drop-shadow(0 0 34px #d0201899) brightness(1.15); animation: none; }
@keyframes gate-breathe { 0%, 100% { filter: drop-shadow(0 0 10px #a0181833); } 50% { filter: drop-shadow(0 0 30px #c0201877) brightness(1.07); } }
@media (prefers-reduced-motion: reduce) { #gate button { animation: none; } #gate.open { transition: opacity .4s; transform: none; } }

/* Loot: the hoard and the facts start level; under them, what the colour of an item's name means */
.loot { align-items: start; }
.rarity-block { margin-top: 54px; text-align: center; }
.rarity-block h3 { margin: 0 0 8px; }
.rarity-block p { margin: 0 auto; max-width: 640px; color: #b9ad92; }
.rarity { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.rarity li { display: flex; flex-direction: column; gap: 8px; padding: 18px 10px 16px; background: linear-gradient(#17120c, #0b0907); border: 1px solid var(--line); border-top: 2px solid var(--c); box-shadow: 0 -10px 24px -16px var(--c), inset 0 14px 22px -18px var(--c); transition: transform .2s, box-shadow .2s; }
.rarity li:hover { transform: translateY(-4px); box-shadow: 0 -12px 28px -12px var(--c), inset 0 18px 26px -16px var(--c); }
.rarity b { color: var(--c); font-weight: normal; font-size: 19px; letter-spacing: 1px; text-shadow: 0 0 12px var(--c); }
.rarity span { color: #a99d84; font-size: 14px; line-height: 1.4; }
@media (max-width: 980px) { .rarity { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .rarity { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .rarity li { transition: none; } }

/* What the deep gives back (milestones), and the extra facts under the keys */
.deeds { max-width: 760px; margin: 54px auto 0; }
.deeds h3 { margin: 0 0 8px; text-align: center; }
.deeds > p { margin: 0; text-align: center; color: #b9ad92; }
.playfacts { max-width: 760px; margin: 34px auto 0; }
/* The game's gold coin either side of a heading. */
h2.coined { display: flex; align-items: center; justify-content: center; gap: 16px; }
h2.coined img { width: 56px; height: 56px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); }
/* Loot: point at an item (or tap it) to read what it is and what it does. */
.hoard li { position: relative; cursor: help; outline: none; }
.hoard li:focus-visible { border-color: var(--gold); }
.hoard .tip { display: none; position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 230px; padding: 10px 12px; background: #0b0907f2; border: 1px solid #7a5a2a; box-shadow: 0 8px 22px #000c; text-align: center; font-size: 14px; line-height: 1.35; pointer-events: none; }
.hoard li:hover .tip, .hoard li:focus .tip { display: block; }
.hoard:hover li:focus:not(:hover) .tip { display: none; }   /* one at a time: the one pointed at wins over the one last clicked */
.hoard .tip b { display: block; color: #c9a45c; font-size: 16px; }
.hoard li.set .tip b { color: #5fd35f; }
.hoard .tip i { display: block; margin: 2px 0 6px; color: #9c917a; font-size: 12px; }
.hoard .tip span { display: block; color: #8fa8ff; }
.hoard li:nth-child(6n+1) .tip { left: 0; transform: none; }
.hoard li:nth-child(6n) .tip { left: auto; right: 0; transform: none; }
@media (max-width: 520px) {
    .hoard li:nth-child(n) .tip { left: 50%; right: auto; transform: translateX(-50%); }
    .hoard li:nth-child(4n+1) .tip { left: 0; transform: none; }
    .hoard li:nth-child(4n) .tip { left: auto; right: 0; transform: none; }
}
/* The banner's moving picture: laid exactly as the still one is (cover, centred), so the portal drawn over it stays in its place. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; pointer-events: none; }
/* The game's own pointers (hot spot at the tip, as in the game): the gauntlet everywhere, the taking hand on what can be
   clicked, the speaking one on what explains itself. */
html, body { cursor: url(img/cursor.png) 2 2, default; }
a, button, summary, label, [role="button"], .btn, #gate button, #skill-box .close { cursor: url(img/cursor_pickup.png) 2 2, pointer; }
.hoard li, button.skill { cursor: url(img/cursor_talk.png) 2 2, help; }
/* Each hero's skills, folded away behind a button until asked for. */
details.fold > summary { display: inline-block; list-style: none; margin: 4px 0 0; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary .open, details.fold[open] > summary .shut { display: none; }
details.fold[open] > summary .open { display: inline; }
details.fold[open] > summary { margin-bottom: 8px; }
/* How to play: the charms. */
.charms { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.charms h3 { text-align: center; }
.charms > p { max-width: 720px; margin: 0 auto 22px; text-align: center; color: #cfc4a8; }
.charmlist { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0 0 24px; padding: 0; }
.charmlist li { width: 190px; padding: 14px 10px; text-align: center; background: radial-gradient(#2a2016, #0e0b08); border: 1px solid #7a5a2a; }
.charmlist img { display: block; width: 72px; height: 72px; margin: 0 auto 8px; object-fit: contain; filter: drop-shadow(0 3px 5px #000); }
.charmlist b { display: block; color: #8fa8ff; }
.charmlist span { display: block; font-size: 13px; color: #9c917a; }
/* ... and what each does, when pointed at or tapped (as the loot's cards). */
.charmlist li { position: relative; outline: none; cursor: url(img/cursor_talk.png) 2 2, help; }
.charmlist li:focus-visible { border-color: var(--gold); }
.charmlist .tip { display: none; position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 330px; padding: 10px 12px; background: #0b0907f2; border: 1px solid #7a5a2a; box-shadow: 0 8px 22px #000c; text-align: left; font-size: 13px; line-height: 1.35; pointer-events: none; columns: 2; column-gap: 14px; }
.charmlist li:hover .tip, .charmlist li:focus .tip { display: block; }
.charmlist:hover li:focus:not(:hover) .tip { display: none; }
.charmlist .tip b { color: #8fa8ff; font-size: 16px; column-span: all; text-align: center; }
.charmlist .tip i, .charmlist .tip em { display: block; column-span: all; text-align: center; font-size: 12px; color: #9c917a; margin: 2px 0 6px; }
.charmlist .tip em { font-style: normal; color: #cfc4a8; }
.charmlist .tip span { display: block; color: #8fa8ff; font-size: 12.5px; break-inside: avoid; }
@media (max-width: 520px) { .charmlist .tip { width: 260px; columns: 1; } }
.charmhead { text-align: center; margin: 6px 0 8px; color: var(--gold); font: 22px var(--display); letter-spacing: 2px; text-transform: uppercase; }
.charmlist li.own { border-color: #5a7a3a; }
.charmlist li.own > b { color: #c9a45c; }
.charmlist .tip.one { columns: 1; width: 300px; text-align: center; }
.charmhead { margin-top: 26px; }
.charmsub { text-align: center; margin: 14px 0 6px; color: var(--gold-bright); font: 17px var(--display); letter-spacing: 3px; text-transform: uppercase; }
.charms > p { margin-bottom: 16px; }
.charmlist li.hunt { border-color: #b59a2a; }
.charmlist li.hunt > b { color: #ffe65c; }
.charmlist li.ultra { border-color: #d9a55a; box-shadow: 0 0 14px #d9a55a40; }
.charmlist li.ultra > b { color: #d9a55a; }

.achs { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.achs li { display: flex; gap: 14px; align-items: center; padding: 12px; background: #0007; border: 1px solid var(--line); }
.achs img, .achs .aph { flex: none; width: 64px; height: 64px; border: 1px solid var(--line); }
.achs .aph { background: radial-gradient(circle at 50% 40%, #3a2c12, #120d06); }
.achs b { display: block; color: var(--gold-bright); font-weight: normal; letter-spacing: 1px; }
.achs span { color: #d6cbb0; font-size: 15px; }
/* Achievements: grey and unnamed until clicked */
.achs li { cursor: pointer; transition: border-color .2s, background .2s; }
.achs li:hover, .achs li:focus-visible { border-color: var(--gold-bright); outline: none; }
.achs img, .achs .aph { transition: filter .3s, opacity .3s; }
.achs li:not(.open) img, .achs li:not(.open) .aph { filter: grayscale(1) brightness(.6); opacity: .8; }
.achs li:not(.open) div > * { display: none; }
.achs li:not(.open) div::before { content: 'Locked. Click to reveal.'; color: #8a8068; font-size: 15px; letter-spacing: 1px; }
.achs li.open { background: #1a130a99; }
.achs-bar { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; color: #a89c80; font-size: 15px; }
.achs-bar button { font: inherit; letter-spacing: 1px; color: var(--gold-bright); background: #0007; border: 1px solid var(--line); padding: 6px 14px; cursor: pointer; }
.achs-bar button:hover, .achs-bar button:focus-visible { border-color: var(--gold-bright); outline: none; }

/* Loot: the numbers across the top, the hoard beside a short list, and the rest as cards. */
.lootnums { list-style: none; margin: 30px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; gap: 10px; text-align: center; }
.lootnums li { padding: 20px 10px 16px; background: linear-gradient(#1a140d, #0b0907); border: 1px solid var(--line); border-top: 2px solid #7a5a2a; }
.lootnums b { display: block; font: 32px var(--display); color: var(--gold-bright); line-height: 1.1; }
.lootnums span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dust); }
.lootnums .big { border-top-color: #ffe65c; box-shadow: 0 -10px 26px -14px #ffe65c, inset 0 18px 26px -18px #ffe65c; }
.lootnums .big b { color: #ffe65c; text-shadow: 0 0 14px #ffe65c66; }
.loot .facts { margin-top: 14px; }
.loot .facts li { padding-block: 8px; }
.lootcards { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lootcards li { padding: 20px 22px; background: linear-gradient(#17120c, #0b0907); border: 1px solid var(--line); border-left: 2px solid var(--blood); }
.lootcards h4 { margin: 0 0 8px; font: 20px var(--display); color: var(--gold-bright); font-weight: normal; letter-spacing: .5px; }
.lootcards p { margin: 0; color: #c9bea4; font-size: 15px; line-height: 1.55; }
.lootcards b { color: var(--gold-bright); font-weight: normal; }
.lootcards .leech { border-left-color: #d9a55a; box-shadow: inset 30px 0 40px -34px #d9a55a; }
@media (max-width: 900px) { .lootnums { grid-template-columns: repeat(2, 1fr); } .lootnums .big { grid-column: 1 / -1; } .lootcards { grid-template-columns: 1fr; } }

/* Who you will meet: the camp's people, the monsters and the bosses, each a figure cut from the game's own pictures. */
.whohead { margin: 40px 0 16px; text-align: center; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-size: 15px; }
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.who.camp { grid-template-columns: repeat(7, 1fr); }
.who.bosses { grid-template-columns: repeat(4, 1fr); }
.who li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 10px 16px; background: radial-gradient(ellipse at 50% 28%, #4a3a26, #0e0b08 72%); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.who li:hover { transform: translateY(-4px); border-color: #7a5a2a; }
.who img { width: 104px; height: 104px; filter: brightness(1.3) drop-shadow(0 6px 6px #000); }
.who b { margin-top: 8px; color: var(--gold-bright); font-weight: normal; font-size: 16px; }
.who span { margin-top: 5px; color: #a99d84; font-size: 13px; line-height: 1.4; }
.who.camp li { border-top: 2px solid #7a5a2a; }
.who .boss { border-top: 2px solid var(--blood); box-shadow: inset 0 22px 30px -22px var(--blood); }
.who .boss img { width: 150px; height: 150px; }
.who .boss span { font-style: italic; }
.whonote { margin: 22px auto 0; max-width: 720px; text-align: center; color: #b9ad92; }
.whonote b, .whoLeech b { color: var(--gold-bright); font-weight: normal; }
.whoLeech { margin: 40px auto 0; max-width: 720px; display: flex; gap: 22px; align-items: center; padding: 18px 26px; background: linear-gradient(#17120c, #0b0907); border: 1px solid var(--line); border-left: 2px solid #d9a55a; box-shadow: inset 30px 0 40px -34px #d9a55a; }
.whoLeech img { width: 110px; height: 110px; flex: none; filter: drop-shadow(0 0 10px #d9a55a88); }
.whoLeech h4 { margin: 0 0 6px; font: 20px var(--display); color: var(--gold-bright); font-weight: normal; }
.whoLeech p { margin: 0; color: #c9bea4; }
@media (max-width: 980px) { .who, .who.camp { grid-template-columns: repeat(3, 1fr); } .who.bosses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .who, .who.camp { grid-template-columns: repeat(2, 1fr); } .whoLeech { flex-direction: column; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .who li { transition: none; } }

/* Patch notes (patchnotes.json, written from the game's js/patchnotes.js). */
.patch { margin-top: 30px; padding: 22px 26px; background: linear-gradient(#17120c, #0b0907); border: 1px solid var(--line); border-left: 2px solid var(--blood); text-align: left; }
.patch h3 { margin: 0; color: var(--gold-bright); }
.patch h3 em { font-style: normal; font-size: 14px; color: var(--dust); margin-left: 10px; }
.patch h4 { margin: 18px 0 0; color: var(--gold); font-weight: normal; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.patch .facts { margin-top: 6px; }

/* The Ashen Phoenix: the quest's own monster, in the fire's colours. */
.whoLeech.phoenix { border-left-color: #e8641e; box-shadow: inset 30px 0 40px -34px #e8641e; }
.whoLeech.phoenix img { filter: brightness(1.5) drop-shadow(0 0 14px #e8641e88); }
#relics .charmlist li { border-color: #6a4a8a; }

/* The game in numbers: centred, each number in struck gold with a rule between it and the next. */
.count { background: radial-gradient(ellipse at 50% 0%, #2a1f12 0%, var(--stone) 62%), var(--stone); box-shadow: inset 0 18px 30px -22px #000, inset 0 -18px 30px -22px #000; position: relative; }
.count::before, .count::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: min(720px, 80%); height: 1px; background: linear-gradient(90deg, transparent, #c8a060aa, transparent); }
.count::before { top: 0; } .count::after { bottom: 0; }
.count li { position: relative; padding: 6px 4px; }
.count li + li::before { content: ""; position: absolute; left: -5px; top: 14%; height: 72%; width: 1px; background: linear-gradient(transparent, #5a4628, transparent); }
.count b { font-size: clamp(30px, 3.4vw, 46px); background: linear-gradient(#fff1c4 10%, #f0cf8a 45%, #b07e34 95%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 14px #c8882a55); }
.count span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 3px; color: #b9a67e; }
.count span::before { content: "\2726"; display: block; margin-bottom: 6px; font-size: 9px; letter-spacing: 0; color: #8a6a34; }
@media (max-width: 900px) { .count li:nth-child(3n+1)::before { display: none; } }

/* Countdown: the seals */
.vigil { margin: 26px auto 8px; max-width: 640px; }
.vigil-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; font-family: var(--display); letter-spacing: .22em; text-transform: uppercase; font-size: .82rem; color: var(--gold-bright); text-shadow: 0 0 14px #b0181880; }
.vigil-head i { flex: 1; max-width: 90px; height: 1px; background: linear-gradient(90deg, #0000, var(--gold), #0000); }
.vigil-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vigil-cell { position: relative; padding: 14px 4px 10px; background: linear-gradient(#1d1711ee, #0b0908ee); border: 1px solid var(--line); border-top-color: var(--gold); box-shadow: inset 0 0 22px #000, 0 0 24px #5e0c0c66, 0 6px 22px #000a; }
.vigil-cell::before, .vigil-cell::after { content: ""; position: absolute; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 8px var(--blood); animation: vigil-ember 3.2s ease-in-out infinite; }
.vigil-cell::before { left: 6px; } .vigil-cell::after { right: 6px; animation-delay: -1.6s; }
.vigil-cell b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; color: var(--gold-bright); text-shadow: 0 0 18px #c8601866, 0 2px 0 #000; font-variant-numeric: tabular-nums; }
.vigil-cell b.pulse { animation: vigil-tick .9s ease-out; }
.vigil-cell span { display: block; margin-top: 8px; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--dust); }
.vigil-open { margin: 0; font-family: var(--display); font-size: 1.7rem; letter-spacing: .12em; color: var(--gold-bright); text-shadow: 0 0 22px var(--blood); }
@keyframes vigil-ember { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes vigil-tick { 0% { text-shadow: 0 0 30px #ff7a20, 0 2px 0 #000; color: #fff2d0; } 100% { text-shadow: 0 0 18px #c8601866, 0 2px 0 #000; } }
@media (max-width: 520px) { .vigil-row { gap: 6px; } .vigil-head { letter-spacing: .12em; font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .vigil-cell::before, .vigil-cell::after, .vigil-cell b.pulse { animation: none; } }

.btn.steam-soon, .btn[aria-disabled="true"] { opacity: .45; filter: grayscale(1); cursor: not-allowed; pointer-events: auto; }
.btn.steam-soon:hover { background: inherit; transform: none; }

/* Patch notes folded */
details.patch > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
details.patch > summary::-webkit-details-marker, details.psec > summary::-webkit-details-marker { display: none; }
details.patch > summary::before { content: "\25B8"; color: var(--blood); transition: transform .2s; }
details.patch[open] > summary::before { transform: rotate(90deg); }
details.patch > summary .pt { font: 22px var(--display); color: var(--gold-bright); }
details.patch > summary em { font-style: normal; font-size: 14px; color: var(--dust); }
details.psec { margin-top: 14px; border-top: 1px solid var(--line); }
details.psec > summary { cursor: pointer; list-style: none; padding: 10px 0 2px; color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
details.psec > summary::before { content: "+ "; color: var(--blood); }
details.psec[open] > summary::before { content: "\2212 "; }
details.psec > summary small { color: var(--dust); letter-spacing: 0; margin-left: 6px; }

/* Loot browser */
.lb-tabs { display: flex; gap: 8px; margin: 22px 0 18px; }
.lb-tabs button { font: 15px var(--display); letter-spacing: 2px; text-transform: uppercase; padding: 10px 20px; background: var(--stone); color: var(--dust); border: 1px solid var(--line); }
.lb-tabs button.on { color: var(--gold-bright); border-color: var(--gold); background: var(--stone-2); }
.lb-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lb-filters input, .lb-filters select { background: #120e0a; color: var(--bone); border: 1px solid var(--line); padding: 10px 12px; font: 15px var(--body); }
.lb-filters input[type=search] { flex: 1 1 280px; }
.lb-filters input[type=number] { width: 78px; }
.lb-filters label { color: var(--dust); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.lb-count { margin: 16px 0 10px; color: var(--dust); font-size: 14px; }
.lb-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.lb-card { display: flex; gap: 14px; padding: 14px; background: linear-gradient(#17120c, #0b0907); border: 1px solid var(--line); border-left: 3px solid var(--line); }
.lb-card.r-unique { border-left-color: #d9a55a; } .lb-card.r-special { border-left-color: #c8402e; } .lb-card.r-set { border-left-color: #4fd35b; }
.lb-card img { width: 64px; height: 64px; object-fit: contain; flex: none; background: #0007; border: 1px solid #2a2218; image-rendering: auto; }
.lb-card h3 { margin: 0; font-size: 18px; }
.lb-card.r-unique h3 { color: #d9a55a; } .lb-card.r-special h3 { color: #e0604a; } .lb-card.r-set h3 { color: #4fd35b; } .lb-card.r-normal h3 { color: #d0d0d0; }
.lb-card .meta, .lb-set .meta { margin: 2px 0 6px; color: var(--dust); font-size: 12px; letter-spacing: .5px; }
.lb-card ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: #8fa8ff; }
.lb-card .set { margin: 6px 0 0; color: #4fd35b; font-size: 13px; } .lb-card .boss { margin: 6px 0 0; color: var(--blood); font-size: 13px; }
.lb-more { text-align: center; margin: 22px 0 0; }
.lb-set { margin: 12px 0; padding: 16px 20px; background: linear-gradient(#17120c, #0b0907); border: 1px solid var(--line); border-left: 3px solid #4fd35b; }
.lb-set h3 { margin: 0; color: #4fd35b; } .lb-set h3 em { font-style: normal; font-size: 13px; color: var(--dust); margin-left: 8px; }
.lb-set ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: #c9c2ae; }
.lb-more button[hidden]{display:none}

/* Press kit */
.pk-facts { width: 100%; border-collapse: collapse; margin: 10px 0 20px; }
.pk-facts th, .pk-facts td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pk-facts th { width: 130px; color: var(--gold); font-weight: normal; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 12px 0 24px; }
.pk-grid a { display: block; text-decoration: none; color: var(--bone); font-size: 14px; }
.pk-th { display: grid; place-items: center; aspect-ratio: 16 / 10; background: #120e0a; border: 1px solid var(--line); margin-bottom: 8px; overflow: hidden; }
.pk-th img { max-width: 100%; max-height: 100%; object-fit: cover; }
.pk-dark img { object-fit: contain; padding: 10px; }
.pk-grid a:hover .pk-th { border-color: var(--gold); }
.pk-heroes .pk-th { aspect-ratio: 3 / 4; }

/* Live numbers */
.live { background: #0b0908; border-bottom: 1px solid var(--line); }
.live .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; }
.live p { margin: 0; color: var(--dust); font-size: 15px; text-align: center; }
.live b { color: var(--gold-bright); font-weight: normal; }
.live-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 10px var(--blood); animation: vigil-ember 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.live p.flash { animation: live-flash 1.2s ease-out; }
@keyframes live-flash { 0% { color: var(--gold-bright); text-shadow: 0 0 14px #b01818; } 100% { color: var(--dust); text-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .live p.flash { animation: none; } }

/* The rare-item maths: click the big number to open it. */
.lootnums .big { cursor: pointer; }
.lootnums .big em { display: block; margin-top: 6px; font-style: normal; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #ffe65c; opacity: .7; }
.lootnums .big:hover, .lootnums .big:focus-visible { outline: none; border-color: #ffe65c; }
.lootnums .big.open em { opacity: 0; }
.raremath { margin: -20px 0 40px; padding: 22px 26px; background: linear-gradient(#17120c, #0b0907); border: 1px solid var(--line); border-top: 2px solid #ffe65c; color: #c9bea4; font-size: 15px; line-height: 1.55; }
.raremath[hidden] { display: none; }
.raremath h4 { margin: 0 0 10px; font: 22px var(--display); color: #ffe65c; font-weight: normal; }
.raremath b { color: var(--gold-bright); font-weight: normal; }
.raremath .eq { text-align: center; padding: 10px; border: 1px dashed var(--line); color: var(--gold-bright); }
.raremath .small { font-size: 13px; color: var(--dust); }
.raremath table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.raremath th, .raremath td { padding: 6px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.raremath th:first-child { text-align: left; font-weight: normal; color: var(--gold-bright); }
.raremath thead th { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dust); vertical-align: bottom; }
.raremath .sum td, .raremath .sum th { color: #ffe65c; border-bottom: 0; }
@media (max-width: 900px) { .raremath { overflow-x: auto; } .raremath table { min-width: 640px; } }

/* Rune words */
.rwsteps { margin: 22px 0 10px; padding-left: 22px; color: #d6cbb0; }
.rwsteps li { margin: 6px 0; }
.rwsteps b { color: var(--gold-bright); font-weight: normal; }
.rwhead { margin: 34px 0 14px; color: var(--gold-bright); font-family: var(--display); font-weight: normal; letter-spacing: .04em; }
.rwgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.rwcard { background: linear-gradient(#1a140d, #0b0907); border: 1px solid var(--line); border-top: 2px solid #7b55c0; padding: 14px 16px 16px; }
.rwcard h4 { margin: 0 0 8px; color: #c59cff; font-family: var(--display); font-weight: normal; font-size: 20px; }
.rwrunes { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.rwrunes span { display: inline-flex; flex-direction: column; align-items: center; min-width: 46px; }
.rwrunes img { width: 40px; height: 40px; object-fit: contain; image-rendering: auto; }
.rwrunes b { font-weight: normal; font-size: 12px; color: #f08a3c; letter-spacing: .08em; text-transform: uppercase; }
.rwrunes i { color: var(--dust); font-style: normal; }
.rwcard ul { list-style: none; margin: 0; padding: 0; }
.rwcard li { padding: 3px 0; color: #cfc4a8; font-size: 15px; }
.rwtable { overflow-x: auto; }
.rwtable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rwtable th, .rwtable td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); color: #cfc4a8; vertical-align: middle; }
.rwtable thead th { color: var(--gold-bright); font-weight: normal; }
.rwtable tbody th { color: #f08a3c; font-weight: normal; white-space: nowrap; }
.rwtable tbody th img { vertical-align: middle; margin-right: 8px; }

/* Heroes per day: the graph under the live line */
.plays { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: var(--stone); }
.plays h2 { margin: 0 0 6px; text-align: center; color: var(--gold); font-family: var(--display); font-weight: normal; letter-spacing: 3px; text-transform: uppercase; font-size: 22px; }
.plays-sub { margin: 0 auto 18px; max-width: 560px; text-align: center; color: var(--dust); font-size: 14px; }
.plays-chart { background: #0b0908; border: 1px solid var(--line); padding: 10px 8px 4px; }
.plays-chart svg { display: block; width: 100%; height: auto; }
.plays-note { margin: 12px 0 0; text-align: center; color: var(--bone); font-size: 14px; }
.plays-chart { position: relative; }
.plays-tip { display: none; position: absolute; z-index: 5; pointer-events: none; min-width: 190px; padding: 9px 12px; background: var(--stone-2); border: 1px solid var(--gold); box-shadow: 0 6px 18px rgba(0,0,0,.7), 0 0 14px rgba(176,24,24,.25); color: var(--bone); font-family: var(--body); font-size: 13px; line-height: 1.6; }
.plays-tip .pt-day { display: block; margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line); color: var(--gold-bright); font-family: var(--display); letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
.plays-tip .pt-row { display: flex; align-items: center; gap: 8px; color: var(--dust); }
.plays-tip .pt-row i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.plays-tip .pt-row b { margin-left: auto; padding-left: 14px; color: var(--bone); font-weight: normal; }
/* the jump scare when the countdown ends (see the script near the clock in index.php) */
.scare { position: fixed; inset: 0; z-index: 9999; overflow: hidden; pointer-events: none; background: #000d; animation: scare-in .12s ease-out; transition: opacity .8s; }
.scare.out { opacity: 0; }
.scare-flash { position: absolute; inset: 0; background: radial-gradient(ellipse at center, #ff2a1a 0%, #8a0000 45%, #000 100%); mix-blend-mode: screen; animation: scare-flash 1.8s linear forwards; }
.scare-mob { position: absolute; left: 50%; top: 50%; height: 110vmin; width: auto; max-width: none; filter: drop-shadow(0 0 50px #f00) contrast(1.3) brightness(1.15); transform: translate(-50%, -50%) scale(.05); opacity: 0; animation: scare-lunge 1.1s cubic-bezier(.1, .8, .2, 1) .2s forwards, scare-tremble .07s linear 1.3s 20; }
.scare-text { position: absolute; left: 0; right: 0; bottom: 8vh; margin: 0; text-align: center; font-family: var(--display); font-size: clamp(2rem, 8vw, 6rem); letter-spacing: .12em; color: var(--bone); text-shadow: 0 0 24px #f00, 0 0 60px #b01818, 0 4px 0 #000; opacity: 0; animation: scare-text 3.2s ease-out .9s forwards; }
body.scare-shake { animation: scare-shake .09s linear 24; }
@keyframes scare-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scare-flash { 0% { opacity: 1; } 8% { opacity: .15; } 16% { opacity: .9; } 26% { opacity: .1; } 36% { opacity: .6; } 55% { opacity: .1; } 100% { opacity: 0; } }
@keyframes scare-lunge { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.05); } 15% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); } }
@keyframes scare-tremble { 0% { margin: 0; } 25% { margin: -6px 0 0 8px; } 50% { margin: 5px 0 0 -7px; } 75% { margin: 7px 0 0 5px; } 100% { margin: 0; } }
@keyframes scare-text { 0% { opacity: 0; transform: scale(.8); } 12% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
@keyframes scare-shake { 0% { transform: translate(0, 0); } 25% { transform: translate(-8px, 5px); } 50% { transform: translate(7px, -6px); } 75% { transform: translate(-5px, -4px); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .scare { display: none; } }
/* the wandering spirit's face (script at the end of index.php) */
.spirit-face { position: fixed; left: 0; top: 0; width: 160px; height: 160px; z-index: 40; pointer-events: none; opacity: 0; filter: brightness(1.1) saturate(.8) drop-shadow(0 0 14px #9fe0c8); mix-blend-mode: screen; will-change: transform, opacity; }

.social-btn { display: inline-block; vertical-align: middle; line-height: 0; margin: 4px; transition: transform .15s, filter .15s; }
.social-btn img { width: auto; display: block; }
.social-btn:hover { transform: translateY(-2px); filter: drop-shadow(0 0 12px #4fe8f0aa); }
.social-row { margin: 18px 0 0; text-align: center; }

.soc-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 4px 6px; padding: 10px 26px 11px; min-width: 210px; text-decoration: none; text-align: center;
  background: linear-gradient(#2a2016, #130e09); border: 2px solid var(--gold); border-radius: 3px; color: var(--bone);
  box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #5a4526, 0 0 18px #0009; transition: transform .15s, box-shadow .15s, border-color .15s; }
.soc-btn small { font: 11px var(--display); letter-spacing: 3px; text-transform: uppercase; color: var(--dust); }
.soc-btn b { font: 700 19px var(--display); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-bright); text-shadow: 0 0 10px #c8a06088; }
.soc-btn:hover { transform: translateY(-2px); border-color: var(--gold-bright); box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #8a6a38, 0 0 26px #c8a06066; }
.soc-discord { border-color: #a8342c; box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #5e0c0c, 0 0 18px #0009; background: linear-gradient(#3a1410, #150806); }
.soc-discord:hover { border-color: #e05040; box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #8a1c14, 0 0 26px #b0181888; }

.cta .btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 210px; padding: 10px 26px 11px; border: 2px solid var(--gold); border-radius: 3px;
  background: linear-gradient(#2a2016, #130e09); box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #5a4526, 0 0 18px #0009; }
.cta .btn small { font: 11px var(--display); letter-spacing: 3px; text-transform: uppercase; color: var(--dust); }
.cta .btn b { font: 700 19px var(--display); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-bright); text-shadow: 0 0 10px #c8a06088; }
.cta .btn:hover { background: linear-gradient(#34281a, #181109); border-color: var(--gold-bright); box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #8a6a38, 0 0 26px #c8a06066; }
.cta .btn.primary { border-color: #e0a070; background: linear-gradient(#b01818, #5e0c0c); box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #7a1414, 0 0 34px #b0181877; }
.cta .btn.primary small { color: #e8b8a0; }
.cta .btn.primary b { color: #fff3da; text-shadow: 0 0 10px #ff6a4a88; }
.cta .btn.primary:hover { background: linear-gradient(#c82020, #6d0f0f); box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #a01c1c, 0 0 42px #b01818aa; }
.cta .btn.steam-soon:hover { background: linear-gradient(#2a2016, #130e09); border-color: var(--gold); box-shadow: inset 0 0 0 2px #0b0908, inset 0 0 0 3px #5a4526, 0 0 18px #0009; }
@media (min-width: 1000px) {
  .cta { flex-wrap: nowrap; gap: 10px; width: max-content; max-width: 96vw; margin-left: 50%; transform: translateX(-50%); }
  .cta .btn, .cta .soc-btn { min-width: 0; margin: 0; padding: 10px 18px 11px; white-space: nowrap; }
  .cta .btn b, .cta .soc-btn b { font-size: 17px; letter-spacing: 1.5px; }
}
