:root {
  --gold: #F5C518;
  --gold-light: #FFE066;
  --green-field: #2D7A3A;
  --navy: #0A1628;
  --navy-mid: #0F2040;
  --blue-glow: #1565C0;
  --red-hot: #E53935;
  --white: #F0F4FF;
  --text-muted: #8BA0BF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(10,22,40,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,197,24,0.15);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(245,197,24,0.5);
}
.nav-logo span { color: var(--white); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 900 !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 48px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(21,101,192,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(229,57,53,0.12) 0%, transparent 60%),
    linear-gradient(160deg, #0A1628 0%, #0F2040 50%, #071020 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 280px;
  background:
    linear-gradient(to top, rgba(45,122,58,0.18), transparent),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.025) 80px, rgba(255,255,255,0.025) 82px);
  border-top: 2px solid rgba(255,255,255,0.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInLeft 0.9s ease both;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.hero-title .line1 { color: var(--white); }
.hero-title .line2 {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(245,197,24,0.4), 0 4px 0 rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #F5C518, #E8A800);
  color: var(--navy);
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(245,197,24,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(245,197,24,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.btn-secondary:hover { opacity: 1; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 1px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.9s ease 0.2s both;
}

.phone-frame {
  position: relative;
  width: 280px;
  animation: float 5s ease-in-out infinite;
}
.phone-frame::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(245,197,24,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
.phone-img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.phone-frame-2 {
  position: absolute;
  width: 200px;
  right: -60px;
  top: 15%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 2;
  transform: rotate(4deg);
}
.phone-frame-2 img { width: 100%; display: block; }

/* === SECTIONS === */
.section {
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
}
.section-title em { font-style: normal; color: var(--gold); }

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px 0 0;
}
.divider-center { margin: 16px auto 0; }

/* === FEATURES === */
.features-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(21,101,192,0.12) 0%, transparent 60%),
    var(--navy-mid);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.feature-card {
  background: rgba(10,22,40,0.8);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.feature-card:hover { background: rgba(15,32,64,0.9); }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.fi-gold { background: rgba(245,197,24,0.12); }
.fi-blue { background: rgba(21,101,192,0.2); }
.fi-red { background: rgba(229,57,53,0.15); }
.fi-green { background: rgba(45,122,58,0.2); }
.fi-purple { background: rgba(103,58,183,0.2); }
.fi-teal { background: rgba(0,137,123,0.2); }

.feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--white);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === SCREENSHOTS === */
.screenshots-section {
  background: var(--navy);
  padding: 120px 0;
}
.screenshots-header { padding: 0 48px; }

.screenshots-track {
  display: flex;
  gap: 24px;
  padding: 40px 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.screenshots-track::-webkit-scrollbar { display: none; }
.screenshots-track.dragging { cursor: grabbing; }

.screenshot-item {
  flex-shrink: 0;
  width: 240px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.screenshot-item:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 2px var(--gold);
}
.screenshot-item img { width: 100%; display: block; }

.screenshot-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 16px 16px;
  background: linear-gradient(to top, rgba(10,22,40,0.95), transparent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* === GAMEPLAY === */
.gameplay-section {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(45,122,58,0.1) 0%, transparent 60%),
    var(--navy-mid);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.gameplay-phone img {
  width: 100%;
  max-width: 300px;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  display: block;
  margin: 0 auto;
}

.tactic-list { display: flex; flex-direction: column; gap: 20px; }

.tactic-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s, background 0.3s;
}
.tactic-item:hover {
  border-color: rgba(245,197,24,0.2);
  background: rgba(245,197,24,0.04);
}

.tactic-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: rgba(245,197,24,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  transition: color 0.3s;
}
.tactic-item:hover .tactic-num { color: var(--gold); }

.tactic-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 6px;
}
.tactic-info p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* === PROGRESSION === */
.progression-section { background: var(--navy); }

.prog-showcase {
  max-width: 300px;
  margin: 0 auto 60px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,197,24,0.1);
}
.prog-showcase img { width: 100%; display: block; }

.leagues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.league-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.league-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,197,24,0.3);
  background: rgba(245,197,24,0.04);
}
.league-card.highlight {
  border-color: rgba(245,197,24,0.4);
  background: rgba(245,197,24,0.06);
}
.league-card.highlight::after {
  content: 'FEATURED';
  position: absolute;
  top: 12px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 3px 36px;
  transform: rotate(45deg);
}

.league-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.league-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}
.league-req { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.league-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* === PLAYER === */
.player-section {
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(103,58,183,0.1) 0%, transparent 60%),
    var(--navy-mid);
}

.player-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.player-screens {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.player-main-img {
  width: 65%;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

.player-sub-img {
  width: 48%;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  position: absolute;
  right: 0;
  top: 10%;
  transform: rotate(3deg);
  z-index: 1;
  border: 2px solid rgba(245,197,24,0.15);
}

.player-features { display: flex; flex-direction: column; gap: 24px; }

.player-feat {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.player-feat:last-child { border-bottom: none; }

.player-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.player-feat h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 6px;
}
.player-feat p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* === CTA === */
.cta-section {
  padding: 140px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(45,122,58,0.2) 0%, transparent 60%),
    var(--navy);
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(45,122,58,0.15), transparent);
  border-top: 1px solid rgba(45,122,58,0.2);
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 200%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 40px, var(--navy) 40px, var(--navy) 60px);
  opacity: 0.4;
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(54px, 7vw, 96px);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.store-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px 28px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.store-btn:hover {
  background: rgba(245,197,24,0.1);
  border-color: rgba(245,197,24,0.4);
  transform: translateY(-2px);
}
.store-btn-icon { font-size: 32px; }
.store-btn-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}
.store-btn-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  display: block;
}

/* === FOOTER === */
footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--gold);
}
.footer-links { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(139,160,191,0.5); }

/* === ANIMATIONS === */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: rgba(10,22,40,0.98); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid rgba(245,197,24,0.15); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .hero { grid-template-columns: 1fr; padding: 90px 24px 40px; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .phone-frame-2 { display: none; }
  .section { padding: 80px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .gameplay-grid { grid-template-columns: 1fr; }
  .gameplay-phone { order: -1; }
  .leagues-grid { grid-template-columns: 1fr 1fr; }
  .player-grid { grid-template-columns: 1fr; }
  .player-screens { order: -1; min-height: 300px; }
  .player-sub-img { display: none; }
  .player-main-img { width: 80%; }
  .screenshots-track { padding: 40px 24px; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-section { padding: 80px 24px; }
}
