/* Games of Midgard: "Hearth" variant (built from "Torchlight").
   A Viking hall at night: soot and dark wood, firelight, molten gold. Arched doorways frame the
   games; round shields carry the facts. Headings in Cinzel, text in Alegreya Sans.
   Hearth drops Torchlight's moving torch glow (embers still rise) and adds a scrolling line of
   runes, the "Which game is yours?" quiz, a game of Rota against the Legion and a rune carver. */

:root {
  --soot: #0b0806;
  --hall: #120d09;
  --wood: #1b130d;
  --wood-2: #261b13;
  --line: rgba(243, 220, 180, 0.12);
  --line-2: rgba(243, 220, 180, 0.28);
  --text: #f4e8d2;
  --muted: #bfab8d;
  --gold: #e8b54a;
  --gold-2: #f8d77e;
  --flame: #ff9a3c;
  --blood: #a3392a;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  --font-head: "Cinzel", "Trajan Pro", "Palatino Linotype", Georgia, serif;
  --font-body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --font-runes: "Noto Sans Runic", "Segoe UI Historic", serif;
  --arch: 50% 50% 14px 14px / 30% 30% 14px 14px;
  --wrap: 1180px;
  --gutter: 18px;
  --header-h: 64px;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 28px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; color: var(--text); font-family: var(--font-body); font-size: 1.15rem; line-height: 1.6; overflow-x: hidden;
  background-color: var(--soot);
  background-image:
    radial-gradient(1200px 700px at 50% 110%, rgba(255, 140, 50, 0.1), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .5' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .35 0 0 0 0 .18 .07 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 0.45em; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.3rem, 7.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 3.2vw, 1.8rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #2a1606; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.8rem; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: "ᛟ"; font-family: var(--font-runes); letter-spacing: 0; opacity: 0.7; }
.lede { font-size: clamp(1.2rem, 2.6vw, 1.38rem); color: #e2d3b8; line-height: 1.55; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons: gold plaques */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 52px; padding: 0 1.4em;
  border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 48%, #b8802a); color: #2a1606;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px #6b4512, 0 8px 22px rgba(255, 150, 60, 0.2);
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}
.btn:hover { color: #2a1606; transform: translateY(-2px); filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px #6b4512, 0 12px 30px rgba(255, 150, 60, 0.38); }
.btn:active { transform: translateY(1px); }
.btn-out { background: rgba(11, 8, 6, 0.35); color: var(--gold-2); box-shadow: inset 0 0 0 1.5px rgba(232, 181, 74, 0.6); }
.btn-out:hover { color: #fff; background: rgba(232, 181, 74, 0.12); box-shadow: inset 0 0 0 1.5px var(--gold-2); }
.btn-lg { min-height: 58px; font-size: 1.05rem; padding: 0 1.7em; }
.btn-sm { min-height: 44px; font-size: 0.88rem; padding: 0 1em; }
.btn-block { width: 100%; }
/* Phones: a long label ("Buy Hnefatafl on Etsy") wraps onto two even lines instead of pushing the page
   wider than the screen. The header's Shop and the sticky Buy bar stay on one line; they always fit. */
.btn { max-width: 100%; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-wrap: balance; text-align: center; line-height: 1.2; padding-block: 8px; }
  .header-shop, .buybar .btn { white-space: nowrap; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 8, 6, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; min-width: 0; }
.brand:hover { color: #fff; }
.brand-logo { width: auto; height: 50px; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
@media (max-width: 379px) { .brand-logo { height: 44px; } .brand { gap: 8px; } }
@media (min-width: 640px) { .brand-logo { height: 60px; } }
.site-footer .footer-logo { display: inline-block; margin: 0; padding: 0; }
.footer-logo img { width: auto; height: 132px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)); transition: transform 0.2s, filter 0.2s; }
.footer-logo:hover img { transform: translateY(-2px); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 16px rgba(255, 150, 60, 0.25)); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.02rem, 4.4vw, 1.3rem); letter-spacing: 0.04em; white-space: nowrap; }
/* Phones: the name stacks in two lines ("Games of" / "Midgard") so it fits beside the logo and the buttons. */
@media (max-width: 639px) { .brand-name { white-space: normal; max-width: 8em; line-height: 1.02; font-size: clamp(0.98rem, 4.3vw, 1.2rem); } }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a { display: block; padding: 10px; white-space: nowrap; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-2); background: rgba(232, 181, 74, 0.08); }
.header-shop { min-height: 44px; padding: 0 0.95em; font-size: 0.86rem; }
.header-shop .txt { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 14px 0 22px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.nav-open .mobile-menu { display: block; }
.mobile-menu .doors { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mobile-menu .doors a { display: block; text-align: center; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 700; }
.mobile-menu .doors img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); border: 2px solid rgba(232, 181, 74, 0.5); margin-bottom: 6px; }
.mobile-menu .links { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-menu .links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 600; }
@media (min-width: 440px) { .header-shop .txt { display: inline; } }
/* The full menu needs the whole 1180px row (logo, name, seven links, Shop); narrower screens use the menu button. */
@media (min-width: 1200px) { .site-nav { display: block; } .nav-toggle, .mobile-menu, .nav-open .mobile-menu { display: none; } .brand-name { font-size: 1.15rem; } }

/* Hero with rising embers (a steady shade over the photo keeps the text readable; nothing follows the pointer) */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: max(560px, min(calc(100svh - var(--header-h)), 860px)); display: grid; align-items: end; }
.hero.short { min-height: 0; padding-top: 70px; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: saturate(0.9) brightness(0.9); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 90% 55% at 50% 100%, rgba(255, 140, 50, 0.2), transparent 70%), rgba(11, 8, 6, 0.42); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(11, 8, 6, 0.1) 30%, rgba(11, 8, 6, 0.82) 72%, var(--soot) 100%); pointer-events: none; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .wrap { padding-block: 60px clamp(36px, 6vw, 70px); text-align: center; }
.hero .eyebrow { text-shadow: 0 2px 8px #000, 0 0 20px rgba(0, 0, 0, 0.9); }
.hero h1 { max-width: 16ch; margin-inline: auto; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7); }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lede { max-width: 620px; margin-inline: auto; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 22px; }
.hero-actions .btn { flex: 1 1 220px; max-width: 320px; }
.embers-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; list-style: none; margin: 0; padding: 0; color: #e2d3b8; font-size: 1rem; }
.embers-note li { display: inline-flex; align-items: center; gap: 7px; }
.embers-note .icon { color: var(--gold); }

/* Scrolling line of runes under the hero (two identical halves slide left by exactly one half, so it loops without a jump) */
.marquee { overflow: hidden; border-block: 1px solid rgba(232, 181, 74, 0.28); background: linear-gradient(180deg, var(--wood-2), var(--hall)); padding: 12px 0; }
.marquee-track { display: flex; width: max-content; font-family: var(--font-runes); font-size: 1.2rem; letter-spacing: 0.5em; color: var(--gold); text-shadow: 0 0 12px rgba(255, 150, 60, 0.5); opacity: 0.8; white-space: nowrap; animation: slide 60s linear infinite; }
.marquee-track span { padding-right: 3rem; }

/* Sections */
.section { padding-block: clamp(60px, 10vw, 116px); position: relative; }
.section-head { max-width: 760px; margin: 0 auto clamp(28px, 5vw, 48px); text-align: center; }
.plank { background: linear-gradient(180deg, rgba(38, 27, 19, 0.75), rgba(27, 19, 13, 0.75)); border-block: 1px solid var(--line); }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto; padding-block: 6px; font-family: var(--font-runes); letter-spacing: 0.5em; opacity: 0.6; font-size: 0.95rem; }

/* Wares (product cards with arched doorways) */
.wares { display: grid; gap: clamp(20px, 3vw, 30px); }
@media (min-width: 720px) { .wares { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1140px) { .wares.four { grid-template-columns: repeat(4, 1fr); } .wares.three { grid-template-columns: repeat(3, 1fr); } }
.ware { display: flex; flex-direction: column; text-align: center; padding: 14px 14px 22px; border-radius: 22px 22px var(--radius) var(--radius); background: linear-gradient(180deg, var(--wood-2), var(--wood)); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s; }
.ware:hover { transform: translateY(-4px); border-color: rgba(232, 181, 74, 0.45); }
.door { display: block; position: relative; border-radius: var(--arch); overflow: hidden; border: 2px solid rgba(232, 181, 74, 0.55); box-shadow: inset 0 0 0 4px rgba(11, 8, 6, 0.6); }
.door img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s; }
.ware:hover .door img { transform: scale(1.05); }
.door::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(255, 150, 60, 0.2), transparent 60%); pointer-events: none; }
.ware .where { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 16px 0 0; }
.ware h3 { margin-bottom: 0; }
.ware h3 a { display: inline-block; padding: 10px 4px; color: var(--text); text-decoration: none; }
.ware h3 a:hover { color: var(--gold-2); }
.ware p { color: #dccbaf; font-size: 1.05rem; line-height: 1.45; }
.ware .acts { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ware .acts .btn { padding: 0 0.6em; font-size: 0.86rem; min-height: 48px; }

/* Rune casting */
.cast { max-width: 900px; margin-inline: auto; text-align: center; }
.stones { display: flex; justify-content: center; gap: clamp(10px, 3vw, 26px); margin: 8px 0 26px; perspective: 900px; }
.stone { width: clamp(92px, 26vw, 170px); aspect-ratio: 4 / 5; position: relative; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(.3, 1.4, .5, 1); }
.stone.flipped { transform: rotateY(180deg); }
.stone .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-content: center; gap: 4px; padding: 10px; border-radius: 46% 54% 42% 58% / 40% 44% 56% 60%; background: radial-gradient(ellipse at 35% 25%, #7c746b, #4c4640 50%, #2c2824); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.12), inset 0 -6px 12px rgba(0, 0, 0, 0.45), 0 14px 26px rgba(0, 0, 0, 0.55); }
.stone .back::after { content: "ᛟ"; font-family: var(--font-runes); font-size: clamp(1.6rem, 6vw, 2.6rem); color: rgba(255, 255, 255, 0.12); }
.stone .front { transform: rotateY(180deg); }
.stone .front b { font-family: var(--font-runes); font-weight: 400; font-size: clamp(2.4rem, 10vw, 4.4rem); line-height: 1; color: var(--gold-2); text-shadow: 0 0 18px rgba(255, 170, 60, 0.75), 0 -2px 0 rgba(0, 0, 0, 0.6); }
.stone .front span { font-family: var(--font-head); font-weight: 700; font-size: clamp(0.78rem, 2.6vw, 1rem); color: var(--text); }
.stone .front small { font-size: clamp(0.78rem, 2.4vw, 0.95rem); color: #e6d6ba; line-height: 1.2; }
.cast-result { display: grid; gap: 22px; align-items: center; text-align: left; margin-top: 10px; padding: clamp(18px, 4vw, 30px); border-radius: 20px; background: linear-gradient(180deg, var(--wood-2), var(--wood)); border: 1px solid rgba(232, 181, 74, 0.45); box-shadow: var(--shadow); animation: rise 0.5s ease-out; }
@media (min-width: 720px) { .cast-result { grid-template-columns: 220px 1fr; } }
.cast-result .door img { aspect-ratio: 4 / 5; }
.cast-result h3 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 0.2em; }
.cast-result .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.cast-result .acts .btn { flex: 1 1 180px; }
.fineprint { font-size: 0.95rem; color: var(--muted); margin-top: 14px; }

/* "Which game is yours?" quiz */
.quiz-box { max-width: 880px; margin-inline: auto; padding: clamp(20px, 4.5vw, 40px); border-radius: 20px; background: linear-gradient(180deg, rgba(38, 27, 19, 0.92), rgba(27, 19, 13, 0.92)); border: 1px solid rgba(232, 181, 74, 0.4); box-shadow: var(--shadow); }
.quiz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.quiz-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(243, 220, 180, 0.12); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blood), var(--flame), var(--gold-2)); box-shadow: 0 0 10px rgba(255, 150, 60, 0.6); transition: width 0.35s ease; }
.quiz-q { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; margin-bottom: 18px; }
.quiz-q:focus { outline: none; }
.quiz-options { display: grid; gap: 10px; }
@media (min-width: 640px) { .quiz-options { grid-template-columns: 1fr 1fr; } }
.quiz-opt { display: flex; flex-direction: column; gap: 2px; text-align: left; min-height: 66px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: rgba(11, 8, 6, 0.45); color: var(--text); font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s; }
.quiz-opt small { font-weight: 400; font-size: 0.98rem; color: var(--muted); }
.quiz-opt:hover { border-color: var(--gold); background: rgba(232, 181, 74, 0.08); transform: translateY(-1px); box-shadow: 0 0 18px rgba(255, 150, 60, 0.18); }
.quiz-back { margin-top: 14px; padding: 8px 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 1rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.quiz-back:hover { color: var(--gold-2); }
.quiz-result { display: grid; gap: 22px; align-items: center; animation: rise 0.45s ease-out; }
@media (min-width: 720px) { .quiz-result { grid-template-columns: 240px 1fr; } }
.quiz-result .door { width: min(200px, 56vw); margin-inline: auto; }
@media (min-width: 720px) { .quiz-result .door { width: 100%; } }
.quiz-result h3 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 0.2em; color: var(--gold-2); }
.quiz-result h3:focus { outline: none; }
.quiz-result .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.quiz-result .acts .btn { flex: 1 1 190px; }
.quiz-result .also { margin: 14px 0 0; color: var(--muted); }
.quiz-result .also .quiz-back { margin: 0; padding: 0 0 0 4px; }

/* Rota against the Legion */
.play-grid { display: grid; gap: clamp(26px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .play-grid { grid-template-columns: minmax(0, 470px) 1fr; } }
.rota { width: 100%; max-width: 470px; margin-inline: auto; position: relative; }
.rota::before { content: ""; position: absolute; inset: calc(-1 * min(8%, var(--gutter))); z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 50, 0.22), transparent 65%); animation: flicker 4s ease-in-out infinite; }
.rota-board { position: relative; width: 100%; aspect-ratio: 1; touch-action: manipulation; }
.rota-board > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spot { position: absolute; width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.spot::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #0b0806, #1f1812 70%); box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.12); }
.spot[data-i="8"]::before { box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(232, 181, 74, 0.55), 0 1px 0 rgba(255, 255, 255, 0.12); }
.spot:disabled { cursor: default; }
.spot.can-go::before { box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 0 3px var(--gold), 0 0 18px rgba(255, 160, 60, 0.75); animation: pulse 1.2s ease-in-out infinite; }
.spot .piece { position: relative; width: 84%; height: 84%; border-radius: 50%; display: grid; place-items: center; animation: place 0.28s cubic-bezier(.2, 1.4, .5, 1); }
.spot .piece svg { width: 62%; height: 62%; }
.piece.marble { background: radial-gradient(circle at 35% 30%, #ffffff, #ebe6de 45%, #bdb5a9 100%); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55), inset 0 -3px 5px rgba(0, 0, 0, 0.18); color: #8f8678; }
.piece.bronze { background: radial-gradient(circle at 35% 30%, #f3dfaa, #c69a55 45%, #7a5426 100%); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55), inset 0 -3px 5px rgba(0, 0, 0, 0.25); color: #4e3414; }
.spot.selected .piece { box-shadow: 0 0 0 3px var(--gold-2), 0 0 22px rgba(255, 190, 90, 0.9); transform: translateY(-4px); transition: transform 0.15s; }
.spot.movable .piece { cursor: pointer; }
.spot.win .piece { animation: glory 0.9s ease-in-out infinite alternate; }
.rota-panel h2 { margin-bottom: 0.3em; }
.rota-rules { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.rota-rules li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; color: #dccbaf; line-height: 1.45; }
.rota-rules b { display: grid; place-items: center; width: 40px; height: 46px; border-radius: 46% 54% 42% 58% / 40% 44% 56% 60%; background: radial-gradient(ellipse at 35% 25%, #7c746b, #4c4640 50%, #2c2824); font-family: var(--font-runes); font-weight: 400; font-size: 1.3rem; color: var(--gold-2); text-shadow: 0 0 10px rgba(255, 170, 60, 0.7); box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.4), 0 6px 12px rgba(0, 0, 0, 0.5); }
.rota-rules strong { color: var(--text); font-family: var(--font-head); font-size: 0.95em; letter-spacing: 0.04em; }
.rota-status { min-height: 3.6em; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(27, 19, 13, 0.85); border: 1px solid var(--line-2); font-size: 1.08rem; line-height: 1.4; margin-bottom: 14px; }
.rota-status .turn-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.rota-status .turn-dot.marble { background: radial-gradient(circle at 35% 30%, #fff, #bdb5a9); }
.rota-status .turn-dot.bronze { background: radial-gradient(circle at 35% 30%, #f3dfaa, #7a5426); }
.rota-status.is-win { border-color: var(--gold); background: rgba(232, 181, 74, 0.12); box-shadow: 0 0 24px rgba(255, 150, 60, 0.25); }
.rota-status.is-loss { border-color: rgba(163, 57, 42, 0.8); background: rgba(163, 57, 42, 0.16); }
.rota-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rota-score { margin-left: auto; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; color: var(--muted); }
.rota-score strong { color: var(--gold-2); font-size: 1.15rem; }
.rota-cta { margin-top: 18px; padding: 16px; border-radius: 12px; border: 1px dashed rgba(232, 181, 74, 0.5); background: rgba(232, 181, 74, 0.05); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; animation: rise 0.4s ease-out; }
.rota-cta p { margin: 0; flex: 1 1 220px; }
.rota-cta strong { color: var(--gold-2); }

/* Carve your name in runes */
.carve-grid { display: grid; gap: clamp(26px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .carve-grid { grid-template-columns: 1fr 1.1fr; } }
.carve-form label { display: block; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }
.carve-form input { width: 100%; min-height: 58px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--line-2); background: rgba(11, 8, 6, 0.6); color: var(--text); font: inherit; font-size: 1.2rem; }
.carve-form input::placeholder { color: rgba(191, 171, 141, 0.7); }
.carve-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 181, 74, 0.2), 0 0 22px rgba(255, 150, 60, 0.2); }
.carve-form .hint { font-size: 0.98rem; color: var(--muted); margin: 8px 0 0; }
.rune-key { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.rune-key li { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: 8px; background: var(--wood-2); border: 1px solid var(--line); font-family: var(--font-head); font-size: 0.9rem; }
.rune-key b { font-family: var(--font-runes); font-weight: 400; font-size: 1.15rem; color: var(--gold-2); }
.slab { position: relative; min-height: 240px; display: grid; place-items: center; text-align: center; padding: 48px 36px; isolation: isolate;
  background: radial-gradient(ellipse at 30% 20%, #7c746b, #4c4640 45%, #2c2824 100%);
  clip-path: polygon(6% 4%, 30% 0%, 58% 3%, 84% 1%, 97% 9%, 100% 38%, 97% 70%, 99% 92%, 82% 100%, 52% 97%, 24% 100%, 4% 95%, 0% 66%, 3% 34%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
.slab::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.slab::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 150, 60, 0.16), transparent 70%); }
.slab-runes { font-family: var(--font-runes); font-size: clamp(2.4rem, 9vw, 4.2rem); line-height: 1.2; letter-spacing: 0.12em; color: var(--gold-2); text-shadow: 0 0 18px rgba(255, 170, 60, 0.75), 0 -2px 0 rgba(0, 0, 0, 0.6); overflow-wrap: anywhere; }
.carve-cta { margin: 24px 0 0; }
.carve-cta .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
.slab-name { margin-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 232, 210, 0.8); word-break: break-word; }

/* Shields */
.shields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; }
@media (min-width: 900px) { .shields { grid-template-columns: repeat(4, 1fr); } }
.shield-item { text-align: center; }
.shield { width: 104px; height: 104px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(from 22.5deg, #3a2618 0 12.5%, #5a3a22 0 25%, #3a2618 0 37.5%, #5a3a22 0 50%, #3a2618 0 62.5%, #5a3a22 0 75%, #3a2618 0 87.5%, #5a3a22 0); box-shadow: 0 0 0 4px #8a6a3a, 0 0 0 6px #2a1d12, 0 12px 24px rgba(0, 0, 0, 0.55); }
.shield::before { content: ""; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f8d77e, #b8802a 60%, #6b4512); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6); }
.shield .icon, .shield b { position: relative; z-index: 1; }
.shield .icon { width: 22px; height: 22px; color: #2a1606; stroke-width: 2.4; }
.shield b { font-family: var(--font-head); font-size: 1.15rem; color: #2a1606; }
.shield-item strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.shield-item span { color: var(--muted); font-size: 1rem; line-height: 1.4; display: block; }
.shields.small .shield { width: 84px; height: 84px; }
.shields.small .shield::before { width: 52px; height: 52px; }
.shields.small .shield b { font-size: 1rem; }

/* Story */
.story { display: grid; gap: clamp(26px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 0.9fr 1.1fr; } }
.story .door img { aspect-ratio: 3 / 4; }
.dropcap::first-letter { float: left; font-family: var(--font-head); font-weight: 700; font-size: 3.6em; line-height: 0.85; padding: 6px 10px 0 0; color: var(--gold-2); text-shadow: 0 0 20px rgba(255, 160, 60, 0.5); }
.pull { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.35; color: var(--gold-2); border-left: 3px solid var(--gold); padding-left: 18px; margin: 1.2em 0; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: rgba(27, 19, 13, 0.7); margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; min-height: 58px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 16px; color: #dccbaf; }

/* Final */
.final { position: relative; text-align: center; overflow: hidden; isolation: isolate; padding-block: clamp(80px, 13vw, 150px); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255, 140, 50, 0.32), transparent 70%); animation: flicker 4s ease-in-out infinite; }
.final .lede { max-width: 600px; margin-inline: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 28px; color: var(--muted); font-size: 1.02rem; background: #070504; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .icon { color: var(--gold); }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; font-size: 0.95rem; }

/* Product page */
.crumbs { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--muted); padding-top: 8px; }
.crumbs a { display: inline-block; padding-block: 10px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { margin: 0 6px; opacity: 0.6; }
.pdp { display: grid; gap: clamp(24px, 4vw, 56px); padding-block: 18px clamp(48px, 8vw, 88px); align-items: center; }
@media (min-width: 960px) { .pdp { grid-template-columns: 0.9fr 1.1fr; } }
.pdp .door img { aspect-ratio: 4 / 5; }
.pdp .door button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pdp .motto { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--gold-2); line-height: 1.35; }
.plaque { padding: clamp(20px, 4vw, 34px); border-radius: 20px; background: linear-gradient(180deg, rgba(38, 27, 19, 0.85), rgba(27, 19, 13, 0.85)); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.plaque .shields { grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0 18px; }
.plaque .shield-item strong { font-size: 0.9rem; }
.plaque .shield-item span { font-size: 0.85rem; }
@media (max-width: 460px) { .plaque .shields { grid-template-columns: 1fr 1fr; gap: 16px 10px; } }
.facts { margin: 0 0 20px; }
.facts div { display: grid; grid-template-columns: 24px 82px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts .icon { color: var(--gold); align-self: center; }
.facts dt { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; line-height: 1.4; }
.buy-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.98rem; margin: 12px 0 0; text-align: center; }
.buy-note .icon { color: var(--gold); }
.plaque .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 12px; }
.plaque .links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.views-5 figure:first-child { grid-column: span 2; }
.views-5 figure:first-child img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .views { grid-template-columns: repeat(4, 1fr); } .views-5 figure:first-child { grid-row: span 2; } .views-5 figure:first-child img { aspect-ratio: auto; height: 100%; } }
.views figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.views button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.views img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s; }
.views figure:hover img { transform: scale(1.05); }
.views figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); font-size: 0.9rem; pointer-events: none; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .rules.four { grid-template-columns: repeat(4, 1fr); } .rules.three { grid-template-columns: repeat(3, 1fr); } }
.rules li { padding: 22px 18px; border-radius: 16px; background: rgba(27, 19, 13, 0.85); border: 1px solid var(--line); text-align: center; }
.rules .rs { width: 64px; height: 76px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 46% 54% 42% 58% / 40% 44% 56% 60%; background: radial-gradient(ellipse at 35% 25%, #7c746b, #4c4640 50%, #2c2824); font-family: var(--font-runes); font-size: 2rem; color: var(--gold-2); text-shadow: 0 0 12px rgba(255, 170, 60, 0.7); box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.5); }
.rules strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 6px; }
.rules span { color: #dccbaf; display: block; line-height: 1.45; }
.video { position: relative; display: block; max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; color: #fff; text-decoration: none; box-shadow: var(--shadow); border: 2px solid rgba(232, 181, 74, 0.4); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.2s, transform 0.5s; }
.video:hover img { opacity: 0.78; transform: scale(1.03); }
.video .play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; }
.video .play i { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-2), var(--gold) 50%, #b8802a); box-shadow: 0 0 0 1px #6b4512, 0 10px 30px rgba(255, 150, 60, 0.45); }
.video .play i svg { width: 30px; height: 30px; fill: #2a1606; margin-left: 4px; }
.video .play b { font-family: var(--font-head); font-size: clamp(1.3rem, 3.4vw, 1.9rem); text-shadow: 0 2px 10px #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 8, 6, 0.96); border-top: 1px solid rgba(232, 181, 74, 0.45); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6); transform: translateY(110%); visibility: hidden; transition: transform 0.25s, visibility 0s linear 0.25s; }
.buybar.is-visible { transform: none; visibility: visible; transition: transform 0.25s, visibility 0s; }
.buybar img { width: 46px; height: 46px; border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px; object-fit: cover; flex: none; border: 1px solid rgba(232, 181, 74, 0.5); }
.buybar .nm { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .nm small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.buybar .btn { margin-left: auto; min-height: 48px; font-size: 0.86rem; padding: 0 1em; }
@media (min-width: 960px) { .buybar { display: none; } }
body.has-buybar .site-footer { padding-bottom: 100px; }
@media (min-width: 960px) { body.has-buybar .site-footer { padding-bottom: 28px; } }

/* Contact */
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, var(--wood-2), var(--wood)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.contact-card > .icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.6; }
.contact-card p { color: #dccbaf; margin: 0 0 10px; }
.contact-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.email-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 4.6vw, 1.3rem); color: var(--gold-2); word-break: break-all; }

/* Photo viewer */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(6, 4, 3, 0.97); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-family: var(--font-head); }
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 8px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lb-caption { text-align: center; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); color: #ddd; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-stage .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-stage .lb-prev { left: 10px; } .lb-stage .lb-next { right: 10px; }

/* A tablet held upright: the game photo stays a sensible size above the plaque. */
@media (max-width: 959px) { .pdp > .door { width: 100%; max-width: 560px; margin-inline: auto; } }

/* A phone held sideways (wide but short): a slimmer header, the hero's words fit the screen, the game
   photo sits beside its plaque, and the whole Rota board fits on the screen beside its panel. */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --header-h: 58px; }
  .brand-logo { height: 46px; }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero .wrap { padding-block: 28px; }
  .hero h1 { font-size: clamp(2rem, 11svh, 2.9rem); max-width: 24ch; }
  .hero-actions { margin: 16px 0 14px; }
  .rota { max-width: min(470px, calc(100svh - var(--header-h) - 28px)); }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 600px) {
  .pdp { grid-template-columns: minmax(0, 0.8fr) 1.2fr; align-items: start; }
  .pdp > .door { max-width: calc((100svh - var(--header-h) - 24px) * 0.8); }
  .play-grid { grid-template-columns: min(470px, calc(100svh - var(--header-h) - 28px)) minmax(0, 1fr); align-items: start; }
}

/* The King's Table bundle (2026-11-19): a card under each game's Buy button and a section before
   "Your next game". No photos of the chest yet, so the section shows the four games it holds. */
.bundle-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed rgba(232, 181, 74, 0.55); background: rgba(232, 181, 74, 0.07); color: var(--text); text-decoration: none; font-size: 1.02rem; line-height: 1.45; transition: background 0.2s, border-color 0.2s; }
.bundle-note:hover { background: rgba(232, 181, 74, 0.13); border-color: var(--gold-2); color: var(--text); }
.bundle-note > .icon { width: 1.6em; height: 1.6em; color: var(--gold); margin-top: 2px; }
.bundle-note strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--gold-2); margin-bottom: 2px; }
.bundle-note .go { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.kings { overflow: hidden; isolation: isolate; }
.kings::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 65% at 30% 50%, rgba(255, 140, 50, 0.2), transparent 70%); animation: flicker 5s ease-in-out infinite; }
.kings-grid { display: grid; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .kings-grid { grid-template-columns: minmax(0, 0.85fr) 1.15fr; } }
.kings-chest { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: min(100%, 460px); margin-inline: auto; padding: 10px 10px 30px; border-radius: 22px 22px var(--radius) var(--radius); background: linear-gradient(180deg, #4a3020, #2a1b11); box-shadow: 0 0 0 3px #8a6a3a, 0 0 0 5px #2a1d12, var(--shadow); }
.kings-chest img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid rgba(232, 181, 74, 0.35); }
.kings-chest img:first-child { border-top-left-radius: 14px; }
.kings-chest img:nth-child(2) { border-top-right-radius: 14px; }
.kings-seal { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); white-space: nowrap; padding: 8px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase; color: #2a1606; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 0 2px #6b4512, 0 8px 20px rgba(0, 0, 0, 0.5); }
.kings-copy { text-align: center; }
@media (min-width: 900px) { .kings-copy { text-align: left; } }
.kings-hook { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.3; color: var(--gold-2); margin: 0 0 0.7em; }
.kings-list { list-style: none; padding: 0; margin: 1.3em 0 1.6em; display: grid; gap: 10px; text-align: left; }
@media (min-width: 520px) { .kings-list { grid-template-columns: 1fr 1fr; } }
.kings-list li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(11, 8, 6, 0.45); border: 1px solid var(--line); }
.kings-list b { font-family: var(--font-runes); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.kings-list span { font-size: 1rem; line-height: 1.35; color: var(--muted); }
.kings-list strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--text); }
.kings-note { justify-content: center; }
@media (min-width: 900px) { .kings-note { justify-content: flex-start; } }
@media (orientation: landscape) and (max-height: 520px) { .kings-chest { grid-template-columns: repeat(4, 1fr); width: min(100%, 640px); } .kings-chest img { border-radius: 8px !important; } }

/* Video viewer (the how-to-play playlist, played over the page). The player is as wide as fits, and
   never taller than the screen, so a phone held sideways still shows all of it. */
.player { border: 0; padding: 0; margin: auto; width: 100%; max-width: 1100px; max-height: 100dvh; background: transparent; color: var(--text); overflow: auto; }
.player[open] { display: grid; gap: 10px; align-content: center; padding: max(10px, env(safe-area-inset-top)) var(--gutter) max(12px, env(safe-area-inset-bottom)); }
.player::backdrop { background: rgba(6, 4, 3, 0.94); }
.pl-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: min(100%, calc((100dvh - 150px) * 16 / 9)); min-width: min(100%, 280px); margin-inline: auto; }
.pl-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 3vw, 1.35rem); color: var(--gold-2); }
.player .video { width: min(100%, calc((100dvh - 150px) * 16 / 9)); min-width: min(100%, 280px); max-width: none; margin: 0 auto; }
.pl-hint { margin: 0 auto; width: min(100%, calc((100dvh - 150px) * 16 / 9)); color: var(--muted); font-size: 0.95rem; text-align: center; }
@media (max-height: 480px) { .pl-hint { display: none; } .player .video, .pl-top { width: min(100%, calc((100dvh - 80px) * 16 / 9)); } }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes flicker { 0%, 100% { opacity: 0.85; } 18% { opacity: 1; } 32% { opacity: 0.8; } 55% { opacity: 0.95; } 70% { opacity: 0.78; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes place { from { transform: scale(1.5) translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse { 50% { box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 0 3px var(--gold), 0 0 4px rgba(255, 160, 60, 0.3); } }
@keyframes glory { from { box-shadow: 0 0 0 3px var(--gold), 0 0 10px rgba(255, 160, 60, 0.6); } to { box-shadow: 0 0 0 4px var(--gold-2), 0 0 30px rgba(255, 200, 110, 1); transform: translateY(-3px); } }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
