/* LUX COR GAMES · site style. Colours: Lux Cor LLC (black, crimson, gold, white). Layout: after the Steam store. */
:root {
  --bg: #0a0a0a;
  --panel: #141110;
  --panel-2: #1c1815;
  --line: #3a2f1d;
  --gold: #be9b58;
  --gold-hi: #e2cf98;
  --crimson: #941d16;
  --crimson-hi: #b3271e;
  --text: #e8e2d6;
  --muted: #a99f8f;
  --f-display: "Playfair Display", Georgia, serif;
  --f-body: "Source Sans 3", Arial, Helvetica, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--f-body); }
a { color: var(--gold-hi); text-decoration: none; }
a:hover, a:focus-visible { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* top bar, like Steam's global header */
.top { background: #000; border-bottom: 2px solid var(--crimson); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 8px; font: 700 22px/1 var(--f-display); color: var(--gold-hi); letter-spacing: .04em; }
.brand small { font: 600 11px/1 var(--f-body); letter-spacing: .35em; color: var(--text); }
.nav { display: flex; gap: 2px 12px; flex-wrap: wrap; }   /* (12 / .06em: with MERCH added 2026-11-13 the menu dropped under the logo at 18 / .08em) */
.nav a { color: var(--text); font: 600 14px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 22px 0; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: var(--gold); }

.hero img { width: 100%; height: auto; }
a.hero { display: block; }
.section { padding-block: 34px; }
.h-label { font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-bottom: 2px solid var(--crimson); padding-bottom: 8px; margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--f-display); color: #fff; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; margin: 0 0 6px; }
h2 { font-size: 26px; margin: 0 0 10px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }

/* featured carousel (Steam's "Featured & Recommended") */
.feat { position: relative; display: grid; grid-template-columns: 1.9fr 1fr; background: var(--panel); box-shadow: 0 0 18px rgba(0, 0, 0, .9); border: 1px solid var(--line); }
.feat-main { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.feat-main img { width: 100%; height: 100%; object-fit: cover; }
.feat-side { padding: 16px 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feat-side h2 { margin: 0; }
.thumbs4 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.thumbs4 img { aspect-ratio: 16 / 9; object-fit: cover; opacity: .82; cursor: pointer; border: 1px solid transparent; }
.thumbs4 img:hover { opacity: 1; border-color: var(--gold); }
.badge { display: inline-block; font: 600 13px/1 var(--f-body); color: #fff; background: var(--crimson); padding: 6px 9px; border-radius: 2px; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 72px; border: 0; background: rgba(0, 0, 0, .55); color: var(--gold-hi); font-size: 26px; cursor: pointer; z-index: 2; }
.arrow:hover { background: rgba(148, 29, 22, .85); color: #fff; }
.arrow.l { left: -46px; } .arrow.r { right: -46px; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.dots button { width: 18px; height: 9px; border: 0; border-radius: 2px; background: #3a332b; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--gold); }

/* capsule row */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cap { background: var(--panel); border: 1px solid var(--line); display: grid; transition: border-color .15s, transform .15s; }
.cap:hover { border-color: var(--gold); transform: translateY(-2px); }
.cap img, .cap .vt { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; }
.cap .vt { display: grid; place-items: center; background: #100e0d; }
.cap .vt img { width: 96px; height: 96px; aspect-ratio: 1; border-radius: 22px; }
.cap .ct { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 14px; color: #fff; }
.cap .ct span { color: var(--gold-hi); white-space: nowrap; }

.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { background: rgba(190, 155, 88, .16); color: var(--gold-hi); padding: 3px 9px; border-radius: 2px; font-size: 13px; }

/* app page (Steam's store page) */
.crumbs { font-size: 13px; color: var(--muted); margin: 22px 0 4px; }
.app { display: grid; grid-template-columns: 1.9fr 1fr; gap: 16px; margin-top: 12px; }
.media { min-width: 0; }
.viewer { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.viewer video, .viewer img { width: 100%; height: 100%; object-fit: contain; }
.strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; }
.strip button { flex: 0 0 auto; width: 120px; padding: 0; border: 2px solid transparent; background: #000; cursor: pointer; position: relative; }
.strip button[aria-current="true"] { border-color: var(--gold); }
.strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.strip .play::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; text-shadow: 0 0 6px #000; }
.side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.side .capimg { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; border: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; }
.facts dt { color: #8a7a5c; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; }
.buy { margin: 22px 0; background: var(--panel-2); border: 1px solid var(--gold); padding: 16px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.buy h2 { margin: 0; font-size: 21px; }
.buy p { margin: 2px 0 0; color: var(--gold-hi); font-size: 14px; }
.play { display: inline-block; line-height: 0; }
footer .tm { flex-basis: 100%; font-size: 12px; opacity: .7; }
.btn { display: inline-block; background: linear-gradient(to bottom, var(--crimson-hi) 5%, #7c1712 95%); color: #fff; padding: 9px 20px; border-radius: 2px; font: 600 15px/1 var(--f-body); white-space: nowrap; }
.cols { display: grid; grid-template-columns: 1.9fr 1fr; gap: 26px; }
.cols > * { min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; }
.panel ul { margin: 0; padding-left: 18px; }
.panel li { margin: 4px 0; }
.about p { max-width: 68ch; }

/* text pages */
.doc { max-width: 760px; padding-block: 30px 50px; }
.doc h2 { font-size: 22px; margin-top: 26px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 4px 0; }
.mail { color: var(--gold-hi); font-weight: 600; user-select: all; }

.vtube { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); padding: 18px; }
.vtube img { width: 112px; height: 112px; border-radius: 26px; }
.vtube > div { flex: 1; min-width: 240px; }

footer { border-top: 2px solid var(--crimson); background: #000; margin-top: 40px; }
footer .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }

@media (max-width: 1220px) { .arrow.l { left: 6px; } .arrow.r { right: 6px; } }
@media (max-width: 820px) {
  .feat, .app, .cols { grid-template-columns: 1fr; }
  .arrow { display: none; }
  .nav a { padding: 12px 0; }
  .top .wrap { gap: 6px 22px; padding-block: 10px; }
}
@media (prefers-reduced-motion: reduce) { .cap { transition: none; } .cap:hover { transform: none; } }
/* four capsules in the row (No People, No Stories added 2026-10-30): the Vtube card's icon took the full-width capsule image rule
   and the card ran past the page; long labels wrap */
.cap { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.cap .ct { flex-wrap: wrap; }
.cap .vt img { width: 96px; height: 96px; aspect-ratio: 1; border-radius: 22px; }
