/* Modern Premium Design System for World Cup PWA */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Color Palette (Sleek Dark / Golden Acent) */
  --bg-primary: #0b0f19;
  --bg-secondary: #141c2f;
  --bg-glass: rgba(20, 28, 47, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  
  --primary: #00e676; /* Vibrant Green field */
  --primary-hover: #00b359;
  --accent: #ffd700; /* Golden Cup */
  --accent-rgb: 255, 215, 0;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  /* Biorhythm Colors */
  --physical: #ef4444; /* Red */
  --emotional: #3b82f6; /* Blue */
  --intellectual: #eab308; /* Yellow */
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--text-main);
}

/* Premium Layout Grid */
.app-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

@media (max-width: 1024px) {
  .app-container {
    grid-template-columns: 1fr;
  }
}

/* Sidebar / Navigation */
.app-sidebar {
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-y: auto;
}

@media (max-width: 1024px) {
  .app-sidebar {
    height: auto;
    position: relative;
    padding: 1rem 1.5rem;
  }
}

.logo-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
  background-color: rgba(0, 230, 118, 0.1);
  color: var(--primary);
}

/* Main Content Area */
.main-wrapper {
  padding: 2rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 640px) {
  .main-wrapper {
    padding: 1rem;
  }
}

/* Header & Controls */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.title-section h1 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Year Selector Control */
.wc-selector-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.wc-selector-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
}

.wc-select {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  padding-right: 1.5rem;
  position: relative;
}

.wc-select option {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  font-weight: normal;
}

/* Premium Dashboard Widgets */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

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

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-title);
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.glass-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.glass-card-title {
  font-size: 1.35rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive Premium Table */
.table-container {
  overflow-x: auto;
  width: 100%;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.premium-table th {
  padding: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-color);
}

.premium-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  transition: var(--transition);
}

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

.team-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.team-flag {
  font-size: 1.5rem;
  display: inline-block;
  vertical-align: middle;
}

/* Playoff Bracket Tree Styling */
.bracket-wrapper {
  overflow-x: auto;
  padding: 2rem 0;
}

.bracket-container {
  display: flex;
  gap: 3rem;
  min-width: 1000px;
  justify-content: space-between;
}

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

.bracket-round-title {
  text-align: center;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.bracket-match {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 200px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.bracket-match:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.bracket-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.bracket-team.winner {
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(0, 230, 118, 0.05);
}

.bracket-team-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-score {
  font-weight: 700;
  font-family: var(--font-title);
}

/* Live Match Cards (Fixture) */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .matches-grid {
    grid-template-columns: 1fr;
  }
}

.match-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.match-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: var(--shadow-md);
}

.match-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.match-venue {
  color: var(--accent);
}

.match-teams {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.match-team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-team-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.score-input, .score-display {
  width: 50px;
  height: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-title);
  outline: none;
  transition: var(--transition);
}

.score-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 230, 118, 0.2);
}

.score-display {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Premium Buttons & Form Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent);
  color: #000;
  transform: translateY(-1px);
}

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

.btn-muted:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* Live Toggle Controls */
.toggle-panel {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  align-items: center;
}

.toggle-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.option-group {
  display: flex;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  border: 1px solid var(--border-color);
}

.option-btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.option-btn.active {
  background-color: var(--bg-secondary);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Biorhythm Visualizer Component */
.biorhythm-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .biorhythm-container {
    grid-template-columns: 1fr;
  }
}

.selection-pane {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-control {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
}

/* Roster / Player List & Biorhythm Graph */
.player-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.player-item-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

.player-item-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.player-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.player-name {
  font-size: 1rem;
}

.player-age-club {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Biorhythm Progress Bar Styles */
.biorhythm-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 45px;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
}

.bar-label {
  font-weight: 600;
  text-transform: uppercase;
}

.bar-label.phys { color: var(--physical); }
.bar-label.emot { color: var(--emotional); }
.bar-label.intel { color: var(--intellectual); }

.bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-value {
  text-align: right;
  font-weight: 700;
  font-family: var(--font-title);
}

/* Forecast Panel */
.forecast-card {
  background: linear-gradient(135deg, rgba(20, 28, 47, 0.9) 0%, rgba(11, 15, 25, 0.9) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-top: 1.5rem;
}

.forecast-title {
  font-size: 1.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.forecast-vs {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 1rem 0;
  width: 100%;
  justify-content: center;
}

.forecast-team-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 200px;
}

.forecast-flag {
  font-size: 3rem;
}

.forecast-team-name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-title);
}

.forecast-index {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-title);
}

.forecast-vs-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-muted);
}

.forecast-verdict {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-main);
  max-width: 600px;
}

/* Offline Banner */
.offline-banner {
  background-color: #f59e0b;
  color: #000;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: none;
}

.offline-banner.active {
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ── Responsive Double Column ──────────────────────────────────────────────── */
.responsive-double-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .responsive-double-col {
    grid-template-columns: 1fr;
  }
}

/* ── Group Tabs ────────────────────────────────────────────────────────────── */
.group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.group-tab {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.group-tab:hover { border-color: var(--primary); color: var(--primary); }
.group-tab.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* ── Biorhythm Bar (negative values render from right) ─────────────────────── */
.bar-track-inner {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.bar-fill-neg {
  height: 100%;
  border-radius: 4px;
  position: absolute;
  right: 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar-fill-pos {
  height: 100%;
  border-radius: 4px;
  position: absolute;
  left: 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Next Match Countdown ──────────────────────────────────────────────────── */
.next-match-banner {
  background: linear-gradient(135deg, rgba(0,230,118,0.08), rgba(255,215,0,0.06));
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.next-match-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.next-match-teams {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-title);
}
.next-match-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.countdown-box {
  display: flex;
  gap: 1rem;
}
.countdown-unit {
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  min-width: 60px;
}
.countdown-num {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--accent);
  display: block;
  line-height: 1;
}
.countdown-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 0.2rem;
}

/* ── Teams Grid (index classified) ────────────────────────────────────────── */
.teams-classified-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.team-classified-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-main);
}
.team-classified-card:hover {
  border-color: var(--primary);
  background: rgba(0,230,118,0.05);
  color: var(--primary);
  transform: translateY(-2px);
}
.team-classified-card .flag {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.team-classified-card .team-group-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,215,0,0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(255,215,0,0.2);
}

/* ── Stadium Card ──────────────────────────────────────────────────────────── */
.stadium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.stadium-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stadium-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}
.stadium-city {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.stadium-capacity {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Confed Badge ──────────────────────────────────────────────────────────── */
.confed-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.confed-UEFA    { background: rgba(0,100,255,0.15); color:#4d9fff; border:1px solid rgba(0,100,255,0.3); }
.confed-CONMEBOL{ background: rgba(0,200,83,0.12); color:#00e676; border:1px solid rgba(0,200,83,0.3); }
.confed-CONCACAF{ background: rgba(255,82,82,0.12); color:#ff6b6b; border:1px solid rgba(255,82,82,0.3); }
.confed-CAF     { background: rgba(255,193,7,0.12); color:#ffd700; border:1px solid rgba(255,193,7,0.3); }
.confed-AFC     { background: rgba(233,30,99,0.12); color:#f48fb1; border:1px solid rgba(233,30,99,0.3); }
.confed-OFC     { background: rgba(103,58,183,0.12); color:#b39ddb; border:1px solid rgba(103,58,183,0.3); }
