/* Game Home layout. Shared colors, branding, and navigation live in /mta/theme.css. */
:root {
  color-scheme: dark;
  --bg: #0b1117;
  --panel: #121b24;
  --line: #27323d;
  --text: #f2f5f6;
  --muted: #97a6b4;
  --accent: #b6f36a;
  --cyan: #62d5d0;
}

* { box-sizing: border-box; }
.page-gamehome { margin: 0; background: radial-gradient(ellipse at 45% -15%, #1b3434 0, transparent 48%), var(--bg); color: var(--text); font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.page-gamehome a { color: inherit; text-decoration: none; }
.page-gamehome a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.page-gamehome .page-shell { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.page-gamehome main { min-width: 0; }
.page-gamehome .skip-link { position: fixed; z-index: 99; top: -100px; left: 16px; padding: 12px 16px; border-radius: 8px; background: var(--accent); color: #122119; }
.page-gamehome .skip-link:focus { top: 12px; }

.page-gamehome .hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: 48px 0 36px; }
.page-gamehome .hero-copy { min-width: 0; }
.page-gamehome .eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--accent); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .15em; }
.page-gamehome .eyebrow > span { width: 16px; height: 1px; background: currentColor; }
.page-gamehome h1 { margin: 0; font-size: clamp(42px, 4.6vw, 68px); font-weight: 750; line-height: 1.05; letter-spacing: -.045em; }
.page-gamehome h1 > span { color: var(--accent); }
.page-gamehome .lede { max-width: 49ch; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.page-gamehome .cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.page-gamehome .button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; line-height: 1.4; font-weight: 700; }
.page-gamehome .button.primary { background: var(--accent); border-color: var(--accent); color: #122119; }
.page-gamehome .button.primary:hover { background: #cbff8c; border-color: #cbff8c; }
.page-gamehome .button.secondary { background: #121b24; color: var(--text); }
.page-gamehome .button.secondary:hover { background: #22323d; }
.page-gamehome .server-address { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.page-gamehome .feature-list { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 25px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.page-gamehome .feature-list li { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.page-gamehome .feature-list li::before { content: ""; width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--cyan); }
.page-gamehome .hero-art { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.page-gamehome .hero-art img { display: block; width: 100%; height: auto; }

.page-gamehome .bands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 32px; }
.page-gamehome .info-panel { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.page-gamehome .panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.page-gamehome .panel-kicker { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .14em; }
.page-gamehome .panel-icon { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid #344632; border-radius: 8px; background: #223023; color: var(--accent); font-size: 20px; line-height: 1; }
.page-gamehome .info-panel:first-child .panel-icon { border-color: #2e5355; background: #183437; color: var(--cyan); }
.page-gamehome .info-panel h2 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
.page-gamehome .info-panel > p { margin: 12px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.page-gamehome .info-panel > a { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 36px; margin-top: auto; color: var(--accent); font-size: 12px; font-weight: 650; }
.page-gamehome .info-panel > a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1200px) {
  .page-gamehome .page-shell { padding: 0 24px; }
  .page-gamehome .hero { gap: 30px; }
  .page-gamehome .info-panel { padding: 20px; }
}
@media (max-width: 900px) {
  .page-gamehome .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 0 28px; }
  .page-gamehome .hero-copy { max-width: 640px; }
  .page-gamehome .hero-art { max-height: 360px; }
  .page-gamehome .hero-art img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 45%; }
  .page-gamehome .bands { gap: 12px; }
  .page-gamehome .info-panel { padding: 18px; }
  .page-gamehome .info-panel h2 { font-size: 19px; }
}
@media (max-width: 760px) {
  .page-gamehome .page-shell { padding: 0 16px; }
  .page-gamehome .hero { padding-top: 30px; }
  .page-gamehome .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .page-gamehome h1 { font-size: clamp(36px, 7.5vw, 52px); }
  .page-gamehome .lede { margin-top: 18px; font-size: 14px; line-height: 1.75; }
  .page-gamehome .cta-row { margin-top: 22px; }
  .page-gamehome .feature-list { margin-top: 20px; padding-top: 16px; }
  .page-gamehome .bands { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 24px; }
  .page-gamehome .info-panel { padding: 22px; }
  .page-gamehome .panel-top { margin-bottom: 14px; }
  .page-gamehome .info-panel h2 { font-size: 21px; }
  .page-gamehome .info-panel > p { max-width: 64ch; }
}
@media (max-width: 420px) {
  .page-gamehome .cta-row .button.primary { width: 100%; }
  .page-gamehome .cta-row .button.secondary { flex: 1 1 120px; padding: 10px; font-size: 11px; }
  .page-gamehome .hero-art img { aspect-ratio: 4 / 3; }
  .page-gamehome .feature-list { gap: 8px 12px; }
}
