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

:root {
  --bg: #080b12;
  --bg2: #0d1120;
  --bg3: #111827;
  --border: rgba(255,255,255,0.08);
  --text: #f0f2f8;
  --text2: #8b92a8;
  --purple: #7c3aed;
  --purple2: #6d28d9;
  --accent: #a855f7;
  --green: #10b981;
  --gold: #f59e0b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(8,11,18,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.nav-logo {
  font-size: 16px; font-weight: 800; letter-spacing: 0.15em;
  color: var(--text); text-decoration: none;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-icon { display: flex; align-items: center; color: var(--text2); transition: color .2s; }
.nav-icon:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124,58,237,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 20% 80%, rgba(16,185,129,0.08) 0%, transparent 60%),
              var(--bg);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px; text-align: center;
}
.hero-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #60a5fa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px; color: var(--text2); line-height: 1.7; margin-bottom: 36px;
}
.btn-primary {
  display: inline-block;
  background: var(--purple); color: #fff;
  padding: 14px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 32px rgba(124,58,237,0.4);
}
.btn-primary:hover {
  background: var(--accent); transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(168,85,247,0.5);
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: var(--purple); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: #3b82f6; bottom: -80px; right: -80px; animation-delay: -3s; }
.orb-3 { width: 200px; height: 200px; background: var(--green); bottom: 20%; left: 10%; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em;
}

/* ── GAME CARDS ── */
.games-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.game-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  min-height: 500px;
  transition: transform .3s, box-shadow .3s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.game-card.featured { grid-column: 1 / -1; min-height: 560px; }

.game-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s;
}
.game-card:hover .game-card-bg { transform: scale(1.04); }

.game-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,8,16,0.97) 0%, rgba(5,8,16,0.6) 50%, rgba(5,8,16,0.2) 100%);
}
.game-card-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; padding: 32px;
}
.game-badge {
  display: inline-block; align-self: flex-start;
  background: var(--gold); color: #000;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 20px;
}
.game-title-img {
  max-width: 280px; height: auto; margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
}
.game-desc {
  font-size: 15px; color: var(--text2); line-height: 1.7;
  max-width: 560px; margin-bottom: 20px;
}
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag {
  font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 20px; color: var(--text2);
}
.game-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-store {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform .15s, opacity .2s;
}
.btn-store:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-store svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-appstore { background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-googleplay { background: #1a1a2e; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-follow { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; border: none; }
.game-badge-demo { background: var(--accent); color: #fff; }

.lang-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.lang-label { font-size:12px; color:var(--text2); margin-right:4px; }
.lang-badge { font-size:12px; background:rgba(255,255,255,0.07); border:1px solid var(--border); padding:3px 10px; border-radius:20px; color:var(--text); }

.screenshot-dots { display:flex; gap:8px; margin-bottom:18px; }
.sdot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.3); cursor:pointer; transition:background .2s, transform .2s; }
.sdot.active { background:#fff; transform:scale(1.3); }

/* ── UPCOMING ── */
.upcoming-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.upcoming-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  transition: border-color .2s, transform .2s;
}
.upcoming-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-3px); }
.upcoming-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent); font-weight: 800;
}
.upcoming-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.upcoming-info p { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 10px; }
.upcoming-status {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.upcoming-tease .upcoming-icon { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: var(--green); }
.upcoming-tease .upcoming-status { color: var(--green); }

/* ── FOOTER ── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 14px; display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text2); line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text2); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text2); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 44px; }
  .game-card.featured { min-height: 480px; }
  .game-card-content { padding: 20px; }
  .game-title-img { max-width: 200px; }
  .footer-inner { flex-direction: column; }
}
