:root {
  color-scheme: dark;
  --bg: #080f1b;
  --panel: #101c2b;
  --line: rgba(158, 179, 209, .22);
  --txt: #f5f7fd;
  --muted: #b9c7d9;
  --gold: #ffc84e;
  --gold-strong: #efad30;
  --green: #34eab0;
  --purple: #e3a6ff;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0, #1b2838 0, #09121f 48%, #060d18 100%);
  color: var(--txt);
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: #ffc84e; color: #10131a; }
.site-wrap {
  max-width: 1520px;
  min-height: 100vh;
  margin: 0 auto;
  background: #07101d;
  overflow: clip;
  position: relative;
}
.site-header {
  position: absolute;
  z-index: 10;
  left: clamp(18px, 4%, 72px);
  right: clamp(18px, 4%, 72px);
  top: 18px;
  padding: 8px 12px 8px 22px;
  min-height: 68px;
  border: 1px solid rgba(192, 210, 235, .17);
  border-radius: 15px;
  background: rgba(5, 14, 26, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px #0004;
}
.nav-shell, .brand, .navigation { display: flex; align-items: center; }
.nav-shell { justify-content: space-between; gap: 20px; width: 100%; }
.brand { gap: 13px; white-space: nowrap; font-size: 21px; line-height: 1.2; font-weight: 850; letter-spacing: -.8px; }
.brand strong, .club-section h2 span { color: var(--gold); }
.brand-mark { display: block; width: 48px; height: 48px; flex: none; object-fit: contain; border-radius: 11px; }
.navigation {
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(185, 207, 239, .16);
  border-radius: 12px;
  background: rgba(3, 11, 24, .49);
}
.navigation a {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; min-height: 42px; padding: 0 15px;
  border-radius: 9px;
  color: #e1e8f4; font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: color .16s, background .16s;
}
.navigation a:hover { background: #26364a; color: white; }
.navigation .nav-game { color: var(--gold); background: #171c26; box-shadow: inset 0 0 0 1px rgba(255,198,67,.16); }
.navigation .nav-game:hover { background: #252637; }
.navigation svg { width: 17px; height: 17px; flex: none; }

.hero {
  position: relative;
  min-height: 525px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 85% 31%, #71421660 0, transparent 38%),
    linear-gradient(111deg, #08101d 0, #112138 64%, #271d21 100%);
  border-bottom: 1px solid #a27b3a52;
}
.hero-art {
  z-index: -2;
  position: absolute;
  top: 0;
  right: 0;
  /* Keep the panda's face right of the headline instead of under the gradient. */
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: 0% center;
  display: block;
}
.hero::after {
  content: "";
  z-index: -1;
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #080f1b 0%, #080f1bf5 25%, #080f1bd8 38%, #080f1b67 55%, #080f1b0a 83%),
    linear-gradient(0deg, #080f1b8c, transparent 14%, transparent 82%, #080f1b4d);
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: 760px;
  padding: 127px 35px 44px clamp(36px, 5.5%, 82px);
}
.eyebrow, .overline {
  text-transform: uppercase;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.7px;
}
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 20px; }
.pulse, .note-live {
  flex: none; width: 10px; height: 10px; display: inline-block; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px #ffc84e25, 0 0 20px #ffc84e65;
}
.note-live { width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 0 4px #34eab01c; }
.hero h1 {
  font-size: clamp(48px, 5.8vw, 83px);
  letter-spacing: -3.7px;
  font-weight: 920;
  line-height: 1.02;
  margin: 0 0 17px;
  max-width: 720px;
  text-wrap: balance;
  text-shadow: 0 3px 22px #0006;
}
.hero h1 span { display: block; color: var(--gold); }
.hero-description {
  max-width: 520px;
  color: #d0d9e8;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.38;
  margin: 0;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button {
  min-height: 60px;
  display: inline-flex; justify-content: center; align-items: center;
  gap: 13px; padding: 13px 22px;
  border-radius: 12px;
  font-size: 16px; font-weight: 820;
  transition: transform .16s, background .16s, border-color .16s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #151413; background: linear-gradient(160deg, #ffda6c, #f6b52e); box-shadow: 0 6px 23px #e8a12c35; }
.button-primary:hover { background: #ffe080; }
.button-secondary { color: #f3f7fd; background: #091420d9; border: 1px solid #849ab387; }
.button-secondary:hover { border-color: var(--gold); background: #18283a; }
.hero-note { margin: 23px 0 0; color: #b9cadd; font-size: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.games-section { padding: 29px clamp(23px, 4.5%, 72px) 0; }
.section-heading {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin: 0 0 16px;
}
.section-heading .overline { margin: 0 0 3px; }
.section-heading h2 { margin: 0; font-size: 35px; font-weight: 850; line-height: 1.15; letter-spacing: -1.3px; }
.section-heading>p { max-width: 250px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: right; margin: 0; }
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.game-card {
  background: linear-gradient(153deg, #131f2e, #0f1a29);
  border: 1px solid #4150697d;
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 13px 28px #0003;
}
.card-top {
  min-height: 43px;
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 7px 16px;
  background: #0e1a2a;
}
.game-number { color: #d0d9eb; font-size: 12px; font-weight: 650; letter-spacing: 1.45px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  color: #64ffd0; background: #063f36c8; border: 1px solid #17977496;
  font-size: 12px; line-height: 1.1; font-weight: 760;
  padding: 7px 11px; border-radius: 999px; white-space: nowrap;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.status-pill.offline { color: #ffb9b2; background: #472324; border-color: #8e4849; }
.status-planned { color: #edb6ff; background: #39264c; border-color: #78519e; }
.game-visual {
  position: relative;
  isolation: isolate;
  height: clamp(112px, 10.5vw, 153px);
  overflow: hidden;
  border-bottom: 1px solid #62738a45;
}
.cs-visual { background: radial-gradient(circle at 8% 48%, #7c5b27, #19283c 53%, #071322); }
.q3-visual { background: radial-gradient(circle at 90% 50%, #682b39, #211527 56%, #110f20); }
.game-art { position: absolute; z-index: -1; height: 100%; object-fit: cover; max-width: none; }
.cs-art { left: 0; width: 54%; object-position: 5% center; }
.q3-art { right: 0; width: 53%; object-position: right center; }
.game-visual::after { content: ""; z-index: -1; position: absolute; inset: 0; }
.cs-visual::after { background: linear-gradient(90deg, transparent 10%, #182a3bc2 43%, #091625 80%); }
.q3-visual::after { background: linear-gradient(90deg, #120e23 0, #2d142796 60%, transparent 100%); }
.game-art-title {
  position: absolute; right: 5%; top: 49%;
  transform: translateY(-50%);
  display: flex; align-items: baseline; gap: 4px;
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 950; font-style: italic; letter-spacing: -5px; line-height: .95;
  color: white; text-shadow: 0 3px 16px #0008;
}
.game-art-title strong { font-size: .56em; color: var(--gold); letter-spacing: -2px; }
.game-art-title small {
  position: absolute; bottom: -20px; right: 0; color: #cdd5e3;
  font-size: 10px; font-style: normal; font-weight: 750; letter-spacing: 2px; white-space: nowrap;
}
.q3-art-title { right: auto; left: 6%; flex-direction: column; gap: 5px; transform: translateY(-50%); font-size: clamp(27px, 3vw, 44px); font-style: normal; letter-spacing: 5px; }
.q3-art-title strong { font-size: .49em; letter-spacing: 4px; color: #ec9283; }
.game-content { padding: 18px 20px 14px; }
.game-content h3 { margin: 0 0 8px; font-size: clamp(19px, 2vw, 25px); letter-spacing: -.8px; line-height: 1.25; }
.game-content h3 span { color: var(--gold); }
.q3-card .game-content h3 span { color: var(--purple); }
.game-content>p:not(.stats-note) { margin: 0 0 14px; color: #c1cfdf; font-size: 14px; line-height: 1.5; min-height: 44px; }
.stats-strip {
  display: grid; grid-template-columns: 1.25fr .68fr .69fr 1fr;
  background: #081322e8; border: 1px solid #2b3d56; border-radius: 10px;
  padding: 11px 2px;
}
.stats-strip>div { min-width: 0; padding: 0 12px; border-right: 1px solid #425570a8; }
.stats-strip>div:last-child { border: 0; }
.stats-strip span { color: #a6b8cc; font-size: 11px; display: block; white-space: nowrap; }
.stats-strip strong { display: block; margin-top: 2px; font-size: 18px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats-strip .stats-human strong { color: var(--green); }
.stats-note { color: #8da0b6!important; min-height: 0!important; margin: 8px 0 0!important; font-size: 11px!important; }
.q3-placeholder { min-height: 68px; color: #cbabd5; background: #2b2038b8; border: 1px solid #644870; border-radius: 10px; font-size: 13px; padding: 15px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 0; }
.text-link { color: var(--gold); font-size: 15px; font-weight: 810; }
.text-link:hover { text-decoration: underline; }
.muted-link { color: var(--purple); }
.game-tag { color: #92a5ba; font-size: 11px; }

.connect-section {
  margin: 44px clamp(23px, 4.5%, 72px) 0;
  border: 1px solid #344864; border-radius: 20px;
  background: linear-gradient(115deg, #1c2e44, #101e30);
  display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: 30px;
  padding: 32px;
}
.connect-section .overline { margin: 0 0 5px; }
.connect-section h2 { margin: 0 0 8px; font-size: 34px; letter-spacing: -1px; }
.connect-description { color: #c5d3e5; font-size: 14px; max-width: 450px; margin: 0; }
.client-downloads { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; margin-top: 17px; }
.client-download-link {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; min-height: 44px; padding: 10px 12px;
  border: 1px solid #516682; border-radius: 10px;
  background: #0a1728; color: #ecf3fe;
  font-size: 13px; font-weight: 760; line-height: 1.3; text-align: center;
  transition: border-color .16s, background .16s;
}
.client-download-link:hover { border-color: var(--gold); background: #1b2b40; }
.client-download-steam { border-color: #9b7a40; color: #ffd474; }
.client-download-alternative { color: #dce9f8; }
.client-download-disclaimer { color: #98abc0; font-size: 11px; line-height: 1.5; margin: 10px 0 0; max-width: 470px; }

kbd { display: inline-block; padding: 1px 8px; background: #0b1627; border: 1px solid #718198; border-radius: 5px; }
.command-area label { display: block; color: #baccdf; font-size: 13px; font-weight: 750; margin-bottom: 8px; }
.command-line { display: flex; gap: 9px; }
.command-line input {
  flex: 1; min-width: 0; background: #081321;
  border: 1px solid #53647c; border-radius: 9px;
  padding: 13px 14px; font: 14px ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #f0f6ff;
}
.copy-button { background: linear-gradient(160deg, #ffda6c, #f6b52e); color: #151414; font-weight: 800; padding: 0 24px; border-radius: 9px; border: 0; }
.copy-button:hover { background: #ffe08a; }
.copy-result { font-size: 12px; color: var(--green); margin: 7px 0 0; min-height: 18px; }
.club-section {
  margin: 39px clamp(23px, 4.5%, 72px) 0;
  padding: 26px 30px; border-top: 1px solid #2c3d56;
  display: flex; align-items: center; gap: 20px;
}
.club-section>img { width: 70px; height: 70px; object-fit: contain; flex: none; }
.club-section .overline { margin: 0; }
.club-section h2 { font-size: 27px; margin: 0; letter-spacing: -.5px; }
.club-section p:last-child { color: #afc0d3; font-size: 13px; margin: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #2e3e52; margin: 0 clamp(23px, 4.5%, 72px); padding: 22px 0 30px; color: #8398af; font-size: 12px; }
.site-footer a:hover { color: var(--gold); }

@media (min-width: 1600px) { .hero h1 { font-size: 86px; } }
@media (max-width: 1040px) {
  .brand { font-size: 17px; }
  .brand-mark { width: 41px; height: 41px; }
  .navigation a { padding: 0 10px; font-size: 13px; gap: 6px; }
  .hero-art { width: 68%; object-position: 0% center; }
  .hero-content { max-width: 670px; }
  .hero h1 { font-size: clamp(46px, 6vw, 68px); }
  .game-art-title { font-size: 55px; }
  .q3-art-title { font-size: 30px; }
  .game-number { font-size: 10px; }
  .stats-strip>div { padding: 0 8px; }
}
@media (max-width: 760px) {
  .site-header { top: 12px; left: 16px; right: 16px; padding: 8px 10px; }
  .nav-shell { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .brand { width: 100%; justify-content: center; font-size: 18px; }
  .navigation { width: 100%; justify-content: space-between; }
  .navigation a { flex: 1; min-height: 38px; padding: 5px 6px; font-size: 12px; }
  .navigation svg { display: none; }
  .hero { align-items: end; min-height: 670px; }
  /* Mobile only: move the panda visibly lower; keep text, gradient and desktop untouched. */
  .hero-art { width: 100%; height: 59%; top: 60px; object-position: 0% center; }
  .hero::after { background: linear-gradient(0deg, #080f1b 35%, #080f1bda 48%, #080f1b0d 78%), linear-gradient(90deg,#080f1b55,transparent); }
  .hero-content { padding: 310px 24px 42px; max-width: none; }
  .hero h1 { font-size: clamp(47px, 10vw, 68px); letter-spacing: -2.3px; }
  .hero-description { font-size: 17px; max-width: 550px; }
  .games-grid, .connect-section { grid-template-columns: 1fr; }
  .game-visual { height: 160px; }
  .game-art-title { font-size: 68px; }
  .q3-art-title { font-size: 37px; }
  .game-content>p:not(.stats-note) { min-height: 0; }
  .connect-section { padding: 26px; gap: 22px; margin-top: 34px; }
}
@media (max-width: 420px) {
  /* Narrow phones: move the panda 6px further down without shifting any content. */
  .hero-art { top: 66px; object-position: 7% center; }
  .site-header { left: 10px; right: 10px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 36px; height: 36px; }
  .navigation a { font-size: 11px; }
  .hero { min-height: 680px; }
  .hero-content { padding: 304px 19px 36px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.6px; }
  .hero-actions { gap: 9px; }
  .button { width: 100%; min-height: 55px; font-size: 15px; }
  .eyebrow, .overline { letter-spacing: 1.8px; font-size: 10px; }
  .games-section { padding: 27px 15px 0; }
  .section-heading h2 { font-size: 30px; }
  .section-heading>p { text-align: left; margin-top: 7px; }
  .game-visual { height: 130px; }
  .game-art-title { font-size: 50px; }
  .q3-art-title { font-size: 28px; }
  .game-content { padding: 17px 14px; }
  .card-top { padding: 7px 10px; }
  .game-number { font-size: 9px; letter-spacing: .7px; }
  .status-pill { font-size: 10px; padding: 6px 8px; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 0; }
  .stats-strip>div:nth-child(2) { border-right: 0; }
  .stats-strip>div:nth-child(3), .stats-strip>div:nth-child(4) { padding-top: 10px; border-top: 1px solid #3d4d66; }
  .stats-strip strong { font-size: 18px; }
  .connect-section { margin: 28px 15px 0; padding: 20px 15px; }
  .client-downloads { flex-direction: column; }
  .client-download-link { justify-content: space-between; width: 100%; }
  .command-line { flex-direction: column; }
  .copy-button { min-height: 48px; }
  .club-section { margin: 32px 15px 0; padding: 23px 0; gap: 13px; }
  .club-section>img { width: 54px; height: 54px; }
  .club-section h2 { font-size: 20px; }
  .site-footer { margin: 0 15px; flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
