/* ===== RESET ET BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #dc2626;
  --primary-dark: #b91c1c;
  --secondary-color: #1f2937;
  --accent-color: #fbbf24;
  --text-light: #ffffff;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --gradient-secondary: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* ===== ANIMATIONS GLOBALES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* ===== NAVIGATION ===== */
nav {
  background: var(--gradient-primary);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  animation: slideInLeft 0.6s ease-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .nav-left,
nav .nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav .nav-left {
  flex: 1;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

nav a:hover::before {
  left: 0;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

nav a.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== LAYOUT PRINCIPAL ===== */
main {
  min-height: calc(100vh - 80px);
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== HEADERS ET TITRES ===== */
.team-header,
.mercato-header,
.news-header,
.stadium-header,
.composition-header,
.squad-stats-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.team-header h1,
.mercato-header h1,
.news-header h1,
.stadium-header h1,
.composition-header h1,
.squad-stats-header h1 {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-header p,
.mercato-header p,
.news-header p,
.stadium-header p,
.composition-header p,
.squad-stats-header p {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SECTIONS ===== */
.team-section,
.mercato-section,
.news-section,
.stadium-section,
.composition-section,
.stats-overview,
.position-breakdown,
.nationality-breakdown,
.young-talents,
.transfer-highlights,
.club-context,
.contract-status,
.team-preview,
.stadium-preview,
.game-preview {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.team-section h2,
.mercato-section h2,
.news-section h2,
.stadium-section h2,
.composition-section h2,
.stats-overview h2,
.position-breakdown h2,
.nationality-breakdown h2,
.young-talents h2,
.transfer-highlights h2,
.club-context h2,
.contract-status h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
}

.team-section h2::after,
.mercato-section h2::after,
.news-section h2::after,
.stadium-section h2::after,
.composition-section h2::after,
.stats-overview h2::after,
.position-breakdown h2::after,
.nationality-breakdown h2::after,
.young-talents h2::after,
.transfer-highlights h2::after,
.club-context h2::after,
.contract-status h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  animation: slideInLeft 0.6s ease-out 0.3s both;
}

/* ===== CARTES ===== */
.card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== CARTES DE JOUEURS ===== */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.player-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.player-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.player-photo {
  text-align: center;
  margin-bottom: 1rem;
}

.player-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.player-card:hover .player-photo img {
  transform: scale(1.1);
  border-color: var(--accent-color);
}

.player-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.player-number {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin: 0.5rem auto;
  text-align: center;
  min-width: 60px;
}

.player-position {
  color: var(--primary-color);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.player-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.player-details span {
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* ===== CARTES DE STATISTIQUES ===== */
.team-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-info .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
}

.stat-info .stat-label {
  color: var(--text-gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== CARTES DE NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  z-index: 1;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 200px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-category {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.news-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.news-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-date {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* ===== CARTES DE TRANSFERTS ===== */
.transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.transfer-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.transfer-card.arrival {
  border-left: 4px solid #10b981;
}

.transfer-card.departure {
  border-left: 4px solid #ef4444;
}

.transfer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.transfer-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.transfer-fee {
  background: var(--gradient-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.transfer-details {
  margin-bottom: 1rem;
}

.detail-item {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.detail-item strong {
  color: var(--text-dark);
  font-weight: 600;
}

.transfer-description {
  font-style: italic;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== STATISTIQUES ===== */
.overview-grid,
.position-grid,
.nationality-grid,
.talents-grid,
.context-grid,
.contract-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card,
.position-card,
.nationality-card,
.talent-card,
.context-card,
.contract-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.stat-card:hover,
.position-card:hover,
.nationality-card:hover,
.talent-card:hover,
.context-card:hover,
.contract-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

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

/* ===== BOUTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== SECTIONS SPÉCIFIQUES ===== */
.news-more, .team-more, .stadium-more, .game-more {
  text-align: center;
  margin-top: 2rem;
}

/* ===== ACTUALITÉS EN TEMPS RÉEL ===== */
.realtime-news-section {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.news-ticker {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  max-height: 400px;
  overflow-y: auto;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

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

.ticker-item:hover {
  background: var(--bg-light);
  transform: translateX(5px);
}

.news-time {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

.news-source {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 120px;
}

.news-title {
  color: var(--text-dark);
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

/* ===== STADE PREVIEW ===== */
.stadium-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.stadium-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stadium-image img {
  width: 100%;
  height: auto;
}

.stadium-details .detail {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

/* ===== GAME PREVIEW ===== */
.game-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.game-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.feature-icon {
  font-size: 1.5rem;
}

/* ===== STANDINGS PREVIEW ===== */
.standings-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.standings-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.standings-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.standings-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.position-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.position-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-gray);
}

.objective {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.objective-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-gray);
}

/* ===== MERCATO PREVIEW ===== */
.mercato-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.summary-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.summary-card.arrivals {
  border-left: 4px solid #10b981;
}

.summary-card.departures {
  border-left: 4px solid #ef4444;
}

.summary-card.balance {
  border-left: 4px solid #3b82f6;
}

.summary-card.balance.positive {
  border-left-color: #10b981;
}

.summary-icon {
  font-size: 2.5rem;
}

.summary-content {
  flex: 1;
}

.summary-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.summary-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.summary-amount {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* ===== MERCATO TABS ===== */
.mercato-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.tab-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tab-icon {
  font-size: 1.2rem;
}

.tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tab-btn:not(.active) .tab-count {
  background: var(--bg-light);
  color: var(--text-gray);
}

/* ===== TAB CONTENT ===== */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

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

.content-header {
  margin-bottom: 2rem;
  text-align: center;
}

.content-header h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.content-header p {
  color: var(--text-gray);
  font-size: 1rem;
}

/* ===== TRANSFERS GRID ===== */
.transfers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.transfer-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.transfer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.transfer-card.arrival {
  border-left: 4px solid #10b981;
}

.transfer-card.departure {
  border-left: 4px solid #ef4444;
}

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

.transfer-type {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.transfer-type.arrival {
  background: #10b981;
  color: white;
}

.transfer-type.departure {
  background: #ef4444;
  color: white;
}

.transfer-status {
  font-size: 0.9rem;
  font-weight: 600;
}

.transfer-status.confirmed {
  color: #10b981;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.player-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.player-details h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.player-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.transfer-details {
  margin-bottom: 1rem;
}

.transfer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-light);
}

.transfer-info:last-child {
  border-bottom: none;
}

.transfer-info .label {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.transfer-info .value {
  font-weight: 600;
  color: var(--text-dark);
}

.transfer-info .value.free {
  color: #10b981;
}

.transfer-impact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.impact-label {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.impact-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.impact-value.positive {
  color: #10b981;
}

.impact-value.negative {
  color: #ef4444;
}

/* ===== RUMORS GRID ===== */
.rumors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.rumor-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.rumor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.rumor-card.arrival {
  border-left: 4px solid #10b981;
}

.rumor-card.departure {
  border-left: 4px solid #ef4444;
}

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

.rumor-type {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.rumor-type.arrival {
  background: #10b981;
  color: white;
}

.rumor-type.departure {
  background: #ef4444;
  color: white;
}

.rumor-probability {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.rumor-probability.high {
  background: #10b981;
  color: white;
}

.rumor-probability.medium {
  background: #f59e0b;
  color: white;
}

.rumor-probability.low {
  background: #6b7280;
  color: white;
}

.rumor-content h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.rumor-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.rumor-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.rumor-details span {
  padding: 0.25rem 0.5rem;
  background: var(--bg-light);
  border-radius: 8px;
  color: var(--text-gray);
}

.rumor-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ===== ANALYSIS GRID ===== */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.analysis-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.analysis-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.analysis-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.analysis-card h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.analysis-content p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .transfers-grid,
  .rumors-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  
  .mercato-summary {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .mercato-tabs {
    justify-content: center;
  }
  
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .transfer-card,
  .rumor-card,
  .analysis-card {
    padding: 1rem;
  }
  
  .player-info {
    flex-direction: column;
    text-align: center;
  }
  
  .transfer-details {
    font-size: 0.9rem;
  }
  
  .rumor-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .rumor-timeline {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ===== ADMIN PAGES ===== */
.admin-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.admin-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.admin-hero .hero-content {
  position: relative;
  z-index: 2;
}

.admin-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.admin-user-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.user-avatar {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-details {
  text-align: left;
}

.user-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.user-role {
  font-size: 0.9rem;
  opacity: 0.8;
}

.admin-actions {
  display: flex;
  gap: 1rem;
}

.btn-danger {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

/* ===== ADMIN CONTAINER ===== */
.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* ===== NOTIFICATIONS ===== */
.success-notification,
.error-notification {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  animation: slideInDown 0.5s ease-out;
  position: relative;
}

.success-notification {
  background: #10b981;
  color: white;
  border: 1px solid #059669;
}

.error-notification {
  background: #ef4444;
  color: white;
  border: 1px solid #dc2626;
}

.notification-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.notification-message {
  font-size: 0.9rem;
  opacity: 0.9;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== ADMIN DASHBOARD ===== */
.admin-dashboard {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

/* ===== ADMIN TABS ===== */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
}

.tab-btn {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tab-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tab-icon {
  font-size: 1.2rem;
}

/* ===== TAB CONTENT ===== */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

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

.content-header {
  margin-bottom: 2rem;
  text-align: center;
}

.content-header h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.content-header p {
  color: var(--text-gray);
  font-size: 1rem;
}

/* ===== ADMIN CONTENT ===== */
.admin-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-section,
.data-section {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.form-section h4,
.data-section h4 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

/* ===== ADMIN FORMS ===== */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== DATA LIST ===== */
.data-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.data-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.data-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.item-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.item-content {
  flex: 1;
}

.item-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.item-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-gray);
  flex-wrap: wrap;
}

.item-category,
.item-date,
.item-number,
.item-position,
.item-age,
.item-competition {
  padding: 0.25rem 0.5rem;
  background: var(--bg-light);
  border-radius: 4px;
}

/* ===== SETTINGS GRID ===== */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.settings-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.settings-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.settings-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.settings-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.settings-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ===== SYSTEM INFO ===== */
.system-info {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.system-info h4 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.info-label {
  font-weight: 600;
  color: var(--text-gray);
}

.info-value {
  font-weight: 700;
  color: var(--text-dark);
}

/* ===== LOGIN PAGE ===== */
.login-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.login-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: fadeInUp 0.6s ease-out;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.login-header h2 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.login-header p {
  color: var(--text-gray);
  font-size: 1rem;
}

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

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-gray);
  font-size: 1.1rem;
  z-index: 2;
}

.input-wrapper input {
  padding-left: 3rem;
}

.login-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-icon {
  font-size: 1.2rem;
}

.login-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.login-info h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.info-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.info-label {
  font-weight: 600;
  color: var(--text-gray);
}

.info-value {
  font-weight: 700;
  color: var(--text-dark);
  font-family: monospace;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #10b981;
  color: white;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.security-icon {
  font-size: 1.1rem;
}

.admin-link {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.admin-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .admin-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .settings-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-user-info {
    flex-direction: column;
    text-align: center;
  }
  
  .admin-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .admin-tabs {
    justify-content: center;
  }
  
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .login-card {
    padding: 2rem;
  }
  
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== STANDINGS PAGE ===== */
.standings-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.standings-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.standings-hero .hero-content {
  position: relative;
  z-index: 2;
}

.standings-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.lens-position {
  margin-top: 2rem;
}

.position-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: inline-block;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

.position-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.position-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* ===== STANDINGS CONTAINER ===== */
.standings-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

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

.header-info h2 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.header-info p {
  color: var(--text-gray);
  font-size: 1rem;
}

.standings-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.standings-stats .stat-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.standings-stats .stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.standings-stats .stat-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.standings-stats .stat-info {
  flex: 1;
}

.standings-stats .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.standings-stats .stat-label {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* ===== STANDINGS TABLE ===== */
.standings-table-wrapper {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
}

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

.standings-table thead {
  background: var(--bg-light);
  border-radius: 12px 12px 0 0;
}

.standings-table th {
  padding: 1rem 0.75rem;
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
}

.standings-table th:first-child {
  text-align: left;
  padding-left: 1rem;
}

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

.standings-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.standings-table tbody tr:hover {
  background: var(--bg-light);
  transform: scale(1.01);
}

.standings-table tbody tr.lens-highlight {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  border-left: 4px solid #ffc107;
}

.standings-table tbody tr.champions {
  border-left: 4px solid #10b981;
}

.standings-table tbody tr.europe {
  border-left: 4px solid #3b82f6;
}

.standings-table tbody tr.relegation {
  border-left: 4px solid #ef4444;
}

.standings-table td {
  padding: 1rem 0.75rem;
  text-align: center;
  vertical-align: middle;
}

.standings-table td:first-child {
  text-align: left;
  padding-left: 1rem;
}

.standings-table td.team {
  text-align: left;
}

/* ===== POSITION COLUMN ===== */
.position {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.position-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.position-badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.position-badge.champions {
  background: #10b981;
  color: white;
}

.position-badge.europe {
  background: #3b82f6;
  color: white;
}

.position-badge.relegation {
  background: #ef4444;
  color: white;
}

/* ===== TEAM COLUMN ===== */
.team-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-name {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== POINTS COLUMN ===== */
.points strong {
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* ===== GOAL DIFFERENCE ===== */
.goal-diff {
  font-weight: 600;
}

.goal-diff:not(:empty) {
  color: var(--text-dark);
}

/* ===== STANDINGS LEGEND ===== */
.standings-legend {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.standings-legend h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.legend-color.champions {
  background: #10b981;
}

.legend-color.europe {
  background: #3b82f6;
}

.legend-color.neutral {
  background: #6b7280;
}

.legend-color.relegation {
  background: #ef4444;
}

/* ===== LENS ANALYSIS ===== */
.lens-analysis {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.lens-analysis h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.analysis-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.analysis-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.analysis-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.analysis-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.analysis-card p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.analysis-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.target {
  font-weight: 700;
  color: var(--primary-color);
}

.current {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* ===== UPCOMING MATCHES ===== */
.upcoming-matches {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.match-date {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.match-teams {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== STATS LIST ===== */
.stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.stat-label {
  font-weight: 600;
  color: var(--text-gray);
}

.stat-value {
  font-weight: 700;
  color: var(--text-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .standings-header {
    flex-direction: column;
    text-align: center;
  }
  
  .standings-stats {
    justify-content: center;
  }
  
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .standings-hero h1 {
    font-size: 2rem;
  }
  
  .position-number {
    font-size: 2rem;
  }
  
  .standings-table {
    font-size: 0.8rem;
  }
  
  .team-logo {
    width: 24px;
    height: 24px;
  }
  
  .standings-table th,
  .standings-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .legend-grid {
    grid-template-columns: 1fr;
  }
  
  .standings-stats {
    flex-direction: column;
  }
  
  .standings-stats .stat-item {
    width: 100%;
  }
}

/* ===== OFFICIAL LINKS ===== */
.official-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.official-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== OFFICIAL INFO ===== */
.official-info {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.official-info h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.info-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.info-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.info-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
  .official-links {
    flex-direction: column;
  }
  
  .official-link {
    width: 100%;
    justify-content: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== COMPOSITION PAGE ===== */
.composition-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.composition-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.match-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.match-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.match-date {
  font-size: 1.1rem;
  font-weight: 600;
}

.match-teams {
  font-size: 1.5rem;
  font-weight: 700;
}

.match-competition {
  font-size: 1rem;
  opacity: 0.8;
}

.composition-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.formation-selector {
  text-align: center;
  margin-bottom: 3rem;
}

.formation-selector h2 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.formation-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.formation-btn {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.formation-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.formation-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.field-container {
  margin-bottom: 3rem;
}

.football-field {
  position: relative;
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.field-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.field-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
}

.penalty-area-left {
  position: absolute;
  top: 20%;
  left: 0;
  width: 20%;
  height: 60%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-right: none;
}

.penalty-area-right {
  position: absolute;
  top: 20%;
  right: 0;
  width: 20%;
  height: 60%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-left: none;
}

.field-positions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: all;
}

.field-position {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.field-position:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.2);
}

.field-player {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.9);
  border-radius: 50%;
  color: white;
  font-size: 0.7rem;
  text-align: center;
}

.field-player img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 2px;
}

.position-group {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  min-width: 200px;
}

.position-group.goalkeepers {
  top: 20px;
  left: 20px;
}

.position-group.defenders {
  top: 20px;
  right: 20px;
}

.position-group.midfielders {
  bottom: 20px;
  left: 20px;
}

.position-group.attackers {
  bottom: 20px;
  right: 20px;
}

.position-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.players-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.player-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: grab;
  transition: all 0.3s ease;
}

.player-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.player-card:active {
  cursor: grabbing;
}

.player-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.player-info {
  flex: 1;
  font-size: 0.8rem;
}

.player-name {
  font-weight: 600;
}

.player-number {
  color: var(--accent-color);
  font-weight: 600;
}

.player-age {
  font-size: 0.7rem;
  opacity: 0.7;
}

.composition-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.control-group {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.control-group h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.tactic-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.tactic-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tactic-option:hover {
  background: var(--bg-light);
}

.tactic-option input[type="radio"] {
  accent-color: var(--primary-color);
}

.stats-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.bench-section {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.bench-section h2 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.bench-players {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* ===== MONEY PAGE ===== */
.money-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.money-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 2rem;
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== BUDGET SECTION ===== */
.budget-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.budget-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.budget-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
}

.budget-chart {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

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

.chart-header h3 {
  color: var(--text-dark);
  margin: 0;
}

.chart-total {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chart-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.chart-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.chart-bar.revenue {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.chart-bar.expense {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.bar-label {
  z-index: 2;
  position: relative;
}

.bar-amount {
  z-index: 2;
  position: relative;
}

/* ===== SPONSORS SECTION ===== */
.sponsors-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.sponsors-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.sponsor-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.sponsor-card.primary::before {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sponsor-card.secondary::before {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.sponsor-card.tertiary::before {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.sponsor-card.other::before {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sponsor-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.sponsor-info h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.sponsor-role {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.sponsor-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.sponsor-duration {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ===== EVOLUTION SECTION ===== */
.evolution-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.evolution-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.evolution-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 2rem 0;
}

.evolution-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  transform: translateY(-50%);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.timeline-item.current {
  background: var(--primary-color);
  color: white;
}

.timeline-item.future {
  opacity: 0.6;
}

.timeline-year {
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline-amount {
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline-change {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.timeline-change.positive {
  background: #10b981;
  color: white;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: 3px solid white;
  box-shadow: var(--shadow);
}

.timeline-dot.active {
  background: var(--primary-color);
  border-color: white;
}

.timeline-dot.future {
  background: var(--text-gray);
}

/* ===== OBJECTIVES SECTION ===== */
.objectives-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.objectives-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.objective-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.objective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.objective-card.growth::before {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.objective-card.competitiveness::before {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.objective-card.europe::before {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.objective-card.innovation::before {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.objective-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.objective-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.objective-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.objective-card ul {
  list-style: none;
  padding: 0;
}

.objective-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.9rem;
}

.objective-card li:last-child {
  border-bottom: none;
}

/* ===== GOVERNANCE SECTION ===== */
.governance-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.governance-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.governance-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.governance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.governance-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.governance-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.governance-card ul {
  list-style: none;
  padding: 0;
}

.governance-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.9rem;
}

.governance-card li:last-child {
  border-bottom: none;
}

.governance-card strong {
  color: var(--text-dark);
}

/* ===== CALENDAR PAGE ===== */
.calendar-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.calendar-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.calendar-hero .hero-content {
  position: relative;
  z-index: 2;
}

.calendar-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.4;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

.stat-icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-info {
  flex: 1;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== CALENDAR SECTION ===== */
.calendar-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

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

.calendar-header h2 {
  color: var(--text-dark);
  margin: 0;
}

.calendar-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.filter-icon {
  font-size: 1.1rem;
}

/* ===== CALENDAR GRID ===== */
.calendar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.calendar-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calendar-month {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.calendar-month h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.25rem;
}

.month-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.weekdays div {
  text-align: center;
  font-weight: 600;
  color: var(--text-gray);
  font-size: 0.9rem;
  padding: 0.5rem;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.day:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.day.empty:hover {
  background: transparent;
  transform: none;
}

.day.match {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.day.match.home {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.day.match.away {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.day.match.europe {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.day.match.coupe {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.day-number {
  font-size: 1.1rem;
  font-weight: 700;
}

.match-indicator {
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ===== MATCHES DETAILS ===== */
.matches-details {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.matches-details h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  background: var(--bg-light);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.match-card.home {
  border-left: 4px solid #10b981;
}

.match-card.away {
  border-left: 4px solid #ef4444;
}

.match-date {
  text-align: center;
  min-width: 80px;
}

.date-main {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.date-sub {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 0.25rem;
}

.match-info {
  flex: 1;
}

.match-teams {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.team.home {
  color: var(--primary-color);
}

.team.away {
  color: var(--text-dark);
}

.vs {
  color: var(--text-gray);
  font-weight: 400;
}

.match-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.match-type {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.match-type.home {
  background: #10b981;
  color: white;
}

.match-type.away {
  background: #ef4444;
  color: white;
}

/* ===== CALENDAR LEGEND ===== */
.calendar-legend {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.calendar-legend h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-light);
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-color.home {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.legend-color.away {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.legend-color.europe {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.legend-color.coupe {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .calendar-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .calendar-month {
    padding: 1.5rem;
  }
  
  .day {
    font-size: 0.9rem;
  }
  
  .day-number {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .calendar-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .calendar-filters {
    justify-content: center;
  }
  
  .match-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .match-teams {
    justify-content: center;
  }
  
  .match-details {
    justify-content: center;
  }
  
  .weekdays div,
  .day {
    font-size: 0.8rem;
  }
  
  .legend-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS SPÉCIALES ===== */
.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

.pulse {
  animation: pulse 2s infinite;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gradient-secondary);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

/* ===== UTILITAIRES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

/* ===== SCROLLBAR PERSONNALISÉE ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ===== TEAM PAGE - DESIGN LIGUE 1 ===== */
.team-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.8) 0%, rgba(185, 28, 28, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.club-info {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.club-logo {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.club-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.club-details h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.club-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.club-stats {
  display: flex;
  gap: 2rem;
}

.club-stats .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.club-stats .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.club-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== TEAM TABS ===== */
.team-tabs {
  background: white;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0;
}

.tab-btn {
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  color: var(--primary-color);
  background: rgba(220, 38, 38, 0.05);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: rgba(220, 38, 38, 0.1);
}

.tab-icon {
  font-size: 1.2rem;
}

/* ===== TEAM CONTAINER ===== */
.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.tab-content {
  display: none;
  animation: fadeInUp 0.6s ease-out;
}

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

/* ===== SQUAD SECTION ===== */
.squad-header {
  text-align: center;
  margin-bottom: 3rem;
}

.squad-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.squad-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.position-section {
  margin-bottom: 4rem;
}

.position-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.position-icon {
  font-size: 1.5rem;
}

.position-header h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

.position-count {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== MODERN PLAYER CARDS ===== */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.player-card.modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.player-card.modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.player-card.modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.player-photo {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.player-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
}

.player-number-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid white;
}

.player-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.player-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.player-age {
  color: var(--text-gray);
}

.player-nationality {
  color: var(--primary-color);
  font-weight: 600;
}

.player-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.detail-label {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--text-dark);
  font-weight: 600;
}

/* ===== STATS SECTION ===== */
.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.stats-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.stats-grid .stat-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stats-grid .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stats-grid .stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.stats-grid .stat-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.age-distribution,
.nationality-stats,
.contract-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.age-group,
.nationality-item,
.contract-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.age-group:hover,
.nationality-item:hover,
.contract-item:hover {
  background: var(--primary-color);
  color: white;
}

.age-range,
.country,
.contract-type {
  font-weight: 600;
}

.age-count,
.count,
.contract-count {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.age-group:hover .age-count,
.nationality-item:hover .count,
.contract-item:hover .contract-count {
  background: white;
  color: var(--primary-color);
}

/* ===== ANALYSIS SECTION ===== */
.analysis-header {
  text-align: center;
  margin-bottom: 3rem;
}

.analysis-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.analysis-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.analysis-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.analysis-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.analysis-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.analysis-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.analysis-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.analysis-list {
  list-style: none;
  padding: 0;
}

.analysis-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}

.analysis-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.analysis-list li:last-child {
  border-bottom: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .club-info {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .club-stats {
    justify-content: center;
  }
  
  .tabs-container {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .players-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .stats-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .team-hero {
    padding: 2rem 0;
  }
  
  .club-details h1 {
    font-size: 2.5rem;
  }
  
  .club-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tabs-container {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
    justify-content: center;
  }
  
  .players-grid {
    grid-template-columns: 1fr;
  }
  
  .position-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .player-card.modern {
    text-align: center;
  }
  
  .player-photo {
    margin: 0 auto 1rem;
  }
  
  .player-meta {
    justify-content: center;
  }
  
  .detail-item {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

/* ===== COMPOSITION GAME - NEW DESIGN ===== */
.composition-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.game-area {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.football-field {
  position: relative;
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #15803d;
}

.field-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.field-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.penalty-area-left {
  position: absolute;
  top: 15%;
  left: 0;
  width: 25%;
  height: 70%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-right: none;
}

.penalty-area-right {
  position: absolute;
  top: 15%;
  right: 0;
  width: 25%;
  height: 70%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-left: none;
}

.field-positions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: all;
}

.field-position {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 3px dashed rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.field-position:hover {
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(1.1);
}

.field-position.occupied {
  border-color: var(--primary-color);
  background: rgba(220, 38, 38, 0.2);
}

.field-player {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.95);
  border-radius: 50%;
  color: white;
  font-size: 0.7rem;
  text-align: center;
  border: 2px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.field-player img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 2px;
  border: 2px solid white;
}

.field-player .player-name {
  font-weight: 600;
  font-size: 0.6rem;
  line-height: 1.2;
  margin-bottom: 1px;
}

.field-player .player-number {
  font-weight: 700;
  font-size: 0.8rem;
  background: white;
  color: var(--primary-color);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PLAYERS PANEL ===== */
.players-panel {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  max-height: 600px;
  overflow-y: auto;
}

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

.panel-header h3 {
  color: var(--text-dark);
  margin: 0;
  font-size: 1.2rem;
}

.panel-stats .stat {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.players-categories {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-section h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.players-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 200px;
  overflow-y: auto;
}

.players-list .player-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 8px;
  cursor: grab;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.players-list .player-card:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.players-list .player-card:active {
  cursor: grabbing;
}

.players-list .player-photo {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.players-list .player-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.players-list .player-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid white;
}

.players-list .player-info {
  flex: 1;
  min-width: 0;
}

.players-list .player-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.players-list .player-age,
.players-list .player-nationality {
  font-size: 0.8rem;
  color: var(--text-gray);
  display: block;
  line-height: 1.2;
}

/* ===== GAME CONTROLS ===== */
.game-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.control-group {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.control-group h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tactic-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.tactic-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

.tactic-option:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
}

.tactic-option input[type="radio"] {
  accent-color: var(--primary-color);
}

.tactic-option input[type="radio"]:checked + span {
  color: var(--primary-color);
  font-weight: 600;
}

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

.stats-display .stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.stats-display .stat-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.stats-display .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.stats-display .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.action-btn.primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.action-btn.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ===== BENCH SECTION ===== */
.bench-section {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 16px;
  margin-top: 2rem;
  border: 1px solid var(--border-color);
}

.bench-section h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bench-players {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* ===== RESPONSIVE GAME ===== */
@media (max-width: 1024px) {
  .game-area {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .football-field {
    height: 400px;
  }
  
  .field-position {
    width: 60px;
    height: 60px;
  }
  
  .field-player img {
    width: 30px;
    height: 30px;
  }
  
  .field-player .player-name {
    font-size: 0.5rem;
  }
  
  .field-player .player-number {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
  }
  
  .game-controls {
    grid-template-columns: 1fr;
  }
  
  .stats-display {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .composition-container {
    padding: 1rem;
  }
  
  .football-field {
    height: 300px;
  }
  
  .field-position {
    width: 50px;
    height: 50px;
  }
  
  .field-player img {
    width: 25px;
    height: 25px;
  }
  
  .field-player .player-name {
    font-size: 0.4rem;
  }
  
  .field-player .player-number {
    width: 14px;
    height: 14px;
    font-size: 0.5rem;
  }
  
  .players-panel {
    max-height: 400px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .stats-display {
    grid-template-columns: 1fr;
  }
  
  .bench-players {
    grid-template-columns: 1fr;
  }
}

/* ===== COMPOSITION GAME - MODERN DESIGN ===== */
.composition-hero-modern {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-background-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content-modern {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.match-card-modern {
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  max-width: 500px;
  margin: 0 auto;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

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

.team img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: white;
  padding: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.team span {
  font-weight: 600;
  font-size: 1.1rem;
}

.vs {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

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

.match-date, .match-time, .match-type {
  font-size: 0.9rem;
  opacity: 0.8;
}

.match-time {
  font-weight: 600;
  font-size: 1.1rem;
}

/* ===== GAME CONTAINER MODERNE ===== */
.game-container-modern {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* ===== FORMATION SELECTOR MODERNE ===== */
.formation-selector-modern {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.selector-header h2 {
  color: var(--text-dark);
  margin: 0;
  font-size: 1.5rem;
}

.formation-counter {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.formation-card {
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.formation-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.2);
}

.formation-card.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.formation-preview {
  width: 100px;
  height: 60px;
  margin: 0 auto 1rem;
  position: relative;
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.formation-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 0.5rem;
}

.line {
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
}

.line.defenders {
  background: rgba(255,255,255,0.9);
}

.line.midfielders {
  background: rgba(255,255,255,0.7);
}

.line.attackers {
  background: rgba(255,255,255,0.5);
}

.formation-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.formation-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== GAME AREA MODERNE ===== */
.game-area-modern {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* ===== FOOTBALL FIELD MODERNE ===== */
.field-container-modern {
  position: relative;
}

.football-field-modern {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  border: 4px solid #15803d;
}

.field-lines-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.center-circle-modern {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 4px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-line-modern {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
}

.penalty-area-left-modern,
.penalty-area-right-modern {
  position: absolute;
  top: 15%;
  width: 25%;
  height: 70%;
  border: 4px solid rgba(255,255,255,0.9);
}

.penalty-area-left-modern {
  left: 0;
  border-right: none;
}

.penalty-area-right-modern {
  right: 0;
  border-left: none;
}

.goal-area-left-modern,
.goal-area-right-modern {
  position: absolute;
  top: 35%;
  width: 8%;
  height: 30%;
  border: 3px solid rgba(255,255,255,0.8);
}

.goal-area-left-modern {
  left: 0;
  border-right: none;
}

.goal-area-right-modern {
  right: 0;
  border-left: none;
}

.field-positions-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: all;
}

.field-position-modern {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 3px dashed rgba(255,255,255,0.8);
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.field-position-modern:hover {
  border-color: rgba(255,255,255,1);
  background: rgba(255,255,255,0.25);
  transform: translate(-50%, -50%) scale(1.1);
}

.field-position-modern.occupied {
  border-color: var(--primary-color);
  background: rgba(220, 38, 38, 0.3);
}

.field-player-modern {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.95);
  border-radius: 50%;
  color: white;
  font-size: 0.6rem;
  text-align: center;
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.field-player-modern img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-bottom: 2px;
  border: 2px solid white;
}

.field-player-modern .player-name-modern {
  font-weight: 600;
  font-size: 0.5rem;
  line-height: 1.2;
  margin-bottom: 1px;
}

.field-player-modern .player-number-modern {
  font-weight: 700;
  font-size: 0.7rem;
  background: white;
  color: var(--primary-color);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PLAYERS PANEL MODERNE ===== */
.players-panel-modern {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  max-height: 500px;
  overflow-y: auto;
}

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

.panel-header-modern h3 {
  color: var(--text-dark);
  margin: 0;
  font-size: 1.2rem;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 200px;
  margin-left: 1rem;
}

.search-box input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 0.9rem;
}

.players-tabs-modern {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn-modern {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.tab-btn-modern:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.tab-btn-modern.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.players-list-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 300px;
  overflow-y: auto;
}

.player-card-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  cursor: grab;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.player-card-modern:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.player-card-modern:active {
  cursor: grabbing;
}

.player-photo-modern {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.player-photo-modern img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  transition: all 0.3s ease;
}

.player-photo-modern.selected img {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.player-number-modern {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid white;
}

.selected-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  background: #10b981;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid white;
}

.player-info-modern {
  flex: 1;
  min-width: 0;
}

.player-name-modern {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-meta-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.player-age-modern,
.player-nationality-modern {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.player-position-modern {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== CONTROLS MODERNE ===== */
.controls-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

/* ===== STATS PANEL MODERNE ===== */
.stats-panel-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem; /* Ajout d'une marge en bas */
}

.stat-card-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.stat-icon-modern {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 12px;
}

.stat-content {
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

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

/* ===== TACTICS PANEL MODERNE ===== */
.tactics-panel-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  margin-top: 3rem; /* Augmentation de la marge pour éviter le chevauchement */
  position: relative;
  z-index: 1;
}

.tactics-panel-modern h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.tactics-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tactic-card-modern {
  cursor: pointer;
}

.tactic-card-modern input[type="radio"] {
  display: none;
}

.tactic-content {
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tactic-card-modern:hover .tactic-content {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.tactic-card-modern input[type="radio"]:checked + .tactic-content {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tactic-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tactic-name {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tactic-desc {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ===== ACTIONS PANEL MODERNE ===== */
.actions-panel-modern {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  margin-top: 2rem; /* Ajout d'une marge en haut */
}

.action-buttons-modern {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn-modern {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 120px;
}

.action-btn-modern:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.action-btn-modern.primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.action-btn-modern.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.action-btn-modern.secondary {
  background: var(--bg-light);
}

.btn-icon {
  font-size: 1.1rem;
}

.btn-text {
  font-size: 0.9rem;
}

/* ===== BENCH SECTION MODERNE ===== */
.bench-section-modern {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.bench-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.bench-header h3 {
  color: var(--text-dark);
  margin: 0;
  font-size: 1.3rem;
}

.bench-count {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.bench-players-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.bench-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.bench-action-btn {
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bench-action-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.action-icon {
  font-size: 1rem;
}

.bench-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.bench-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

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

.bench-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.bench-player-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.bench-player-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bench-player-photo {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.bench-player-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.bench-player-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid white;
}

.bench-player-info {
  flex: 1;
}

.bench-player-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.bench-player-position {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.remove-bench-btn {
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.remove-bench-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.empty-bench {
  text-align: center;
  color: var(--text-gray);
  font-style: italic;
  padding: 2rem;
  grid-column: 1 / -1;
}

.loading-players {
  text-align: center;
  color: var(--text-gray);
  font-style: italic;
  padding: 2rem;
  grid-column: 1 / -1;
}

/* ===== PAGE ÉQUIPE MODERNE ===== */
.team-hero-modern {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-background-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30,60,114,0.9) 0%, rgba(42,82,152,0.9) 100%);
}

.hero-content-modern {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item-modern {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item-modern:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
}

.stat-number-modern {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.stat-label-modern {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Navigation des onglets moderne */
.team-tabs-modern {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.tabs-container-modern {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0;
}

.tab-btn-modern {
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn-modern:hover {
  color: #1f2937;
  background: #f9fafb;
}

.tab-btn-modern.active {
  color: #1e3c72;
  border-bottom-color: #1e3c72;
  background: #f8fafc;
}

.tab-icon-modern {
  font-size: 1.2rem;
}

/* Conteneur principal */
.team-container-modern {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

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

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

/* En-têtes des sections */
.squad-header-modern,
.stats-header-modern,
.analysis-header-modern {
  text-align: center;
  margin-bottom: 3rem;
}

.squad-header-modern h2,
.stats-header-modern h2,
.analysis-header-modern h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.squad-header-modern p,
.stats-header-modern p,
.analysis-header-modern p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections de position */
.position-section-modern {
  margin-bottom: 4rem;
}

.position-header-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.position-icon-modern {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.position-info-modern h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.position-count-modern {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

/* Grille des joueurs */
.players-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.player-card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
}

.player-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.player-photo-modern {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  overflow: hidden;
}

.player-photo-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.player-card-modern:hover .player-photo-modern img {
  transform: scale(1.05);
}

.player-number-badge-modern {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #1e3c72;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(30,60,114,0.3);
}

.player-info-modern {
  padding: 1.5rem;
}

.player-name-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.player-meta-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.player-age-modern,
.player-nationality-modern {
  color: #6b7280;
  font-weight: 500;
}

.player-details-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.detail-item-modern {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label-modern {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value-modern {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 600;
}

/* Grille des statistiques */
.stats-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.stat-card-modern {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.stat-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.stat-icon-modern {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-content-modern h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.age-distribution-modern,
.nationality-stats-modern,
.contract-stats-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.age-group-modern,
.nationality-item-modern,
.contract-item-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.age-range-modern,
.country-modern,
.contract-type-modern {
  font-weight: 600;
  color: #374151;
}

.age-count-modern,
.count-modern,
.contract-count-modern {
  font-weight: 700;
  color: #1e3c72;
}

/* Grille d'analyse */
.analysis-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.analysis-card-modern {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.analysis-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.analysis-icon-modern {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.analysis-card-modern h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.analysis-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.analysis-list-modern li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  position: relative;
  padding-left: 1.5rem;
}

.analysis-list-modern li:last-child {
  border-bottom: none;
}

.analysis-list-modern li::before {
  content: "•";
  color: #1e3c72;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ===== RESPONSIVE DESIGN AMÉLIORÉ ===== */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .team-container-modern {
    padding: 2rem 1.5rem;
  }
  
  .players-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
  }
  
  .stats-grid-modern,
  .analysis-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .tabs-container-modern {
    padding: 0 1.5rem;
  }
  
  .tab-btn-modern {
    padding: 1.25rem 1.75rem;
  }
}

/* Tablettes */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .hero-stats-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
  }
  
  .stat-item-modern {
    padding: 1.25rem;
  }
  
  .stat-number-modern {
    font-size: 2.25rem;
  }
  
  .team-container-modern {
    padding: 2rem 1rem;
  }
  
  .players-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .stats-grid-modern,
  .analysis-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .position-header-modern {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .position-icon-modern {
    width: 55px;
    height: 55px;
    font-size: 1.75rem;
  }
  
  .position-info-modern h3 {
    font-size: 1.4rem;
  }
  
  .tabs-container-modern {
    padding: 0 1rem;
    flex-wrap: wrap;
  }
  
  .tab-btn-modern {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
  }
  
  .squad-header-modern h2,
  .stats-header-modern h2,
  .analysis-header-modern h2 {
    font-size: 2rem;
  }
  
  .player-card-modern {
    margin-bottom: 0;
  }
  
  .player-photo-modern {
    height: 180px;
  }
  
  .player-info-modern {
    padding: 1.25rem;
  }
  
  .player-name-modern {
    font-size: 1.1rem;
  }
  
  .player-details-modern {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .hero-stats-modern {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 100%;
  }
  
  .stat-item-modern {
    padding: 1rem;
  }
  
  .stat-number-modern {
    font-size: 2rem;
  }
  
  .stat-label-modern {
    font-size: 0.8rem;
  }
  
  .team-container-modern {
    padding: 1.5rem 0.75rem;
  }
  
  .players-grid-modern {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .position-header-modern {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .position-icon-modern {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .position-info-modern h3 {
    font-size: 1.3rem;
  }
  
  .position-count-modern {
    font-size: 0.8rem;
  }
  
  .tabs-container-modern {
    padding: 0 0.5rem;
    flex-direction: column;
  }
  
  .tab-btn-modern {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
  
  .tab-icon-modern {
    font-size: 1rem;
  }
  
  .squad-header-modern h2,
  .stats-header-modern h2,
  .analysis-header-modern h2 {
    font-size: 1.75rem;
  }
  
  .squad-header-modern p,
  .stats-header-modern p,
  .analysis-header-modern p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .player-card-modern {
    border-radius: 12px;
  }
  
  .player-photo-modern {
    height: 160px;
  }
  
  .player-info-modern {
    padding: 1rem;
  }
  
  .player-name-modern {
    font-size: 1rem;
    line-height: 1.3;
  }
  
  .player-meta-modern {
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }
  
  .player-age-modern,
  .player-nationality-modern {
    font-size: 0.8rem;
  }
  
  .player-details-modern {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .detail-label-modern {
    font-size: 0.7rem;
  }
  
  .detail-value-modern {
    font-size: 0.8rem;
  }
  
  .stat-card-modern,
  .analysis-card-modern {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .stat-icon-modern,
  .analysis-icon-modern {
    font-size: 2rem;
  }
  
  .stat-content-modern h3,
  .analysis-card-modern h3 {
    font-size: 1.1rem;
  }
  
  .age-group-modern,
  .nationality-item-modern,
  .contract-item-modern {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .analysis-list-modern li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    padding-left: 1.25rem;
  }
}

/* Très petits écrans */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-stats-modern {
    gap: 0.5rem;
  }
  
  .stat-item-modern {
    padding: 0.75rem;
  }
  
  .stat-number-modern {
    font-size: 1.75rem;
  }
  
  .team-container-modern {
    padding: 1rem 0.5rem;
  }
  
  .players-grid-modern {
    gap: 0.5rem;
  }
  
  .player-photo-modern {
    height: 140px;
  }
  
  .player-info-modern {
    padding: 0.75rem;
  }
  
  .player-name-modern {
    font-size: 0.9rem;
  }
  
  .player-meta-modern {
    font-size: 0.75rem;
  }
  
  .tab-btn-modern {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ===== RESPONSIVE COMPOSITION AMÉLIORÉ ===== */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
  .game-container-modern {
    gap: 2rem;
  }
  
  .game-area-modern {
    flex-direction: column;
    gap: 2rem;
  }
  
  .football-field-modern {
    height: 400px;
  }
  
  .players-panel-modern {
    max-height: 500px;
  }
  
  .formation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .formation-card {
    padding: 1rem;
  }
  
  .formation-name {
    font-size: 1.1rem;
  }
  
  .formation-desc {
    font-size: 0.8rem;
  }
  
  .players-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .action-buttons-modern {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .action-btn-modern {
    flex: 1;
    min-width: 150px;
  }
  
  .stats-panel-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .bench-players-modern {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Tablettes */
@media (max-width: 768px) {
  .game-container-modern {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .match-card-modern {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .match-teams {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .team img {
    width: 40px;
    height: 40px;
  }
  
  .team span {
    font-size: 1rem;
  }
  
  .vs {
    font-size: 1.2rem;
  }
  
  .formation-selector-modern {
    padding: 1.5rem;
  }
  
  .formation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .formation-card {
    padding: 1.25rem;
  }
  
  .formation-name {
    font-size: 1rem;
  }
  
  .football-field-modern {
    height: 350px;
  }
  
  .field-position-modern {
    width: 30px;
    height: 30px;
  }
  
  .field-player-modern img {
    width: 25px;
    height: 25px;
  }
  
  .field-player-modern .player-name-modern {
    font-size: 0.7rem;
  }
  
  .field-player-modern .player-number-modern {
    font-size: 0.6rem;
  }
  
  .players-panel-modern {
    max-height: 450px;
  }
  
  .panel-header-modern {
    padding: 1.25rem;
  }
  
  .search-box {
    margin-bottom: 1rem;
  }
  
  .search-box input {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .players-tabs-modern {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .tab-btn-modern {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    flex: 1;
    min-width: 100px;
  }
  
  .action-buttons-modern {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .action-btn-modern {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1rem;
  }
  
  .stats-panel-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .bench-players-modern {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
  
  .player-card-modern {
    flex-direction: column;
  }
  
  .player-photo-modern {
    width: 100%;
    height: 140px;
  }
  
  .player-number-modern {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  .player-info-modern {
    padding: 1rem;
  }
  
  .player-name-modern {
    font-size: 1rem;
  }
  
  .player-meta-modern {
    font-size: 0.8rem;
  }
  
  .bench-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .bench-actions {
    justify-content: center;
  }
  
  .bench-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .game-container-modern {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .match-card-modern {
    padding: 1rem;
  }
  
  .match-teams {
    gap: 0.5rem;
  }
  
  .team img {
    width: 35px;
    height: 35px;
  }
  
  .team span {
    font-size: 0.9rem;
  }
  
  .vs {
    font-size: 1rem;
  }
  
  .formation-selector-modern {
    padding: 1rem;
  }
  
  .formation-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .formation-card {
    padding: 1rem;
  }
  
  .formation-name {
    font-size: 0.9rem;
  }
  
  .formation-desc {
    font-size: 0.7rem;
  }
  
  .football-field-modern {
    height: 300px;
  }
  
  .field-position-modern {
    width: 25px;
    height: 25px;
  }
  
  .field-player-modern img {
    width: 20px;
    height: 20px;
  }
  
  .field-player-modern .player-name-modern {
    font-size: 0.6rem;
  }
  
  .field-player-modern .player-number-modern {
    font-size: 0.5rem;
  }
  
  .players-panel-modern {
    max-height: 400px;
  }
  
  .panel-header-modern {
    padding: 1rem;
  }
  
  .search-box input {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .players-tabs-modern {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .tab-btn-modern {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
  }
  
  .action-buttons-modern {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .action-btn-modern {
    width: 100%;
    padding: 0.75rem 1rem;
  }
  
  .stats-panel-modern {
    gap: 1rem;
  }
  
  .bench-players-modern {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .player-photo-modern {
    height: 120px;
  }
  
  .player-number-modern {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
  
  .player-info-modern {
    padding: 0.75rem;
  }
  
  .player-name-modern {
    font-size: 0.9rem;
  }
  
  .player-meta-modern {
    font-size: 0.75rem;
  }
  
  .bench-header {
    padding: 1rem;
  }
  
  .bench-header h3 {
    font-size: 1.1rem;
  }
  
  .bench-count {
    font-size: 0.8rem;
  }
  
  .bench-actions {
    gap: 0.5rem;
  }
  
  .bench-action-btn {
    width: 40px;
    height: 40px;
  }
  
  .action-icon {
    font-size: 1rem;
  }
  
  .bench-stats {
    padding: 0.75rem;
  }
  
  .bench-stat {
    gap: 0.5rem;
  }
  
  .bench-stat .stat-label {
    font-size: 0.8rem;
  }
  
  .bench-stat .stat-value {
    font-size: 1rem;
  }
  
  .bench-player-card {
    padding: 0.75rem;
  }
  
  .bench-player-photo {
    width: 50px;
    height: 50px;
  }
  
  .bench-player-number {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
  
  .bench-player-info h4 {
    font-size: 0.9rem;
  }
  
  .bench-player-position {
    font-size: 0.7rem;
  }
  
  .remove-bench-btn {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
}

/* Très petits écrans */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .match-card-modern {
    padding: 0.75rem;
  }
  
  .team img {
    width: 30px;
    height: 30px;
  }
  
  .team span {
    font-size: 0.8rem;
  }
  
  .formation-selector-modern {
    padding: 0.75rem;
  }
  
  .formation-card {
    padding: 0.75rem;
  }
  
  .formation-name {
    font-size: 0.8rem;
  }
  
  .football-field-modern {
    height: 250px;
  }
  
  .field-position-modern {
    width: 20px;
    height: 20px;
  }
  
  .field-player-modern img {
    width: 18px;
    height: 18px;
  }
  
  .players-panel-modern {
    max-height: 350px;
  }
  
  .panel-header-modern {
    padding: 0.75rem;
  }
  
  .search-box input {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  .tab-btn-modern {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  .action-btn-modern {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .player-photo-modern {
    height: 100px;
  }
  
  .player-number-modern {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
  
  .player-info-modern {
    padding: 0.5rem;
  }
  
  .player-name-modern {
    font-size: 0.8rem;
  }
  
  .player-meta-modern {
    font-size: 0.7rem;
  }
}

/* ===== RESPONSIVE MODERNE ===== */
@media (max-width: 1200px) {
  .game-area-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .football-field-modern {
    height: 400px;
  }
  
  .field-position-modern {
    width: 60px;
    height: 60px;
  }
  
  .field-player-modern img {
    width: 30px;
    height: 30px;
  }
  
  .field-player-modern .player-name-modern {
    font-size: 0.4rem;
  }
  
  .field-player-modern .player-number-modern {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
  }
  
  .controls-modern {
    grid-template-columns: 1fr;
  }
  
  .stats-panel-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tactics-grid-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .game-container-modern {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .match-card-modern {
    padding: 1.5rem;
  }
  
  .match-teams {
    gap: 1rem;
  }
  
  .team img {
    width: 50px;
    height: 50px;
  }
  
  .formation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .football-field-modern {
    height: 300px;
  }
  
  .field-position-modern {
    width: 50px;
    height: 50px;
  }
  
  .field-player-modern img {
    width: 25px;
    height: 25px;
  }
  
  .field-player-modern .player-name-modern {
    font-size: 0.35rem;
  }
  
  .field-player-modern .player-number-modern {
    width: 14px;
    height: 14px;
    font-size: 0.5rem;
  }
  
  .players-panel-modern {
    max-height: 400px;
  }
  
  .panel-header-modern {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .search-box {
    max-width: none;
    margin-left: 0;
  }
  
  .players-tabs-modern {
    justify-content: center;
  }
  
  .action-buttons-modern {
    flex-direction: column;
  }
  
  .action-btn-modern {
    width: 100%;
  }
  
  .stats-panel-modern {
    grid-template-columns: 1fr;
  }
  
  .bench-players-modern {
    grid-template-columns: 1fr;
  }
  
  .player-card-modern {
    padding: 0.75rem;
  }
  
  .player-photo-modern {
    width: 50px;
    height: 50px;
  }
  
  .player-number-modern {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-content-modern {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .formation-grid {
    grid-template-columns: 1fr;
  }
  
  .football-field-modern {
    height: 250px;
  }
  
  .field-position-modern {
    width: 40px;
    height: 40px;
  }
  
  .field-player-modern img {
    width: 20px;
    height: 20px;
  }
  
  .field-player-modern .player-name-modern {
    font-size: 0.3rem;
  }
  
  .field-player-modern .player-number-modern {
    width: 12px;
    height: 12px;
    font-size: 0.4rem;
  }
  
  .players-tabs-modern {
    gap: 0.25rem;
  }
  
  .tab-btn-modern {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Styles pour les actualités en temps réel avec images */
.realtime-news-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  padding: 2rem 0;
  margin: 2rem 0;
}

.news-ticker {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ticker-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ticker-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.ticker-image {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.ticker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ticker-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-time {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.news-source {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive design pour les images */
@media (max-width: 768px) {
  .ticker-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .ticker-image {
    width: 100%;
    height: 120px;
  }
  
  .news-title {
    font-size: 1rem;
  }
}

/* Animation pour les nouvelles actualités */
.ticker-item.new {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
