:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #647084;
  --paper: #f8fafc;
  --surface: #ffffff;
  --line: rgba(16, 24, 40, 0.12);
  --blue: #155eef;
  --green: #0f766e;
  --gold: #f59e0b;
  --red: #dc2626;
  --shadow: 0 22px 60px rgba(16, 24, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

main {
  flex: 1;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: min(680px, calc(100vh - 140px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  align-items: center;
  gap: 56px;
  padding: 24px 0 46px;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 18px 36px rgba(21, 94, 239, 0.24);
  font-weight: 800;
  text-decoration: none;
}

.store-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.secondary-note {
  max-width: 260px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.game-reel {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-auto-rows: minmax(180px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.video-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.tile-large {
  grid-row: span 2;
  min-height: 420px;
}

.video-tile video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(16, 24, 40, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.feature-band,
.library-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.feature-band article {
  min-width: 0;
}

.feature-band h2,
.library-strip h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.feature-band p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.library-strip {
  margin-bottom: 52px;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px;
}

.game-tags {
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.game-tags span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  font-weight: 800;
}

.game-tags span:nth-child(3n + 1) {
  border-color: rgba(21, 94, 239, 0.22);
}

.game-tags span:nth-child(3n + 2) {
  border-color: rgba(15, 118, 110, 0.22);
}

.game-tags span:nth-child(3n) {
  border-color: rgba(245, 158, 11, 0.28);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 32px;
  }

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

  .tile-large {
    min-height: 360px;
  }

  .feature-band,
  .library-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .feature-band,
  .library-strip,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

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

  .tile-large,
  .video-tile {
    min-height: 260px;
  }

  .store-button {
    width: 100%;
  }

  .secondary-note {
    max-width: none;
  }
}
