*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0a0b10;
  color: #e8eaf0;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 10px; }
ul { list-style: none; }

:root {
  --bg: #0a0b10;
  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --muted: #8b92a8;
  --text: #e8eaf0;
  --cyan: #00e5ff;
  --violet: #a855f7;
  --neon: linear-gradient(135deg, #00e5ff, #a855f7);
}

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,11,16,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.logo span {
  background: var(--neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #00c4d9, #8b3fd4);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,229,255,0.3);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.25);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 span {
  background: var(--neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
}

section { padding: 90px 24px; }
.container { max-width: 1140px; margin: 0 auto; }
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}
.section-header h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.section-header p { color: var(--muted); font-size: 1.05rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,229,255,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,229,255,0.12);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.94rem; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
  border-color: rgba(168,85,247,0.3);
}
.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}
.game-body { padding: 22px; }
.game-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.game-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; }
.game-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,229,255,0.12);
  padding: 4px 10px;
  border-radius: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-content h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.about-content p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 1.04rem;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}
.stat span { font-size: 0.84rem; color: var(--muted); }
.about-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px rgba(0,0,0,0.3);
}

.cta {
  background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(168,85,247,0.12));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 24px;
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); max-width: 460px; margin: 0 auto 28px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 46px;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 24px; }
.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,229,255,0.12);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}
.info-item h4 { font-size: 0.9rem; margin-bottom: 3px; }
.info-item p, .info-item a { color: var(--muted); font-size: 0.95rem; }
.info-item a:hover { color: var(--cyan); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-size: 0.98rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

footer {
  background: #06070a;
  border-top: 1px solid var(--border);
  padding: 56px 24px 28px;
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.88rem;
  margin-bottom: 14px;
  color: #fff;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
  color: #5a6170;
}

.page-hero {
  padding: 140px 24px 70px;
  text-align: center;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-img { max-width: 460px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #0a0b10;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-img img { height: 300px; }
}
