/* Vorlix Games site layer on top of site.css: per-game themes, home, game pages. */
:root {
  --chimp: #f2c230; --chimp-ink: #1a1405;
  --timber: #ff9a3c; --timber-ink: #241002; --moss: #2f4a2a;
  --hush: #a3121a; --bone: #e9e3d6;
}
body.t-studio { --accent: #f3f5f9; --accent-ink: #07080b; }
body.t-chimp { --accent: var(--chimp); --accent-ink: var(--chimp-ink); }
body.t-timber { --accent: var(--timber); --accent-ink: var(--timber-ink); }
body.t-hush { --accent: var(--hush); --accent-ink: #fff; background: #070606; }
.btn-acc { background: var(--accent); color: var(--accent-ink); }
.btn-hush { background: var(--hush); color: #fff; }
.nav { background: rgba(7, 8, 11, .72); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom-color: var(--line); }
.nav-links a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
@media (max-width: 760px) {
  .nav-links { display: flex; gap: 1rem; margin-left: 0; overflow-x: auto; }
  .nav-links a { font-size: .82rem; white-space: nowrap; }
  .nav-in { gap: 1rem; }
  .nav .btn-sm { display: none; }
}
@media (max-width: 420px) { .wordmark span { display: none; } }

.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); margin-right: 14px; }
.pill-live { border-color: rgba(242, 194, 48, .5); color: var(--chimp); }
.pill-hush { border-color: rgba(163, 18, 26, .7); color: #ff6b6b; }
.live-dot.on { background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: vxpulse 2s infinite; }
@keyframes vxpulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot.on { animation: none; } }

/* ---------- home hero ---------- */
.vx-hero { position: relative; padding: 150px 0 40px; overflow: hidden;
  background: radial-gradient(900px 420px at 12% 10%, rgba(242, 194, 48, .10), transparent 60%),
              radial-gradient(800px 400px at 55% 0%, rgba(255, 154, 60, .08), transparent 60%),
              radial-gradient(900px 500px at 95% 20%, rgba(163, 18, 26, .16), transparent 60%); }
.vx-title { font-size: clamp(2.8rem, 8.5vw, 7rem); line-height: .95; font-stretch: 118%; font-weight: 800; letter-spacing: -.045em; margin: 0 0 1.4rem; }
.vx-title em { font-style: normal; background: linear-gradient(90deg, var(--chimp), var(--timber) 55%, #ff4d4d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vx-lead { max-width: 40rem; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); margin: 0 0 1.6rem; }
.vx-live { display: flex; align-items: center; font-weight: 600; margin: 0; }
.vx-hero-games { display: flex; gap: clamp(16px, 4vw, 48px); margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hg { font-weight: 800; font-stretch: 125%; font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hg-chimp::before, .hg-timber::before, .hg-hush::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 10px; vertical-align: 2px; }
.hg-chimp::before { background: var(--chimp); } .hg-timber::before { background: var(--timber); } .hg-hush::before { background: var(--hush); }

/* ---------- game rows ---------- */
.vx-games { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 110px); padding: clamp(60px, 8vw, 110px) 0; }
.game { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.game:nth-child(even) .game-art { order: 2; }
.game h2 { margin: .6rem 0 1rem; }
.game-lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.2rem; max-width: 34rem; }
.game-status { display: flex; align-items: center; flex-wrap: wrap; margin: 0; font-size: .92rem; color: var(--muted); }
.game-status b { color: var(--text); }
.game-points { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .6rem; }
.game-points li { padding-left: 1.2rem; position: relative; color: var(--muted); }
.game-points li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--text)); }
.game-points b { color: var(--text); font-weight: 600; }
.game-chimp { --dot: var(--chimp); } .game-timber { --dot: var(--timber); } .game-hush { --dot: #ff4d4d; }
.game-chimp .btn-acc { background: var(--chimp); color: var(--chimp-ink); }
.game-timber .btn-acc { background: var(--timber); color: var(--timber-ink); }
.game-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.game-art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); isolation: isolate; transition: transform .6s var(--ease), border-color .3s; }
.game-art:hover { transform: translateY(-4px); border-color: var(--line-2); }
.art-word { position: relative; z-index: 2; font-weight: 800; font-stretch: 125%; line-height: .9; transform: translateY(-18%); text-align: center; letter-spacing: -.03em; }

/* Chimp: jungle at noon */
.art-chimp { background: radial-gradient(circle at 70% 30%, #6b8f2a, #23380f 55%, #0f1a08); }
.art-chimp .art-word { font-size: clamp(2.6rem, 7vw, 5.4rem); color: #fff; text-shadow: 0 6px 0 #0f1a08; }
.art-chimp .art-word i { font-style: normal; color: var(--chimp); }
.art-leaves { position: absolute; inset: -10%; z-index: 1; opacity: .55;
  background:
    radial-gradient(ellipse 120px 60px at 8% 18%, #8fbf3a 60%, transparent 62%),
    radial-gradient(ellipse 160px 70px at 92% 12%, #5f8f22 60%, transparent 62%),
    radial-gradient(ellipse 140px 60px at 85% 88%, #8fbf3a 60%, transparent 62%),
    radial-gradient(ellipse 120px 50px at 12% 92%, #4a7a1a 60%, transparent 62%),
    radial-gradient(ellipse 90px 40px at 50% 4%, #4a7a1a 60%, transparent 62%); }

/* Timber: dusk in a pine forest */
.art-timber, .gp-timber { background: linear-gradient(180deg, #ff9a3c 0%, #c4502a 34%, #3a1d2e 62%, #120c14 100%); }
.timber-word { font-size: clamp(3rem, 11vw, 8rem); }
.art-timber .art-word { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.art-timber .art-word, .timber-word { color: #fff3e2; letter-spacing: .06em; text-shadow: 0 4px 30px rgba(255, 154, 60, .45); }
.art-trees { position: absolute; inset: auto 0 0 0; height: 70%; z-index: 1; background: url(/static/pines.svg) center bottom / cover no-repeat; }
.art-timber::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #ffd9a3; top: 14%; right: 18%; box-shadow: 0 0 80px 30px rgba(255, 190, 120, .35); z-index: 0; }

/* Hush: one light in the dark */
.art-hush { background: radial-gradient(circle at 50% 46%, #2a1513 0%, #0d0807 45%, #050404 75%); }
.art-hush img { width: 74%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 0 30px rgba(163, 18, 26, .25)); }
.art-hush::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(163, 18, 26, .35), transparent 55%); }

@media (max-width: 900px) {
  .game { grid-template-columns: 1fr; }
  .game:nth-child(even) .game-art { order: 0; }
}

/* ---------- game pages ---------- */
.gp-hero { position: relative; overflow: hidden; padding: 160px 0 90px; min-height: 78vh; display: flex; align-items: flex-end; }
.gp-hero-in { position: relative; z-index: 2; }
.gp-word { margin: 0 0 1.2rem; font-weight: 800; font-stretch: 125%; line-height: .9; }
.gp-hero .vx-lead { color: rgba(255, 255, 255, .82); }
.gp-hero .game-status { margin-bottom: 1.6rem; color: rgba(255, 255, 255, .8); }
.gp-timber .art-trees { height: 55%; opacity: .95; }
.gp-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(40px, 6vw, 80px); }
.gp-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: rgba(255, 255, 255, .02); }
.gp-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.gp-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.gp-note { padding-bottom: clamp(80px, 10vw, 140px); }
.statement { font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; margin: 0; max-width: 54rem; }
.statement span { color: var(--muted); }
@media (max-width: 900px) { .gp-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gp-points { grid-template-columns: 1fr; } }

/* HUSH page */
.hush-page { color: var(--bone); }
.gp-hush { background: radial-gradient(ellipse 60% 70% at 50% 40%, #1d0f0d, #070606 70%); align-items: center; text-align: center; }
.hush-fog { position: absolute; inset: 0; background: radial-gradient(circle at 50% 110%, rgba(163, 18, 26, .28), transparent 50%); }
.hush-in { display: flex; flex-direction: column; align-items: center; }
.hush-logo { width: min(640px, 88vw); height: auto; }
.hush-tag { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; color: #c9242d; font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: .2rem 0 1.6rem; letter-spacing: .04em; }
.hush-page .vx-lead { margin-inline: auto; color: rgba(233, 227, 214, .78); }
.hush-page .game-status, .hush-page .game-cta { justify-content: center; }
.hush-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: clamp(60px, 8vw, 100px); }
.hush-card { border: 1px solid rgba(163, 18, 26, .25); border-radius: var(--radius); padding: 26px; background: linear-gradient(180deg, rgba(163, 18, 26, .06), transparent); }
.hush-card h3 { font-family: "IM Fell English SC", Georgia, serif; font-weight: 400; font-size: 1.45rem; letter-spacing: .02em; margin-bottom: .5rem; }
.hush-card p { margin: 0; color: rgba(233, 227, 214, .66); }
.hush-board { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(80px, 10vw, 140px); }
.hush-board h2 { font-family: "IM Fell English SC", Georgia, serif; font-weight: 400; letter-spacing: 0; }
.lb { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(163, 18, 26, .3); }
.lb li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; padding: 16px 4px; border-bottom: 1px solid rgba(233, 227, 214, .08); font-variant-numeric: tabular-nums; }
.lb-rank { color: #c9242d; font-weight: 700; }
.lb-name { font-weight: 600; letter-spacing: .04em; }
.lb-time { color: rgba(233, 227, 214, .7); font-family: ui-monospace, monospace; }
.lb-empty { color: rgba(233, 227, 214, .5); display: block !important; }
@media (max-width: 860px) { .hush-grid, .hush-board { grid-template-columns: 1fr; } }

/* shared bits */
.community { padding-top: 0; }
.doc { padding-top: 140px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .4rem; }
.sub { color: var(--muted); }
