/* ========================
   BATTLEZONE PRO – style.css
   ======================== */

/* --- Imports & Tokens --- */
:root {
  --orange: #ff6b00;
  --orange-light: #ff8c00;
  --orange-glow: rgba(255, 107, 0, 0.4);
  --orange-dark: #cc4400;
  --red: #ff2200;
  --gold: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.3);
  --green: #00ff88;
  --blue: #00aaff;
  --bg-darkest: #050505;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --bg-elevated: #1a1a1a;
  --border: rgba(255, 107, 0, 0.15);
  --border-bright: rgba(255, 107, 0, 0.5);
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --text-muted: #666666;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-orange: 0 0 30px rgba(255, 107, 0, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.8);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-darkest);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Fire Canvas */
#fireCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* ======================== TYPOGRAPHY ======================== */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-primary);
  line-height: 1;
}

.accent { color: var(--orange); text-shadow: 0 0 20px var(--orange-glow); }

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.98);
  border-color: var(--border-bright);
  box-shadow: 0 4px 30px rgba(0,0,0,0.9), 0 0 20px rgba(255,107,0,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon { display: flex; align-items: center; filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.6)); }

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.logo-accent { color: var(--orange); }

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

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(255, 107, 0, 0.12);
}

.nav-link.active { color: var(--orange); }

.nav-admin {
  color: var(--gold) !important;
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.nav-admin:hover { background: rgba(255, 215, 0, 0.1) !important; border-color: var(--gold) !important; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.game-badges {
  display: flex;
  gap: 5px;
}

.game-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 107, 0, 0.15);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-badge.ff {
  background: rgba(0, 204, 102, 0.15);
  color: #00cc66;
  border-color: rgba(0, 204, 102, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: var(--transition);
}

/* ======================== BUTTONS ======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5), 0 0 0 1px rgba(255,107,0,0.3);
}

.btn-glow { box-shadow: 0 0 20px rgba(255, 107, 0, 0.4), 0 4px 15px rgba(255, 107, 0, 0.3); }
.btn-glow:hover { box-shadow: 0 0 40px rgba(255, 107, 0, 0.7), 0 8px 30px rgba(255, 107, 0, 0.5) !important; }

.btn-large {
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 10px;
  letter-spacing: 1.5px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: white;
  border-color: rgba(255,255,255,0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.04);
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-ff {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #00cc66, #009933);
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 20px rgba(0, 204, 102, 0.4);
}
.btn-ff:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 204, 102, 0.6); }

/* ======================== SECTION COMMON ======================== */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  text-align: center;
}

.arrow-deco {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--orange);
  opacity: 0.7;
  letter-spacing: -4px;
}

/* ======================== HERO SECTION ======================== */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 72px;
}

.hero-slider {
  position: relative;
  flex: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.slide-bg-1 {
  background: 
    radial-gradient(ellipse at 30% 60%, rgba(255, 60, 0, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 107, 0, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 30, 0, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #050505 0%, #0d0500 40%, #150800 100%);
}

.slide-bg-2 {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255, 200, 0, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 100, 0, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 150, 0, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #050505 0%, #100800 40%, #180a00 100%);
}

.slide-bg-3 {
  background: 
    radial-gradient(ellipse at 70% 40%, rgba(0, 200, 100, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 30%, rgba(0, 150, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 100, 0, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, #050505 0%, #080d08 40%, #080808 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px 60px;
  gap: 40px;
  flex: 1;
  min-height: 480px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 580px;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: var(--orange);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: pulse-tag 2s infinite;
}

.hero-tag-mega { color: var(--gold); background: rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.4); }
.hero-tag-ff { color: #00cc66; background: rgba(0,204,102,0.1); border-color: rgba(0,204,102,0.4); }

@keyframes pulse-tag {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  line-height: 1;
}

.title-daily {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--orange);
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.6), 0 0 80px rgba(255, 107, 0, 0.3);
  letter-spacing: 2px;
}

.title-mega { color: var(--gold); text-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3); }
.title-ff { color: #00cc66; text-shadow: 0 0 40px rgba(0, 204, 102, 0.6); }

.title-tournament {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  color: white;
  letter-spacing: 4px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-prize-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.prize-item {
  flex: 1;
  text-align: center;
}

.prize-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.prize-value {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.prize-mega { color: var(--gold) !important; text-shadow: 0 0 15px rgba(255, 215, 0, 0.5) !important; }
.prize-ff { color: #00cc66 !important; }
.prize-free { color: #00ff88 !important; font-size: 1rem !important; letter-spacing: 2px; }

.prize-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 107, 0, 0.2);
  margin: 0 4px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Character */
.hero-character {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-char-mega { animation: float 3s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.character-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.25), transparent 70%);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.character-svg-container {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.4));
  animation: character-float 3s ease-in-out infinite;
}

@keyframes character-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.character-flames {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.flame {
  width: 20px;
  border-radius: 50% 50% 30% 30%;
  background: linear-gradient(180deg, #fff0a0, #ff8c00, #ff2200, transparent);
  transform-origin: bottom center;
  filter: blur(4px);
  opacity: 0.8;
}

.flame.f1 { height: 60px; animation: flicker 0.8s infinite alternate; }
.flame.f2 { height: 80px; animation: flicker 0.6s 0.1s infinite alternate; }
.flame.f3 { height: 70px; animation: flicker 0.9s 0.2s infinite alternate; }
.flame.f4 { height: 55px; animation: flicker 0.7s 0.15s infinite alternate; }
.flame.f5 { height: 65px; animation: flicker 0.85s 0.05s infinite alternate; }

@keyframes flicker {
  0% { transform: scaleX(1) scaleY(1) skewX(0deg); }
  100% { transform: scaleX(0.8) scaleY(1.1) skewX(5deg); }
}

/* Thumbnails */
.slide-thumbnails {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  z-index: 3;
}

.thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(20px);
  width: 180px;
  opacity: 0.6;
}

.thumb.active, .thumb:hover {
  opacity: 1;
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.12);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.thumb-img {
  width: 40px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
}

.thumb-bgmi { background: linear-gradient(135deg, #8B0000, #ff4400, #ff8c00); }
.thumb-mega { background: linear-gradient(135deg, #4a0000, #ffd700, #ff8c00); }
.thumb-ff { background: linear-gradient(135deg, #003300, #00cc66, #00ff88); }

.thumb-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.thumb-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
}

/* ======================== MATCHES SECTION ======================== */
.matches-section {
  background: linear-gradient(180deg, #050505 0%, #080808 50%, #050505 100%);
}

.matches-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255, 107, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 50, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.match-card {
  background: linear-gradient(135deg, rgba(20,10,5,0.95), rgba(15,8,3,0.98));
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.match-card:hover {
  border-color: rgba(255, 107, 0, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8), 0 0 30px rgba(255, 107, 0, 0.15);
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.match-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.match-game-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
}

.match-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 30, 0, 0.15);
  border: 1px solid rgba(255, 30, 0, 0.4);
  color: #ff4444;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4444;
  animation: live-blink 1s infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.match-upcoming-badge {
  background: rgba(0, 170, 255, 0.1);
  border-color: rgba(0, 170, 255, 0.3);
  color: var(--blue);
}

.match-body {
  display: flex;
  padding: 14px 18px;
  gap: 14px;
}

.match-info {
  flex: 1;
}

.match-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.match-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
}

.stat-value.prize { color: var(--gold); text-shadow: 0 0 10px rgba(255,215,0,0.4); }
.stat-value.entry { color: white; }

.match-image {
  width: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0800, #2d0f00);
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-img-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.match-img-icon {
  font-size: 2rem;
}

.match-img-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.45rem;
  color: var(--orange);
  letter-spacing: 1px;
}

.match-slots-row {
  padding: 0 18px;
  margin-bottom: 12px;
}

.slots-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.slots-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slots-count {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.slots-bar {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.slots-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange));
  position: relative;
  transition: width 1s ease;
}

.slots-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  transform: translateX(50%);
}

.slots-fill.almost-full { background: linear-gradient(90deg, #8B0000, #ff1a00); }
.slots-fill.almost-full::after { background: #ff1a00; box-shadow: 0 0 8px #ff1a00; }

.match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.match-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.timer-icon {
  color: var(--orange);
  font-size: 0.8rem;
}

.timer-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.timer-value {
  color: var(--orange);
  font-weight: 700;
}

.btn-join {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
}

/* ======================== HOW IT WORKS ======================== */
.how-section {
  background: linear-gradient(180deg, #050505 0%, #080808 100%);
}

.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
}

.how-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 20px;
}

.how-card {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  background: linear-gradient(145deg, rgba(20,10,5,0.95), rgba(12,6,2,0.98));
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.how-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9), 0 0 30px rgba(255, 107, 0, 0.12);
}

.how-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.7);
  line-height: 1;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255,107,0,0.15), rgba(255,50,0,0.1));
  border: 2px solid rgba(255, 107, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.how-icon-wrap {
  margin: 20px auto 20px;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.5));
}

.how-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.how-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.how-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.how-badge-gold {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--gold);
}

.how-connector {
  display: flex;
  align-items: center;
  opacity: 0.6;
}

/* ======================== WHY CHOOSE US ======================== */
.why-section {
  background: linear-gradient(180deg, #050505 0%, #0a0502 50%, #050505 100%);
  overflow: hidden;
}

.why-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.why-card {
  background: linear-gradient(145deg, rgba(18,10,4,0.97), rgba(12,6,2,0.99));
  border: 1px solid rgba(255, 107, 0, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.why-card:hover::after { transform: scaleX(1); }

.why-card:hover {
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 107, 0, 0.1);
  background: linear-gradient(145deg, rgba(25,12,5,0.97), rgba(15,8,3,0.99));
}

.why-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.4));
}

.why-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.why-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ======================== WINNERS SECTION ======================== */
.winners-section {
  background: linear-gradient(180deg, #050505 0%, #080808 100%);
}

.winners-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.winner-card {
  background: linear-gradient(145deg, rgba(20,12,4,0.97), rgba(12,8,2,0.99));
  border: 1px solid rgba(255, 107, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.winner-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8), 0 0 25px rgba(255, 215, 0, 0.1);
}

.winner-rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #FF8C00); box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #808080); }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #8B4513); }
.rank-4, .rank-5, .rank-6 { background: linear-gradient(135deg, #ff6b00, #cc4400); }

.winner-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.winner-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 107, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
}

.winner-username {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.winner-prize-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.winner-prize-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.winner-prize-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.winner-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.winner-order {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.winner-game-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 0, 0.25);
  letter-spacing: 0.5px;
}

.view-all-wrap {
  display: flex;
  justify-content: center;
}

/* ======================== FOOTER ======================== */
.footer {
  background: linear-gradient(180deg, #050505 0%, #030303 100%);
  border-top: 1px solid rgba(255, 107, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 107, 0, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 12px 0 16px;
  line-height: 1.6;
}

.footer-games {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.social-btn.telegram {
  background: rgba(0, 136, 204, 0.12);
  border: 1px solid rgba(0, 136, 204, 0.25);
  color: #29b5e8;
}

.social-btn.telegram:hover {
  background: rgba(0, 136, 204, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
}

.social-btn.youtube {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.25);
  color: #ff4444;
}

.social-btn.youtube:hover {
  background: rgba(255, 0, 0, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.footer-links-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 8px;
  transition: var(--transition);
}

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

.footer-sep {
  color: rgba(255,255,255,0.15);
  font-size: 0.7rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* ======================== FIRE PARTICLE EFFECTS ======================== */
.fire-particle {
  position: absolute;
  border-radius: 50% 50% 30% 30%;
  background: var(--orange);
  filter: blur(3px);
  pointer-events: none;
  animation: rise-up linear infinite;
  z-index: 0;
}

@keyframes rise-up {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-200px) scale(0); opacity: 0; }
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1100px) {
  .hero-main { padding: 40px 30px; }
  .slide-thumbnails { position: relative; right: auto; top: auto; transform: none; flex-direction: row; justify-content: center; padding: 0 30px 20px; flex-wrap: nowrap; overflow-x: auto; }
  .thumb { flex-shrink: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .hero-main { flex-direction: column; text-align: center; padding: 30px 20px; }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-prize-bar { max-width: 400px; margin-left: auto; margin-right: auto; }
  .hero-character { display: none; }
  .how-connector { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(5,5,5,0.98); padding: 20px; flex-direction: column; border-bottom: 1px solid var(--border); gap: 4px; z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .game-badges { display: none; }
  .section { padding: 60px 0; }
  .how-grid { flex-direction: column; align-items: center; }
  .how-card { max-width: 100%; width: 100%; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .matches-grid { grid-template-columns: 1fr; }
  .winners-grid { grid-template-columns: 1fr 1fr; }
  .slide-thumbnails { display: none; }
  .hero-main { min-height: 70vh; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .winners-grid { grid-template-columns: 1fr; }
  .hero-prize-bar { flex-direction: column; gap: 12px; padding: 14px; }
  .prize-divider { width: 80px; height: 1px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-large { text-align: center; justify-content: center; }
  .nav-actions { gap: 6px; }
  .btn-ghost, #loginBtn { display: none; }
}

/* ======================== ANIMATIONS & MICRO-FX ======================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-slide.active .hero-text > * {
  animation: fadeInLeft 0.7s ease backwards;
}

.hero-slide.active .hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-slide.active .hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero-slide.active .hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-slide.active .hero-text > *:nth-child(4) { animation-delay: 0.4s; }
.hero-slide.active .hero-text > *:nth-child(5) { animation-delay: 0.5s; }

.why-card, .how-card, .match-card, .winner-card {
  animation: fadeInUp 0.6s ease backwards;
}

/* Neon pulse on hover for cards */

.match-card:hover::before,
.how-card:hover::before {
  animation: shimmer-line 1s ease infinite;
}

@keyframes shimmer-line {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===================================================
   AUTH & JOIN MODALS
   =================================================== */

/* Backdrop */
.auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1500;
  display: none;
  animation: fadeIn 0.25s ease;
}
.auth-backdrop.open { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Modal container */
.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 1600;
  width: 100%;
  max-width: 480px;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.auth-modal-inner {
  background: linear-gradient(145deg, #0d0d12, #12121a);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 20px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.95), 0 0 60px rgba(255,107,0,0.08);
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal-inner::-webkit-scrollbar { width: 4px; }
.auth-modal-inner::-webkit-scrollbar-thumb { background: rgba(255,107,0,0.3); border-radius: 4px; }

/* Close button */
.auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: #aaa;
  font-size: 0.9rem;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-close:hover { background: rgba(255,51,51,0.15); color: #ff4444; }

/* Header */
.auth-header { text-align: center; margin-bottom: 24px; }

.auth-logo {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 10px;
  animation: float-emoji 3s ease-in-out infinite;
}

@keyframes float-emoji {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.auth-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.auth-sub {
  font-size: 0.8rem;
  color: #666;
  font-family: 'Inter', sans-serif;
}

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 14px; }

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-field { display: flex; flex-direction: column; gap: 5px; }

.auth-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.3px;
}

.auth-pass-wrap { position: relative; }

.auth-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.25s;
}

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

.auth-input::placeholder { color: #444; }

.auth-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.auth-eye:hover { opacity: 1; }

/* Error */
.auth-error {
  color: #ff4444;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  min-height: 18px;
  font-weight: 500;
}

/* Submit button */
.auth-submit {
  width: 100%;
  background: linear-gradient(135deg, #ff6b00, #cc3300);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255,107,0,0.3);
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}

.auth-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.auth-submit:hover::before { left: 100%; }
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,0,0.5); }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: #666;
  font-family: 'Inter', sans-serif;
}

.auth-switch-link {
  color: var(--orange);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}
.auth-switch-link:hover { color: #ff8c00; }

/* ===== JOIN MODAL ===== */
.auth-modal-join { max-width: 440px; }

.join-header {
  text-align: center;
  margin-bottom: 20px;
}

.join-game-badge {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--orange);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.join-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.join-detail-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jd-label {
  font-size: 0.68rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.jd-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.jd-value.orange { color: var(--orange); }
.jd-value.gold { color: var(--gold); }

.join-wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,204,102,0.06);
  border: 1px solid rgba(0,204,102,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.join-wallet-left, .join-wallet-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.join-wallet-right { text-align: right; }

.jw-label {
  font-size: 0.68rem;
  color: #555;
  font-family: 'Inter', sans-serif;
}

.jw-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #00cc66;
}

.jw-after {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffd700;
}

.join-info-note {
  background: rgba(0,153,255,0.07);
  border: 1px solid rgba(0,153,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.75rem;
  color: #0099ff;
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
  text-align: center;
}

.join-submit { background: linear-gradient(135deg, #ff6b00, #cc2200); }

/* ===== SUCCESS MODAL ===== */
.success-anim {
  font-size: 3.5rem;
  animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounce-in {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.success-ticket {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ticket-row:last-child { border-bottom: none; padding-bottom: 0; }
.ticket-row span:first-child { color: #666; font-family: 'Inter', sans-serif; }
.ticket-row span:last-child { font-weight: 600; font-size: 0.85rem; color: white; }

.success-note {
  font-size: 0.75rem;
  color: #555;
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}

/* ===================================================
   NAV USER PROFILE (logged-in state)
   =================================================== */
.nav-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.nav-wallet {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,204,102,0.1);
  border: 1px solid rgba(0,204,102,0.25);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-wallet:hover { background: rgba(0,204,102,0.18); }

.nw-icon { font-size: 0.85rem; }

.nw-bal {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #00cc66;
}

.nav-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
}

.nav-avatar-wrap:hover { background: rgba(255,107,0,0.1); border-color: rgba(255,107,0,0.25); }

.nav-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00, #cc2200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 10px rgba(255,107,0,0.4);
  flex-shrink: 0;
}

.nav-user-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #0d0d14;
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 12px;
  width: 180px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  animation: slideDown 0.2s ease;
}

.nav-dropdown.open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nd-item {
  padding: 11px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #aaa;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}

.nd-item:hover { background: rgba(255,107,0,0.08); color: white; }

.nd-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }

.nd-logout { color: #ff4444; }
.nd-logout:hover { background: rgba(255,51,51,0.1); color: #ff4444; }

/* ===================================================
   RESPONSIVE ADJUSTMENTS FOR AUTH
   =================================================== */
@media (max-width: 480px) {
  .auth-modal-inner { padding: 24px 18px; }
  .auth-grid-2 { grid-template-columns: 1fr; }
  .join-details-grid { grid-template-columns: 1fr 1fr; }
  .auth-modal { padding: 12px; }
  .nav-user-name { display: none; }
  .nav-wallet { display: none; }
}

