* {
  box-sizing: border-box;
}

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-light: #f4f6f8;
  --text: #f5f7fa;
  --text-dark: #17202a;
  --muted: #9ba7b4;
  --accent: #ff9f1c;
  --accent-hover: #ffb347;
  --border: rgba(255, 255, 255, 0.1);
  --max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 13px;
  object-fit: cover;
}

nav,
.footer-inner div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

.hero {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 100px 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 159, 28, 0.17), transparent 30%),
    linear-gradient(135deg, #0d1117, #111827);
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.82rem;
}

h1 {
  max-width: 850px;
  margin: 10px 0 24px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.02;
}

.hero-text {
  max-width: 700px;
  font-size: 1.15rem;
  color: var(--muted);
}

.button,
.secondary-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button {
  margin-top: 22px;
  padding: 14px 22px;
  background: var(--accent);
  color: #111;
}

.button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.button:hover {
  background: var(--accent-hover);
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: #111827;
}

.section-heading h2,
.legal-preview h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 4px 0 30px;
}

.game-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.game-card h3 {
  font-size: 2rem;
  margin: 12px 0;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 159, 28, 0.14);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.game-mark {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
}

.game-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.muted {
  color: var(--muted);
}

.legal-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.legal-preview > div:first-child {
  max-width: 650px;
}

.legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-button {
  padding: 12px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.legal-page {
  min-height: calc(100vh - 144px);
  padding: 80px 0;
  background: var(--surface-light);
  color: var(--text-dark);
}

.legal-content {
  max-width: 850px;
}

.legal-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.legal-content h2 {
  margin-top: 40px;
  font-size: 1.45rem;
}

.notice {
  margin: 30px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--accent);
  background: #fff4e2;
  border-radius: 8px;
}

footer {
  border-top: 1px solid var(--border);
  background: #090c10;
  color: var(--muted);
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .legal-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner,
  .footer-inner {
    padding: 18px 0;
  }

  .game-card {
    grid-template-columns: 1fr;
  }

  .game-mark {
    width: 100%;
    height: 120px;
  }

  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  h1 {
    font-size: 2.8rem;
  }
}
