/* ================================================
   Ù„ÙŠØ§Ù„ÙŠ Ø§Ù„Ù…ÙˆÙ†Ø¯ÙŠØ§Ù„ - Ø§Ù„Ù†Ø¸Ø§Ù… Ø§Ù„ØªØµÙ…ÙŠÙ…ÙŠ Ø§Ù„ÙƒØ§Ù…Ù„
   Dark Premium | Glassmorphism | Arabic RTL
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ØªØ¹Ø±ÙŠÙ Ø§Ù„Ø®Ø·ÙˆØ· Ø§Ù„Ù…Ø­Ù„ÙŠØ© */
@font-face {
  font-family: 'thmanyahsans';
  src: url('../fonts/thmanyahsans-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'thmanyahsans';
  src: url('../fonts/thmanyahsans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'thmanyahsans';
  src: url('../fonts/thmanyahsans-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ================================================
   CSS Variables - Ù†Ø¸Ø§Ù… Ø§Ù„Ø£Ù„ÙˆØ§Ù†
   ================================================ */
:root {
  /* Ø§Ù„Ø£Ù„ÙˆØ§Ù† Ø§Ù„Ø£Ø³Ø§Ø³ÙŠØ© */
  --bg-primary:     #060C1A;
  --bg-secondary:   #0C1528;
  --bg-card:        rgba(15, 23, 42, 0.85);
  --bg-card-hover:  rgba(20, 32, 58, 0.95);
  --bg-glass:       rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  /* Ø§Ù„Ø£Ù„ÙˆØ§Ù† Ø§Ù„Ù…Ù…ÙŠØ²Ø© */
  --gold:           #F5C518;
  --gold-light:     #FFD740;
  --gold-dark:      #C9A000;
  --green:          #00D4AA;
  --green-dark:     #00A882;
  --red:            #FF4757;
  --blue:           #1E90FF;

  /* Ø§Ù„Ø£Ù„ÙˆØ§Ù† Ø§Ù„Ù†ØµÙŠØ© */
  --text-primary:   #F0F4FF;
  --text-secondary: #8899BB;
  --text-muted:     #4A5A7A;
  --text-gold:      #F5C518;

  /* Ø§Ù„Ø­Ø¯ÙˆØ¯ */
  --border:         rgba(255, 255, 255, 0.06);
  --border-gold:    rgba(245, 197, 24, 0.3);
  --border-glow:    rgba(245, 197, 24, 0.6);

  /* Ø§Ù„ØªØ¯Ø±Ø¬Ø§Øª */
  --gradient-hero:  linear-gradient(135deg, #060C1A 0%, #0A1628 40%, #0D1F3C 100%);
  --gradient-gold:  linear-gradient(135deg, #F5C518, #FFD740, #C9A000);
  --gradient-card:  linear-gradient(135deg, rgba(15,23,42,0.9), rgba(10,18,35,0.95));
  --gradient-green: linear-gradient(135deg, #00D4AA, #00A882);

  /* Ø§Ù„Ø¸Ù„Ø§Ù„ */
  --shadow-sm:      0 2px 10px rgba(0,0,0,0.3);
  --shadow-md:      0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.6);
  --shadow-gold:    0 0 30px rgba(245,197,24,0.25);
  --shadow-green:   0 0 20px rgba(0,212,170,0.2);

  /* Ø§Ù„Ø£Ø­Ø¬Ø§Ù… */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  9999px;

  /* Ø§Ù„Ø®Ø· */
  --font-main:    'thmanyahsans', 'Cairo', 'Tajawal', sans-serif;

  /* Ø§Ù„Ø§Ù†ØªÙ‚Ø§Ù„Ø§Øª */
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ================================================
   Ø¥Ø¹Ø§Ø¯Ø© Ø§Ù„Ø¶Ø¨Ø· Ø§Ù„Ø£Ø³Ø§Ø³ÙŠ
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Ø®Ù„ÙÙŠØ© Ø§Ù„Ù†Ø¬ÙˆÙ… Ø§Ù„Ù…ØªØ­Ø±ÙƒØ© */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(245,197,24,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,212,170,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(30,144,255,0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ================================================
   Ø§Ù„Ø´Ø±ÙŠØ· Ø§Ù„Ø¹Ù„ÙˆÙŠ (Header)
   ================================================ */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(6, 12, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 12, 26, 0.97);
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Ø§Ù„Ø´Ø¹Ø§Ø± */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.site-logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 0 40px rgba(245,197,24,0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Ø§Ù„ØªÙ†Ù‚Ù„ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  font-feature-settings: "ss01" 1;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

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

.nav-link .nav-icon {
  font-size: 1rem;
}

/* Ø¨Ø§Ø¯Ø¬ "Ù…Ø¨Ø§Ø´Ø±" */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  animation: pulse-badge 2s infinite;
  letter-spacing: 0.05em;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,71,87,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(255,71,87,0); }
}

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

/* Ø²Ø± Ø§Ù„Ù‚Ø§Ø¦Ù…Ø© Ù„Ù„Ø¬ÙˆØ§Ù„ */
.menu-toggle {
  display: none;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--bg-glass-hover);
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 72px 1.5rem 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(245,197,24,0.12)'/%3E%3C/svg%3E") repeat;
  animation: starField 60s linear infinite;
}

@keyframes starField {
  from { transform: translateY(0); }
  to   { transform: translateY(-60px); }
}

.hero-globe {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(30,144,255,0.08), rgba(0,212,170,0.04), transparent 70%);
  border: 1px solid rgba(245,197,24,0.1);
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  animation: rotate-globe 30s linear infinite;
  pointer-events: none;
}

@keyframes rotate-globe {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--gold);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fade-down 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: fade-up 0.8s 0.1s ease forwards;
  opacity: 0;
}

.hero-title .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
  animation: fade-up 0.8s 0.2s ease forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.3s ease forwards;
  opacity: 0;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ================================================
   Ø§Ù„Ø£Ø²Ø±Ø§Ø±
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-gold);
  color: #060C1A;
  box-shadow: 0 4px 20px rgba(245,197,24,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,197,24,0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(255,71,87,0.15);
  border: 1px solid rgba(255,71,87,0.3);
  color: #FF4757;
}

.btn-danger:hover {
  background: rgba(255,71,87,0.25);
  transform: translateY(-2px);
}

.btn-success {
  background: rgba(0,212,170,0.15);
  border: 1px solid rgba(0,212,170,0.3);
  color: var(--green);
}

.btn-success:hover {
  background: rgba(0,212,170,0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ================================================
   Ø§Ù„Ø­Ø§ÙˆÙŠØ§Øª ÙˆØ§Ù„ØªØ®Ø·ÙŠØ·
   ================================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.6em;
  background: var(--gradient-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.section-link:hover { opacity: 0.8; }

/* ================================================
   Ø¨Ø·Ø§Ù‚Ø© Ø§Ù„Ù…Ø¨Ø§Ø±Ø§Ø©
   ================================================ */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}

.match-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245,197,24,0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

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

.match-card.live {
  border-color: rgba(255,71,87,0.3);
  box-shadow: 0 0 0 1px rgba(255,71,87,0.1);
}

.match-card.live::before {
  background: linear-gradient(90deg, var(--red), #FF6B81);
  opacity: 1;
}

.match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.match-round {
  background: rgba(245,197,24,0.08);
  color: var(--gold);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.72rem;
  border: 1px solid rgba(245,197,24,0.15);
}

.match-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ØµÙ Ø§Ù„ÙØ±ÙŠÙ‚ÙŠÙ† ÙˆØ§Ù„Ù†ØªÙŠØ¬Ø© */
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.team-info.home { align-items: flex-end; text-align: right; }
.team-info.away { align-items: flex-start; text-align: left; }

.team-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: var(--transition);
}

.match-card:hover .team-logo { transform: scale(1.05); }

.team-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Ø§Ù„Ù†ØªÙŠØ¬Ø© */
.match-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 90px;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.8rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.score-home, .score-away {
  min-width: 28px;
  text-align: center;
}

.score-separator {
  color: var(--text-muted);
  font-weight: 300;
}

.score-vs {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.match-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-scheduled { background: rgba(138,158,200,0.1); color: var(--text-secondary); }
.status-live      { background: rgba(255,71,87,0.15); color: var(--red); animation: pulse-badge 2s infinite; }
.status-halftime  { background: rgba(245,197,24,0.1); color: var(--gold); }
.status-finished  { background: rgba(0,212,170,0.1); color: var(--green); }

/* ================================================
   Ø´Ø¨ÙƒØ© Ø§Ù„Ù…Ø¨Ø§Ø±ÙŠØ§Øª
   ================================================ */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

/* ================================================
   Ø¬Ø¯ÙˆÙ„ Ø§Ù„ØªØ±ØªÙŠØ¨
   ================================================ */
.standings-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1.5rem;
}

.group-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.group-card:hover {
  border-color: rgba(245,197,24,0.2);
  box-shadow: var(--shadow-md);
}

.group-header {
    padding: 0.3rem 0.7rem;
    background: linear-gradient(135deg, rgba(245,197,24,0.08), rgba(245,197,24,0.03));
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.group-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
}

.standings-table th {
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.05em;
}

.standings-table th.team-col { text-align: right; }

.standings-table td {
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition-fast);
}

.standings-table tr:last-child td { border-bottom: none; }

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

.team-cell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: right;
}

.team-cell-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-cell-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.standing-pos {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.standings-table td:first-child {
  border-right: 3px solid transparent;
}

.standings-table tr.row-qual td:first-child {
  border-right-color: var(--green);
}

.standings-table tr.row-third td:first-child {
  border-right-color: var(--gold);
}

.pts-cell {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold);
}

/* Ù†Ù…ÙˆØ°Ø¬ Ø§Ù„Ø´ÙƒÙ„ */
.form-badges {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.form-badge {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-W { background: rgba(0,212,170,0.2); color: var(--green); }
.form-D { background: rgba(245,197,24,0.2); color: var(--gold); }
.form-L { background: rgba(255,71,87,0.2); color: var(--red); }

/* ================================================
   Ù…Ø´ØºÙ„ Ø§Ù„Ø¨Ø« Ø§Ù„Ù…Ø¨Ø§Ø´Ø±
   ================================================ */
.stream-container {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.stream-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.stream-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-card);
}

.stream-placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.stream-placeholder-text {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ================================================
   ØµÙØ­Ø© Ø§Ù„Ù…Ø¨Ø§Ø±Ø§Ø© - Ù…Ø¹Ù„ÙˆÙ…Ø§Øª ÙƒØ§Ù…Ù„Ø©
   ================================================ */
.match-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(180deg, rgba(6,12,26,0) 0%, rgba(6,12,26,1) 100%);
  position: relative;
}

.match-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(245,197,24,0.05), transparent 70%);
}

.match-scoreboard {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(20px);
}

.match-scoreboard::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.scoreboard-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.scoreboard-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scoreboard-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.scoreboard-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.scoreboard-score {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.scoreboard-sep {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.6em;
}

/* ================================================
   Ø¥Ø­ØµØ§Ø¦ÙŠØ§Øª Ø§Ù„Ù…Ø¨Ø§Ø±Ø§Ø©
   ================================================ */
.stats-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.stat-row {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-row:last-child { margin-bottom: 0; }

.stat-val {
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-primary);
}

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

.stat-bar-container {
  grid-column: 1 / -1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ================================================
   Ø£Ø­Ø¯Ø§Ø« Ø§Ù„Ù…Ø¨Ø§Ø±Ø§Ø© (Goal / Card / Sub)
   ================================================ */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.event-item:hover { background: var(--bg-glass-hover); }

.event-time {
  min-width: 40px;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
  text-align: center;
}

.event-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.event-player { font-weight: 600; color: var(--text-primary); }
.event-detail { color: var(--text-muted); font-size: 0.78rem; }

/* ================================================
   Ø§Ù„ØªØ°ÙŠÙŠÙ„ (Footer)
   ================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  background: rgba(6,12,26,0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: left;
}

.footer-gold { color: var(--gold); }

/* ================================================
   Ø§Ù„ÙÙ„Ø§ØªØ± ÙˆØ§Ù„ØªØ¨ÙˆÙŠØ¨Ø§Øª
   ================================================ */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

.filter-tab.active {
  background: rgba(245,197,24,0.12);
  border-color: rgba(245,197,24,0.4);
  color: var(--gold);
  font-weight: 700;
}

/* ================================================
   Ø¨Ø·Ø§Ù‚Ø§Øª Ø§Ù„Ø¥Ø­ØµØ§Ø¡ (Stats Cards)
   ================================================ */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(245,197,24,0.2);
  transform: translateY(-2px);
}

.stat-card-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

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

/* ================================================
   Ù…Ø¤Ø´Ø± Ø§Ù„ØªØ­Ù…ÙŠÙ„
   ================================================ */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  flex-direction: column;
  gap: 1rem;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ================================================
   Ø±Ø³Ø§Ù„Ø© Ø§Ù„Ø®Ø·Ø£ / Ù„Ø§ ØªÙˆØ¬Ø¯ Ø¨ÙŠØ§Ù†Ø§Øª
   ================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.empty-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ================================================
   Ø´Ø±ÙŠØ· "Ù…Ø¨Ø§Ø´Ø± Ø§Ù„Ø¢Ù†" - Hero Strip
   ================================================ */
.live-strip {
  background: linear-gradient(135deg, rgba(255,71,87,0.08), rgba(255,71,87,0.03));
  border: 1px solid rgba(255,71,87,0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.live-strip-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
}

/* ================================================
   ØªÙˆØ§Ø±ÙŠØ® Ø§Ù„Ù…Ø¨Ø§Ø±ÙŠØ§Øª (Date Tabs)
   ================================================ */
.date-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.date-tabs::-webkit-scrollbar { display: none; }

.date-tab {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-main);
  transition: var(--transition);
  min-width: 70px;
}

.date-tab .day-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.date-tab .day-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.date-tab .month-name {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.date-tab.active,
.date-tab:hover {
  background: rgba(245,197,24,0.08);
  border-color: rgba(245,197,24,0.35);
}

.date-tab.active .day-num,
.date-tab.active .day-name,
.date-tab.active .month-name {
  color: var(--gold);
}

.date-tab.has-live {
  border-color: rgba(255,71,87,0.3);
}

/* ================================================
   ØªÙˆØ³Øª Ø§Ù„Ø¥Ø´Ø¹Ø§Ø±Ø§Øª
   ================================================ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slide-in 0.3s ease;
  max-width: 320px;
}

.toast.success { border-color: rgba(0,212,170,0.3); }
.toast.error   { border-color: rgba(255,71,87,0.3); }

@keyframes slide-in {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ================================================
   Responsive - Ø§Ù„Ø¬ÙˆØ§Ù„
   ================================================ */
@media (max-width: 1024px) {
  .standings-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header { padding: 0 1rem; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: rgba(6,12,26,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }

  .site-nav.open { display: flex; }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .menu-toggle { display: flex; }

  .matches-grid {
    grid-template-columns: 1fr;
  }

  .match-teams {
    gap: 0.5rem;
  }

  .team-logo { width: 42px; height: 42px; }
  .team-name { font-size: 0.78rem; }

  .scoreboard-teams {
    gap: 1rem;
  }

  .scoreboard-logo { width: 56px; height: 56px; }
  .scoreboard-name { font-size: 0.9rem; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-copy { text-align: center; }

  .section { padding: 3rem 0; }

  .hero-title { font-size: 2.2rem; }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-globe { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .match-card { padding: 1rem; }

  .score-display { font-size: 1.4rem; }

  .scoreboard-score { font-size: 2.5rem; }

  .group-card { overflow-x: visible; }

  .standings-table { min-width: auto; width: 100%; }
}

@media (max-width: 576px) {
  .hide-mobile {
    display: none !important;
  }
  .standings-table th, 
  .standings-table td,
  .sb-standings-table th, 
  .sb-standings-table td {
    padding: 0.5rem 0.2rem !important;
    font-size: 0.72rem !important;
  }
  .team-cell,
  .sb-team-cell {
    gap: 0.3rem !important;
  }
  .team-cell-name,
  .sb-team-cell-name {
    font-size: 0.75rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95px;
  }
  .team-cell-logo,
  .sb-team-cell-logo {
    width: 20px !important;
    height: 20px !important;
  }
  .standing-pos,
  .sb-pos-badge {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.7rem !important;
  }
  .pts-cell,
  .sb-pts-val {
    font-size: 0.78rem !important;
  }
}

/* ================================================
   ØªØ£Ø«ÙŠØ±Ø§Øª Ø¹Ø§Ù…Ø©
   ================================================ */
.gold-glow {
  text-shadow: 0 0 20px rgba(245,197,24,0.4);
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* Ø¹Ø±Ø¶ Ø§Ù„Ø¹Ù„Ù… */
.flag-img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}

/* ================================================
   Scrollbar Ù…Ø®ØµØµ
   ================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* ================================================
   Selection
   ================================================ */
::selection {
  background: rgba(245,197,24,0.25);
  color: var(--text-primary);
}

/* ================================================
   Ù†Ø¸Ø§Ù… Ø§Ù„Ø«ÙŠÙ… Ø§Ù„ÙØ§ØªØ­ - Ø¨Ø£Ù„ÙˆØ§Ù† ÙƒØ£Ø³ Ø§Ù„Ø¹Ø§Ù„Ù… 2026 Ø§Ù„Ø±Ø³Ù…ÙŠØ©
   ================================================ */
:root[data-theme="light"],
.light-theme {
  /* Ø®Ù„ÙÙŠØ© Ø§Ù„Ù…ÙˆÙ‚Ø¹ Ø§Ù„Ø£Ø³Ø§Ø³ÙŠØ© */
  --bg-primary:     #F4F7F6;
  --bg-secondary:   #FFFFFF;
  --bg-card:        rgba(255, 255, 255, 0.9);
  --bg-card-hover:  rgba(255, 255, 255, 1);
  --bg-glass:       rgba(0, 77, 44, 0.05);
  --bg-glass-hover: rgba(0, 77, 44, 0.08);

  /* Ø§Ù„Ø£Ù„ÙˆØ§Ù† Ø§Ù„Ù…Ù…ÙŠØ²Ø© Ù„ÙƒØ£Ø³ Ø§Ù„Ø¹Ø§Ù„Ù… 2026 */
  --gold:           #D97706;
  --gold-light:     #F59E0B;
  --gold-dark:      #B45309;
  --green:          #00B350;
  --green-dark:     #004D2C;
  --red:            #EF4444;
  --blue:           #3B82F6;

  /* Ø§Ù„Ø£Ù„ÙˆØ§Ù† Ø§Ù„Ù†ØµÙŠØ© */
  --text-primary:   #062F18;
  --text-secondary: #2C5E43;
  --text-muted:     #608C75;
  --text-gold:      #B45309;

  /* Ø§Ù„Ø­Ø¯ÙˆØ¯ */
  --border:         rgba(6, 47, 24, 0.1);
  --border-gold:    rgba(180, 83, 9, 0.25);
  --border-glow:    rgba(0, 179, 80, 0.4);

  /* Ø§Ù„ØªØ¯Ø±Ø¬Ø§Øª Ø§Ù„Ø®Ø§ØµØ© Ø¨ÙƒØ£Ø³ Ø§Ù„Ø¹Ø§Ù„Ù… 2026 */
  --gradient-hero:  linear-gradient(135deg, #8CE600 0%, #00C250 50%, #004D2C 100%);
  --gradient-gold:  linear-gradient(135deg, #F5A800, #FACC15, #D97706);
  --gradient-card:  linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,248,246,0.98));
  --gradient-green: linear-gradient(135deg, #8CE600, #00C250);

  /* Ø§Ù„Ø¸Ù„Ø§Ù„ */
  --shadow-sm:      0 2px 10px rgba(6, 47, 24, 0.05);
  --shadow-md:      0 8px 30px rgba(6, 47, 24, 0.08);
  --shadow-lg:      0 20px 60px rgba(6, 47, 24, 0.12);
  --shadow-gold:    0 8px 30px rgba(217, 119, 6, 0.15);
  --shadow-green:   0 8px 30px rgba(0, 179, 80, 0.15);
}

/* ØªØ®ØµÙŠØµ Ø§Ù„Ø®Ù„ÙÙŠØ© Ø§Ù„Ø¹Ø§Ù…Ø© Ù„Ù„Ø«ÙŠÙ… Ø§Ù„ÙØ§ØªØ­ */
.light-theme body::before {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(140,230,0,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,194,80,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0,77,44,0.04) 0%, transparent 70%);
}

/* ØªØ®ØµÙŠØµØ§Øª Ø§Ù„Ù‡ÙŠØ¯Ø± ÙÙŠ Ø§Ù„Ø«ÙŠÙ… Ø§Ù„ÙØ§ØªØ­ */
.light-theme .site-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(6, 47, 24, 0.08);
}

.light-theme .site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
}

/* ØªØ®ØµÙŠØµØ§Øª Ø§Ù„Ø±ÙˆØ§Ø¨Ø· ÙˆØ§Ù„Ø´Ø¹Ø§Ø± ÙÙŠ Ø§Ù„Ù‡ÙŠØ¯Ø± */
.light-theme .logo-icon {
  background: linear-gradient(135deg, #8CE600, #00C250);
  box-shadow: 0 4px 15px rgba(0, 194, 80, 0.2);
}

.light-theme .logo-sub {
  color: #00B350;
}

.light-theme .nav-link {
  color: #2C5E43;
}

.light-theme .nav-link:hover,
.light-theme .nav-link.active {
  color: #062F18;
  background: rgba(0, 179, 80, 0.06);
}

.light-theme .nav-link.active {
  color: #00B350;
  font-weight: 700;
}

/* ØªØ®ØµÙŠØµØ§Øª Ø§Ù„Ø¬ÙˆØ§Ù„ Ù„Ù„Ù‡ÙŠØ¯Ø± */
@media (max-width: 768px) {
  .light-theme .site-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(6, 47, 24, 0.08);
  }
}

/* ØªØ®ØµÙŠØµØ§Øª Ø§Ù„Ù‡ÙŠØ±Ùˆ (Hero Section) Ø¨Ø£Ø´ÙƒØ§Ù„ ÙƒØ£Ø³ Ø§Ù„Ø¹Ø§Ù„Ù… 2026 Ø§Ù„Ù…Ù„ØªÙˆÙŠØ© */
.light-theme .hero {
  color: #FFFFFF;
}

.light-theme .hero-title {
  color: #FFFFFF;
}

.light-theme .hero-title .accent {
  background: linear-gradient(135deg, #FFFFFF, #FACC15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-theme .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.light-theme .hero-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

/* Ø®Ù„ÙÙŠØ© Ø§Ù„Ù‡ÙŠØ±Ùˆ Ø§Ù„ÙØ§ØªØ­ Ù…Ø¹ Ø§Ù„Ø£Ø´ÙƒØ§Ù„ Ø§Ù„Ù…ØªØ±Ø§ÙƒØ¨Ø© Ù…Ù† Ø§Ù„ØµÙˆØ±Ø© */
.light-theme .hero-bg {
  background: #00D05E; /* Ø§Ù„Ù„ÙˆÙ† Ø§Ù„Ø²Ù…Ø±Ø¯ÙŠ ÙƒØ£Ø³Ø§Ø³ */
  background-image: 
    radial-gradient(circle at 95% 10%, #004D2C 0%, #004D2C 50%, transparent 50%),
    radial-gradient(circle at 5% 90%, #8CE600 0%, #8CE600 60%, transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.15) 35%, transparent 35%);
  overflow: hidden;
}

/* ÙƒØªØ§Ø¨Ø© "26" Ùˆ "WE ARE" Ø¨Ø£Ø³Ù„ÙˆØ¨ Ø¨Ø§Ù‡Øª ÙˆØ®Ù„ÙÙŠØ© ÙÙŠ Ø§Ù„Ù‡ÙŠØ±Ùˆ Ù„Ù…Ø·Ø§Ø¨Ù‚Ø© Ø§Ù„ØµÙˆØ±Ø© */
.light-theme .hero-bg::before {
  content: '26';
  position: absolute;
  bottom: -8%;
  left: 2%;
  font-size: clamp(10rem, 30vw, 38rem);
  font-weight: 950;
  color: rgba(255, 255, 255, 0.12);
  line-height: 0.8;
  letter-spacing: -0.06em;
  pointer-events: none;
  font-family: system-ui, -apple-system, sans-serif;
  z-index: 1;
}

.light-theme .hero-bg::after {
  content: 'WE ARE 26';
  position: absolute;
  top: 15%;
  right: 5%;
  font-size: clamp(2rem, 6vw, 6rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.02em;
  pointer-events: none;
  font-family: system-ui, -apple-system, sans-serif;
  z-index: 1;
}

/* Ø§Ù„Ø£Ø²Ø±Ø§Ø± ÙÙŠ Ø§Ù„Ø«ÙŠÙ… Ø§Ù„ÙØ§ØªØ­ */
.light-theme .btn-primary {
  background: linear-gradient(135deg, #00C250, #004D2C);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 77, 44, 0.25);
}

.light-theme .btn-primary:hover {
  background: linear-gradient(135deg, #00D05E, #023F25);
  box-shadow: 0 8px 30px rgba(0, 77, 44, 0.35);
  transform: translateY(-2px);
}

.light-theme .btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(6, 47, 24, 0.15);
  color: #062F18;
  backdrop-filter: blur(10px);
}

.light-theme .btn-secondary:hover {
  background: #FFFFFF;
  border-color: #00B350;
  color: #00B350;
  transform: translateY(-2px);
}

/* ØªØ®ØµÙŠØµ Ø§Ù„Ø¨Ø·Ø§Ù‚Ø§Øª ÙˆÙ…Ø±Ø¨Ø¹Ø§Øª Ø§Ù„Ù…Ø¬Ù…ÙˆØ¹Ø§Øª */
.light-theme .match-card {
  background: var(--bg-card);
  border: 1px solid rgba(6, 47, 24, 0.08);
  background-image: radial-gradient(circle at 100% 100%, rgba(140, 230, 0, 0.04) 0%, transparent 40%);
  box-shadow: var(--shadow-sm);
}

.light-theme .match-card:hover {
  border-color: rgba(0, 179, 80, 0.3);
  box-shadow: var(--shadow-md), var(--shadow-green);
}

.light-theme .match-card::before {
  background: var(--gradient-green);
}

.light-theme .match-round {
  background: rgba(0, 179, 80, 0.08);
  color: #008A3D;
  border-color: rgba(0, 179, 80, 0.15);
}

.light-theme .match-date {
  color: #2C5E43;
}

.light-theme .score-separator {
  color: #608C75;
}

.light-theme .score-vs {
  color: #608C75;
}

.light-theme .status-scheduled {
  background: rgba(6, 47, 24, 0.06);
  color: #2C5E43;
}

/* ØªØ®ØµÙŠØµ Ø¬Ø¯Ø§ÙˆÙ„ Ø§Ù„Ù…Ø¬Ù…ÙˆØ¹Ø§Øª */
.light-theme .group-card {
  background: var(--bg-card);
  border: 1px solid rgba(6, 47, 24, 0.08);
  background-image: radial-gradient(circle at 0% 0%, rgba(0, 208, 94, 0.02) 0%, transparent 35%);
  box-shadow: var(--shadow-sm);
}

.light-theme .group-card:hover {
  border-color: rgba(0, 179, 80, 0.2);
  box-shadow: var(--shadow-md);
}

.light-theme .group-header {
  background: linear-gradient(135deg, rgba(0, 179, 80, 0.06), rgba(0, 179, 80, 0.01));
  border-bottom: 1px solid rgba(6, 47, 24, 0.08);
}

.light-theme .group-name {
  color: #008A3D;
}

.light-theme .standings-table th {
  border-bottom: 1px solid rgba(6, 47, 24, 0.08);
  color: #608C75;
}

.light-theme .standings-table td {
  border-bottom: 1px solid rgba(6, 47, 24, 0.03);
}

.light-theme .standings-table tr:hover td {
  background: rgba(0, 179, 80, 0.03);
}

.light-theme .standing-pos {
  color: #608C75;
}

.light-theme .standing-pos.qual {
  background: rgba(0, 179, 80, 0.15);
  color: #008A3D;
}

.light-theme .standing-pos.third {
  background: rgba(59, 130, 246, 0.15);
  color: #2563EB;
}

.light-theme .pts-cell {
  color: #008A3D;
}

/* ØªØ®ØµÙŠØµ Ø²Ø± ØªØ¨Ø¯ÙŠÙ„ Ø§Ù„Ø«ÙŠÙ… */
.theme-toggle {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  outline: none;
  user-select: none;
}

.theme-toggle:hover {
  background: var(--bg-glass-hover);
  border-color: var(--gold);
  transform: scale(1.05);
}

.light-theme .theme-toggle:hover {
  border-color: var(--green);
}

/* Ø§Ù„ÙƒÙ„Ø§Ø³Ø§Øª Ø§Ù„Ø¨Ø¯ÙŠÙ„Ø© Ù„Ø³ØªØ§ÙŠÙ„Ø§Øª Ø§Ù„Ù€ inline */
.page-hero-banner {
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.04) 0%, transparent 100%);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.match-hero-banner {
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 197, 24, 0.06), transparent 60%);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.light-theme .page-hero-banner {
  background: linear-gradient(180deg, rgba(0, 179, 80, 0.05) 0%, transparent 100%);
}

.light-theme .match-hero-banner {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 179, 80, 0.08), transparent 60%);
}

.light-theme .section-title::before {
  background: var(--gradient-green);
}

.light-theme .match-scoreboard {
  border-color: rgba(0, 179, 80, 0.2);
  box-shadow: var(--shadow-green);
}

.light-theme .match-scoreboard::before {
  background: var(--gradient-green);
}

/* Ø³ØªØ§ÙŠÙ„ Ù„ÙˆØ­Ø© Ø¥Ø­ØµØ§Ø¦ÙŠØ§Øª Ø§Ù„Ù…Ø¨Ø§Ø±Ø§Ø© ÙˆØªÙØ§ØµÙŠÙ„ Ø§Ù„Ø¨Ø« Ø§Ù„ÙØ§ØªØ­Ø© */
.light-theme .stats-section,
.light-theme .stat-card,
.light-theme .empty-state.glass-card {
  background: var(--bg-card);
  border: 1px solid rgba(6, 47, 24, 0.08);
  box-shadow: var(--shadow-sm);
}

.light-theme .stat-bar-container {
  background: rgba(6, 47, 24, 0.08);
}

.light-theme .stat-bar-fill {
  background: var(--gradient-green);
}

.light-theme .event-item {
  background: rgba(0, 77, 44, 0.04);
}

.light-theme .event-item:hover {
  background: rgba(0, 77, 44, 0.08);
}

.light-theme .event-time {
  color: #008A3D;
}

/* ØªØ°ÙŠÙŠÙ„ Ø§Ù„ØµÙØ­Ø© Ø§Ù„ÙØ§ØªØ­ */
.light-theme .site-footer {
  background: #FFFFFF;
  border-top: 1px solid rgba(6, 47, 24, 0.08);
}

.light-theme .footer-gold {
  color: #008A3D;
}

/* ================================================
   Ø³ØªØ§ÙŠÙ„ Ø¹Ø¯Ø§Ø¯ ÙˆÙ‚Øª Ø§Ù„Ø¨Ø« Ø§Ù„Ù…Ø¨Ø§Ø´Ø± Ø§Ù„Ø¯Ø§Ø¦Ø±ÙŠ (Live Timer Circle Progress)
   ================================================ */
.live-scoreboard-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.live-score-val {
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.score-win {
  color: var(--green);
  text-shadow: 0 0 15px rgba(0, 212, 170, 0.2);
}

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

.live-timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.live-timer-circle {
  position: relative;
  width: 95px;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
}

.light-theme .live-timer-circle {
  background: rgba(0, 77, 44, 0.02);
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 2.2;
}

.circle {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease;
}

.timer-text {
  position: absolute;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.live-period-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.light-theme .live-period-label {
  background: rgba(0, 77, 44, 0.04);
  border-color: rgba(6, 47, 24, 0.08);
}

@media (max-width: 768px) {
  .live-scoreboard-center {
    gap: 1.25rem;
  }
  .live-timer-circle {
    width: 78px;
    height: 78px;
  }
  .timer-text {
    font-size: 1rem;
  }
  .live-score-val {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .live-period-label {
    font-size: 0.75rem;
    padding: 0.15rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .live-scoreboard-center {
    gap: 0.75rem;
  }
  .live-timer-circle {
    width: 68px;
    height: 68px;
  }
  .timer-text {
    font-size: 0.88rem;
  }
  .live-score-val {
    font-size: 1.85rem;
  }
}

/* Ø³ØªØ§ÙŠÙ„ Ù‚Ø§Ø¦Ù…Ø© Ù…Ø³Ø¬Ù„ÙŠ Ø§Ù„Ø£Ù‡Ø¯Ø§Ù Ø£Ø³ÙÙ„ Ø§Ù„Ø£Ø¹Ù„Ø§Ù… */
.scoreboard-scorers {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.light-theme .scoreboard-scorers {
  color: var(--text-secondary);
}

.scorer-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.scorer-ball {
  font-size: 0.85rem;
  opacity: 0.85;
}

.scorer-name {
  font-weight: 500;
}

.scorer-min {
  color: var(--gold);
  font-weight: 600;
}

.light-theme .scorer-min {
  color: var(--gold);
}

/* Ø³ØªØ§ÙŠÙ„Ø§Øª Ø§Ù„ØªØ¨ÙˆÙŠØ¨Ø§Øª Ø£Ø³ÙÙ„ Ø§Ù„Ø¨Ø« Ø§Ù„Ù…Ø¨Ø§Ø´Ø± */
.match-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.match-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  outline: none;
}

.match-tab-btn:hover {
  color: var(--text-primary);
}

.match-tab-btn.active {
  color: var(--gold);
}

.light-theme .match-tab-btn.active {
  color: var(--green);
}

.match-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

.light-theme .match-tab-btn.active::after {
  background: var(--gradient-green);
}

.match-tab-content {
  display: none;
}

.match-tab-content {
  display: none;
}

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

/* ================================================
   Ù„ÙˆØ­Ø© Ø§Ù„Ù†ØªÙŠØ¬Ø© Ø§Ù„Ù…Ø¯Ù…Ø¬Ø© (Compact Scoreboard)
   ================================================ */
.match-scoreboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.match-scoreboard::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-gold);
}

/* ================================================
   Ø§Ù„Ù…Ù„Ø¹Ø¨ Ø§Ù„ØªÙØ§Ø¹Ù„ÙŠ Ù„Ù„ØªØ´ÙƒÙŠÙ„Ø© (CSS Football Pitch)
   ================================================ */
.pitch-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 500px;
  margin: 0 auto;
  background: radial-gradient(circle, #2e7d32 0%, #1b5e20 100%);
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pitch-grass-stripes {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 50%
  );
  background-size: 100% 12.5%;
  pointer-events: none;
}

.pitch-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
  pointer-events: none;
}

.pitch-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pitch-center-spot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pitch-penalty-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 16%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.pitch-goal-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24%;
  height: 6%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.pitch-penalty-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50%;
  height: 16%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.pitch-goal-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 24%;
  height: 6%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: none;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Ø¨Ø·Ø§Ù‚Ø§Øª Ø§Ù„Ù„Ø§Ø¹Ø¨ÙŠÙ† Ø¹Ù„Ù‰ Ø±Ù‚Ø¹Ø© Ø§Ù„Ù…Ù„Ø¹Ø¨ */
.pitch-player {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  width: 65px;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-avatar-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--text-primary);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.player-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-primary);
}

.player-number {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-rating {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--gold);
  color: #020617;
  border-radius: 4px;
  padding: 1px 3px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.light-theme .player-rating {
  background: var(--green);
  color: #ffffff;
}

.player-name {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.9);
  text-align: center;
  width: 85px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ø£Ø²Ø±Ø§Ø± ØªØ¨Ø¯ÙŠÙ„ Ø§Ù„ØªØ´ÙƒÙŠÙ„Ø© ÙˆØ§Ù„Ø¨Ø¯Ù„Ø§Ø¡ ÙˆØ§Ù„Ù…Ø¯Ø±Ø¨ */
.lineup-team-toggles {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lineup-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.lineup-toggle-btn:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

.lineup-toggle-btn.active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.light-theme .lineup-toggle-btn.active {
  background: var(--green);
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}

.coach-card-wrapper {
  margin-top: 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coach-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coach-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.coach-details {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.coach-title {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

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

@media (max-width: 480px) {
  .pitch-container {
    border-radius: var(--radius-md);
  }
  .pitch-player {
    width: 50px;
  }
  .player-avatar-wrapper {
    width: 36px;
    height: 36px;
  }
  .player-name {
    font-size: 0.65rem;
    width: 70px;
  }
  .player-number {
    width: 14px;
    height: 14px;
    font-size: 0.55rem;
  }
  .player-rating {
    font-size: 0.55rem;
    padding: 1px 2px;
  }
  .match-scoreboard {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
  }
  .scoreboard-team {
    width: 100%;
  }
}

/* =========================================
   Scoreboard Theme Styles - Premium Glassmorphism & Responsive
   ========================================= */

.sb-scoreboard {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
  margin-bottom: 24px;
  overflow: hidden;
  font-family: var(--font-main);
  color: var(--text-primary);
  direction: rtl;
  position: relative;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.sb-scoreboard:hover {
  box-shadow: 0 10px 40px rgba(245, 197, 24, 0.35);
}

/* Green gradient top bar */
.sb-top-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--green-dark));
  background-size: 200% auto;
  animation: sb-shine 4s linear infinite;
}

@keyframes sb-shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header Capsule */
.sb-header-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 25px;
}

.sb-header-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.sb-header-sep {
  color: var(--text-muted);
}

/* Main Area */
.sb-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  position: relative;
}

.sb-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 100%;
}

.sb-team-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.sb-team-flag {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 2.5px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.sb-team:hover .sb-team-flag {
  transform: scale(1.05);
}

/* Center Score & Time Section */
.sb-score-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
  min-width: 150px;
}

.sb-match-time {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.sb-score-nums {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}

.sb-score-val {
  font-size: 46px;
  font-weight: 900;
  color: var(--text-primary);
  min-width: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sb-score-val.sb-score-win {
  color: var(--gold);
  text-shadow: 0 0 15px rgba(245, 197, 24, 0.4);
}

.sb-score-sep {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Status Pill */
.sb-match-status {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.sb-match-status.status-scheduled {
  background: rgba(0, 212, 170, 0.1);
  color: var(--green);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.sb-match-status.status-live {
  background: rgba(255, 71, 87, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 71, 87, 0.25);
  animation: sb-pulse 1.5s infinite alternate;
}

.sb-match-status.status-finished {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

@keyframes sb-pulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.sb-timer-live-text {
  font-weight: 900;
  font-size: 11px;
}

.sb-period-live-label {
  font-size: 11px;
}

/* Bottom Metadata */
.sb-footer-meta {
  padding: 12px 25px;
  background: rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sb-footer-sep {
  color: var(--text-muted);
}

/* Scorers Detail Row */
.sb-details {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 20px 25px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border);
}

.sb-scorers {
  width: 100%;
}

.sb-scorers-home {
  display: flex;
  justify-content: flex-start;
}

.sb-scorers-away {
  display: flex;
  justify-content: flex-end;
}

.scoreboard-scorers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-scorer-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  gap: 8px;
  color: var(--text-secondary);
}

.sb-scorer-item.sb-scorer-home {
  flex-direction: row-reverse;
}

.sb-scorer-name {
  font-weight: 500;
}

.sb-scorer-min {
  color: var(--gold);
  font-weight: 700;
}

.sb-scorer-ball {
  font-size: 11px;
  opacity: 0.85;
}

/* =========================================
   Standings Section (Inside Match Page)
   ========================================= */
.sb-standings-section {
  background: transparent;
}

.sb-standings-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.sb-standings-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 15px;
}

.sb-standings-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
}

.sb-group-label {
  font-size: 18px;
  font-weight: 800;
}

.sb-standings-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-main);
}

.sb-standings-table th {
  padding: 12px 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  text-align: center;
  white-space: nowrap;
}

.sb-standings-table th.sb-th-team {
  text-align: right;
  padding-right: 20px;
}

.sb-standings-table td {
  padding: 14px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.sb-standings-table tr:last-child td {
  border-bottom: none;
}

.sb-standings-table td:nth-child(2) {
  text-align: right;
  padding-right: 20px;
}

.sb-standings-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.01);
}

.sb-pos-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

.sb-pos-badge.sb-pos-qual {
  background: rgba(0, 212, 170, 0.15);
  color: var(--green);
}

.sb-team-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-team-cell-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sb-team-cell-name {
  color: var(--text-primary);
  font-weight: 700;
}

.sb-diff-pos {
  color: var(--green) !important;
}

.sb-diff-neg {
  color: var(--red) !important;
}

.sb-pts-val {
  color: var(--gold);
  font-weight: 900;
}

.sb-row-highlight {
  background: rgba(0, 212, 170, 0.04) !important;
  border-left: 3px solid var(--green);
}

.sb-row-highlight .sb-team-cell-name {
  color: var(--green);
}

/* =========================================
   General Responsive Layout & Mobile
   ========================================= */

.match-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .match-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Mobile Responsive Optimization for Scoreboard */
@media (max-width: 640px) {
  .sb-main {
    padding: 20px 15px;
    gap: 10px;
  }
  
  .sb-team {
    gap: 6px;
  }

  .sb-team-name {
    font-size: 13px;
    max-width: 90px;
    word-break: break-word;
  }

  .sb-team-flag {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.15);
  }

  .sb-score-center {
    min-width: 110px;
    padding: 0 5px;
  }

  .sb-match-time {
    font-size: 26px;
    margin-bottom: 6px;
  }

  .sb-score-nums {
    gap: 8px;
    margin-bottom: 6px;
  }

  .sb-score-val {
    font-size: 32px;
    min-width: 28px;
  }

  .sb-score-sep {
    font-size: 24px;
  }

  .sb-match-status {
    font-size: 10px;
    padding: 3px 10px;
  }
  
  .sb-details {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }
  
  .sb-scorers-home, .sb-scorers-away {
    justify-content: center;
  }
  
  .sb-scorer-item {
    justify-content: center;
  }
  
  .sb-scorer-item.sb-scorer-home {
    flex-direction: row;
  }
}

@media (max-width: 360px) {
  .sb-team-name {
    font-size: 11px;
    max-width: 75px;
  }
  .sb-team-flag {
    width: 38px;
    height: 38px;
  }
  .sb-match-time {
    font-size: 22px;
  }
  .sb-score-val {
    font-size: 26px;
  }
}

/* ================================================
   ØµÙØ­Ø© Ø§Ù„Ø¥Ø­ØµØ§Ø¦ÙŠØ§Øª (Player Stats)
   ================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.stats-card:hover {
  border-color: rgba(245, 197, 24, 0.2);
  box-shadow: var(--shadow-md);
}

.stats-card-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.08), rgba(245, 197, 24, 0.03));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stats-icon {
  font-size: 1.3rem;
}

.stats-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}

.stats-list {
  display: flex;
  flex-direction: column;
}

.stats-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
  gap: 0.75rem;
}

.stats-item:last-child {
  border-bottom: none;
}

.stats-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stats-player-rank {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  width: 24px;
  text-align: center;
}

.stats-player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.stats-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-player-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stats-player-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  font-feature-settings: "ss01" 1;
}

.stats-player-team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.stats-player-team img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.stats-value-box {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.stats-main-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green);
}

.stats-sub-value {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.stats-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}







