/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0b0d12;
  color: #e7e9ee;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 13, 18, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff6a3d, #ffb347);
  color: #0b0d12;
  border-radius: 9px;
  font-weight: 900;
  font-size: 18px;
}
.logo-text { font-size: 18px; }
.logo-accent { color: #ff8a5c; }
.nav nav { display: flex; gap: 24px; font-size: 15px; }
.nav nav a { color: #b9bdc9; transition: color 0.15s; }
.nav nav a:hover { color: #fff; }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 106, 61, 0.35);
  background: rgba(255, 106, 61, 0.08);
  color: #ffb28c;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.grad {
  background: linear-gradient(135deg, #ff6a3d 0%, #ffb347 60%, #ffd27a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  color: #b9bdc9;
  font-size: 18px;
}
.cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 30% 30%, rgba(255, 106, 61, 0.18), transparent 60%),
    radial-gradient(500px circle at 70% 70%, rgba(120, 80, 255, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #ff6a3d, #ff8a5c);
  color: #0b0d12;
  box-shadow: 0 8px 24px -8px rgba(255, 106, 61, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(255, 106, 61, 0.8); }
.btn-ghost {
  background: transparent;
  color: #e7e9ee;
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255,255,255,0.04); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-large { padding: 16px 32px; font-size: 17px; }

/* --- Sections --- */
.section { padding: 90px 0; position: relative; }
.section.alt { background: #0e1118; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-sub {
  color: #b9bdc9;
  margin: 0 0 40px;
  font-size: 17px;
}

/* --- Games grid --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.game-card {
  background: #12151d;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 61, 0.4); }
.game-card.featured { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .game-card.featured {
    grid-column: span 2;
    flex-direction: row;
  }
  .game-card.featured .game-art { flex: 0 0 46%; }
}
.game-art {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at center, hsl(var(--art-hue), 70%, 28%) 0%, hsl(var(--art-hue), 70%, 14%) 70%),
    #0b0d12;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.game-art-inner {
  width: 120px; height: 120px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  backdrop-filter: blur(6px);
}
.art-icon { font-size: 56px; }
.badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 0.4px;
}
.badge-live {
  background: rgba(255, 106, 61, 0.22);
  border-color: rgba(255, 106, 61, 0.5);
  color: #ffc0a4;
}
.game-body { padding: 22px 24px 26px; }
.game-body h3 { margin: 0 0 4px; font-size: 22px; }
.platforms { color: #8a8f9d; font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 14px; }
.game-body p { color: #c6cad4; margin: 0 0 16px; }
.tags { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 12px; padding: 5px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #b9bdc9;
}
.card-cta { margin-top: 18px; }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 820px) {
  .about-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; }
}
.about-grid p { color: #c6cad4; margin: 0 0 16px; }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat {
  background: #12151d;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}
.stat-num { display: block; font-size: 22px; font-weight: 800; color: #ff8a5c; }
.stat-label { display: block; font-size: 12px; color: #8a8f9d; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 4px; }

/* --- Contact --- */
.contact-inner { text-align: center; max-width: 620px; margin: 0 auto; }

/* --- Footer --- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #8a8f9d;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Small screens --- */
@media (max-width: 560px) {
  .nav nav { gap: 16px; font-size: 14px; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 64px 0; }
  .footer-inner { justify-content: center; text-align: center; }
}
