/* ===================================
   GOMLeague – GLOBAL STYLES
   =================================== */

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

:root {
  --bg-primary: #080b12;
  --bg-secondary: #0d1117;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --accent-primary: #00A3FF;
  --accent-blue: #37D5FF;
  --accent-cyan: #0058A3;
  --accent-green: #10B981;
  --accent-orange: #F59E0B;
  --accent-red: #EF4444;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #475569;
  --border: #1E293B;
  --border-bright: #2D3748;
  --border-color: #1E293B;       /* Alias für --border */
  --gradient-main: linear-gradient(135deg, #0058A3, #00A3FF);
  --gradient-hero: linear-gradient(135deg, #0058A3 0%, #00A3FF 50%, #37D5FF 100%);
}

/* ── Layout Container ────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =============================
   UTILITY
   ============================= */
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden { display: none !important; }

.mt-4 { margin-top: 1.5rem; }

/* =============================
   SCROLLBAR
   ============================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #2D3748; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* =============================
   NAVBAR
   ============================= */
#navbar {
  position: fixed;
  top: 36px; /* stream-banner height – updated by JS */
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0d1117;
  border-bottom: 1px solid rgba(55, 213, 255, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
  transition: top 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
}
/* When no banner is present */
#navbar.no-banner {
  top: 0 !important;
}

#navbar.scrolled {
  background: #0a0e15;
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
  border-bottom-color: rgba(55, 213, 255, 0.25);
}

/* ═══ MAIN CONTENT OFFSET ═══════════════════════ */
/* Navbar ist 64px hoch (position:fixed) – main-content
   braucht padding-top damit Content unter Navbar beginnt */
#main-content {
  padding-top: 64px;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
}

/* GOMLeague PNG Logo (1024x224px - breit/quer) */
/* Logo-PNG hat schwarzen Hintergrund → mix-blend-mode:screen blendet
   Schwarz weg und zeigt nur die hellen Cyan/Blau-Elemente */
.nav-logo-img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.8;
  transform: scale(1.04);
}

.footer-logo-img {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

/* Legacy icon fallback (kept for compatibility) */
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-register-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #00A3FF, #0077cc);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,163,255,0.3);
}

.btn-register-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: #4B5563;
}

.btn-primary {
  background: var(--gradient-main);
  border: none;
  color: white;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 163, 255, 0.4);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* 36px banner + 68px navbar + 16px gap = 120px */
  padding-top: 120px;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,163,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,163,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00A3FF, transparent);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #37D5FF, transparent);
  top: 200px;
  right: 0;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #06B6D4, transparent);
  bottom: 0;
  left: 30%;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  33% { transform: translateY(-30px) scale(1.05); }
  66% { transform: translateY(15px) scale(0.95); }
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 163, 255, 0.15);
  border: 1px solid rgba(0, 163, 255, 0.3);
  color: #A78BFA;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-badge i { color: #F59E0B; animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  background: var(--gradient-main);
  border: none;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 0 30px rgba(0, 163, 255, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 163, 255, 0.5);
  opacity: 0.95;
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(10px);
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Card Stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 420px;
}

.game-preview-card {
  position: absolute;
  width: 280px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.game-preview-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(255,255,255,0.2);
  z-index: 10 !important;
}

.card-bg1 { top: 0; left: 0; z-index: 3; transform: rotate(-3deg); }
.card-bg2 { top: 60px; left: 30px; z-index: 2; transform: rotate(1.5deg); }
.card-bg3 { top: 120px; left: 60px; z-index: 1; transform: rotate(5deg); }

.card-game-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-game-icon {
  width: 22px;
  height: 22px;
  filter: invert(1) brightness(0.8);
}

/* Game-Icons aus simple-icons (SVG, schwarz) → weiß invertieren */
.gi-icon {
  filter: invert(1) brightness(0.95);
}

.card-game-label span {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.card-tournament-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.card-prize, .card-players {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-prize i { color: var(--accent-orange); }
.card-players i { color: var(--accent-blue); }

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.card-status.live { background: rgba(239, 68, 68, 0.2); color: #F87171; border: 1px solid rgba(239,68,68,0.3); }
.card-status.upcoming { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid rgba(59,130,246,0.3); }
.card-status.open { background: rgba(16, 185, 129, 0.2); color: #34D399; border: 1px solid rgba(16,185,129,0.3); }

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* =============================
   SECTION COMMONS
   ============================= */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 163, 255, 0.12);
  border: 1px solid rgba(0, 163, 255, 0.25);
  color: #A78BFA;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* =============================
   GAMES SECTION
   ============================= */
.games-section {
  background: var(--bg-secondary);
  position: relative;
}

.games-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.game-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
  group: true;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0,0,0,0.4), inset 0 0 30px rgba(0,0,0,0.2);
}

.game-card:hover .game-card-glow {
  opacity: 0.08;
}

.game-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.game-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.game-icon-wrapper {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s;
}

.game-card:hover .game-icon-wrapper {
  transform: scale(1.1);
}

.game-info {
  margin-bottom: 1rem;
}

.game-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.game-players {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.game-cta-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-card:hover .game-cta-btn {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--text-primary);
}

.games-more {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent-primary);
  color: #A78BFA;
}

/* =============================
   TOURNAMENTS SECTION
   ============================= */
.tournaments-section {
  background: var(--bg-primary);
}

.tournament-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  background: rgba(0, 163, 255, 0.15);
  border-color: var(--accent-primary);
  color: #A78BFA;
}

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

.tournament-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tournament-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

.t-live::before { background: linear-gradient(90deg, #EF4444, #F87171); opacity: 1; }
.t-open::before { background: linear-gradient(90deg, #10B981, #34D399); opacity: 1; }
.t-upcoming::before { background: linear-gradient(90deg, #3B82F6, #60A5FA); }

.tournament-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

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

.tc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tc-game-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  flex-shrink: 0;
}

.tc-game-info {
  flex: 1;
}

.tc-game-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tc-mode {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.tc-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.badge-live    { background: rgba(239,68,68,0.15);   color: #F87171; border: 1px solid rgba(239,68,68,0.25); }
.badge-checkin { background: rgba(251,191,36,0.12);  color: #FBBF24; border: 1px solid rgba(251,191,36,0.25); }
.badge-open    { background: rgba(16,185,129,0.15);  color: #34D399; border: 1px solid rgba(16,185,129,0.25); }
.badge-upcoming{ background: rgba(59,130,246,0.15);  color: #60A5FA; border: 1px solid rgba(59,130,246,0.25); }
.badge-registration { background: rgba(16,185,129,0.12); color: #34D399; border: 1px solid rgba(16,185,129,0.22); }
.badge-finished{ background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.08); }

.tc-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.tc-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tc-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tc-detail i {
  color: var(--text-muted);
  width: 14px;
}

.tc-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.tc-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}

.tc-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-join {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-join:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: var(--text-primary);
}

.btn-details {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-details:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-secondary);
}

.tournament-load-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* =============================
   LEADERBOARD SECTION
   ============================= */
.leaderboard-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.leaderboard-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.leaderboard-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.leaderboard-info .section-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.leaderboard-info .section-title {
  margin-bottom: 0.75rem;
}

.leaderboard-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.lb-header {
  display: grid;
  grid-template-columns: 60px 1fr 90px 110px 90px 80px;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 90px 110px 90px 80px;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  align-items: center;
  transition: background 0.2s;
}

.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: rgba(255,255,255,0.03); }
.lb-row.top-rank { background: rgba(0, 163, 255, 0.04); }

.lb-rank {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.lb-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.lb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.lb-game {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.lb-pts {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.lb-wl { font-size: 0.8rem; }
.lb-wins { color: var(--accent-green); }
.lb-losses { color: var(--text-muted); }

/* =============================
   FEATURES SECTION
   ============================= */
.features-section {
  background: var(--bg-primary);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.feature-card:hover .feature-glow {
  opacity: 0.06;
}

.feature-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================
   HOW IT WORKS
   ============================= */
.how-section {
  background: var(--bg-secondary);
  position: relative;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D97706, transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
}

.step-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: -0.5rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  background: rgba(255,255,255,0.04);
  transition: transform 0.3s;
}

.step-card:hover .step-icon {
  transform: scale(1.08);
}

.step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -1.25rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  z-index: 2;
}

.how-cta {
  text-align: center;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.testimonial-rating {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-handle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =============================
   CTA SECTION
   ============================= */
.cta-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,255,0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
}

.cta-content {
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cta-avatars {
  display: flex;
}

.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  margin-left: -8px;
  flex-shrink: 0;
}

.mini-avatar:first-child { margin-left: 0; }

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

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
  max-width: 240px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.social-link:hover {
  background: rgba(0,163,255,0.15);
  border-color: var(--accent-primary);
  color: #A78BFA;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-primary); }

/* =============================
   MODAL
   ============================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.modal-close:hover {
  background: rgba(255,255,255,0.14);
  color: var(--text-primary);
}

.modal-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.75rem;
}

.modal-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-tab.active {
  background: var(--accent-primary);
  color: white;
}

.modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
}

.social-btn.discord {
  background: rgba(88, 101, 242, 0.1);
  border-color: rgba(88, 101, 242, 0.3);
  color: #7289DA;
}

.social-btn.discord:hover { background: rgba(88, 101, 242, 0.2); }

.social-btn.google {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-secondary);
}

.social-btn.google:hover { background: rgba(255,255,255,0.08); }

.divider {
  text-align: center;
  position: relative;
  margin: 1.25rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.divider span {
  background: #111827;
  padding: 0 0.75rem;
  position: relative;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0,163,255,0.15);
}

.form-group input::placeholder { color: var(--text-muted); }

.forgot-link {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-decoration: none;
}

.forgot-link:hover { text-decoration: underline; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-check label a {
  color: var(--accent-primary);
  text-decoration: none;
}

.form-check label a:hover { text-decoration: underline; }

.btn-modal-submit {
  width: 100%;
  background: var(--gradient-main);
  border: none;
  color: white;
  padding: 0.85rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s;
  font-family: 'Inter', sans-serif;
  margin-top: 0.5rem;
}

.btn-modal-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0,163,255,0.4);
}

/* =============================
   TOAST
   ============================= */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1E293B;
  border: 1px solid var(--accent-green);
  color: var(--text-primary);
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 99999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.toast.show {
  transform: translateX(0);
}

.toast i { color: var(--accent-green); font-size: 1rem; }

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

.fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin: 0 auto 1.5rem; }
  .hero-visual { display: none; }

  .leaderboard-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leaderboard-info .section-header { text-align: center; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(8, 11, 18, 0.98);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }
  .hamburger { display: flex; }
  .btn-ghost { display: none; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-connector { display: none; }

  .lb-header, .lb-row {
    grid-template-columns: 50px 1fr 80px;
  }

  .lb-header span:nth-child(3),
  .lb-header span:nth-child(4),
  .lb-header span:nth-child(5),
  .lb-row .lb-team-col,
  .lb-row .lb-game,
  .lb-row .lb-pts { display: none; }

  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .tournaments-grid, .features-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .cta-social-proof { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .tournament-filters { gap: 0.5rem; }
  .filter-btn { font-size: 0.75rem; padding: 0.4rem 0.9rem; }
}

/* =============================
   LIGA TEASER SECTION
   ============================= */
.league-teaser-section {
  background: var(--bg-secondary);
  position: relative;
}
.league-teaser-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
}
.lt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.lt-text .section-tag { display: inline-block; }
.lt-text .section-title { margin-bottom: .75rem; }
.lt-text .section-subtitle { margin-bottom: 1.5rem; }
.lt-divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 2rem;
}
.lt-div-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: .65rem .85rem;
  transition: all .25s;
}
.lt-div-chip:hover {
  border-color: var(--dc, #00A3FF);
  background: rgba(255,255,255,.07);
}
.lt-div-chip i { font-size: 1rem; flex-shrink: 0; }
.lt-div-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .9rem; line-height: 1.1; }
.lt-div-desc { font-size: .7rem; color: var(--text-muted); margin-top: .1rem; }
.lt-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* League Table Preview */
.lt-visual { display: flex; justify-content: center; }
.lt-table-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
}
.ltp-header {
  background: rgba(255,215,0,.06);
  border-bottom: 1px solid var(--border);
  padding: .85rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ltp-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.03);
  font-size: .82rem;
  transition: background .15s;
}
.ltp-row:last-of-type { border-bottom: none; }
.ltp-row:hover { background: rgba(255,255,255,.03); }
.ltp-row.row-up { background: rgba(16,185,129,.06); border-left: 3px solid #10B981; }
.ltp-row.row-rel { background: rgba(245,158,11,.06); border-left: 3px solid #F59E0B; }
.ltp-row.row-down { background: rgba(239,68,68,.06); border-left: 3px solid #EF4444; }
.ltp-rank { color: var(--text-muted); width: 28px; font-weight: 700; flex-shrink: 0; }
.ltp-name { flex: 1; font-weight: 600; }
.ltp-pts { font-family: 'Rajdhani', sans-serif; font-size: .95rem; font-weight: 800; color: var(--accent-primary); }
.ltp-legend {
  display: flex;
  gap: 1rem;
  padding: .65rem 1.1rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.01);
}
.ltp-l { font-size: .7rem; font-weight: 600; }
.ltp-l.up { color: #10B981; }
.ltp-l.down { color: #EF4444; }

/* =============================
   PARTNER SECTION
   ============================= */
.partners-section {
  background: var(--bg-primary);
  overflow: hidden;
}
.partners-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #3B82F6, transparent);
}
.partners-section { position: relative; }

/* Slider */
.partners-slider-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -1.5rem 3rem;
  padding: 0 1.5rem;
  -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.partners-slider {
  display: flex;
  gap: 1rem;
  animation: partnerScroll 30s linear infinite;
  width: max-content;
}
.partners-slider:hover { animation-play-state: paused; }

@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
  flex-shrink: 0;
  width: 140px;
}
.partner-slide:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.ps-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.ps-name { font-size: .85rem; font-weight: 700; color: var(--text-primary); }
.ps-cat { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* Featured Partners */
.pf-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.partners-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.partner-featured-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: all .3s;
}
.partner-featured-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: 0 12px 35px rgba(0,0,0,.3);
}
.pfc-icon {
  width: 52px; height: 52px; border-radius: 13px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.pfc-info { flex: 1; }
.pfc-name { font-weight: 700; font-size: .95rem; color: var(--text-primary); margin-bottom: .1rem; }
.pfc-desc { font-size: .75rem; color: var(--text-secondary); }
.pfc-arrow { color: var(--text-muted); font-size: .8rem; transition: transform .2s; }
.partner-featured-card:hover .pfc-arrow { transform: translateX(4px); color: var(--accent-primary); }

/* =============================
   ADMIN EXTRA
   ============================= */
/* navbar active link fix */
.nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(255,255,255,.08);
}

@media (max-width: 1024px) {
  .lt-inner { grid-template-columns: 1fr; gap: 2rem; }
  .lt-visual { display: none; }
}
@media (max-width: 640px) {
  .lt-divisions { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   STREAM BANNER
   ═══════════════════════════════════════════════════════════ */
.stream-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #0f0014 0%, #1a002d 50%, #0f0014 100%);
  border-bottom: 1px solid rgba(145,70,255,.35);
  padding: .45rem 1.5rem;
  min-height: 36px;
  box-sizing: border-box;
}
.stream-banner-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.stream-banner-left {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
}
.stream-live-dot {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0;
}
.pulse-ring {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(239,68,68,.35);
  animation: pulseRing 1.6s ease-out infinite;
}
.pulse-core {
  width: 9px; height: 9px; border-radius: 50%; background: #EF4444;
  box-shadow: 0 0 8px 2px rgba(239,68,68,.7);
}
@keyframes pulseRing {
  0%   { transform: scale(.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.stream-platform-icon { font-size: 1.1rem; }
.stream-label {
  font-family: 'Rajdhani', sans-serif; font-weight: 800; letter-spacing: .08em;
  color: #EF4444; font-size: .95rem;
}
.stream-title {
  font-size: .83rem; color: rgba(255,255,255,.85); font-weight: 500;
  max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stream-viewers {
  font-size: .75rem; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: .3rem;
}
.stream-banner-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.stream-watch-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem 1rem; border-radius: 20px;
  background: linear-gradient(135deg, #9146FF, #6c35c0);
  color: #fff; font-size: .78rem; font-weight: 700; text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.stream-watch-btn:hover { opacity: .85; transform: translateY(-1px); }
.stream-close-btn {
  background: rgba(255,255,255,.08); border: none; color: rgba(255,255,255,.5);
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  font-size: .7rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.stream-close-btn:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Kick platform color override */
.stream-watch-btn.kick { background: linear-gradient(135deg, #53fc18, #3bc712); color: #000; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR LIGA DROPDOWN
   ═══════════════════════════════════════════════════════════ */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; user-select: none; }
.nav-chevron {
  font-size: .6rem; margin-left: .2rem; transition: transform .25s;
  display: inline-block;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: rgba(10,10,18,.98); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 1rem 1rem 1rem; min-width: 280px;
  /* Unsichtbarer Puffer oben – überbrückt die Lücke zum Trigger */
  padding-top: calc(1rem + 8px);
  margin-top: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, visibility .2s, transform .2s;
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  z-index: 500;
}
/* Unsichtbare Brücke zwischen Trigger und Menü – 16px für bessere Usability */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
/* Nur noch .open (via JS gesteuert) – kein CSS :hover mehr */
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
/* Rechts-ausgerichtetes Dropdown (User-Menü) */
.nav-dropdown-menu.ndm-right {
  left: auto !important;
  right: 0 !important;
  transform: translateY(-4px) !important;
}
.nav-dropdown.open .nav-dropdown-menu.ndm-right {
  transform: translateY(0) !important;
}
.ndm-section { margin-bottom: .75rem; }
.ndm-section:last-child { margin-bottom: 0; }
.ndm-label {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  color: var(--text-muted); text-transform: uppercase; padding: 0 .5rem .4rem;
}
.ndm-item {
  display: flex; align-items: center; gap: .8rem; padding: .55rem .7rem;
  border-radius: 10px; color: var(--text-secondary); text-decoration: none;
  transition: background .15s, color .15s;
}
.ndm-item:hover { background: rgba(255,255,255,.07); color: var(--text-primary); }
.ndm-item > i { width: 18px; text-align: center; color: var(--accent-primary); font-size: .9rem; }
.ndm-item > div > span { display: block; font-weight: 600; font-size: .85rem; }
.ndm-item > div > small { font-size: .72rem; color: var(--text-muted); }
/* ── Locked ndm-item (für Gäste) ───────────────────────────── */
.ndm-item-locked {
  opacity: 0.55;
  cursor: pointer;
  position: relative;
}
.ndm-item-locked:hover {
  opacity: 0.75;
}
.ndm-locked-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ndm-locked-icon > .fa-bomb {
  color: var(--text-muted);
  font-size: .9rem;
}
.ndm-lock-badge {
  position: absolute;
  bottom: -3px;
  right: -4px;
  font-size: .5rem !important;
  color: var(--accent-primary) !important;
  background: rgba(8,11,18,.9);
  border-radius: 50%;
  padding: 1px;
  width: auto !important;
}


/* Games dropdown */
.ndm-games {
  min-width: 320px; display: grid; grid-template-columns: 1fr 1fr;
  gap: .2rem; padding: .75rem;
}
.ndm-game-item {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .6rem .5rem; border-radius: 10px;
  color: var(--text-secondary); text-decoration: none;
  font-size: .75rem; font-weight: 600; text-align: center;
  transition: background .15s, color .15s;
}
.ndm-game-item:hover { background: rgba(255,255,255,.07); color: var(--text-primary); }
.ndm-game-icon { font-size: 1.3rem; }
.ndm-game-img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.ndm-game-tag {
  font-size: .6rem; font-weight: 700; color: var(--text-muted);
  background: rgba(255,255,255,.07); padding: 1px 5px; border-radius: 4px;
}
.ndm-all-games {
  grid-column: span 2; text-align: center; padding: .5rem;
  color: var(--accent-primary); font-size: .75rem; font-weight: 600;
  text-decoration: none; border-top: 1px solid rgba(255,255,255,.07);
  margin-top: .3rem; padding-top: .7rem;
}
.ndm-all-games:hover { color: var(--text-primary); }

/* Upload avatar btn (teams detail) */
.upload-avatar-btn {
  position: absolute; bottom: -5px; right: -5px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #00A3FF; color: #fff; border: 2px solid #0a0a12;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; cursor: pointer; transition: background .2s;
}
.upload-avatar-btn:hover { background: #6d28d9; }

/* Game logo in game grid */
.game-logo-img {
  width: 56px; height: 56px; object-fit: contain; border-radius: 10px;
}
.game-icon-wrapper { font-size: 2.5rem; margin-bottom: .5rem; }


/* ─── Language Switcher ──────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: .2rem .4rem;
}
.lang-btn {
  display: flex; align-items: center; gap: .25rem;
  background: transparent; border: none; cursor: pointer;
  color: rgba(241,245,249,.5); font-size: .75rem; font-weight: 600;
  padding: .2rem .45rem; border-radius: 14px;
  transition: all .2s;
  font-family: inherit;
}
.lang-btn:hover { color: #F1F5F9; background: rgba(255,255,255,.08); }
.lang-btn.active {
  color: #F1F5F9;
  background: linear-gradient(135deg, #00A3FF, #3B82F6);
}
.lang-flag { font-size: .85rem; line-height: 1; }
.lang-code { font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.lang-divider {
  color: rgba(255,255,255,.2);
  font-size: .7rem;
  line-height: 1;
  user-select: none;
}

/* ─── Admin: Lang Tab Bar ────────────────────────────────────── */
.lang-tab-bar {
  display: flex; gap: .5rem; margin-bottom: 1.5rem;
}
.lang-tab {
  padding: .5rem 1.25rem; border-radius: 8px;
  background: var(--admin-card); border: 1px solid var(--admin-border);
  color: var(--admin-sub); text-decoration: none; font-size: .875rem;
  font-weight: 600; transition: all .2s;
}
.lang-tab:hover { color: var(--admin-text); border-color: #00A3FF; }
.lang-tab.active {
  background: linear-gradient(135deg, #00A3FF, #3B82F6);
  color: #fff; border-color: transparent;
}

/* ─── Rulebook rule rows ─────────────────────────────────────── */
.rulebook-rules { display: flex; flex-direction: column; gap: .5rem; }
.rule-row {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(255,255,255,.02); border: 1px solid var(--admin-border);
  border-radius: 8px; padding: .75rem;
}

/* ─── Leaderboard: Team-Logo Spalte ────────────────────────── */
.lb-team-col {
  display: flex;
  align-items: center;
}
.lb-team {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.lb-team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  padding: 2px;
}
.lb-team-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .15rem .45rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.lb-team-name {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.lb-team-none {
  color: var(--text-muted);
  font-size: .85rem;
}
/* Spieler-Avatar als Foto */
.lb-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,163,255,.4);
}

/* ─── Liga-Logo im Hero ─────────────────────────────────────── */
.league-hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: .75rem;
  filter: drop-shadow(0 0 18px rgba(0,163,255,.6));
}

/* Liga-Logo neben LB-Titel */
.lb-league-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  vertical-align: middle;
  margin-right: .5rem;
  margin-bottom: .2rem;
  filter: drop-shadow(0 0 8px rgba(255,215,0,.4));
}

/* =============================
   LARAVEL-SPECIFIC ADDITIONS
   ============================= */

/* Flash Messages */
.flash {
  position: fixed;
  top: 80px;
  right: 1.5rem;
  z-index: 9999;
  padding: .9rem 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  animation: slideInRight .3s ease;
  max-width: 380px;
}
.flash button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  margin-left: auto;
  opacity: .7;
}
.flash-success {
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.4);
  color: #10B981;
}
.flash-error {
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.4);
  color: #EF4444;
}
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  color: var(--text-muted);
  font-size: .8rem;
}

/* Notification Badge */
.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent-red);
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-primary);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: .5rem;
}
.form-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  color: var(--text-primary);
  padding: .75rem 1rem;
  font-size: .9rem;
  transition: border-color .2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0,163,255,.15);
}
.form-error {
  color: var(--accent-red);
  font-size: .8rem;
  margin-top: .3rem;
}
.btn-full {
  width: 100%;
  padding: .85rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.btn-discord-login {
  background: #5865F2;
  color: white;
  width: 100%;
  padding: .85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-decoration: none;
  transition: opacity .2s;
}
.btn-discord-login:hover { opacity: .9; }

/* Dashboard */
.dashboard-page {
  padding-top: calc(68px + 2rem);
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 4rem;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}
.dashboard-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  height: fit-content;
}
.user-profile-card {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.user-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  margin-bottom: .75rem;
}
.user-name { font-size: 1.1rem; font-weight: 700; }
.user-level {
  font-size: .8rem;
  color: var(--accent-primary);
  background: rgba(0,163,255,.15);
  padding: .2rem .7rem;
  border-radius: 20px;
  display: inline-block;
  margin: .4rem 0;
}
.user-elo { font-size: 1.5rem; font-weight: 800; color: var(--accent-cyan); }
.elo-label { font-size: .75rem; color: var(--text-muted); }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  font-size: .875rem;
}
.stat-row .label { color: var(--text-secondary); }
.stat-row .value { font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   TOURNAMENT DETAIL – Hero & Components
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Wrapper ─────────────────────────────────────────────── */
.t-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Banner-Bild als Hintergrund */
.t-hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: .35;
  filter: blur(1px) brightness(.7);
  transform: scale(1.04); /* verhindert Blur-Rand */
  z-index: 0;
}

/* Fade-Effekt: transparent oben → voller Hintergrund unten */
.t-hero__bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    var(--bg-primary) 85%,
    var(--bg-primary) 100%
  );
  z-index: 1;
}

/* Fallback-Gradient wenn kein Banner */
.t-hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    var(--game-color, #7C3AED) 0%,
    color-mix(in srgb, var(--game-color, #7C3AED) 15%, transparent) 40%,
    transparent 70%
  );
  opacity: .18;
  z-index: 0;
}

/* Auch ohne Banner: leichte Farbtönung oben */
.t-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--game-color, #7C3AED) 12%, transparent) 0%,
    transparent 60%
  );
  z-index: 1;
  pointer-events: none;
}

/* ── Hero Inner Grid ──────────────────────────────────────────── */
.t-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

/* ── Left Column ──────────────────────────────────────────────── */
.t-hero__tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.t-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .6rem;
  color: var(--text-primary);
  letter-spacing: -.02em;
}

.t-hero__desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  max-width: 56ch;
}

/* Stats Row */
.t-hero__stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.t-stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.t-stat__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.t-stat__value--gold {
  color: #F59E0B;
}

.t-stat__label {
  font-size: .7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* CTA */
.t-hero__cta {
  margin-bottom: 1.25rem;
}

/* Progress Bar */
.t-hero__progress {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-width: 380px;
}

.t-progress-bar {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
}

.t-progress-fill {
  height: 100%;
  background: var(--accent-primary, #7C3AED);
  border-radius: 99px;
  transition: width .4s ease;
}

.t-progress-fill--full {
  background: #EF4444;
}

.t-progress-label {
  font-size: .75rem;
  color: var(--text-secondary);
}

/* ── Right Column: Sponsor Panel ──────────────────────────────── */
.t-hero__right {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 200px;
  max-width: 260px;
}

/* Title-Sponsor Block */
.t-sponsor-eyebrow {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: .4rem;
  opacity: .8;
}

.t-sponsor-main {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.t-sponsor-main__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 52px;
}

.t-sponsor-main__logo {
  max-height: 52px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(0,0,0,.4));
  transition: filter .2s;
}

.t-sponsor-main__link:hover .t-sponsor-main__logo {
  filter: brightness(1.3) drop-shadow(0 0 12px rgba(0,0,0,.5));
}

.t-sponsor-main__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Other Sponsors Strip */
.t-sponsor-strip {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: .75rem 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.t-sponsor-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.t-sponsor-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 6px;
  padding: .3rem .4rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .15s, border-color .15s;
}

.t-sponsor-strip__item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}

.t-sponsor-strip__logo {
  object-fit: contain;
  filter: brightness(1.05) drop-shadow(0 1px 3px rgba(0,0,0,.3));
}

.t-sponsor-strip__logo--gold    { max-height: 28px; max-width: 90px; }
.t-sponsor-strip__logo--silver  { max-height: 24px; max-width: 80px; }
.t-sponsor-strip__logo--partner { max-height: 20px; max-width: 70px; }

.t-sponsor-strip__name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: .1rem .3rem;
}

/* ── Sponsors Bar (im Overview-Tab) ───────────────────────────── */
.t-sponsors-bar {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.t-sponsors-bar__tier {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.t-sponsors-bar__label {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  opacity: .7;
}

.t-sponsors-bar__logos {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.t-sponsors-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: .4rem .6rem;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .15s;
}

.t-sponsors-bar__item:hover {
  background: rgba(255,255,255,.09);
}

.t-sponsors-bar__item--title .t-sponsors-bar__logo { max-height: 36px; max-width: 130px; }
.t-sponsors-bar__item--gold   .t-sponsors-bar__logo { max-height: 28px; max-width: 100px; }
.t-sponsors-bar__item--silver .t-sponsors-bar__logo { max-height: 22px; max-width:  80px; }
.t-sponsors-bar__item--partner .t-sponsors-bar__logo { max-height: 18px; max-width: 70px; }

.t-sponsors-bar__logo {
  object-fit: contain;
  filter: brightness(1.05);
}

.t-sponsors-bar__name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── Tournament Body & Tabs ───────────────────────────────────── */
.tournament-body {
  padding: 0;
}

.tournament-tabs {
  display: flex;
  gap: .25rem;
  padding: 1rem 0 0;
  border-bottom: 2px solid rgba(255,255,255,.07);
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.1rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: 6px 6px 0 0;
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,.05);
}

.tab-btn--active {
  color: var(--accent-primary, #7C3AED);
  border-bottom-color: var(--accent-primary, #7C3AED);
  background: rgba(124, 58, 237, .06);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: rgba(255,255,255,.12);
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 700;
}

.tournament-tabs-content {
  padding: 1.5rem 0;
}

.tab-pane {
  display: none;
}

.tab-pane--active {
  display: block;
}

/* ── Overview Grid ────────────────────────────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
}

/* ── Detail Cards ─────────────────────────────────────────────── */
.detail-card {
  background: var(--bg-secondary, #1a1a2e);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.detail-card-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.detail-card-title i {
  color: var(--accent-primary, #7C3AED);
}

/* ── Prizes ───────────────────────────────────────────────────── */
.prize-list-new {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.prize-item-new {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem .9rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
}

.prize-place-badge {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.prize-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}

.prize-info-label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-primary);
}

.prize-info-cash {
  font-size: .85rem;
  color: #F59E0B;
  font-weight: 700;
}

.prize-info-desc {
  font-size: .78rem;
  color: var(--text-secondary);
}

.prize-image {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.prize-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ── Schedule / Info Lists ────────────────────────────────────── */
.schedule-list, .info-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.schedule-item, .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.schedule-item:last-child, .info-row:last-child {
  border-bottom: none;
}

.schedule-label, .info-key {
  color: var(--text-secondary);
  font-size: .8rem;
}

.schedule-value, .info-val {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

.schedule-value--past {
  color: #EF4444;
  text-decoration: line-through;
  opacity: .7;
}

/* ── Organizer ────────────────────────────────────────────────── */
.organizer-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.organizer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.1);
}

.organizer-name {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-primary);
}

.organizer-role {
  display: block;
  font-size: .75rem;
  color: var(--text-secondary);
}

/* ── Rules ────────────────────────────────────────────────────── */
.rules-content {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-line;
}

/* ── Bracket ──────────────────────────────────────────────────── */
.bracket-container {
  overflow-x: auto;
}

.bracket-rounds {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  min-width: max-content;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 180px;
}

.bracket-round-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  text-align: center;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.bracket-matches {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  justify-content: space-around;
  flex: 1;
}

.bracket-match {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .15s;
}

.bracket-match:hover {
  border-color: var(--accent-primary, #7C3AED);
}

.bracket-team {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .6rem;
  font-size: .8rem;
  color: var(--text-secondary);
}

.bracket-team:first-child {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.bracket-team--winner {
  color: var(--text-primary);
  background: rgba(124,58,237,.08);
}

.bracket-team--loser {
  opacity: .4;
}

.bracket-team-img {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
}

.bracket-team-name {
  flex: 1;
  font-weight: 600;
}

.bracket-team-score {
  font-weight: 700;
  min-width: 1.5rem;
  text-align: right;
}

/* ── Teams List ───────────────────────────────────────────────── */
.teams-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}

.reg-team-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.reg-team-card:hover {
  border-color: var(--accent-primary, #7C3AED);
  background: rgba(124,58,237,.04);
}

.reg-team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: .75rem;
  color: var(--text-primary);
  overflow: hidden;
}

.reg-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reg-team-info {
  flex: 1;
  min-width: 0;
}

.reg-team-name {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reg-team-meta {
  display: block;
  font-size: .75rem;
  color: var(--text-secondary);
}

.reg-team-status {
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 99px;
  flex-shrink: 0;
}

.reg-team-status--confirmed {
  background: rgba(34,197,94,.15);
  color: #22C55E;
}

.reg-team-status--pending {
  background: rgba(234,179,8,.12);
  color: #EAB308;
}

/* ── Match List ───────────────────────────────────────────────── */
.match-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.match-list-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .85rem 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .15s;
}

.match-list-item:hover {
  border-color: var(--accent-primary, #7C3AED);
}

.match-list-team {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.match-list-team--away {
  text-align: right;
  align-items: flex-end;
}

.match-list-tag {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent-primary, #7C3AED);
  text-transform: uppercase;
}

.match-list-name {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.match-list-score {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.score-sep {
  color: var(--text-secondary);
}

.score-win {
  color: #22C55E;
}

.match-vs {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: .05em;
}

.match-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-secondary);
}

.match-status-dot--live    { background: #22C55E; box-shadow: 0 0 6px #22C55E; }
.match-status-dot--pending { background: #EAB308; }
.match-status-dot--done    { background: #6B7280; }

.match-list-time {
  font-size: .72rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .t-hero__inner {
    grid-template-columns: 1fr;
  }
  .t-hero__right {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .t-sponsor-main, .t-sponsor-strip {
    flex: 1;
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .t-hero {
    padding: 2rem 0 1.5rem;
  }
  .t-hero__title {
    font-size: 1.5rem;
  }
  .match-list-item {
    grid-template-columns: 1fr auto 1fr;
  }
  .match-list-time {
    display: none;
  }
}


/* ═══ LANGUAGE SWITCHER ═════════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.2rem 0.4rem;
  margin-right: 0;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.4rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  letter-spacing: 0.03em;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.lang-btn-active {
  color: #fff !important;
  background: rgba(0, 163, 255, 0.15) !important;
  border: 1px solid rgba(0, 163, 255, 0.35);
}
.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}
.lang-code {
  font-size: 0.7rem;
  font-weight: 700;
}
.lang-divider {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  padding: 0 0.1rem;
  user-select: none;
}
@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 0;
  }
  .lang-code {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MATCHMAKING – GOMLeague Dark Theme
   Append to: public/static/style.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page ──────────────────────────────────────────────────────── */
.mm-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(68px + 2rem) 1.5rem 4rem;
}

/* ── Header ────────────────────────────────────────────────────── */
.mm-header {
    background: linear-gradient(135deg, rgba(0,88,163,0.25) 0%, rgba(0,163,255,0.08) 100%);
    border: 1px solid rgba(0,163,255,0.2);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
}
.mm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.mm-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .25rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.mm-title i { color: #00A3FF; margin-right: .4rem; }
.mm-subtitle { color: #9ca3af; margin: 0; font-size: .9rem; }

.mm-elo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,163,255,0.12);
    border: 1px solid rgba(0,163,255,0.3);
    border-radius: 12px;
    padding: .75rem 1.5rem;
}
.mm-elo-label { font-size: .7rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .1em; }
.mm-elo-value { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: #00A3FF; line-height: 1; }

/* ── Active Match Banner ───────────────────────────────────────── */
.mm-active-match-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.mm-active-match-info {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
}
.mm-active-match-info i { font-size: 1.5rem; color: #10b981; }
.mm-active-match-info strong { display: block; color: #10b981; font-size: .85rem; }
.mm-active-match-info span { font-size: .9rem; color: #d1d5db; }
.mm-lobby-btn { padding: .6rem 1.25rem; font-size: .9rem; }

/* ── Layout ────────────────────────────────────────────────────── */
.mm-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .mm-layout { grid-template-columns: 1fr; }
}

/* ── Queue Card ────────────────────────────────────────────────── */
.mm-queue-card {
    background: #111827;
    border: 1px solid rgba(0,163,255,0.15);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mm-queue-card > div { width: 100%; }
.mm-hidden { display: none !important; }

/* Pulsierender Ring */
.mm-pulse-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0,163,255,0.15);
    border: 2px solid rgba(0,163,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: mm-pulse 2s ease-in-out infinite;
    position: relative;
}
.mm-pulse-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0,163,255,0.2);
    animation: mm-pulse 2s ease-in-out infinite .5s;
}
.mm-pulse-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #00A3FF;
    box-shadow: 0 0 12px #00A3FF;
}
@keyframes mm-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.1); opacity: .7; }
}

.mm-searching-title { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; color: #fff; margin: 0 0 .5rem; }
.mm-wait-time {
    font-family: 'Rajdhani', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #00A3FF;
    letter-spacing: .1em;
    margin-bottom: 1.5rem;
}
.mm-queue-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.5rem;
    color: #9ca3af;
    font-size: .85rem;
    margin-bottom: 2rem;
}
.mm-queue-meta strong { color: #e5e7eb; }

.mm-leave-form { margin-top: 1rem; }
.mm-leave-btn { opacity: .7; font-size: .85rem; padding: .5rem 1.25rem; }
.mm-leave-btn:hover { opacity: 1; }

/* Match gefunden */
.mm-match-found-icon { font-size: 3.5rem; color: #10b981; margin-bottom: .75rem; animation: mm-bounce .5s ease; }
@keyframes mm-bounce { 0%{transform:scale(.5)} 70%{transform:scale(1.15)} 100%{transform:scale(1)} }
.mm-found-title { font-family: 'Rajdhani', sans-serif; font-size: 1.75rem; color: #fff; margin: 0 0 1.5rem; }

.mm-accept-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.mm-accept-team { display: flex; flex-direction: column; align-items: center; }
.mm-team-label { font-size: .7rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .25rem; }
.mm-team-name { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 600; color: #fff; }
.mm-vs-badge {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #9ca3af;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: .25rem .6rem;
}
.mm-accept-map { color: #9ca3af; font-size: .85rem; margin-bottom: 1.5rem; }
.mm-accept-map strong { color: #e5e7eb; }

/* Timer Ring */
.mm-accept-timer { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.5rem; }
.mm-timer-ring { position: relative; width: 90px; height: 90px; margin-bottom: .5rem; }
.mm-timer-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mm-timer-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 6; }
.mm-timer-progress {
    fill: none;
    stroke: #00A3FF;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset .25s linear, stroke .5s;
}
.mm-timer-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}
.mm-timer-label { font-size: .75rem; color: #9ca3af; }

.mm-accept-actions { display: flex; gap: .75rem; justify-content: center; margin-top: .5rem; }
.mm-btn-accept {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.mm-btn-accept:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(16,185,129,.4); }
.mm-btn-accept:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.mm-btn-decline {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 10px;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.mm-btn-decline:hover { background: rgba(239,68,68,0.25); }

/* Accepted State */
.mm-accepted-icon { font-size: 3rem; color: #00A3FF; margin-bottom: .75rem; animation: mm-spin-slow 2s linear infinite; }
@keyframes mm-spin-slow { to { transform: rotate(360deg); } }
.mm-accepted-sub { color: #9ca3af; margin: .5rem 0 1.5rem; }
.mm-spinner-sm {
    width: 30px; height: 30px;
    border: 3px solid rgba(0,163,255,0.2);
    border-top-color: #00A3FF;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto;
}

/* ── Join Card ─────────────────────────────────────────────────── */
.mm-join-card {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
}
.mm-join-hero {
    background: linear-gradient(135deg, rgba(0,88,163,0.3), rgba(0,163,255,0.05));
    border-bottom: 1px solid rgba(0,163,255,0.1);
    padding: 2rem;
    text-align: center;
}
.mm-join-icon { font-size: 2.5rem; color: #00A3FF; margin-bottom: .75rem; display: block; }
.mm-join-hero h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; color: #fff; margin: 0 0 .5rem; }
.mm-join-hero p { color: #9ca3af; font-size: .9rem; margin: 0; }

.mm-join-form { padding: 1.75rem; }
.mm-option-group { margin-bottom: 1.5rem; }
.mm-option-label { display: block; font-size: .75rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }

/* Mode Cards */
.mm-mode-selector { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.mm-mode-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-align: center;
}
.mm-mode-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.mm-mode-card:hover { border-color: rgba(0,163,255,0.3); }
.mm-mode-active { border-color: #00A3FF !important; background: rgba(0,163,255,0.08) !important; }
.mm-mode-icon { font-size: 1.5rem; color: #00A3FF; margin-bottom: .5rem; }
.mm-mode-name { font-family: 'Rajdhani', sans-serif; font-size: 1.25rem; font-weight: 700; color: #fff; }
.mm-mode-desc { font-size: .75rem; color: #9ca3af; margin-bottom: .5rem; }
.mm-mode-queue { font-size: .7rem; color: #6b7280; }
.mm-mode-queue i { margin-right: .2rem; }

/* Region */
.mm-region-selector { display: flex; flex-wrap: wrap; gap: .5rem; }
.mm-region-btn {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: .5rem 1rem;
    cursor: pointer;
    font-size: .85rem;
    color: #d1d5db;
    transition: border-color .2s, background .2s;
}
.mm-region-btn input { position: absolute; opacity: 0; width: 0; height: 0; }
.mm-region-btn:hover { border-color: rgba(0,163,255,0.3); }
.mm-region-active { border-color: #00A3FF !important; background: rgba(0,163,255,0.08) !important; color: #fff !important; }

.mm-join-btn {
    width: 100%;
    background: var(--gradient-main, linear-gradient(135deg, #0058A3, #00A3FF));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .9rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.mm-join-btn:hover { opacity: .9; transform: translateY(-1px); }
.mm-join-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Sidebar Cards ─────────────────────────────────────────────── */
.mm-card {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.mm-card-title { font-size: .85rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 1rem; }
.mm-card-title i { margin-right: .4rem; color: #00A3FF; }

.mm-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.mm-stat { text-align: center; background: rgba(255,255,255,0.03); border-radius: 8px; padding: .75rem; }
.mm-stat-value { display: block; font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.mm-stat-label { font-size: .7rem; color: #6b7280; }
.mm-stat-pos { color: #10b981 !important; }
.mm-stat-neg { color: #ef4444 !important; }

/* History */
.mm-history-list { display: flex; flex-direction: column; gap: .5rem; }
.mm-history-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .75rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: background .15s;
}
.mm-history-item:hover { background: rgba(255,255,255,0.05); }

.mm-history-result {
    width: 24px; height: 24px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700;
    flex-shrink: 0;
}
.mm-result-win  { background: rgba(16,185,129,.2); color: #10b981; }
.mm-result-loss { background: rgba(239,68,68,.2);  color: #ef4444; }
.mm-result-draw { background: rgba(156,163,175,.2); color: #9ca3af; }

.mm-history-info { flex: 1; min-width: 0; }
.mm-history-teams { display: block; font-size: .8rem; color: #e5e7eb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-history-meta  { display: block; font-size: .7rem; color: #6b7280; }

.mm-history-elo { font-family: 'Rajdhani', sans-serif; font-size: .85rem; font-weight: 700; flex-shrink: 0; }
.mm-elo-pos { color: #10b981; }
.mm-elo-neg { color: #ef4444; }

.mm-empty-history { color: #6b7280; font-size: .85rem; text-align: center; padding: 1rem 0; }

/* Info Card */
.mm-info-card .mm-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.mm-info-list li { font-size: .83rem; color: #9ca3af; display: flex; align-items: center; gap: .5rem; }
.mm-info-list li i { color: #10b981; font-size: .7rem; }

/* ── Toast ─────────────────────────────────────────────────────── */
.mm-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1f2937;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: .9rem 1.5rem;
    color: #fff;
    font-size: .9rem;
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
    transition: all .3s ease;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.mm-toast-visible { transform: translateY(0); opacity: 1; }
.mm-toast-success { border-color: rgba(16,185,129,.4); }
.mm-toast-warning { border-color: rgba(245,158,11,.4); }
.mm-toast-error   { border-color: rgba(239,68,68,.4); }


/* ═══════════════════════════════════════════════════════════
   LIGHT MODE (data-theme="light" on <html>)
   ═══════════════════════════════════════════════════════════ */

[data-theme="light"] {
  --bg-primary:     #F8FAFC;
  --bg-secondary:   #F1F5F9;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F0F4F8;
  --accent-primary: #0077CC;
  --accent-blue:    #0095E8;
  --accent-cyan:    #0058A3;
  --accent-green:   #059669;
  --accent-orange:  #D97706;
  --accent-red:     #DC2626;
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --border:         #E2E8F0;
  --border-bright:  #CBD5E1;
  --border-color:   #E2E8F0;
  --gradient-main:  linear-gradient(135deg, #0058A3, #0077CC);
  --gradient-hero:  linear-gradient(135deg, #0058A3 0%, #0077CC 50%, #0095E8 100%);
}

[data-theme="light"] body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="light"] #navbar {
  background: #FFFFFF;
  border-bottom-color: #E2E8F0;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

[data-theme="light"] #navbar.scrolled {
  background: #F8FAFC;
}

[data-theme="light"] .nav-link {
  color: #475569 !important;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0077CC !important;
}

[data-theme="light"] .nav-dropdown-menu {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

[data-theme="light"] .nav-dropdown-item {
  color: #475569 !important;
}
[data-theme="light"] .nav-dropdown-item:hover {
  background: #F1F5F9;
  color: #0077CC !important;
}

[data-theme="light"] footer {
  background: #F1F5F9;
  border-top-color: #E2E8F0;
}

[data-theme="light"] .stream-banner {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-bottom-color: #BFDBFE;
}

/* ── Dark/Light Toggle Button ── */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s;
  font-size: .9rem;
  flex-shrink: 0;
  outline: none;
}
.theme-toggle-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
[data-theme="light"] .theme-toggle-btn {
  border-color: #E2E8F0;
  color: #475569;
}
[data-theme="light"] .theme-toggle-btn:hover {
  background: #F1F5F9;
  border-color: #0077CC;
  color: #0077CC;
}


/* ═══════════════════════════════════════════════════════════
   ELO RANK SYSTEM - Level 1-10
   ═══════════════════════════════════════════════════════════ */

.elo-rank-rookie   { --elo-color: #6B7280; --elo-glow: rgba(107,114,128,.3); }
.elo-rank-wood     { --elo-color: #B45309; --elo-glow: rgba(180,83,9,.3); }
.elo-rank-iron     { --elo-color: #9CA3AF; --elo-glow: rgba(156,163,175,.3); }
.elo-rank-bronze   { --elo-color: #CD7F32; --elo-glow: rgba(205,127,50,.3); }
.elo-rank-silver   { --elo-color: #94A3B8; --elo-glow: rgba(148,163,184,.3); }
.elo-rank-gold     { --elo-color: #F59E0B; --elo-glow: rgba(245,158,11,.3); }
.elo-rank-platinum { --elo-color: #34D399; --elo-glow: rgba(52,211,153,.3); }
.elo-rank-diamond  { --elo-color: #60A5FA; --elo-glow: rgba(96,165,250,.3); }
.elo-rank-legend   { --elo-color: #A78BFA; --elo-glow: rgba(167,139,250,.3); }
.elo-rank-god      { --elo-color: #FF6B35; --elo-glow: rgba(255,107,53,.4); }

/* Leaderboard Rank Row Highlight */
.lb-row-gold   { background: rgba(245,158,11,.05) !important; border-color: rgba(245,158,11,.2) !important; }
.lb-row-silver { background: rgba(148,163,184,.05) !important; border-color: rgba(148,163,184,.2) !important; }
.lb-row-bronze { background: rgba(205,127,50,.05) !important; border-color: rgba(205,127,50,.2) !important; }

/* ELO Progress Bar */
.elo-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
}
.elo-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .4s ease;
}

/* FACEIT-style Level Badge */
.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 800;
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  flex-shrink: 0;
}
.level-badge-lg {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  font-size: 1.3rem;
}

/* ═══ GOMLeague Home Refresh ═══════════════════════════════════════════ */

/* Scroll-Reveal (Klasse .rv wird per JS gesetzt, ohne JS bleibt alles sichtbar) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ── Kennzahlen-Leiste ─────────────────────────────────────────────── */
.stats-strip { position: relative; z-index: 5; margin-top: -2.2rem; padding: 0 1.5rem; }
.stats-strip-inner {
  max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(13,17,23,.92));
  border: 1px solid rgba(0,163,255,.22); border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 40px rgba(0,163,255,.08);
  backdrop-filter: blur(10px);
}
.stat-tile { position: relative; padding: 1.35rem 1rem; text-align: center; }
.stat-tile + .stat-tile::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.08); }
.stat-icon { width: 34px; height: 34px; margin: 0 auto .55rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.stat-num { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 2.15rem; line-height: 1; letter-spacing: .01em; color: #F1F5F9; }
.stat-lbl { margin-top: .3rem; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #64748B; }
.stat-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; margin-right: .4rem; vertical-align: middle; animation: pulse 2s infinite; }
@media (max-width: 900px) {
  .stats-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .stat-tile:nth-child(4)::before { display: none; }
}
@media (max-width: 560px) {
  .stats-strip { margin-top: -1rem; padding: 0 1rem; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-tile::before { display: none !important; }
  .stat-tile { border-bottom: 1px solid rgba(255,255,255,.06); }
  .stat-num { font-size: 1.7rem; }
}

/* ── Hero-Feinschliff ──────────────────────────────────────────────── */
.hero-title .gradient-text { filter: drop-shadow(0 0 22px rgba(0,163,255,.35)); }
.btn-hero-primary { box-shadow: 0 8px 30px rgba(0,163,255,.35); }
.btn-hero-primary:hover { box-shadow: 0 10px 40px rgba(0,163,255,.55); transform: translateY(-2px); }

/* ── Section-Header: Linie unter dem Tag ───────────────────────────── */
.section-tag { position: relative; }

/* ── Karten-Hover (Turniere, Features) ─────────────────────────────── */
.tournament-card:hover { transform: translateY(-4px); border-color: rgba(0,163,255,.35); box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 30px rgba(0,163,255,.08); }
.feature-card { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.feature-card:hover { transform: translateY(-5px); }

/* Füllkarte im Turnier-Raster */
.tournament-more-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center;
  min-height: 220px; padding: 1.5rem; border-radius: 16px; text-decoration: none;
  border: 1.5px dashed rgba(0,163,255,.35);
  background: radial-gradient(circle at 50% 0%, rgba(0,163,255,.10), transparent 70%), rgba(255,255,255,.02);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.tournament-more-card:hover { transform: translateY(-4px); border-color: #00A3FF; background: radial-gradient(circle at 50% 0%, rgba(0,163,255,.18), transparent 70%), rgba(255,255,255,.03); }
.tournament-more-card .tm-ico { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0,163,255,.14); color: #37D5FF; font-size: 1.2rem; }
.tournament-more-card .tm-t { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.25rem; color: #F1F5F9; }
.tournament-more-card .tm-s { font-size: .8rem; color: #94A3B8; }

/* ── Top-Teams ─────────────────────────────────────────────────────── */
.topteams-section { padding: 4.5rem 0 3.5rem; position: relative; }
.topteams-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2rem; }
.tt-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem;
  padding: 1.6rem 1rem 1.3rem; border-radius: 16px; text-decoration: none; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tt-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--tt, #00A3FF); opacity: .85; }
.tt-card:hover { transform: translateY(-5px); border-color: var(--tt, #00A3FF); box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 28px rgba(0,163,255,.10); }
.tt-card.tt-1 { transform: translateY(-10px); border-color: rgba(255,215,0,.45); background: linear-gradient(180deg, rgba(255,215,0,.08), rgba(255,255,255,.015)); }
.tt-card.tt-1:hover { transform: translateY(-15px); }
.tt-rank { position: absolute; top: .65rem; left: .8rem; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .95rem; color: #64748B; }
.tt-1 .tt-rank { color: #FFD700; } .tt-2 .tt-rank { color: #C0C0C0; } .tt-3 .tt-rank { color: #CD7F32; }
.tt-logo { width: 68px; height: 68px; border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0d1117; border: 1px solid rgba(255,255,255,.1); }
.tt-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.tt-logo span { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.4rem; }
.tt-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.2rem; color: #F1F5F9; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-tag { font-size: .7rem; color: #64748B; font-weight: 700; letter-spacing: .12em; }
.tt-elo { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.7rem; color: #37D5FF; line-height: 1; }
.tt-elo small { font-size: .6rem; letter-spacing: .14em; color: #64748B; margin-left: .25rem; }
.tt-rec { font-size: .75rem; color: #94A3B8; }
.tt-rec b.w { color: #34D399; } .tt-rec b.l { color: #EF4444; }
@media (max-width: 1000px) { .topteams-grid { grid-template-columns: repeat(3, 1fr); } .tt-card.tt-1 { transform: none; } }
@media (max-width: 560px)  { .topteams-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Leaderboard-Podium (Top 3 Spieler) ────────────────────────────── */
.lb-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; align-items: end; padding: 1.4rem 1.2rem .4rem; }
.pd { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1rem .5rem; border-radius: 14px; text-decoration: none; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: transform .3s ease, border-color .3s ease; }
.pd:hover { transform: translateY(-4px); }
.pd-1 { order: 2; padding-top: 1.5rem; padding-bottom: 1.4rem; border-color: rgba(255,215,0,.45); background: linear-gradient(180deg, rgba(255,215,0,.10), rgba(255,255,255,.02)); box-shadow: 0 0 30px rgba(255,215,0,.08); }
.pd-2 { order: 1; border-color: rgba(192,192,192,.35); }
.pd-3 { order: 3; border-color: rgba(205,127,50,.35); }
.pd img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid currentColor; }
.pd-1 img { width: 68px; height: 68px; }
.pd-medal { font-size: 1rem; }
.pd-name { font-weight: 700; font-size: .88rem; color: #F1F5F9; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-elo { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.35rem; color: #37D5FF; line-height: 1; }
@media (max-width: 560px) { .pd img { width: 42px; height: 42px; } .pd-1 img { width: 52px; height: 52px; } .pd-elo { font-size: 1.1rem; } }

/* ── Letzte Matches: Sieger-Akzent ─────────────────────────────────── */
#recent-matches a { position: relative; overflow: hidden; }
#recent-matches a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #34D399, #00A3FF); opacity: .7; }
#recent-matches a:hover { transform: translateX(4px); }

/* ── Footer-Angleichung (Home Refresh) ─────────────────────────────── */
.footer { position: relative; border-top: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(13,17,23,0) 0%, rgba(0,163,255,.04) 100%); }
.footer::before { content: ''; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #00A3FF, transparent); opacity: .6; }
.footer-links a { transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: #37D5FF; transform: translateX(2px); }

/* ── Mobile-Feinschliff (Home Refresh) ─────────────────────────────── */
@media (max-width: 560px) {
  .stat-tile:last-child { grid-column: 1 / -1; border-bottom: none; }
  .topteams-grid .tt-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 561px) and (max-width: 1000px) {
  .topteams-grid .tt-card:nth-child(n+4) { grid-column: span 1; }
}

/* ============================================================
   GOMLeague Page Refresh – Navbar, Seitenköpfe, Karten, Filter
   ============================================================ */

/* Navbar: Glas-Effekt + dezente Akzentlinie */
#navbar {
  background: rgba(10, 14, 21, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(55, 213, 255, .14);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .45);
}
#navbar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,163,255,.55), rgba(55,213,255,.55), transparent);
  opacity: .55; pointer-events: none;
}
#navbar.scrolled { background: rgba(8, 11, 18, .92); }
.nav-link { position: relative; }
.nav-link:hover { background: rgba(0,163,255,.08); }
.nav-link.active { background: rgba(0,163,255,.12); box-shadow: inset 0 -2px 0 #00A3FF; }
.nav-dropdown-menu {
  border: 1px solid rgba(55,213,255,.16);
  box-shadow: 0 24px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(0,163,255,.05);
}
.ndm-item:hover { background: rgba(0,163,255,.10); }
.ndm-label { color: #37D5FF; opacity: .75; }

/* Seitenköpfe: einheitlich Rajdhani + blauer Glow */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(0,163,255,.22) 0%, transparent 65%),
    linear-gradient(180deg, #0a0d14 0%, #0d1117 100%) !important;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,163,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,163,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero > .container { position: relative; }
.page-hero-title { font-family: 'Rajdhani', sans-serif; font-weight: 700 !important; font-size: 2.6rem !important; letter-spacing: .02em; }
.page-hero-title i { filter: drop-shadow(0 0 10px rgba(0,163,255,.55)); }

/* Filterleisten: Glas */
.filters-bar { background: rgba(13,17,23,.85) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.filter-search:focus-within, .filter-select:focus { border-color: rgba(0,163,255,.55) !important; box-shadow: 0 0 0 3px rgba(0,163,255,.12); }

/* Karten: sanfter Hover-Lift */
.tp-card, .db-card, .tournament-card, .t-card {
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.db-card:hover, .tournament-card:hover { border-color: rgba(0,163,255,.28); }

/* Fokus-Ringe (Barrierefreiheit, einheitlich blau) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid rgba(55,213,255,.7); outline-offset: 2px;
}

/* Mobil: Navbar-Blur nicht auf geöffnetes Menü anwenden (Lesbarkeit) */
@media (max-width: 768px) {
  .nav-links.open { background: rgba(8,11,18,.98); }
  .page-hero-title { font-size: 2rem !important; }
}

/* ============================================================
   GOMLeague Page Refresh 2 – Mobile-Navbar + Match-Karten
   ============================================================ */
@media (max-width: 768px) {
  #navbar .nav-container { gap: .5rem; }
  #navbar .nav-logo { flex-shrink: 0; }
  #navbar .nav-logo-img { height: 30px; width: auto; }
  #navbar .nav-actions { gap: .4rem; }
  #navbar .btn-register-cta { font-size: 0 !important; gap: 0; padding: .5rem .7rem; }
  #navbar .btn-register-cta i { font-size: .95rem; }
  #navbar .hamburger { flex-shrink: 0; }
}
.mx-card-foot { color: var(--text-secondary); }
.mx-card-foot i { opacity: .85; color: #37D5FF; }
.mx-meta { color: var(--text-secondary); }
.mx-team img { background: rgba(255,255,255,.08); }
.mx-logo-ph { background: rgba(0,163,255,.18); }
