/* ==========================================================================
   EV1LLADY STREAMER & WORLD OF TANKS TOURNAMENT STYLESHEET
   Design System: Esports Gaming / Cyber Military Dark Glassmorphism
   Typography: 100% Cyrillic compatible (Unbounded / Montserrat / Inter)
   ========================================================================== */

:root {
  /* Core Backgrounds */
  --bg-main: #080a0f;
  --bg-surface: #0f131c;
  --bg-surface-elevated: #161c28;
  --bg-glass: rgba(15, 19, 28, 0.82);
  --bg-glass-card: rgba(20, 25, 38, 0.75);
  --bg-glass-input: rgba(11, 14, 21, 0.9);

  /* Primary Brand & Accents */
  --purple-primary: #9333ea;
  --purple-light: #c084fc;
  --purple-glow: rgba(168, 85, 247, 0.35);

  /* Tank Discipline Accents */
  --lt-color: #10b981;       /* Light Tank Emerald Scout */
  --lt-glow: rgba(16, 185, 129, 0.35);
  --td-color: #ef4444;       /* TD Crimson Laser Damage */
  --td-glow: rgba(239, 68, 68, 0.35);
  --ht-color: #f59e0b;       /* Heavy Tank Steel Amber Armor */
  --ht-glow: rgba(245, 158, 11, 0.35);

  /* Trophy & Prize Colors */
  --gold-primary: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.45);
  --silver-primary: #cbd5e1;
  --silver-glow: rgba(203, 213, 225, 0.3);
  --bronze-primary: #d97706;
  --bronze-glow: rgba(217, 119, 6, 0.3);
  --audience-color: #ec4899;
  --audience-glow: rgba(236, 72, 153, 0.4);

  /* Social Brands */
  --vk-color: #0077ff;
  --tg-color: #229ed9;
  --dc-color: #5865f2;
  --yt-color: #ff0000;
  --donate-color: #f97316;

  /* Text & Border */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.18);
  --border-highlight: rgba(192, 132, 252, 0.3);

  /* Typography (Full Cyrillic Subsets) */
  --font-heading: 'Unbounded', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-purple: 0 0 35px var(--purple-glow);
  --shadow-glow-gold: 0 0 35px var(--gold-glow);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #232a3b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b4661;
}

/* Canvas Background */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--shadow-subtle);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
}

/* Highlights and Utility Classes */
.text-glow-purple {
  color: var(--purple-light);
  text-shadow: 0 0 24px var(--purple-glow);
}

.text-glow-gold {
  color: var(--gold-primary);
  text-shadow: 0 0 24px var(--gold-glow);
}

.text-link {
  color: var(--purple-light);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
.text-link:hover {
  color: #fff;
}

/* Universal SVG Icon Pack Utilities */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 22px; height: 22px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 48px; height: 48px; }

.icon-brand { width: 22px; height: 22px; color: var(--purple-light); }
.icon-gold { color: var(--gold-primary); }
.icon-silver { color: var(--silver-primary); }
.icon-bronze { color: var(--bronze-primary); }
.icon-audience { color: var(--audience-color); }
.icon-purple { color: var(--purple-light); }
.icon-lt { color: var(--lt-color); }
.icon-td { color: var(--td-color); }
.icon-ht { color: var(--ht-color); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-tank {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.badge-dates {
  background: rgba(147, 51, 234, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
}

.badge-gold {
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--gold-primary);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 6px 16px;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 0.98rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(147, 51, 234, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

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

.btn-vk {
  background: linear-gradient(135deg, #0077ff, #0055c4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 119, 255, 0.35);
}

.btn-vk:hover {
  background: linear-gradient(135deg, #1a88ff, #0066ee);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.5);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #0b0e17 0%, #171228 50%, #0b0e17 100%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-red 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.announcement-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-family: var(--font-accent);
}

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

.announcement-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.announcement-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.tourney-date-pill {
  color: var(--gold-primary);
  font-weight: 700;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   HEADER / NAVBAR (FIXED & ALIGNED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  height: 72px;
  background: rgba(8, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand-logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-crest {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(192, 132, 252, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(147, 51, 234, 0.3);
  flex-shrink: 0 !important;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name .highlight {
  color: var(--purple-light);
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: block;
  font-family: var(--font-accent);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 1;
}

.nav-link {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple-glow);
  transition: width var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

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

.nav-cta {
  height: 42px;
  padding: 0 20px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #0d1017;
  z-index: 1000;
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover {
  color: #fff;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.drawer-link {
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.drawer-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--purple-light);
}

.drawer-cta-wrapper {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 90px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  z-index: 1;
  opacity: 0.65;
  filter: saturate(1.1);
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 880px;
}

.hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-description {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: #cbd5e1;
  max-width: 740px;
  margin-bottom: 34px;
  line-height: 1.65;
}

.hero-description strong {
  color: #fff;
}

/* Countdown Card */
.countdown-card {
  padding: 20px 24px;
  margin-bottom: 34px;
  background: rgba(16, 21, 33, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 35px rgba(147, 51, 234, 0.18);
  max-width: 660px;
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.countdown-title {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple-light);
  text-transform: uppercase;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 8px;
  border-radius: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.timer-val {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.timer-lbl {
  font-family: var(--font-accent);
  font-size: clamp(0.58rem, 1.8vw, 0.72rem);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.timer-sep {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: var(--purple-light);
  margin-bottom: 12px;
  padding: 0 2px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  background: rgba(16, 21, 33, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 18px 20px;
  border-radius: 12px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.4);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STREAMER PORTAL / ABOUT SECTION
   ========================================================================== */
.streamer-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(22, 18, 38, 0.88), rgba(15, 19, 29, 0.88));
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
}

.streamer-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.streamer-avatar-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 20px;
}

.streamer-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid rgba(192, 132, 252, 0.4);
}

.avatar-glow-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 24px;
  border: 2px dashed rgba(168, 85, 247, 0.5);
  pointer-events: none;
  animation: rotate-ring 25s linear infinite;
}

@keyframes rotate-ring {
  100% { transform: rotate(360deg); }
}

.streamer-live-status {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f131d;
  border: 1px solid rgba(239, 68, 68, 0.6);
  padding: 4px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-red 2s infinite;
}

.streamer-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.streamer-tagline {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--purple-light);
  font-weight: 700;
  margin-bottom: 14px;
}

.streamer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.mini-badge {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.streamer-bio h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.streamer-bio p {
  color: #cbd5e1;
  margin-bottom: 14px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Social Media Grid */
.social-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(13, 16, 24, 0.85);
  border: 1px solid var(--border-glass);
  text-decoration: none;
  color: #fff;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.social-vk-video .social-icon-wrapper { color: #0077ff; background: rgba(0, 119, 255, 0.15); }
.social-telegram .social-icon-wrapper { color: #229ed9; background: rgba(34, 158, 217, 0.15); }
.social-youtube .social-icon-wrapper { color: #ff0000; background: rgba(255, 0, 0, 0.15); }
.social-twitch .social-icon-wrapper { color: #a970ff; background: rgba(169, 112, 255, 0.15); }
.social-donate .social-icon-wrapper { color: #f97316; background: rgba(249, 115, 22, 0.15); }
.social-meme .social-icon-wrapper { color: #ec4899; background: rgba(236, 72, 153, 0.15); }

.social-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.social-name {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.social-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-action-tag {
  font-family: var(--font-accent);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--purple-light);
}

/* ==========================================================================
   PRIZE POOL SECTION
   ========================================================================== */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.prize-card {
  position: relative;
  padding: 30px 22px;
  border-radius: 18px;
  background: rgba(16, 21, 33, 0.85);
  border: 1px solid var(--border-glass);
  text-align: center;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.prize-card:hover {
  transform: translateY(-5px);
}

.prize-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  opacity: 0.2;
  pointer-events: none;
}

.prize-first {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 35px rgba(251, 191, 36, 0.15);
}
.prize-first .prize-glow-bg { background: radial-gradient(circle at center top, var(--gold-primary), transparent 70%); }
.prize-first:hover { border-color: var(--gold-primary); box-shadow: 0 0 50px rgba(251, 191, 36, 0.35); }

.prize-second { border-color: rgba(203, 213, 225, 0.3); }
.prize-second .prize-glow-bg { background: radial-gradient(circle at center top, var(--silver-primary), transparent 70%); }
.prize-second:hover { border-color: var(--silver-primary); box-shadow: 0 0 35px rgba(203, 213, 225, 0.25); }

.prize-third { border-color: rgba(217, 119, 6, 0.3); }
.prize-third .prize-glow-bg { background: radial-gradient(circle at center top, var(--bronze-primary), transparent 70%); }
.prize-third:hover { border-color: var(--bronze-primary); box-shadow: 0 0 35px rgba(217, 119, 6, 0.25); }

.prize-audience {
  border-color: rgba(236, 72, 153, 0.4);
  background: linear-gradient(180deg, rgba(28, 16, 30, 0.9), rgba(16, 21, 33, 0.9));
}
.prize-audience .prize-glow-bg { background: radial-gradient(circle at center top, var(--audience-color), transparent 70%); }
.prize-audience:hover { border-color: var(--audience-color); box-shadow: 0 0 45px rgba(236, 72, 153, 0.35); }

.prize-trophy-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.prize-badge-rank {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.prize-first .prize-badge-rank { color: var(--gold-primary); }
.prize-audience .prize-badge-rank { color: #f472b6; }

.prize-amount {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}

.prize-first .prize-amount { color: var(--gold-primary); text-shadow: 0 0 20px rgba(251, 191, 36, 0.4); }

.prize-details p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.prize-perks {
  list-style: none;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.prize-perks li {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   DISCIPLINES & FORMAT SECTION
   ========================================================================== */
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.discipline-card {
  padding: 30px 24px;
  border-radius: 18px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.discipline-card:hover {
  transform: translateY(-5px);
}

.discipline-lt { border-top: 4px solid var(--lt-color); }
.discipline-lt:hover { border-color: rgba(16, 185, 129, 0.5); box-shadow: 0 0 30px var(--lt-glow); }

.discipline-td { border-top: 4px solid var(--td-color); }
.discipline-td:hover { border-color: rgba(239, 68, 68, 0.5); box-shadow: 0 0 30px var(--td-glow); }

.discipline-ht { border-top: 4px solid var(--ht-color); }
.discipline-ht:hover { border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 0 30px var(--ht-glow); }

.discipline-tag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.discipline-icon-badge {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.discipline-tier {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.discipline-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.discipline-goal {
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.goal-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.goal-highlight {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.discipline-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.discipline-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.metric-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Platoon Feature Box */
.platoon-feature-box {
  padding: 34px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(18, 22, 34, 0.9), rgba(13, 16, 26, 0.9));
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.platoon-badge {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.platoon-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.platoon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.platoon-item {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.platoon-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platoon-text strong {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 4px;
}

.platoon-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   TOURNAMENT STRUCTURE / BATTLES COUNT
   ========================================================================== */
.structure-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.structure-card {
  padding: 30px;
}

.highlight-card {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 35px rgba(147, 51, 234, 0.15);
}

.structure-badge {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--purple-light);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.structure-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.structure-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.battles-breakdown {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.battle-chip {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-accent);
}

.chip-lt { background: rgba(16, 185, 129, 0.15); color: var(--lt-color); border: 1px solid rgba(16, 185, 129, 0.3); }
.chip-td { background: rgba(239, 68, 68, 0.15); color: var(--td-color); border: 1px solid rgba(239, 68, 68, 0.3); }
.chip-ht { background: rgba(245, 158, 11, 0.15); color: var(--ht-color); border: 1px solid rgba(245, 158, 11, 0.3); }

.chip-plus {
  font-weight: 900;
  color: var(--text-dim);
}

.rule-callout {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 16px;
  border-radius: 10px;
  border-left: 3px solid var(--purple-light);
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Finals Flow Banner */
.finals-flow-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 210px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--purple-light);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-grand .step-num {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.step-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.flow-arrow {
  color: var(--text-dim);
  display: flex;
  align-items: center;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-box {
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 20, 32, 0.9), rgba(12, 15, 24, 0.9));
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.calc-mode-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-glass);
}

.calc-mode-label {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-tabs {
  display: flex;
  gap: 6px;
  background: rgba(8, 10, 16, 0.85);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
}

.calc-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-tab.active {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.4);
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}

.calc-card {
  background: rgba(8, 10, 16, 0.75);
  border: 1px solid var(--border-glass);
  padding: 22px;
  border-radius: 16px;
}

.card-lt-glow { border-top: 3px solid var(--lt-color); }
.card-td-glow { border-top: 3px solid var(--td-color); }
.card-ht-glow { border-top: 3px solid var(--ht-color); }

.calc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calc-disc-badge {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.card-lt-glow .calc-disc-badge { color: var(--lt-color); }
.card-td-glow .calc-disc-badge { color: var(--td-color); }
.card-ht-glow .calc-disc-badge { color: var(--ht-color); }

.calc-best-val {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-primary);
  background: rgba(251, 191, 36, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

.input-group {
  margin-bottom: 14px;
}

.input-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input,
.input-wrapper select,
textarea {
  width: 100%;
  background: var(--bg-glass-input);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 15px var(--purple-glow);
}

.input-unit {
  position: absolute;
  right: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  pointer-events: none;
  font-weight: 600;
}

/* Calc Summary Banner */
.calc-summary-banner {
  background: rgba(12, 16, 26, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 26px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.calc-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.formula-item {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 8px;
}

.formula-op {
  color: var(--purple-light);
  font-weight: 800;
}

.calc-total-box {
  margin-bottom: 14px;
}

.total-caption {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 4px;
}

.total-score-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 25px var(--gold-glow);
  line-height: 1;
}

.total-score-pts {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.calc-verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e9d5ff;
  margin-bottom: 18px;
}

.calc-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   LEADERBOARD SECTION
   ========================================================================== */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
  align-items: end;
}

.podium-card {
  padding: 22px 18px;
  border-radius: 16px;
  text-align: center;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  position: relative;
  transition: transform var(--transition-fast);
}

.podium-card:hover {
  transform: translateY(-4px);
}

.podium-card.rank-1 {
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(180deg, rgba(30, 25, 15, 0.9), rgba(16, 21, 33, 0.9));
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
  transform: scale(1.03);
}

.podium-card.rank-2 { border-color: rgba(203, 213, 225, 0.35); }
.podium-card.rank-3 { border-color: rgba(217, 119, 6, 0.35); }

.podium-medal {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.podium-nick {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.podium-score {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.podium-stats {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-family: var(--font-accent);
  font-weight: 700;
}

/* Table Controls */
.table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-glass);
}

.search-box {
  position: relative;
  width: 270px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  background: rgba(8, 10, 16, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 8px 12px 8px 36px;
  color: #fff;
  font-size: 0.86rem;
  outline: none;
}
.search-box input:focus {
  border-color: var(--purple-light);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: rgba(147, 51, 234, 0.2);
  border-color: var(--purple-light);
  color: #fff;
}

/* Table Style */
.responsive-table-wrapper {
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leaderboard-table th {
  background: rgba(8, 10, 16, 0.85);
  padding: 14px 18px;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.leaderboard-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  vertical-align: middle;
}

.leaderboard-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.col-rank {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-muted);
  width: 80px;
}

.rank-pill {
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.rank-pill-1 { background: rgba(251, 191, 36, 0.18); color: var(--gold-primary); border: 1px solid var(--gold-primary); }
.rank-pill-2 { background: rgba(203, 213, 225, 0.18); color: var(--silver-primary); border: 1px solid var(--silver-primary); }
.rank-pill-3 { background: rgba(217, 119, 6, 0.18); color: var(--bronze-primary); border: 1px solid var(--bronze-primary); }

.player-nick-cell {
  font-weight: 700;
  color: #fff;
}

.player-tanks-cell {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-lt-val { color: var(--lt-color); font-weight: 700; font-family: var(--font-accent); font-size: 0.95rem; }
.stat-td-val { color: var(--td-color); font-weight: 700; font-family: var(--font-accent); font-size: 0.95rem; }
.stat-ht-val { color: var(--ht-color); font-weight: 700; font-family: var(--font-accent); font-size: 0.95rem; }

.col-total {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-accent);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.status-top3 {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.status-done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--lt-color);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-star {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.table-footer-info {
  padding: 12px 22px;
  font-size: 0.76rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-glass);
}

/* ==========================================================================
   TIMELINE SECTION
   ========================================================================== */
.timeline-container {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 22px;
  position: relative;
}

.timeline-dot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #141a28;
  border: 3px solid var(--purple-light);
  box-shadow: 0 0 10px var(--purple-glow);
  z-index: 2;
  flex-shrink: 0;
}

.dot-active {
  background: var(--purple-light);
  box-shadow: 0 0 16px var(--purple-light);
}

.dot-gold {
  background: var(--gold-primary);
  border-color: #fff;
  box-shadow: 0 0 18px var(--gold-glow);
}

.timeline-line {
  width: 2px;
  flex-grow: 1;
  background: rgba(168, 85, 247, 0.25);
  margin: 6px 0;
}

.timeline-card {
  padding: 22px 26px;
  border-radius: 16px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.timeline-date-tag {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  margin-bottom: 4px;
}

.date-gold {
  color: var(--gold-primary);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.timeline-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.timeline-status {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.status-ongoing {
  background: rgba(16, 185, 129, 0.15);
  color: var(--lt-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-gold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

/* ==========================================================================
   REGULATIONS ACCORDION
   ========================================================================== */
.reg-search-bar {
  max-width: 600px;
  margin: 0 auto 28px;
}

.reg-search-bar input {
  width: 100%;
  background: rgba(16, 21, 33, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 13px 18px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
}
.reg-search-bar input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 15px var(--purple-glow);
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.accordion-item {
  border-radius: 14px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  color: #fff;
  transition: background var(--transition-fast);
}

.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

.trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reg-num {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--purple-light);
  background: rgba(147, 51, 234, 0.15);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-title {
  font-family: var(--font-accent);
  font-size: 0.98rem;
  font-weight: 700;
}

.accordion-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(-135deg);
  border-color: var(--purple-light);
}

.accordion-content {
  display: none;
  padding: 0 22px 22px 22px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

.accordion-item.open .accordion-content {
  display: block;
}

.accordion-content ul {
  padding-left: 20px;
  margin: 10px 0;
}

.accordion-content li {
  margin-bottom: 6px;
}

.example-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 0.86rem;
}

/* ==========================================================================
   REGISTRATION FORM
   ========================================================================== */
.registration-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 38px;
  border-radius: 20px;
}

.tg-info-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(34, 158, 217, 0.08);
  border: 1px solid rgba(34, 158, 217, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.tg-icon-circle {
  width: 44px;
  height: 44px;
  background: rgba(34, 158, 217, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tg-color);
}

.tg-info-text strong {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 2px;
}

.tg-info-text p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.icon-tg {
  color: var(--tg-color);
}

.reg-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--purple-primary);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

/* ==========================================================================
   MODALS & TOASTS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #101420;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: #fff;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #141926;
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 28px;
  position: relative;
  z-index: 10;
}

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

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 380px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

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

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color var(--transition-fast);
}

.footer-links-group a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.btn-scroll-top {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-scroll-top:hover {
  background: var(--purple-primary);
  border-color: var(--purple-light);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (FULL MOBILE POLISH)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.82rem;
  }
}

@media (max-width: 980px) {
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .streamer-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }
  .streamer-card-left {
    margin-bottom: 10px;
  }
  .streamer-bio {
    text-align: left;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .top-announcement-bar {
    display: none;
  }
  .site-header {
    height: 60px;
  }
  .header-container {
    padding: 0 16px;
  }
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 34px;
  }
  .section-title {
    font-size: 1.65rem;
    line-height: 1.2;
  }
  .section-subtitle {
    font-size: 0.88rem;
  }
  .hero-section {
    padding: 40px 0 60px;
    min-height: auto;
  }
  .hero-badges {
    gap: 6px;
    margin-bottom: 18px;
  }
  .badge {
    padding: 4px 10px;
    font-size: 0.72rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.6rem);
    line-height: 1.18;
    margin-bottom: 16px;
    word-break: break-word;
  }
  .hero-description {
    font-size: 0.94rem;
    margin-bottom: 24px;
    line-height: 1.6;
  }
  .countdown-card {
    padding: 16px 14px;
    margin-bottom: 24px;
  }
  .countdown-header {
    margin-bottom: 10px;
  }
  .countdown-title {
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .hero-actions {
    margin-bottom: 34px;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 14px 12px;
  }
  .stat-number {
    font-size: 1.1rem;
  }
  .stat-label {
    font-size: 0.72rem;
    line-height: 1.3;
  }
  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .prize-card {
    padding: 24px 18px;
  }
  .disciplines-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .platoon-feature-box {
    padding: 24px 18px;
  }
  .platoon-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .structure-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .structure-card {
    padding: 24px 18px;
  }
  .finals-flow-banner {
    flex-direction: column;
    padding: 22px 18px;
    gap: 12px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .calc-inputs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .calculator-box {
    padding: 22px 16px;
  }
  .calc-summary-banner {
    padding: 20px 14px;
  }
  .calc-formula {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
  }
  .total-score-value {
    font-size: 2.3rem;
  }
  .timeline-container::before {
    left: 20px;
  }
  .timeline-item {
    padding-left: 54px;
  }
  .timeline-dot-wrapper {
    left: 10px;
  }
  .timeline-card {
    padding: 20px 16px;
  }
  .timeline-title {
    font-size: 1rem;
  }
  .accordion-trigger {
    padding: 14px 14px;
  }
  .reg-title {
    font-size: 0.88rem;
  }
  .reg-num {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }
  .accordion-content {
    padding: 0 14px 18px 14px;
    font-size: 0.85rem;
  }
  .registration-wrapper {
    padding: 24px 16px;
  }
  .reg-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tg-info-banner {
    padding: 14px 14px;
    gap: 12px;
  }
  .social-channels-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-cta {
    display: none; /* Hide header CTA button on mobile so header logo and burger have perfect breathing room */
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-crest {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-sub {
    font-size: 0.62rem;
  }
  .calc-mode-switcher {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .calc-tabs {
    flex-direction: column;
    width: 100%;
  }
  .calc-tab {
    width: 100%;
    text-align: center;
  }
  .calc-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .calc-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .header-container {
    padding: 0 12px;
  }
  .container {
    padding: 0 12px;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .countdown-card {
    padding: 14px 10px;
  }
  .timer-unit {
    padding: 8px 3px;
  }
  .timer-val {
    font-size: 1.2rem;
  }
  .timer-lbl {
    font-size: 0.56rem;
  }
  .timer-sep {
    font-size: 0.95rem;
  }
  .brand-sub {
    display: none;
  }
}

/* ==========================================================================
   MOBILE FLOATING REGISTRATION BUTTON
   ========================================================================== */
.mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 14px;
  right: 14px;
  z-index: 95;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.mobile-floating-cta.visible {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}

.mobile-floating-cta.hidden {
  pointer-events: none;
  transform: translateY(110px);
  opacity: 0;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.96), rgba(126, 34, 206, 0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px -4px rgba(147, 51, 234, 0.7), 0 0 16px rgba(168, 85, 247, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-cta-btn:active {
  transform: scale(0.98);
}

.floating-cta-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-cta-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.floating-cta-text {
  display: flex;
  flex-direction: column;
}

.floating-cta-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.floating-cta-sub {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 600;
  color: #fed7aa;
}

.floating-cta-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #7e22ce;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--font-accent);
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .mobile-floating-cta {
    display: block;
  }
}
