/* ===== CSS VARIABLES ===== */
:root {
  --color-bg: #0a0e27;
  --color-bg-light: #111640;
  --color-bg-card: rgba(17, 22, 64, 0.7);
  --color-orange: #ff6b00;
  --color-orange-glow: rgba(255, 107, 0, 0.4);
  --color-blue: #00d4ff;
  --color-blue-glow: rgba(0, 212, 255, 0.4);
  --color-green: #00ff88;
  --color-green-glow: rgba(0, 255, 136, 0.3);
  --color-purple: #8b5cf6;
  --color-text: #ffffff;
  --color-text-muted: #94a3b8;
  --color-border: rgba(255, 255, 255, 0.08);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-height: 70px;
  --glow-orange: 0 0 20px var(--color-orange-glow), 0 0 60px var(--color-orange-glow);
  --glow-blue: 0 0 20px var(--color-blue-glow), 0 0 60px var(--color-blue-glow);
  --glow-green: 0 0 20px var(--color-green-glow);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; border: none; outline: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; position: relative; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s;
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-football { color: var(--color-text); }
.nav-logo .logo-pvp { color: var(--color-orange); }
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--color-orange); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s;
}

.lang-btn:hover { background: rgba(255,255,255,0.14); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 160px;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
}

.lang-dropdown.active { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.lang-option:hover { background: rgba(255,255,255,0.08); }
.lang-option.active { background: rgba(255,107,0,0.15); color: var(--color-orange); }

/* CTA Button */
.btn-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange), #ff8c00);
  color: #fff;
  box-shadow: var(--glow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--color-orange-glow), 0 0 80px var(--color-orange-glow);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-outline:hover {
  background: rgba(0,212,255,0.1);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, #1a1050 0%, var(--color-bg) 70%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 .highlight-orange { color: var(--color-orange); }
.hero h1 .highlight-blue { color: var(--color-blue); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  animation: pulse-dot 2s infinite;
}

.stat-number {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-text);
}

.stat-label { color: var(--color-text-muted); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: var(--color-text-muted);
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ===== HOW TO PLAY ===== */
.how-to-play { background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 50%, var(--color-bg) 100%); }

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-orange), var(--color-blue), var(--color-green));
}

.step-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-30px);
}

.step-item.revealed {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: var(--glow-orange);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.step-icon { font-size: 1.5rem; margin-bottom: 8px; }

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--color-orange);
}

.step-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.step-screenshot {
  margin-top: 16px;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 9/16;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  border: 1px solid var(--color-border);
}

.step-screenshot.ss-1 { background: linear-gradient(135deg, #ff6b0044, #ff8c0033); }
.step-screenshot.ss-2 { background: linear-gradient(135deg, #00d4ff44, #0088ff33); }
.step-screenshot.ss-3 { background: linear-gradient(135deg, #00ff8844, #00cc6633); }
.step-screenshot.ss-4 { background: linear-gradient(135deg, #8b5cf644, #6d28d933); }
.step-screenshot.ss-5 { background: linear-gradient(135deg, #ff006644, #ff008833); }

.step-img {
  margin-top: 16px;
  width: 100%;
  max-width: 220px;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.step-dual-row {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.step-half {
  flex: 1;
  text-align: center;
}

.step-half h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.step-half p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.step-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-style: italic;
}

@media (max-width: 480px) {
  .step-dual-row { flex-direction: column; gap: 12px; }
}

/* ===== FEATURES ===== */
.features { background: var(--color-bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--color-orange) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--color-orange);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  gap: 24px;
  padding: 20px 0;
}

.carousel-slide {
  flex: 0 0 280px;
  position: relative;
}

.phone-frame {
  width: 280px;
  aspect-ratio: 9/19.5;
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.15);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.phone-frame:hover { transform: scale(1.03); }

.phone-frame .screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-frame .screenshot-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.phone-frame .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
}

.ph-1 { background: linear-gradient(135deg, #ff6b00, #ff3d00); }
.ph-2 { background: linear-gradient(135deg, #00d4ff, #0066ff); }
.ph-3 { background: linear-gradient(135deg, #00ff88, #00aa55); }
.ph-4 { background: linear-gradient(135deg, #8b5cf6, #4c1d95); }
.ph-5 { background: linear-gradient(135deg, #ff0066, #cc0044); }
.ph-6 { background: linear-gradient(135deg, #ffa500, #ff6600); }

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: rgba(255,107,0,0.2);
  border-color: var(--color-orange);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--color-orange);
  box-shadow: 0 0 10px var(--color-orange-glow);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 400px;
  width: 90%;
  aspect-ratio: 9/19.5;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== RANKINGS ===== */
.rankings { background: var(--color-bg); }

.leagues-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.league-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.league-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.league-card:hover { transform: translateY(-4px) scale(1.02); }

.league-icon { font-size: 2rem; flex-shrink: 0; }

.league-info { flex: 1; }

.league-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.league-info .elo-range {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.league-players {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: right;
  white-space: nowrap;
}

.league-bronze { border-left: 3px solid #cd7f32; }
.league-bronze h3 { color: #cd7f32; }
.league-silver { border-left: 3px solid #c0c0c0; }
.league-silver h3 { color: #c0c0c0; }
.league-gold { border-left: 3px solid #ffd700; }
.league-gold h3 { color: #ffd700; }
.league-platinum { border-left: 3px solid #00d4ff; }
.league-platinum h3 { color: #00d4ff; }
.league-elite { border-left: 3px solid #8b5cf6; }
.league-elite h3 { color: #8b5cf6; }
.league-champion { border-left: 3px solid #ff4500; }
.league-champion h3 { color: #ff4500; }

.league-champion {
  background: linear-gradient(135deg, rgba(255,69,0,0.08), rgba(255,215,0,0.08));
  box-shadow: 0 0 30px rgba(255,69,0,0.1);
}

/* ===== AUTH ===== */
.auth {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 50%, var(--color-bg) 100%);
}

.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: rgba(17, 22, 64, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  cursor: pointer;
  background: transparent;
  color: var(--color-text-muted);
  transition: all 0.3s;
}

.auth-tab.active {
  background: rgba(255,107,0,0.15);
  color: var(--color-orange);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.form-group input::placeholder { color: rgba(255,255,255,0.2); }

.auth-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  background: linear-gradient(135deg, var(--color-orange), #ff8c00);
  color: #fff;
  box-shadow: var(--glow-orange);
}

.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--color-orange-glow);
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--color-border);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.btn-fm {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,255,136,0.1);
  border: 1px solid var(--color-green);
  color: var(--color-green);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-fm:hover {
  background: rgba(0,255,136,0.2);
  box-shadow: var(--glow-green);
}

.auth-guest {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.auth-guest:hover { color: var(--color-blue); }

/* ===== FOOTER ===== */
.footer {
  background: #060818;
  border-top: 1px solid var(--color-border);
  padding-top: 60px;
}

.footer-newsletter {
  text-align: center;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 50px;
}

.footer-newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  border-color: var(--color-orange);
}

.newsletter-form button {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--color-orange), #ff8c00);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover { box-shadow: var(--glow-orange); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: rgba(255,107,0,0.15);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--color-orange); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-fm-link {
  font-size: 0.8rem;
  color: var(--color-green);
  transition: color 0.3s;
}

.footer-fm-link:hover { color: #00cc66; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-bg-light);
  border: 1px solid var(--color-orange);
  border-radius: 12px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--color-orange);
  z-index: 3000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10,14,39,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.active { opacity: 1; pointer-events: all; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--color-orange); }

/* ===== RTL ===== */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .steps-timeline::before { left: auto; right: 30px; }
[dir="rtl"] .step-item { flex-direction: row-reverse; }
[dir="rtl"] .league-card { border-left: none; }
[dir="rtl"] .league-bronze { border-right: 3px solid #cd7f32; }
[dir="rtl"] .league-silver { border-right: 3px solid #c0c0c0; }
[dir="rtl"] .league-gold { border-right: 3px solid #ffd700; }
[dir="rtl"] .league-platinum { border-right: 3px solid #00d4ff; }
[dir="rtl"] .league-elite { border-right: 3px solid #8b5cf6; }
[dir="rtl"] .league-champion { border-right: 3px solid #ff4500; }
