/* ==========================================================
   AbuXay Football League — Futuristic Sky Blue & Royal Ocean Design System
   (Oq, Havo rang / Moviy va To'q Ko'k ranglar uyg'unligi)
   ========================================================== */

:root {
  /* ================= BACKGROUNDS ================= */
  --bg-primary: #060c18;              /* Deep midnight oceanic sapphire */
  --bg-secondary: #0b1528;            /* Dark royal navy */
  --bg-card: rgba(13, 24, 48, 0.78);     /* Ultra-sleek glassmorphic card */
  --bg-card-hover: rgba(19, 36, 72, 0.9);
  --bg-glass: rgba(10, 20, 42, 0.72);
  --bg-darker: #040812;

  /* ================= HAVO (CYAN / SKY BLUE) & KO'K (ROYAL BLUE) ================= */
  --cyan-neon: #00f2fe;               /* Luminous Sky / Electric Cyan */
  --cyan-primary: #00d2ff;            /* Vivid Azure / Sky Blue */
  --cyan-light: #7dd3fc;             /* Soft Sky Blue */
  --cyan-ice: #e0f2fe;               /* Crisp Ice White */
  --blue-primary: #0284c7;            /* Cerulean Blue */
  --blue-electric: #0066ff;           /* Electric Royal Blue */
  --blue-deep: #1d4ed8;              /* Deep Cobalt Blue */
  --blue-navy: #0f2756;              /* Dark Sapphire */

  /* Backwards-compatibility aliases for dynamic JS styles */
  --gold-primary: #00d2ff;
  --gold-secondary: #0284c7;
  --gold-light: #7dd3fc;
  --gold-dark: #0066ff;
  --text-gold: #38bdf8;

  /* ================= GRADIENTS ================= */
  --gold-gradient: linear-gradient(135deg, #00f2fe 0%, #0099ff 50%, #0055ff 100%);
  --gold-gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.25) 0%, rgba(0, 102, 255, 0.08) 100%);
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #0ea5e9 50%, #2563eb 100%);
  --sky-gradient: linear-gradient(135deg, #ffffff 0%, #bae6fd 40%, #38bdf8 100%);
  --card-gradient: linear-gradient(145deg, rgba(16, 32, 64, 0.82) 0%, rgba(8, 16, 34, 0.88) 100%);
  --fut-toty-gradient: linear-gradient(145deg, #0e2954 0%, #071736 45%, #030b1c 100%);

  /* ================= TEXT COLORS ================= */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-sky: #38bdf8;
  --text-ice: #f0f9ff;

  /* ================= BORDERS & GLOWS ================= */
  --border-color: rgba(56, 189, 248, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-cyan-glow: rgba(0, 242, 254, 0.6);
  --border-gold-glow: rgba(0, 210, 255, 0.65);

  --shadow-sm: 0 4px 10px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.15);
  --shadow-gold: 0 0 25px rgba(0, 210, 255, 0.25);
  --shadow-cyan: 0 0 30px rgba(0, 242, 254, 0.4);

  /* Status Accents */
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-blue: #38bdf8;

  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #040d18;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    /* Stadium floodlight beams from top corners */
    radial-gradient(ellipse 65% 55% at 10% 0%, rgba(0, 242, 254, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 90% 0%, rgba(16, 185, 129, 0.20) 0%, transparent 60%),
    /* Center pitch floodlight glow */
    radial-gradient(circle at 50% 35%, rgba(6, 78, 59, 0.32) 0%, transparent 70%),
    /* Pitch mowing turf stripes */
    repeating-linear-gradient(180deg, rgba(6, 38, 25, 0.40) 0px, rgba(6, 38, 25, 0.40) 50px, rgba(4, 22, 16, 0.52) 50px, rgba(4, 22, 16, 0.52) 100px),
    /* Deep midnight stadium ocean */
    linear-gradient(180deg, #051424 0%, #031812 40%, #040f1a 100%);
  background-attachment: fixed;
  padding-bottom: 95px;
  position: relative;
}

/* ================= HEADER ================= */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 12, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(0, 210, 255, 0.15);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.5);
  object-fit: cover;
}

.brand-info h1 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: var(--sky-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.brand-info p {
  font-size: 0.72rem;
  color: var(--cyan-light);
  letter-spacing: 0.3px;
  opacity: 0.9;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.header-status:hover {
  background: rgba(239, 68, 68, 0.28);
  transform: scale(1.03);
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulse-live 1.5s infinite;
}

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

/* ================= MAIN CONTAINER & TABS ================= */
.main-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= HERO BANNER ================= */
.hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 28, 56, 0.95) 0%, rgba(7, 16, 36, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.15);
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(0, 210, 255, 0.15);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 210, 255, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.hero-title {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
  background: var(--sky-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.45;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.stat-box {
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.stat-box .num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--cyan-neon);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.stat-box .lbl {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 600;
}

/* ================= LIVE MATCH HIGHLIGHT ================= */
.live-match-card {
  background: linear-gradient(145deg, rgba(20, 32, 60, 0.9) 0%, rgba(9, 16, 32, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.2), 0 8px 25px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

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

.live-badge-glow {
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.match-minute {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan-light);
}

.match-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 16px;
}

.team-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-badge-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.35);
}

.team-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.score-col {
  flex: 0 0 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-main {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--cyan-neon);
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.match-actions {
  display: flex;
  gap: 8px;
}

.btn-stream {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 11px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.btn-stream:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

/* ================= QUICK ACTIONS GRID ================= */
.section-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.section-title span {
  background: var(--sky-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.quick-btn {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.quick-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 210, 255, 0.25);
}

.quick-icon {
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 210, 255, 0.14);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
  flex-shrink: 0;
}

.quick-text h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.quick-text p {
  font-size: 0.72rem;
  color: var(--cyan-light);
  opacity: 0.85;
}

/* ================= TOURNAMENTS CARDS ================= */
.tourn-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.tourn-card:hover {
  border-color: var(--cyan-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.25);
  transform: translateY(-2px);
}

.tourn-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.tourn-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cyan-ice);
}

.tourn-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tourn-meta-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  background: rgba(4, 9, 20, 0.6);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.meta-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.meta-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

/* ================= BUTTONS (HAWVO-KO'K VIVID GRADIENT) ================= */
.btn-primary-gold {
  width: 100%;
  background: var(--gold-gradient);
  color: #040814;
  font-weight: 900;
  font-size: 0.92rem;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.55);
  filter: brightness(1.08);
}

.btn-primary-gold:active {
  transform: translateY(0);
}

/* ================= STANDINGS TABLE ================= */
.table-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.standings-table th {
  background: rgba(9, 18, 36, 0.95);
  padding: 12px 10px;
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--cyan-light);
  border-bottom: 1px solid var(--border-color);
  font-weight: 800;
}

.standings-table th.col-team {
  text-align: left;
  padding-left: 14px;
}

.standings-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.standings-table tr:hover {
  background: rgba(0, 210, 255, 0.06);
}

.standings-table tr:first-child td:first-child {
  border-left: 4px solid var(--cyan-neon);
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.team-mini-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-primary);
  object-fit: cover;
}

.pts-highlight {
  font-weight: 900;
  color: var(--cyan-neon);
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* ================= TOP SCORERS ================= */
.scorer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.scorer-card:hover {
  border-color: var(--cyan-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2);
}

.scorer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-badge {
  font-size: 0.9rem;
  font-weight: 900;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rank-badge.top-1 {
  background: var(--gold-gradient);
  color: #040814;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.6);
  border: none;
}

.scorer-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.35);
}

.scorer-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.scorer-team {
  font-size: 0.72rem;
  color: var(--cyan-light);
  opacity: 0.85;
}

.scorer-stats {
  text-align: right;
}

.scorer-goals {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--cyan-neon);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* ================= FUT FIFA / EA FC TOTY BLUE CYAN CARD ================= */
.fifa-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
}

.fut-card {
  width: 295px;
  height: 445px;
  background: var(--fut-toty-gradient);
  border: 2.5px solid var(--cyan-primary);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 210, 255, 0.45);
  position: relative;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.fut-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 15%, rgba(0, 242, 254, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.fut-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.fut-ovr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.fut-ovr {
  font-size: 2.9rem;
  font-weight: 900;
  background: var(--sky-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(0, 210, 255, 0.6);
}

.fut-pos {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cyan-light);
  letter-spacing: 1px;
}

.fut-badge-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-primary);
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}

.fut-player-visual {
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.fut-player-img {
  max-height: 165px;
  width: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(0, 210, 255, 0.7);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 210, 255, 0.3);
}

.fut-bottom-info {
  z-index: 2;
  text-align: center;
  background: rgba(6, 15, 34, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 8px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.fut-player-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.fut-card-tier-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--cyan-neon);
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.fut-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  padding-top: 6px;
}

.fut-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fut-stat-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.fut-stat-lbl {
  font-size: 0.58rem;
  color: var(--cyan-light);
  font-weight: 700;
}

/* ================= LIVE STREAM SECTION ================= */
.stream-player-box {
  background: #000;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 210, 255, 0.2);
}

.stream-screen {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: radial-gradient(circle at center, #102142 0%, #050a16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stream-inner-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.stream-watermark {
  position: absolute;
  top: 12px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stream-watermark img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-primary);
}

.stream-score-overlay {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(5, 12, 28, 0.85);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--cyan-neon);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.stream-controls-bar {
  padding: 14px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= FORMS & INPUTS ================= */
.form-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(5, 11, 24, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
  background: rgba(8, 16, 36, 0.95);
}

.range-slider-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.range-slider {
  flex: 1;
  accent-color: var(--cyan-primary);
}

.range-val {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--cyan-neon);
  width: 32px;
  text-align: right;
}

/* ================= BOTTOM NAVIGATION BAR (FLOATING OCEAN DOCK) ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 12, 26, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(0, 210, 255, 0.2);
  display: flex;
  justify-content: space-around;
  padding: 8px 6px;
  max-width: 680px;
  margin: 0 auto;
}

.nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}

.nav-item .icon {
  font-size: 1.3rem;
  transition: var(--transition);
}

.nav-item.active {
  color: var(--cyan-neon);
}

.nav-item.active .icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.8));
}

/* Toast alert */
.toast-msg {
  position: fixed;
  top: 75px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(10, 20, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--cyan-primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2000;
}

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

/* ================= 3X4 PHOTO UPLOADER IN MINI APP ================= */
.mini-upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(6, 12, 25, 0.85);
  border: 1.5px dashed var(--cyan-primary);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.mini-photo-3x4 {
  width: 72px;
  height: 96px;
  border-radius: 8px;
  border: 2px solid var(--cyan-primary);
  object-fit: cover;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 210, 255, 0.25);
  flex-shrink: 0;
}

.mini-photo-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
  flex-shrink: 0;
}

.file-input-hidden {
  display: none;
}

.btn-file-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-gradient);
  color: #040814;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-file-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* ================= STORE & GALLERY IN MINI APP ================= */
.store-grid-mini, .gallery-grid-mini {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.store-card-mini, .gallery-card-mini {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.store-card-mini:hover, .gallery-card-mini:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 210, 255, 0.25);
}

.store-card-mini img, .gallery-card-mini img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  display: block;
}

.store-card-content {
  padding: 10px;
}

.store-price-tag {
  color: var(--cyan-neon);
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 2px;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.store-title {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

/* Scorers 3x4 photo */
.scorer-3x4-img {
  width: 44px;
  height: 58px;
  border-radius: 6px;
  border: 1.5px solid var(--cyan-primary);
  object-fit: cover;
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 8px rgba(0, 210, 255, 0.25);
  flex-shrink: 0;
}

/* ================= FOOTBALL PITCH TACTICAL WATERMARK ================= */
.pitch-markings-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 1000' preserveAspectRatio='xMidYMin slice'%3E%3Crect x='30' y='30' width='540' height='940' fill='none' stroke='%2300f2fe' stroke-width='2' rx='10'/%3E%3Cline x1='30' y1='500' x2='570' y2='500' stroke='%2300f2fe' stroke-width='2'/%3E%3Ccircle cx='300' cy='500' r='80' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Ccircle cx='300' cy='500' r='5' fill='%2300f2fe'/%3E%3Crect x='160' y='30' width='280' height='140' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Crect x='220' y='30' width='160' height='55' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Cpath d='M 235 170 A 70 70 0 0 0 365 170' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Crect x='160' y='830' width='280' height='140' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Crect x='220' y='915' width='160' height='55' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Cpath d='M 235 830 A 70 70 0 0 1 365 830' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Cpath d='M 30 60 A 30 30 0 0 0 60 30' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Cpath d='M 540 30 A 30 30 0 0 0 570 60' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Cpath d='M 30 940 A 30 30 0 0 1 60 970' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3Cpath d='M 540 970 A 30 30 0 0 1 570 940' fill='none' stroke='%2300f2fe' stroke-width='2'/%3E%3C/svg%3E");
}

/* ================= SOCIAL CHANNELS BAR ================= */
.social-channels-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.social-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 6px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.76rem;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-chip:active, .social-chip:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.chip-yt {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.25) 0%, rgba(180, 0, 0, 0.15) 100%);
  color: #ff4d4d;
  border-color: rgba(255, 77, 77, 0.45);
}
.chip-yt:hover {
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}

.chip-ig {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.25) 0%, rgba(131, 58, 180, 0.22) 100%);
  color: #ff70a6;
  border-color: rgba(225, 48, 108, 0.45);
}
.chip-ig:hover {
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.45);
}

.chip-tg {
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.28) 0%, rgba(0, 102, 255, 0.18) 100%);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.5);
}
.chip-tg:hover {
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.45);
}

/* ================= TIME SLOT FILTER PILLS ================= */
.time-slot-filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.time-slot-filter-row::-webkit-scrollbar {
  display: none;
}

.slot-pill {
  flex: 1;
  min-width: 95px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: rgba(13, 24, 48, 0.7);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.slot-pill.active {
  background: var(--gold-gradient);
  color: #040814;
  border-color: transparent;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.4);
}

.slot-pill:hover:not(.active) {
  border-color: var(--cyan-primary);
  color: #fff;
}

/* ================= RECRUITING TEAMS & VACANCIES ================= */
.recruiting-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.recruiting-card:hover {
  border-color: var(--cyan-primary);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.2);
}

.recruiting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}

.recruiting-badge-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
}

.recruiting-badge-full {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 800;
}

.time-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--cyan-light);
}

.vacancy-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px 0;
}

.vacancy-chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  color: #cbd5e1;
}

.vacancy-chip.highlight {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--cyan-neon);
  font-weight: 700;
}

/* ================= MODAL FOR JOIN REQUEST ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.modal-card {
  background: linear-gradient(145deg, #0b1528 0%, #060c18 100%);
  border: 1.5px solid var(--cyan-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.3);
  padding: 20px;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.modal-close-btn:hover {
  color: #fff;
}
