* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #ff7c2a;
  --accent2: #ffb347;
  --dark: #0a0a0f;
  --dark2: #0f0f1a;
  --dark3: #141428;
  --card-bg: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-muted: #7a7a9a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s;
}
#navbar.scrolled {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}
.logo-bracket { color: var(--accent); }
.logo-sub {
  font-size: 0.55rem;
  color: var(--text-muted);
  display: block;
  letter-spacing: 4px;
  margin-top: -4px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--dark);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,10,15,0.97);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.mobile-menu.open { display: flex; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,245,160,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0,217,245,0.06) 0%, transparent 50%),
              var(--dark);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}
.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'Rajdhani', sans-serif;
}
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.btn {
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: var(--dark);
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat span:last-of-type {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--accent2);
}
.stat p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ── SECTIONS ── */
section { padding: 6rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

/* ── ABOUT ── */
#about { background: var(--dark2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
  background: rgba(0,245,160,0.08);
  border: 1px solid rgba(0,245,160,0.2);
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.about-card:hover { border-color: rgba(0,245,160,0.3); transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.about-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.about-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* ── GAMES ── */
#games { background: var(--dark); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.game-card:hover { transform: translateY(-6px); border-color: rgba(0,245,160,0.25); }
.game-card.featured { border-color: rgba(0,245,160,0.3); }
.game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(90deg, #ff6b35, #f7c59f);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 1px;
  z-index: 1;
}
.game-badge.new { background: linear-gradient(90deg, var(--accent), var(--accent2)); color: var(--dark); }
.game-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-icon { font-size: 4rem; }
.game-info { padding: 1.2rem; }
.game-info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}
.game-info p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.game-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.rating { color: #ffd700; }
.game-actions { display: flex; gap: 0.5rem; }
.store-btn {
  flex: 1;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.store-btn.android { background: #01875f; color: #fff; }
.store-btn.ios { background: #007aff; color: #fff; }
.store-btn:hover { opacity: 0.8; }

.games-loading, .games-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem;
  font-size: 1rem;
}
.games-loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 0.6rem;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TEAM ── */
#team { background: var(--dark2); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(0,245,160,0.25); }
.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 auto 1rem;
}
.team-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.role {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.bio { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.socials { display: flex; justify-content: center; gap: 0.5rem; }
.socials a {
  background: var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--accent); color: var(--dark); }

/* ── CONTACT ── */
#contact { background: var(--dark3); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.contact-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.8rem; }
.info-item { display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted); font-size: 0.9rem; }
.info-icon { font-size: 1.2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: var(--dark2); }
.full-width { width: 100%; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-links h4 {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.2rem; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .about-visual { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
}
