:root {
  color-scheme: dark;
  --bg: #111317;
  --panel: #1d2229;
  --panel-soft: #252b33;
  --text: #f5f1e8;
  --muted: #b8c0c8;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #e3b760;
  --teal: #4fc1b5;
  --red: #c85f5b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(17, 19, 23, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  color: #15110b;
  font-size: 13px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.site-footer a,
.policy-links a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.policy-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 74px));
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(48px, 9vw, 96px) clamp(18px, 5vw, 72px);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.95), rgba(17, 19, 23, 0.58) 46%, rgba(17, 19, 23, 0.22)),
    linear-gradient(0deg, rgba(17, 19, 23, 0.96), rgba(17, 19, 23, 0.08) 58%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-bottom: clamp(18px, 5vh, 56px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #e5e9ed;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.game-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  box-shadow: var(--shadow);
}

.game-card p,
.company-copy,
.contact-band p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.game-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 193, 181, 0.13);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #171a20;
}

.company-copy {
  font-size: 17px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #20252b;
}

.contact-band div:first-child {
  max-width: 820px;
}

.policy-links {
  display: grid;
  gap: 12px;
  min-width: min(100%, 260px);
}

.policy-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.legal-page {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #181c22;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 64px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(22px, 3vw, 30px);
}

.legal-content p {
  margin: 12px 0 0;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 19, 23, 0.92), rgba(17, 19, 23, 0.44)),
      linear-gradient(0deg, rgba(17, 19, 23, 0.98), rgba(17, 19, 23, 0.16) 62%);
  }

  .game-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 15px;
  }

  .nav-links {
    font-size: 13px;
  }

  .hero-actions,
  .button,
  .policy-links {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .legal-content {
    padding: 22px;
  }
}
