/* After home.css and home-floors.css: the 2026-11 sections. Lit bronze bands over the depths' painted backdrops, a gold
   word strip, numbered run cards, hero cards, the depths carousel, every day, the finale and its coins. */

/* ---------- bands: each section lit by its depth's own backdrop ---------- */
.band { position: relative; isolation: isolate; }
.band::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; image-rendering: pixelated;
  background: linear-gradient(180deg, var(--void), rgba(10, 8, 6, .6) 20%, rgba(10, 8, 6, .6) 80%, var(--void)), var(--bg-img) center / cover no-repeat, var(--void); }
.band-cellars { --bg-img: url(/img/bg-cellars.png); }
.band-reliquary { --bg-img: url(/img/bg-reliquary.png); }
.band-rime { --bg-img: url(/img/bg-rime.png); }
.band-hoard { --bg-img: url(/img/bg-hoard.png); }
.band-pit { --bg-img: url(/img/bg-hoard-pit.png); }
.band-dark::before { background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(247, 185, 62, .07), transparent 70%), var(--void); }
html.past .vault { opacity: 0; visibility: hidden; }
main { overflow-x: clip; }

/* lit panels: the game's bronze card, brighter at the top as if a torch hangs over it */
.lit { --lit-face: linear-gradient(180deg, #45362a, #2f251b 38%, #221a13);
  --lit-edge: inset 0 0 0 2px var(--line-hi), inset 0 3px 0 2px rgba(255, 216, 115, .22), inset 0 -3px 0 2px rgba(0, 0, 0, .35);
  --lit-drop: 0 3px 0 #000, 0 18px 44px rgba(0, 0, 0, .55);
  background: var(--lit-face); box-shadow: var(--lit-edge), var(--lit-drop); border-radius: 4px; }

/* section heads: the title, and a count stamped beside it like a banner in the game */
.sec-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; text-align: center; margin: 0 auto 14px; }
.sec-head h2.display { margin: 0; }
.sec-lead { text-align: center; margin: 0 auto 38px; max-width: 54ch; color: var(--hi); text-wrap: balance; }
.badge { font: 20px/1 'Gold Below Display', monospace; color: #1d1004; background: var(--gold); padding: 9px 12px 7px; border-radius: 3px; rotate: -4deg;
  box-shadow: inset 0 2px 0 var(--gold-hi), inset 0 -3px 0 #b06a1c, 0 3px 0 #3a1f06, 0 0 24px rgba(247, 185, 62, .35); white-space: nowrap; }

/* stickers: words the game itself shouts, stamped over the pictures */
.sticker { position: absolute; z-index: 3; font: 20px/1 'Gold Below Display', monospace; color: var(--gold-hi); white-space: nowrap; pointer-events: none; text-transform: uppercase;
  background: #1c1209; padding: 9px 12px 7px; border-radius: 3px; rotate: -7deg; text-shadow: 0 2px 0 #3a1f06;
  box-shadow: inset 0 0 0 2px var(--gold-dark), inset 0 3px 0 2px rgba(255, 216, 115, .2), 0 3px 0 #000, 0 0 26px rgba(247, 185, 62, .35); animation: stamp 3.2s ease-in-out infinite; }
.sticker.red { color: #ffd0c4; box-shadow: inset 0 0 0 2px #8a2a2a, inset 0 3px 0 2px rgba(255, 120, 100, .2), 0 3px 0 #000, 0 0 26px rgba(255, 74, 58, .35); }
.sticker.right { rotate: 6deg; }
@keyframes stamp { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* ---------- the threshold: the words on the left, the game in a phone on the right ---------- */
.threshold { text-align: left; }
.threshold-inner { max-width: 1180px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: center; }
.threshold-copy { display: flex; flex-direction: column; align-items: flex-start; }
.threshold-copy > * { animation: up 1s cubic-bezier(.2, .8, .2, 1) both; }
.threshold-copy > :nth-child(1) { animation-delay: .1s; } .threshold-copy > :nth-child(2) { animation-delay: 1.1s; } .threshold-copy > :nth-child(3) { animation-delay: 1.3s; }
.threshold-copy > :nth-child(4) { animation-delay: 1.5s; } .threshold-copy > :nth-child(5) { animation-delay: 1.7s; }
.threshold .logo { width: min(520px, 84vw); }
.threshold .motto { margin-top: 10px; }
.threshold .ctas { justify-content: flex-start; margin: 22px 0 16px; }
.threshold-inner > .phone { animation: up 1.1s cubic-bezier(.2, .8, .2, 1) .6s both; position: relative; }
.phone-hero .phone-screen { width: min(320px, 78vw); }
.phone-hero .sticker { top: 12%; left: -46px; }
.phone-hero .sticker.right { top: auto; left: auto; bottom: 22%; right: -40px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li { font: 20px/1 'Gold Below Body', monospace; color: var(--hi); padding: 8px 10px; border-radius: 3px; background: rgba(42, 33, 25, .85); box-shadow: inset 0 0 0 1px var(--line-hi); }
.chips li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 2px; background: var(--gold); rotate: 45deg; }
@media (max-width: 900px) {
  .threshold { text-align: center; padding-bottom: 80px; }
  .threshold-inner { grid-template-columns: 1fr; justify-items: center; }
  .threshold-copy { align-items: center; }
  .threshold .ctas, .chips { justify-content: center; }
  .phone-hero .sticker { left: -18px; } .phone-hero .sticker.right { right: -14px; }
  .threshold .descend { display: none; }
}

/* ---------- the word strip ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--gold); rotate: -1.5deg; margin: -18px -20px 0;
  box-shadow: 0 -3px 0 #3a1f06, 0 3px 0 #3a1f06, inset 0 3px 0 var(--gold-hi), inset 0 -4px 0 #b06a1c, 0 14px 40px rgba(0, 0, 0, .6); }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 14px 0 10px; }
.ticker li { font: 40px/1 'Gold Below Display', monospace; color: #2a1404; white-space: nowrap; display: flex; align-items: center; }
.ticker li::after { content: ''; width: 12px; height: 12px; margin: 0 28px; background: #8a5516; rotate: 45deg; box-shadow: 0 0 0 3px var(--gold-hi); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .ticker li { font-size: 20px; } .ticker li::after { width: 8px; height: 8px; margin: 0 18px; } }

/* ---------- how a run plays: three numbered cards ---------- */
.how { max-width: 1180px; margin: 0 auto; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.step { position: relative; padding: 14px 14px 22px; }
.step:nth-child(1) { rotate: -1.2deg; } .step:nth-child(3) { rotate: 1.2deg; }
.shot { margin: 0 0 16px; border-radius: 3px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 2px #000, 0 0 0 2px var(--line); aspect-ratio: 196 / 300; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; image-rendering: pixelated; }
.step-n { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.step-n b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 20px/1 'Gold Below Display', monospace; color: #1d1004; background: var(--gold);
  box-shadow: inset 0 2px 0 var(--gold-hi), inset 0 -3px 0 #b06a1c, 0 2px 0 #000; }
.step-n .display { font-size: 40px; line-height: 1; color: var(--gold-hi); text-shadow: 0 2px 0 #3a1f06; }
.step p:last-of-type { font-size: 17px; margin: 0; }
.step .sticker { top: 14px; right: -14px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .step, .step:nth-child(n) { rotate: 0deg; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 14px; align-content: start; padding: 12px; }
  .step .shot { grid-row: 1 / span 2; margin: 0; }
  .step-n .display { font-size: 20px; } .step-n b { width: 30px; height: 30px; }
  .step p:last-of-type { font-size: 15px; }
  .step .sticker { top: auto; bottom: -10px; right: -6px; font-size: 10px; padding: 6px 8px 5px; }
}

/* ---------- try it: the forge and the duel side by side ---------- */
.try { max-width: 1240px; margin: 0 auto; }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.try-grid > div { display: grid; gap: 16px; }
.try h3.display { font-size: 40px; line-height: 1.1; margin: 0; color: var(--gold-hi); text-shadow: 0 2px 0 #3a1f06; }
.try-grid p { margin: 0; font-size: 17px; }
.try .forge, .try .duel { min-height: 100%; }
@media (max-width: 900px) { .try-grid { grid-template-columns: 1fr; } }
