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

:root {
  --teal: #2ecbbd;
  --teal-dim: rgba(46, 203, 189, 0.15);
  --teal-glow: rgba(46, 203, 189, 0.25);
  --orange: #f56e0f;
  --bg: #060b0d;
  --bg-2: #091316;
  --bg-card: #0d1c21;
  --text: #dde8ec;
  --text-dim: #607a85;
  --border: rgba(46, 203, 189, 0.1);
}

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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(6, 11, 13, 0.88);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.nav-logo-img {
  width: 40px;
  height: 40px;
  clip-path: polygon(29.3% 0%, 70.7% 0%, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0% 70.7%, 0% 29.3%);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--teal);
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(46, 203, 189, 0.25);
  color: var(--teal);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-store:hover {
  background: rgba(46, 203, 189, 0.22);
  border-color: var(--teal);
  box-shadow: 0 0 18px var(--teal-glow);
}
.btn-store svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(46, 203, 189, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(245, 110, 15, 0.05) 0%, transparent 55%),
    var(--bg);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 203, 189, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 203, 189, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.12) 3px, rgba(0,0,0,0.12) 4px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  opacity: 0.75;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(4.5rem, 16vw, 11rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 60px rgba(46, 203, 189, 0.25), 0 0 140px rgba(46, 203, 189, 0.1);
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.4em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3.5rem;
}
.stat {
  padding: 0 2.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: var(--teal);
  color: #060b0d;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 0 30px rgba(46, 203, 189, 0.3), 0 4px 15px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  background: #3de8d8;
  box-shadow: 0 0 50px rgba(46, 203, 189, 0.5), 0 8px 25px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}
.btn-primary svg, .btn-secondary svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── SHARED SECTION ─── */
.section {
  padding: 7rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.section-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  opacity: 0.75;
}
.section-title {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.1;
}
.section-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  margin: 1.2rem auto 0;
  border: none;
}

/* ─── FIGHTERS ─── */
.fighters {
  background: var(--bg-2);
  position: relative;
}
.fighters::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 60% at 50% 50%, rgba(46, 203, 189, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.fighters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.fighter-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
}
.fighter-card:hover {
  border-color: rgba(46, 203, 189, 0.45);
  box-shadow: 0 0 35px rgba(46, 203, 189, 0.12), 0 20px 50px rgba(0,0,0,0.6);
  transform: translateY(-8px) scale(1.025);
}
.fighter-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  display: block;
}
.fighter-card:hover img {
  transform: scale(1.1);
}
.fighter-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 0.75rem 0.85rem;
  background: linear-gradient(transparent, rgba(6,11,13,0.96));
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  transition: color 0.2s;
}
.fighter-card:hover .fighter-name {
  color: var(--teal);
}

/* ─── SCREENSHOTS ─── */
.screenshots { background: var(--bg); }

.screenshots-row {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.shot {
  flex: 0 1 290px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(46, 203, 189, 0.1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.shot:nth-child(1) { transform: rotate(-4deg) translateY(8px); }
.shot:nth-child(2) { transform: rotate(0) scale(1.06); z-index: 2; box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 60px rgba(46,203,189,0.08); }
.shot:nth-child(3) { transform: rotate(4deg) translateY(8px); }
.shot:hover {
  transform: rotate(0) scale(1.05) !important;
  z-index: 10 !important;
  border-color: rgba(46, 203, 189, 0.3);
  box-shadow: 0 40px 100px rgba(0,0,0,0.9), 0 0 80px rgba(46,203,189,0.12);
}
.shot img {
  width: 100%;
  display: block;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.footer-logo img {
  width: 50px;
  height: 50px;
  clip-path: polygon(29.3% 0%, 70.7% 0%, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0% 70.7%, 0% 29.3%);
}
.footer-logo-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal);
  letter-spacing: 0.18em;
}

.footer-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.footer-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  opacity: 0.6;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-logo-text { display: none; }
  .btn-store span { display: none; }

  .hero-stats { gap: 0; }
  .stat { padding: 0 1.5rem; }
  .stat-value { font-size: 1.5rem; }

  .fighters-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }

  .screenshots-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .shot { flex: 0 1 280px; max-width: 320px; }
  .shot:nth-child(1),
  .shot:nth-child(2),
  .shot:nth-child(3) { transform: none; }
  .shot:nth-child(2) { transform: none; box-shadow: 0 30px 60px rgba(0,0,0,0.7); }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(3.2rem, 20vw, 5rem); }
  .stat { padding: 0 1rem; }
  .fighters-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
