/* ========================================
   CURAÇAO CLUB ITALIA - FIFA 2026 STYLE
   ======================================== */

:root {
  --blue-dark: #001a33;
  --blue-main: #0066cc;
  --blue-bright: #00aaff;
  --blue-neon: #00d4ff;
  --gold-main: #ffcc00;
  --gold-bright: #ffe566;
  --gold-neon: #fff099;
  
  --bg-primary: #000d1a;
  --bg-secondary: #001229;
  --bg-card: rgba(0, 40, 80, 0.6);
  
  --text-primary: #ffffff;
  --text-secondary: #99ccff;
  --text-muted: #6699cc;
  
  --glow-blue: 0 0 20px rgba(0, 170, 255, 0.6), 0 0 40px rgba(0, 170, 255, 0.3);
  --glow-gold: 0 0 20px rgba(255, 204, 0, 0.6), 0 0 40px rgba(255, 204, 0, 0.3);
  --glow-neon: 0 0 25px rgba(0, 212, 255, 0.5), 0 0 50px rgba(0, 212, 255, 0.25);
  --glow-blue-strong: 0 0 30px rgba(0, 170, 255, 0.8), 0 0 60px rgba(0, 170, 255, 0.4);
  --glow-gold-strong: 0 0 30px rgba(255, 204, 0, 0.8), 0 0 60px rgba(255, 204, 0, 0.4);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

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

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(0, 102, 204, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 204, 0, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #000d1a 0%, #001229 50%, #000d1a 100%);
}

.wrap {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 170, 255, 0.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.crest {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
  border: 2px solid var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--glow-blue);
  flex-shrink: 0;
}

.crest::before {
  content: '';
  position: absolute;
  bottom: 35%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-main);
  box-shadow: 0 -3px 0 #fff;
}

.crest .star {
  color: #fff;
  font-size: 18px;
  position: relative;
  top: -6px;
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.crest-small { width: 40px; height: 40px; border-radius: 10px; }
.crest-small .star { font-size: 14px; top: -4px; }

.brand-text strong { display: block; font-size: 1rem; font-weight: 800; }
.brand-text span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(0, 102, 204, 0.2);
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue-bright);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

nav ul { list-style: none; display: flex; gap: 8px; }

nav a {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: var(--transition);
}

nav a:hover {
  background: rgba(0, 170, 255, 0.15);
  border-color: rgba(0, 170, 255, 0.3);
  color: var(--blue-neon);
  box-shadow: var(--glow-blue);
}

/* HERO */
.hero { padding: 40px 0 60px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: stretch;
}

.hero-main {
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 30, 60, 0.8));
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(255, 204, 0, 0.05));
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

h1 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.title-line { display: block; }
.title-line.accent { color: var(--gold-main); text-shadow: var(--glow-gold); }

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 55ch;
  margin-bottom: 32px;
  line-height: 1.7;
}

.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-main), var(--gold-bright));
  color: #000d1a;
  box-shadow: var(--glow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--glow-gold-strong);
}

.btn-secondary {
  background: rgba(0, 170, 255, 0.15);
  color: var(--blue-neon);
  border: 1px solid rgba(0, 170, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(0, 170, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.stat-card {
  padding: 20px;
  background: rgba(0, 50, 100, 0.4);
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(0, 170, 255, 0.4);
  box-shadow: var(--glow-blue);
}

.stat-number {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 2rem;
  color: var(--gold-main);
  text-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

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

.hero-side { display: flex; flex-direction: column; gap: 20px; }

.flag-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
}

.flag-visual {
  height: 180px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #002b7f 0%, #001a4d 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--glow-blue);
}

.flag-visual .flag-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flag-label { font-size: 1.1rem; font-weight: 700; }

.countdown-card {
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.6), var(--bg-card));
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: var(--radius-lg);
}

.countdown-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }

.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }

.count-item {
  text-align: center;
  padding: 14px 8px;
  background: rgba(0, 30, 60, 0.6);
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: var(--radius-sm);
}

.count-num {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.8rem;
  color: var(--blue-neon);
  text-shadow: var(--glow-neon);
}

.count-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.countdown-match { text-align: center; font-size: 0.9rem; color: var(--gold-main); font-weight: 600; }

.spirit-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: var(--radius-lg);
}

.spirit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.spirit-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* SECTIONS */
.section { padding: 60px 0; }
.section-header { margin-bottom: 32px; }

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.2), rgba(0, 170, 255, 0.05));
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-neon);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 60ch; }

/* CALENDARIO */
.schedule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.fixture {
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 40, 80, 0.5));
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.fixture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--gold-main));
  opacity: 0;
  transition: var(--transition);
}

.fixture:hover {
  border-color: rgba(0, 170, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

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

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

.fixture-tag {
  padding: 6px 12px;
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-main);
  text-transform: uppercase;
}

.fixture-tag.friendly {
  background: rgba(0, 170, 255, 0.15);
  border-color: rgba(0, 170, 255, 0.3);
  color: var(--blue-neon);
}

.fixture-date { font-size: 0.9rem; color: var(--text-muted); }

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

.fixture-team { display: flex; align-items: center; gap: 12px; flex: 1; }
.fixture-team.away { flex-direction: row-reverse; text-align: right; }

.team-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 100, 200, 0.3), rgba(0, 50, 100, 0.5));
  border: 1px solid rgba(0, 170, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 8px;
}

.team-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-name { font-weight: 700; font-size: 1.05rem; }

.fixture-vs {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.2rem;
  color: var(--gold-main);
  padding: 0 8px;
}

.fixture-score {
  min-width: 82px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.14);
  border: 1px solid rgba(255, 204, 0, 0.35);
  color: var(--gold-main);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
  box-shadow: 0 0 18px rgba(255, 204, 0, 0.12);
}

.fixture-info { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.fixture-info strong { color: var(--text-primary); }

/* MATCH CENTER */
.match-section {
  background: linear-gradient(180deg, transparent, rgba(0, 40, 80, 0.18), transparent);
}

.match-center {
  padding: 28px;
  background: linear-gradient(145deg, rgba(0, 55, 110, 0.78), rgba(0, 18, 41, 0.92));
  border: 1px solid rgba(0, 170, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

.match-center::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 204, 0, 0.11), transparent 36%);
  pointer-events: none;
}

.match-status-row,
.match-scoreboard,
.match-meta-grid,
.match-events {
  position: relative;
  z-index: 1;
}

.match-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.16);
  border: 1px solid rgba(255, 204, 0, 0.35);
  color: var(--gold-main);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-main);
  box-shadow: var(--glow-gold);
}

.live-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.match-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.match-team.away {
  flex-direction: row-reverse;
  text-align: right;
}

.match-team span {
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.match-flag {
  width: 70px;
  height: 70px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(0, 30, 60, 0.66);
  border: 1px solid rgba(0, 170, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.match-flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.match-score-block {
  min-width: 170px;
  text-align: center;
}

.match-competition,
.match-minute {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.match-score {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.95;
  color: var(--gold-main);
  text-shadow: var(--glow-gold);
  letter-spacing: 0.02em;
  margin: 8px 0;
}

.match-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.match-meta-item {
  padding: 16px;
  background: rgba(0, 20, 45, 0.52);
  border: 1px solid rgba(0, 170, 255, 0.14);
  border-radius: var(--radius-sm);
}

.match-meta-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.match-meta-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.match-events {
  padding-top: 20px;
  border-top: 1px solid rgba(0, 170, 255, 0.14);
}

.match-events h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.events-list {
  display: grid;
  gap: 12px;
}

.event-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(0, 20, 45, 0.42);
  border: 1px solid rgba(0, 170, 255, 0.12);
  border-radius: var(--radius-sm);
}

.event-minute {
  color: var(--gold-main);
  font-weight: 800;
  font-size: 0.9rem;
}

.event-item strong {
  display: block;
  margin-bottom: 3px;
}

.event-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.empty-state.compact {
  grid-column: auto;
  padding: 18px;
}

/* CLASSIFICA */
.standings-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }

.table-container {
  background: var(--bg-card);
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; min-width: 600px; border-collapse: collapse; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid rgba(0, 170, 255, 0.1); }

thead { background: rgba(0, 50, 100, 0.5); }
thead th { font-size: 0.75rem; font-weight: 700; color: var(--gold-main); text-transform: uppercase; letter-spacing: 0.1em; }

tbody tr { transition: var(--transition); }
tbody tr:hover { background: rgba(0, 100, 200, 0.1); }
tbody tr:first-child { background: linear-gradient(90deg, rgba(0, 170, 255, 0.15), transparent); }

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 170, 255, 0.2);
  font-weight: 700;
  font-size: 0.85rem;
}

.nation-cell { display: flex; align-items: center; gap: 10px; }

.flag-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 50, 100, 0.3);
}

.flag-mini img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.highlights-panel { display: flex; flex-direction: column; gap: 16px; }

.highlight-item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.highlight-item:hover { border-color: rgba(0, 170, 255, 0.4); box-shadow: var(--glow-blue); }

.highlight-icon { font-size: 1.5rem; margin-bottom: 10px; }
.highlight-item strong { display: block; font-size: 1rem; margin-bottom: 8px; }
.highlight-item span { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* SQUADRA */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

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

.filter-btn {
  padding: 12px 18px;
  background: rgba(0, 50, 100, 0.4);
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover { background: rgba(0, 100, 200, 0.4); border-color: rgba(0, 170, 255, 0.4); }

.filter-btn.active {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-main));
  border-color: var(--blue-neon);
  color: #fff;
  box-shadow: var(--glow-blue);
}

.search-box { position: relative; width: min(320px, 100%); }

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

.search-box input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: rgba(0, 50, 100, 0.4);
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus { border-color: var(--blue-bright); box-shadow: var(--glow-blue); }

.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.player-card {
  padding: 20px;
  background: linear-gradient(145deg, var(--bg-card), rgba(0, 35, 70, 0.7));
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-neon), var(--gold-main));
  transform: scaleX(0);
  transition: var(--transition);
}

.player-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 170, 255, 0.4);
  box-shadow: var(--glow-blue);
}

.player-card:hover::before { transform: scaleX(1); }

.player-header { display: flex; gap: 14px; margin-bottom: 14px; }

.player-photo {
  width: 72px;
  height: 88px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-main), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--glow-gold);
  border: 1px solid rgba(255, 204, 0, 0.3);
}

.player-photo img { width: 100%; height: 100%; object-fit: cover; }
.player-photo.fallback { font-size: 0.9rem; font-weight: 800; color: var(--bg-primary); }

.player-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; line-height: 1.2; }
.player-info .club { font-size: 0.85rem; color: var(--text-muted); }

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

.chip {
  padding: 5px 10px;
  background: rgba(0, 50, 100, 0.5);
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.player-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

.roles-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.role-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.role-card:hover { border-color: rgba(0, 170, 255, 0.4); box-shadow: var(--glow-blue); }

.role-icon { font-size: 2rem; margin-bottom: 12px; }
.role-card strong { display: block; font-size: 1rem; margin-bottom: 8px; }
.role-card span { font-size: 0.85rem; color: var(--text-muted); }

.empty-state {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  background: rgba(0, 50, 100, 0.2);
  border: 1px dashed rgba(0, 170, 255, 0.2);
  border-radius: var(--radius-lg);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(145deg, #002244 0%, #001a33 50%, #000d1a 100%);
  border: 2px solid var(--blue-bright);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  box-shadow: var(--glow-blue-strong);
}

.modal-overlay.active .modal-card { transform: scale(1) translateY(0); }

.modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-neon), var(--gold-main), var(--blue-neon));
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover { background: rgba(255, 0, 0, 0.5); }

.modal-header {
  padding: 30px 24px 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(0, 100, 200, 0.2), transparent);
}

.modal-photo {
  width: 120px;
  height: 150px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-main), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--glow-gold-strong);
  border: 2px solid var(--gold-main);
}

.modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-photo.fallback { font-size: 1.5rem; font-weight: 900; color: var(--bg-primary); }

.modal-title { flex: 1; padding-top: 10px; }

.modal-title h2 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
  line-height: 1;
}

.modal-title .modal-role {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-main));
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  box-shadow: var(--glow-blue);
}

.modal-title .modal-club { font-size: 0.95rem; color: var(--text-secondary); }

.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 24px;
  margin-bottom: 20px;
}

.modal-stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(0, 50, 100, 0.4);
}

.modal-stat:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.modal-stat:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.modal-stat-value {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.8rem;
  color: var(--gold-main);
}

.modal-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.modal-details { padding: 0 24px 24px; }

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

.modal-detail {
  padding: 14px;
  background: rgba(0, 40, 80, 0.5);
  border: 1px solid rgba(0, 170, 255, 0.1);
  border-radius: var(--radius-sm);
}

.modal-detail-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.modal-detail-value { font-size: 1rem; font-weight: 700; }

.modal-description {
  padding: 16px;
  background: rgba(0, 30, 60, 0.5);
  border-left: 3px solid var(--gold-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.modal-description p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

/* FOOTER */
.footer {
  padding: 40px 0;
  background: rgba(0, 10, 20, 0.8);
  border-top: 1px solid rgba(0, 170, 255, 0.15);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--blue-neon); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

body.modal-open { overflow: hidden; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .flag-card { grid-column: 1 / -1; }
  .match-meta-grid { grid-template-columns: 1fr; }
  .standings-layout { grid-template-columns: 1fr; }
  .highlights-panel { display: grid; grid-template-columns: repeat(3, 1fr); }
  .players-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  
  nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
  }
  
  nav.open { opacity: 1; visibility: visible; }
  nav ul { flex-direction: column; align-items: center; gap: 16px; }
  nav a { font-size: 1.5rem; padding: 16px 32px; }
  
  .brand-text span { display: none; }
  .hero { padding: 24px 0 40px; }
  .hero-main { padding: 24px; }
  h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero-side { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .schedule-grid { grid-template-columns: 1fr; }
  .fixture-teams { flex-direction: column; gap: 12px; }
  .fixture-team, .fixture-team.away { flex-direction: row; text-align: left; width: 100%; }
  .fixture-vs { display: none; }
  .match-center { padding: 22px; }
  .match-scoreboard { grid-template-columns: 1fr; gap: 18px; }
  .match-team,
  .match-team.away {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }
  .match-score-block { order: -1; min-width: 0; }
  .match-flag { width: 58px; height: 58px; border-radius: 16px; }
  .event-item { grid-template-columns: 44px 1fr; }
  .highlights-panel { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .filters { overflow-x: auto; padding-bottom: 8px; flex-wrap: nowrap; }
  .filter-btn { flex-shrink: 0; padding: 10px 14px; font-size: 0.8rem; }
  .search-box { width: 100%; }
  .players-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .player-card { padding: 16px; }
  .player-photo { width: 60px; height: 72px; }
  .player-info h3 { font-size: 0.95rem; }
  .roles-legend { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
  
  .modal-card { max-width: 100%; max-height: 90vh; overflow-y: auto; border-radius: var(--radius-lg); }
  .modal-header { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px 16px; }
  .modal-photo { width: 100px; height: 125px; }
  .modal-title { padding-top: 0; }
  .modal-title h2 { font-size: 1.8rem; }
  .modal-stats { padding: 0 16px; }
  .modal-stat { padding: 12px 6px; }
  .modal-stat-value { font-size: 1.5rem; }
  .modal-details { padding: 0 16px 20px; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 24px); }
  .crest { width: 44px; height: 44px; }
  .crest .star { font-size: 14px; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); }
  .players-grid { grid-template-columns: 1fr; }
  .player-header { flex-direction: column; align-items: center; text-align: center; }
  .player-photo { width: 80px; height: 96px; }
  .player-chips { justify-content: center; }
  .player-desc { text-align: center; }
}

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

.player-card { animation: fadeInUp 0.4s ease backwards; }
.player-card:nth-child(1) { animation-delay: 0.05s; }
.player-card:nth-child(2) { animation-delay: 0.1s; }
.player-card:nth-child(3) { animation-delay: 0.15s; }
.player-card:nth-child(4) { animation-delay: 0.2s; }
