:root {
  --bg: #081026;
  --panel: #0d1738;
  --panel-2: #111f4d;
  --line: rgba(96, 222, 255, 0.28);
  --text: #eef4ff;
  --muted: #b1c2e7;
  --gold: #ffd34d;
  --gold-2: #ffae00;
  --cyan: #52dfff;
  --pink: #ff4db8;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91, 61, 245, 0.32), transparent 24%),
    radial-gradient(circle at top right, rgba(82, 223, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #060b1d 0%, #09112a 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(6, 11, 29, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand img {
  height: 64px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu a {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.menu a:hover,
.menu a.active {
  color: white;
  border-color: rgba(82, 223, 255, 0.3);
  background: rgba(82, 223, 255, 0.08);
}

.hero {
  padding: 52px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero-copy,
.hero-card,
.section-panel,
.game-card,
.detail-card,
.cta-box {
  background: linear-gradient(180deg, rgba(17,31,77,0.92), rgba(10,18,46,0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
}

.kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 211, 77, 0.12);
  border: 1px solid rgba(255, 211, 77, 0.3);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3 { margin: 0 0 14px; line-height: 1.02; }
h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
}

.hero p,
.section-title p,
.detail-card p,
.game-meta,
.footer-copy,
.stat span,
.screenshot-caption,
.tagline {
  color: var(--muted);
}

.hero p {
  font-size: 1.05rem;
  max-width: 60ch;
}

.hero-actions,
.card-actions,
.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #101528;
  background: linear-gradient(180deg, #ffe38a, #ffcb3d);
  box-shadow: 0 8px 20px rgba(255, 203, 61, 0.25);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-card {
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.section {
  padding: 26px 0 34px;
}

.section-panel {
  padding: 26px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.games-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.game-card {
  overflow: hidden;
}

.game-thumb {
  aspect-ratio: 16 / 9;
  background: #050b1b;
  position: relative;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coming-soon {
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(255,255,255,0.72);
  background:
    linear-gradient(135deg, rgba(91,61,245,0.2), rgba(82,223,255,0.12)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 18px, rgba(255,255,255,0.01) 18px 36px);
}

.game-content {
  padding: 18px;
}

.game-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(82, 223, 255, 0.08);
  border: 1px solid rgba(82, 223, 255, 0.18);
  color: var(--cyan);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card-actions .btn {
  flex: 1;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
}

.detail-card {
  padding: 22px;
}

.shot-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}

.shot-frame img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.screenshot-caption {
  margin-top: 12px;
  font-size: 0.95rem;
}

.stats {
  display: grid;
  gap: 12px;
  margin: 18px 0 12px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat strong { font-size: 1rem; }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-box {
  padding: 24px;
  margin-top: 20px;
}

.footer {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5, 8, 20, 0.9);
}

.footer-inner {
  padding: 24px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .screenshot-grid,
  .games-row {
    grid-template-columns: 1fr;
  }

  .hero-card img { min-height: 260px; }
}

@media (max-width: 720px) {
  .nav-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .menu {
    justify-content: center;
  }

  .brand {
    display: flex;
    justify-content: center;
  }

  .hero-copy,
  .section-panel,
  .detail-card,
  .cta-box { padding: 20px; }

  .footer-inner,
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
}
