:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;
  --text: #e8e8e8;
  --text-muted: #888;
  --accent: #ff6b1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 28px 40px;
}

.wordmark {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  background-color: #0a0a0a;
  display: flex;
  align-items: flex-end;
  padding: 120px 40px 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  animation: ken-burns 28s ease-in-out infinite alternate;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@keyframes ken-burns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.15) translate3d(-2.5%, 1.5%, 0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.15) 30%,
    rgba(10, 10, 10, 0.45) 65%,
    rgba(10, 10, 10, 0.92) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.status-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 16px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 9.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-pitch {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--text);
  max-width: 560px;
  opacity: 0.88;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- Released ---------- */

.released {
  padding: 120px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 56px;
  color: var(--text);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.game-icon {
  width: 96px;
  height: 96px;
  border-radius: 22%;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.game-card:hover .game-icon {
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
}

.game-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--text);
}

.game-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 22px;
  flex-grow: 1;
}

.game-stores {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
}

.store-badge__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 40px 64px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-row {
  margin-bottom: 10px;
}

.footer-row:last-child {
  margin-bottom: 0;
}

.footer-main {
  color: var(--text);
  font-size: 14px;
}

.footer-domain {
  font-weight: 500;
}

.footer-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-meta {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.footer-meta a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.footer-meta a:hover {
  border-bottom-color: var(--text);
}

.footer-divider {
  margin: 0 10px;
  opacity: 0.4;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 22px 24px;
  }

  .wordmark {
    font-size: 18px;
  }

  .hero {
    padding: 96px 24px 72px;
    min-height: 92vh;
  }

  .released {
    padding: 80px 24px;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .site-footer {
    padding: 40px 24px 48px;
  }
}

@media (max-width: 560px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .game-card {
    padding: 24px;
  }

  .hero-title {
    line-height: 0.95;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .footer-main .footer-divider {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg {
    animation: none;
  }

  .game-card,
  .game-icon,
  .store-badge,
  .footer-meta a {
    transition: none;
  }
}
