/* ===================================================
   📱 SPL COMPANION - COMPOSANTS CSS PREMIUM ROUGE ZACK
   =================================================== */

/* ===========================================
   🏠 DASHBOARD STYLES PREMIUM
   =========================================== */

.dashboard-container {
  padding: 20px;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.6s ease-out;
}

/* Live Widget Dashboard */
.live-widget-dashboard {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(229, 80, 57, 0.05) 100%);
  border: 1px solid rgba(255, 71, 87, 0.3);
  padding: 20px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.live-widget-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  animation: slideHorizontal 2s linear infinite;
}

.live-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-indicator-premium {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pulse {
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 20px rgba(255, 71, 87, 0.6);
}

.live-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.viewer-count {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
}

.viewer-icon {
  font-size: 16px;
}

.viewer-number {
  font-weight: 600;
  color: var(--text-primary);
}

.live-match-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.match-teams {
  font-size: 16px;
  font-weight: 500;
}

.live-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}

.watch-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.watch-live-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.4);
  background: var(--accent);
}

/* Hero Dashboard Section */
.hero-dashboard {
  padding: 32px;
  background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 71, 87, 0.02) 100%);
  border-radius: 20px;
  position: relative;
  min-height: 350px;
}

.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Marge sous le badge upcoming */
.badge-upcoming-zack {
  margin-bottom: 12px;
  display: inline-block;
}

.hero-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

.hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-team-name {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.hero-score {
  font-size: 48px;
  font-weight: 900;
  color: var(--secondary);
  text-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-dashboard {
  text-align: center;
}

.countdown-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  gap: 8px;
}

.time-block {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

.time-unit {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.live-minute {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  animation: pulse 2s infinite;
}

.final-indicator {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.competition-badge {
  background: rgba(255, 71, 87, 0.1);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.hero-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 71, 87, 0.4);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 180px;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 71, 87, 0.4);
  box-shadow: 0 12px 24px rgba(255, 71, 87, 0.2);
}

.stat-card.featured {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.05) 0%, transparent 100%);
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stat-icon {
  font-size: 20px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.badge-new {
  background: var(--secondary);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  margin-left: auto;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mini-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mini-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.vs-mini {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-date,
.stat-competition {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.stat-action {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--secondary);
}

.stat-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: var(--text-muted);
  font-size: 14px;
}

.video-thumb-mini {
  position: relative;
  width: 100%;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.video-thumb-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration-overlay {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.video-title-mini {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-stats-mini {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Recent Videos Section */
.recent-videos-section {
  margin-top: 32px;
}

.section-header-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.title-icon {
  font-size: 24px;
}

.see-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.see-all-link:hover {
  transform: translateX(4px);
}

.videos-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.video-card-dashboard {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-card-dashboard:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 71, 87, 0.2);
}

.badge-nouveau-dashboard {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.video-thumbnail-dashboard {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.video-thumbnail-dashboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card-dashboard:hover .video-thumbnail-dashboard img {
  transform: scale(1.05);
}

.video-overlay-dashboard {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card-dashboard:hover .video-overlay-dashboard {
  opacity: 1;
}

.play-icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.video-overlay-dashboard .duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.video-info-dashboard {
  padding: 12px;
}

.video-info-dashboard h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Week Calendar Section */
.week-calendar-section {
  margin-top: 24px;
}

.week-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-card {
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.day-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 71, 87, 0.3);
}

.day-card.today {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, transparent 100%);
  border-color: rgba(255, 71, 87, 0.3);
}

.day-card.has-matches {
  border-top: 2px solid var(--secondary);
}

.day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.day-name {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.day-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.day-card.today .day-number {
  color: var(--secondary);
}

.day-matches {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
}

.mini-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
}

.match-time {
  color: var(--text-secondary);
}

.more-matches {
  font-size: 10px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 2px;
}

.live-dot-mini {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.more-matches {
  font-size: 11px;
  color: var(--secondary);
  font-weight: 600;
}

.no-matches {
  color: var(--text-muted);
  font-size: 18px;
}

/* Quick Actions Floating */
.quick-actions {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.fab-dashboard {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
}

.fab-dashboard:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.3);
}

.fab-dashboard.primary {
  background: var(--secondary);
  color: white;
}

.fab-icon {
  font-size: 18px;
}

.fab-text {
  font-size: 14px;
}

/* Animations */
@keyframes slideHorizontal {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .videos-carousel {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    padding: 12px;
    gap: 16px;
  }
  
  .hero-teams {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-team-name {
    font-size: 18px;
  }
  
  .hero-score {
    font-size: 32px;
  }
  
  .week-calendar-section {
    margin-top: 20px;
    margin-bottom: 80px; /* Espace pour le menu bottom */
  }
  
  /* Week calendar mobile styles moved to @media (max-width: 768px) section below */
  /* Removed duplicate definitions */
  
  .day-header {
    margin-bottom: 4px;
  }
  
  .day-name {
    font-size: 11px;
  }
  
  .day-number {
    font-size: 16px;
  }
  
  /* Mini-match styles defined in mobile section below */
  
  .quick-actions {
    bottom: 70px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    gap: 4px;
  }
  
  .time-block {
    padding: 6px 8px;
  }
  
  .time-value {
    font-size: 18px;
  }
  
  .videos-carousel {
    grid-template-columns: 1fr;
  }
  
  /* Ajustements supplémentaires pour le calendrier semaine */
  .week-calendar-section {
    margin-top: 16px;
    margin-bottom: 70px;
  }
  
  .section-header-dashboard {
    padding: 0 8px;
    margin-bottom: 12px;
  }
  
  .section-title {
    font-size: 16px;
  }
  
  .week-calendar {
    gap: 6px;
    padding: 0 4px 8px 4px;
  }
  
  /* Day-card styles moved to mobile section - removed duplicates */
  
  .day-name {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  
  .day-number {
    font-size: 14px;
  }
  
  .day-matches {
    gap: 1px;
  }
  
  /* Match styles consolidated in mobile section below */
  
  /* Empêcher le débordement sur toute la page */
  .dashboard-container {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* ===========================================
   📱 MOBILE OPTIMIZATIONS - OPTION A IMPLEMENTATIONS
   =========================================== */

/* === HERO SECTION MOBILE - VS-STYLE COMPACT === */
@media (max-width: 768px) {
  .hero-dashboard {
    padding: 20px 16px;
    min-height: 220px !important;
  }
  
  .hero-teams-mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 24px 0 16px;
    min-height: 60px;
  }
  
  .hero-teams-mobile .hero-team {
    flex: 1;
    flex-direction: column !important;
    gap: 4px;
    align-items: center;
    max-width: 30%;
  }
  
  .hero-teams-mobile .hero-team.home {
    flex-direction: column !important;
    justify-content: center;
  }
  
  .hero-teams-mobile .hero-team.away {
    flex-direction: column !important;
    justify-content: center;
  }
  
  .hero-teams-mobile .hero-team-name {
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: var(--text-primary);
  }
  
  .hero-teams-mobile .hero-center {
    flex: 0 0 auto;
    order: initial;
    margin: 0;
    min-width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
  }
  
  /* Enhanced Compact countdown for better visibility */
  .countdown-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 71, 87, 0.15);
    border: 2px solid rgba(255, 71, 87, 0.4);
    padding: 8px 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.2);
    min-width: 80px;
    position: relative;
    z-index: 2;
    animation: countdown-pulse 2s ease-in-out infinite;
  }
  
  @keyframes countdown-pulse {
    0% { 
      box-shadow: 0 4px 16px rgba(255, 71, 87, 0.2);
      border-color: rgba(255, 71, 87, 0.4);
    }
    50% { 
      box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
      border-color: rgba(255, 71, 87, 0.6);
    }
    100% { 
      box-shadow: 0 4px 16px rgba(255, 71, 87, 0.2);
      border-color: rgba(255, 71, 87, 0.4);
    }
  }
  
  .countdown-compact .countdown-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
  }
  
  .countdown-compact .countdown-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--secondary);
    text-shadow: 0 1px 4px rgba(255, 71, 87, 0.3);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.5px;
  }
  
  .countdown-compact small {
    font-size: 10px;
    opacity: 0.7;
    margin: 0 1px;
    font-weight: 500;
    color: var(--text-secondary);
  }
  
  /* Live score display */
  .score-live-container,
  .score-final-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  .score-display {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .hero-teams-mobile .hero-score {
    font-size: 24px !important;
    font-weight: 800;
    color: var(--secondary);
  }
  
  .hero-teams-mobile .hero-score.winner {
    color: var(--secondary);
    text-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
  }
  
  .score-separator {
    color: var(--text-secondary);
    font-size: 20px;
    opacity: 0.6;
  }
  
  .live-minute-badge {
    background: var(--secondary);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    animation: pulse 2s infinite;
  }
  
  .final-indicator {
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
  }
  
  /* Team logos responsive */
  .hero-teams-mobile :deep(.team-logo) {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 2px;
  }
}

@media (max-width: 480px) {
  .hero-teams-mobile .hero-team-name {
    font-size: 11px !important;
    max-width: 60px;
  }
  
  .hero-teams-mobile .hero-score {
    font-size: 20px !important;
  }
  
  .hero-teams-mobile :deep(.team-logo) {
    width: 32px !important;
    height: 32px !important;
  }
  
  /* Enhanced mobile countdown visibility */
  .countdown-compact {
    padding: 6px 10px;
    min-width: 70px;
    gap: 2px;
  }
  
  .countdown-compact .countdown-value {
    font-size: 16px !important;
    font-weight: 800;
  }
  
  .countdown-compact .countdown-label {
    font-size: 9px;
  }
  
  .countdown-compact small {
    font-size: 10px;
  }
}

/* === WEEK CALENDAR MOBILE - PILLS SCROLLABLES === */
@media (max-width: 768px) {
  .week-calendar-wrapper {
    position: relative;
    margin: 0 -12px;
    overflow: hidden;
  }
  
  /* Indicateur de scroll */
  .week-calendar-wrapper::after {
    content: '→';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    opacity: 0.5;
    font-size: 20px;
    font-weight: bold;
    pointer-events: none;
    z-index: 2;
    animation: slideHint 2s ease-in-out infinite;
  }
  
  @keyframes slideHint {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(4px); }
  }
  
  .week-calendar {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 8px 40px 8px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .week-calendar::-webkit-scrollbar {
    display: none;
  }
  
  .week-calendar .day-card {
    min-width: 85px;
    max-width: 85px;
    min-height: 85px;
    /* No max-height - let it grow with content */
    height: auto;
    padding: 8px 6px 10px;
    scroll-snap-align: start;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .week-calendar .day-card:hover {
    transform: translateY(-2px);
  }
  
  /* Suppression du badge nombre de matchs */
  .day-card.has-matches[data-match-count]:not([data-match-count="0"])::before {
    display: none;
  }
  
  /* Jour sans match : opacity réduite */
  .day-card:not(.has-matches) {
    opacity: 0.5;
  }
  
  /* === SOLUTION 1: Primary Time + Count === */
  .day-matches-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
  }
  
  .primary-match-time {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 71, 87, 0.12);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 8px;
    padding: 4px 8px;
    min-height: 20px;
  }
  
  .main-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
  }
  
  .live-indicator-micro {
    color: var(--secondary);
    font-size: 8px;
    animation: pulse 2s infinite;
  }
  
  .additional-matches-count {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .count-badge {
    background: var(--secondary);
    color: white;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
  }
  
  .day-card.today {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15) 0%, rgba(255, 71, 87, 0.05) 100%);
    border-color: var(--secondary) !important;
    border-width: 2px;
  }
  
  /* Cache le "-" des jours sans match */
  .no-matches {
    display: none !important;
  }
  
  .day-header {
    margin-bottom: 4px;
    flex-shrink: 0;
  }
  
  .day-name {
    font-size: 10px !important;
  }
  
  .day-number {
    font-size: 16px !important;
  }
  
  .day-matches {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    justify-content: flex-start;
    /* Removed overflow: hidden to allow content expansion */
  }
  
  .mini-match {
    background: rgba(255, 71, 87, 0.08);
    border-radius: 4px;
    padding: 3px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    min-height: 18px;
    flex-shrink: 0;
  }
  
  .match-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary);
    white-space: nowrap;
    letter-spacing: 0.3px;
  }
  
  .more-matches {
    background: var(--secondary);
    color: white;
    border-radius: 6px;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    margin-top: 2px;
    display: inline-block;
    align-self: center;
    flex-shrink: 0;
  }
  
  .live-dot-mini {
    width: 5px !important;
    height: 5px !important;
  }
}

@media (max-width: 480px) {
  .week-calendar .day-card {
    min-width: 75px;
    max-width: 75px;
    min-height: 80px;
    /* No max-height */
    height: auto;
    padding: 6px 4px 8px;
  }
  
  .mini-match {
    padding: 2px 4px;
    min-height: 16px;
  }
  
  .match-time {
    font-size: 10px;
  }
  
  .day-card.has-matches[data-match-count]:not([data-match-count="0"])::before {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
  
  /* Responsive adjustments for Solution 1 */
  .main-time {
    font-size: 11px;
  }
  
  .primary-match-time {
    padding: 3px 6px;
    min-height: 18px;
  }
  
  .count-badge {
    font-size: 9px;
    padding: 1px 4px;
    min-width: 18px;
  }
}

/* === VIDEO CARD ASPECT RATIO FIX === */
.stat-card.featured .video-thumb-mini {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9 !important;
  height: auto !important;
  min-height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1e2e, #2d1b69);
}

.video-thumb-mini img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Dashboard video cards */
.video-thumbnail-dashboard {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9 !important;
  height: auto !important;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #000;
}

.video-thumbnail-dashboard img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .stat-card.featured {
    grid-column: 1 / -1;
  }
  
  .stat-card.featured .video-thumb-mini {
    min-height: 140px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card.featured .video-thumb-mini {
    min-height: 180px;
  }
  
  .video-thumbnail-dashboard {
    min-height: 160px;
  }
}

/* === SKELETON LOADERS === */
.skeleton-container {
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.skeleton-pulse {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 71, 87, 0.05) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Hero skeleton */
.hero-skeleton {
  height: 220px;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  margin-bottom: 24px;
}

.skeleton-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.skeleton-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.skeleton-team {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skeleton-logo {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.skeleton-name {
  width: 80px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-score {
  width: 60px;
  height: 32px;
  background: rgba(255, 71, 87, 0.1);
  border-radius: 8px;
}

/* Stats skeleton */
.skeleton-stat-header {
  width: 120px;
  height: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-bottom: 16px;
}

.skeleton-stat-content {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.skeleton-video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

/* Calendar skeleton */
.skeleton-title {
  width: 150px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-day-header {
  width: 60px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin: 0 auto;
}

/* ===========================================
   🚀 PERFORMANCE OPTIMIZATIONS
   =========================================== */

/* Hardware acceleration for animations */
.js-particle,
.hype-progress,
.level-indicator,
.match-card-zack,
.btn-zack-primary {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Performance mode styles */
body.performance-mode .js-particle {
  animation-duration: 1s !important;
  transition-duration: 0.2s !important;
}

body.performance-mode [class*="animation"],
body.performance-mode [class*="glow"] {
  animation: none !important;
  filter: none !important;
}

/* Optimized transitions */
* {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===========================================
   🎮 MATCH DETAIL HEADER PREMIUM STYLES
   =========================================== */

.detail-header-zack {
  position: relative;
  padding: 20px 24px;
  margin: -20px -20px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(255, 71, 87, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.4s ease-out;
}

.breadcrumb-nav-zack {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-normal);
}

.breadcrumb-nav-zack a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.breadcrumb-nav-zack a:hover {
  color: var(--secondary);
  transform: translateX(2px);
}

.breadcrumb-nav-zack a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.breadcrumb-nav-zack a:hover::after {
  width: 100%;
}

.breadcrumb-nav-zack .separator {
  color: rgba(255, 71, 87, 0.4);
  font-size: 16px;
}

.breadcrumb-nav-zack .current {
  color: var(--text-primary);
  font-weight: 700;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.match-badge-zack {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-zack {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.badge-zack::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.badge-zack:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.badge-finished-zack {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

.badge-live-zack {
  background: rgba(255, 71, 87, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(255, 71, 87, 0.3);
  animation: pulseBadge 2s ease-in-out infinite;
}

.badge-upcoming-zack {
  background: rgba(255, 165, 2, 0.15);
  color: var(--highlight);
  border: 1px solid rgba(255, 165, 2, 0.3);
}

.live-animation-zack {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.6);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBadge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(255, 71, 87, 0.5);
  }
}

/* Media Queries pour le header */
@media (max-width: 768px) {
  .detail-header-zack {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  
  .breadcrumb-nav-zack {
    font-size: 12px;
    flex-wrap: wrap;
  }
  
  .match-badge-zack {
    align-self: flex-start;
  }
}

@media (min-width: 1200px) {
  .detail-header-zack {
    padding: 24px 32px;
    margin: -24px -24px 24px;
  }
  
  .breadcrumb-nav-zack {
    font-size: 15px;
    gap: 12px;
  }
  
  .badge-zack {
    padding: 8px 18px;
    font-size: 12px;
  }
}

/* ===========================================
   🎯 MATCH MAIN INFO PREMIUM STYLES
   =========================================== */

.match-main-info-zack {
  padding: 24px;
  margin: 20px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  animation: slideUp 0.5s ease-out;
}

/* Section Équipes et Score */
.teams-showcase-zack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.team-card-zack {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.team-card-zack:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 71, 87, 0.2);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.15);
}

.team-card-zack.home {
  border-left: 3px solid var(--secondary);
}

.team-card-zack.away {
  border-right: 3px solid var(--highlight);
}

.team-name-zack {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
  letter-spacing: var(--letter-spacing-tight);
}

.score-display-zack {
  font-size: 48px;
  font-weight: 900;
  color: var(--secondary);
  text-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
  letter-spacing: -2px;
  animation: slideDown 0.6s ease-out;
}

/* Section Centrale */
.match-center-zack {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0 16px;
}

/* Countdown Styles */
.countdown-wrapper-zack {
  text-align: center;
}

.countdown-label-zack {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: 12px;
}

.countdown-display-zack {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 71, 87, 0.1);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 71, 87, 0.2);
  margin-bottom: 8px;
}

.time-unit-zack {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 32px;
}

.time-value-zack {
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}

.time-label-zack {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 4px;
}

.time-separator-zack {
  color: rgba(255, 71, 87, 0.4);
  font-size: 20px;
  font-weight: 700;
  animation: blink 2s ease-in-out infinite;
}

.match-date-zack {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Live Styles */
.live-wrapper-zack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.live-badge-zack {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 20px;
  color: var(--secondary);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  animation: pulseBadge 2s ease-in-out infinite;
}

.live-dot-zack {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.6);
}

.match-minute-zack {
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary);
  text-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

/* Final Score Styles */
.final-score-zack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vs-label-zack {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.score-separator-zack {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

/* Meta Information */
.match-meta-zack {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 24px;
}

.meta-item-zack {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.meta-item-zack:hover {
  background: rgba(255, 71, 87, 0.05);
  border-color: rgba(255, 71, 87, 0.2);
  transform: translateY(-2px);
}

.meta-icon-zack {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.meta-label-zack {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-normal);
}

/* Actions Buttons */
.match-actions-zack {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-zack-primary,
.btn-zack-secondary {
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.btn-zack-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.3);
}

.btn-zack-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.4);
}

.btn-zack-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-zack-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 71, 87, 0.3);
  transform: translateY(-2px);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .match-main-info-zack {
    padding: 16px;
    margin: 16px 0;
  }
  
  .teams-showcase-zack {
    flex-direction: column;
    gap: 16px;
  }
  
  .team-card-zack {
    width: 100%;
    padding: 16px;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .team-card-zack.home {
    border-left: none;
    border-top: 3px solid var(--secondary);
  }
  
  .team-card-zack.away {
    border-right: none;
    border-bottom: 3px solid var(--highlight);
  }
  
  .team-name-zack {
    font-size: 16px;
  }
  
  .score-display-zack {
    font-size: 36px;
  }
  
  .match-center-zack {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    order: -1;
  }
  
  .countdown-display-zack {
    padding: 8px 12px;
  }
  
  .time-value-zack {
    font-size: 20px;
  }
  
  .match-minute-zack {
    font-size: 28px;
  }
  
  .match-meta-zack {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  
  .meta-item-zack {
    width: 100%;
    justify-content: center;
  }
  
  .match-actions-zack {
    flex-direction: column;
  }
  
  .btn-zack-primary,
  .btn-zack-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Desktop Enhanced */
@media (min-width: 1200px) {
  .match-main-info-zack {
    padding: 32px;
    margin: 24px 0;
  }
  
  .teams-showcase-zack {
    gap: 32px;
    margin-bottom: 40px;
  }
  
  .team-card-zack {
    padding: 24px;
  }
  
  .team-name-zack {
    font-size: 20px;
  }
  
  .score-display-zack {
    font-size: 56px;
  }
  
  .match-center-zack {
    min-width: 180px;
  }
  
  .countdown-display-zack {
    padding: 16px 24px;
  }
  
  .time-value-zack {
    font-size: 28px;
  }
  
  .match-minute-zack {
    font-size: 36px;
  }
  
  .match-meta-zack {
    padding: 24px;
    gap: 20px;
  }
  
  .meta-item-zack {
    padding: 10px 20px;
  }
  
  .btn-zack-primary,
  .btn-zack-secondary {
    padding: 16px 32px;
    font-size: 16px;
  }
}

/* ===========================================
   ⚽ MATCH TIMELINE PREMIUM STYLES
   =========================================== */

.match-timeline {
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin: 20px 0;
  animation: slideUp 0.6s ease-out;
}

.match-timeline .section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: var(--letter-spacing-tight);
}

.match-timeline .section-title::before {
  content: '⏱️';
  font-size: 24px;
  filter: drop-shadow(0 2px 8px rgba(255, 71, 87, 0.3));
}

.timeline-container {
  position: relative;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 71, 87, 0.2) 0%,
    rgba(255, 71, 87, 0.4) 50%,
    rgba(255, 71, 87, 0.2) 100%
  );
  animation: glow 3s ease-in-out infinite;
}

.timeline-event {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  margin-left: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  animation: slideInLeft 0.5s ease-out;
  animation-fill-mode: both;
}

.timeline-event:nth-child(odd) {
  animation-delay: 0.1s;
}

.timeline-event:nth-child(even) {
  animation-delay: 0.2s;
}

.timeline-event:hover {
  transform: translateX(8px);
  background: rgba(255, 71, 87, 0.05);
  border-color: rgba(255, 71, 87, 0.2);
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.15);
}

.timeline-event.home {
  border-left: 3px solid var(--secondary);
}

.timeline-event.away {
  border-left: 3px solid var(--highlight);
}

.event-time {
  position: absolute;
  left: -70px;
  width: 50px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(255, 71, 87, 0.1);
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 71, 87, 0.2);
}

.event-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  animation: bounce 2s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.timeline-event:nth-child(1) .event-icon { --delay: 0s; }
.timeline-event:nth-child(2) .event-icon { --delay: 0.2s; }
.timeline-event:nth-child(3) .event-icon { --delay: 0.4s; }
.timeline-event:nth-child(4) .event-icon { --delay: 0.6s; }
.timeline-event:nth-child(5) .event-icon { --delay: 0.8s; }

.event-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-player {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-normal);
}

.event-type {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

/* Styles spécifiques par type d'événement */
.timeline-event:has(.event-icon:contains("⚽")) {
  background: rgba(255, 71, 87, 0.05);
  border-color: rgba(255, 71, 87, 0.2);
}

.timeline-event:has(.event-icon:contains("🟨")) {
  background: rgba(255, 165, 2, 0.05);
  border-color: rgba(255, 165, 2, 0.2);
}

.timeline-event:has(.event-icon:contains("🟥")) {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.timeline-event:has(.event-icon:contains("🔄")) {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

/* Animation pour les événements importants */
.timeline-event:has(.event-icon:contains("⚽"))::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.1), transparent);
  transform: translate(-50%, -50%);
  animation: ripple 2s ease-out infinite;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes glow {
  0%, 100% {
    opacity: 0.5;
    filter: drop-shadow(0 0 5px rgba(255, 71, 87, 0.3));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.5));
  }
}

/* Version mobile de la timeline */
@media (max-width: 768px) {
  .match-timeline {
    padding: 16px;
    margin: 16px 0;
  }
  
  .timeline-container::before {
    left: 24px;
  }
  
  .timeline-event {
    margin-left: 40px;
    padding: 12px 16px;
    gap: 12px;
  }
  
  .event-time {
    left: -50px;
    width: 40px;
    font-size: 12px;
    padding: 2px 4px;
  }
  
  .event-icon {
    font-size: 20px;
  }
  
  .event-player {
    font-size: 14px;
  }
  
  .event-type {
    font-size: 11px;
  }
}

/* Version desktop élargie */
@media (min-width: 1200px) {
  .match-timeline {
    padding: 32px;
    margin: 24px 0;
  }
  
  .timeline-container {
    gap: 24px;
    padding: 24px 0;
  }
  
  .timeline-event {
    padding: 20px 24px;
    gap: 24px;
  }
  
  .event-time {
    font-size: 15px;
    padding: 6px 10px;
  }
  
  .event-icon {
    font-size: 28px;
  }
  
  .event-player {
    font-size: 18px;
  }
  
  .event-type {
    font-size: 14px;
  }
  
  .timeline-event:hover {
    transform: translateX(12px) scale(1.02);
  }
}

/* ===========================================
   💎 CHANNEL POINTS REWARDS STYLES
   =========================================== */

.channel-points-container {
  min-height: 100vh;
  padding: 24px 20px 100px;
  background: var(--bg-base);
}

.rewards-header {
  padding: 24px;
  margin-bottom: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.channel-points-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.points-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 8px rgba(255, 71, 87, 0.3));
}

.points-details {
  display: flex;
  flex-direction: column;
}

.points-title {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.points-balance {
  color: var(--secondary);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.channel-info {
  margin-left: auto;
}

.channel-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.channel-status.enabled {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.channel-status.disabled {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.reward-card {
  position: relative;
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.reward-card.affordable {
  border-color: rgba(255, 71, 87, 0.3);
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.15);
}

.reward-card.affordable:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 71, 87, 0.5);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.25);
}

.reward-card.not-affordable {
  opacity: 0.6;
  border-color: rgba(255, 255, 255, 0.05);
}

.status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.disabled {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
}

.status-badge.sold-out {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.reward-image {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.image-placeholder.directinteraction {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.image-placeholder.contentinfluence {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.image-placeholder.communityaction {
  background: linear-gradient(135deg, #00d2d3, #00c851);
}

.reward-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reward-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.reward-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.reward-cost {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--secondary);
}

.cost-value {
  font-size: 16px;
  font-weight: 800;
}

.cost-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.reward-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
}

.reward-details {
  margin-bottom: 16px;
}

.reward-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.category-badge {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid;
}

.category-badge.directinteraction {
  background: rgba(255, 107, 53, 0.15);
  color: #ff6b35;
  border-color: rgba(255, 107, 53, 0.3);
}

.category-badge.contentinfluence {
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
  border-color: rgba(102, 126, 234, 0.3);
}

.category-badge.communityaction {
  background: rgba(0, 210, 211, 0.15);
  color: #00d2d3;
  border-color: rgba(0, 210, 211, 0.3);
}

.input-required {
  color: var(--highlight);
  font-size: 11px;
  font-weight: 600;
}

.reward-stats {
  color: var(--text-secondary);
  font-size: 12px;
}

.redemption-count {
  color: var(--text-secondary);
}

.stream-count {
  color: var(--secondary);
  font-weight: 600;
}

.redeem-btn {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.redeem-btn.enabled {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
}

.redeem-btn.enabled:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.4);
}

.redeem-btn.disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: not-allowed;
}

.recent-redemptions {
  padding: 24px;
  margin: 24px 0;
}

.recent-redemptions h2 {
  margin: 0 0 20px 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.redemptions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.redemption-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 3px solid;
  gap: 16px;
}

.redemption-item.unfulfilled {
  border-left-color: #fbbf24;
}

.redemption-item.fulfilled {
  border-left-color: #10b981;
}

.redemption-item.canceled {
  border-left-color: #ef4444;
}

.redemption-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.redemption-title {
  font-weight: 600;
  color: var(--text-primary);
}

.redemption-date {
  font-size: 12px;
  color: var(--text-secondary);
}

.user-input {
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
}

.redemption-cost {
  color: var(--secondary);
  font-weight: 600;
}

.redemption-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}

.channel-stats {
  padding: 24px;
  margin: 24px 0;
}

.channel-stats h2 {
  margin: 0 0 20px 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.redeem-modal {
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.reward-preview {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.preview-image {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.preview-info h4 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-weight: 700;
}

.preview-info p {
  margin: 0 0 12px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.instructions {
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.user-input-section {
  margin: 20px 0;
}

.user-input-section label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.user-input-section textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

.user-input-section small {
  color: var(--text-secondary);
  font-size: 12px;
}

.redemption-summary {
  margin: 20px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.summary-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  font-weight: 600;
}

.cost-highlight {
  color: var(--secondary);
  font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .channel-points-container {
    padding: 20px 16px 100px;
  }
  
  .rewards-header .header-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .rewards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .reward-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop enhancements */
@media (min-width: 1200px) {
  .channel-points-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 20px 100px;
  }
  
  .rewards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .reward-card:hover {
    transform: translateY(-4px);
  }
}

/* ===========================================
   🛠️ REWARDS FULFILLMENT DASHBOARD STYLES
   =========================================== */

.fulfillment-dashboard {
  min-height: 100vh;
  padding: 24px 20px 100px;
  background: var(--bg-base);
}

.dashboard-header {
  padding: 32px;
  margin-bottom: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* header-content déplacé vers la section consolidée */

.dashboard-title h1 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 800;
}

.dashboard-title p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.stats-overview {
  display: flex;
  gap: 16px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid;
  min-width: 120px;
}

.stat-badge.pending {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
}

.stat-badge.assigned {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.stat-badge.in-progress {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
}

.stat-badge.completed {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.stat-icon {
  font-size: 20px;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-actions {
  padding: 24px;
  margin-bottom: 24px;
}

.quick-actions h2 {
  margin: 0 0 20px 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
}

.action-btn.secondary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.action-btn.warning {
  background: linear-gradient(135deg, #ff9500, #ff6b35);
  color: white;
}

.action-btn.success {
  background: linear-gradient(135deg, #00d2d3, #00c851);
  color: white;
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-icon {
  font-size: 16px;
}

.filters-section {
  padding: 24px;
  margin-bottom: 24px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filters-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

.view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4px;
}

.toggle-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-weight: 500;
}

.toggle-btn.active,
.toggle-btn:hover {
  background: var(--secondary);
  color: white;
}

.filters-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.filter-group label {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.filter-group select {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: inherit;
}

.urgent-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  font-weight: 600;
  margin-left: auto;
}

.alert-icon {
  font-size: 18px;
  animation: pulse 2s infinite;
}

.show-urgent-btn {
  padding: 4px 8px;
  border: none;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.redemptions-list {
  padding: 0;
  margin-bottom: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.list-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selection-count {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
}

.bulk-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bulk-btn.assign {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.bulk-btn.complete {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.bulk-btn.cancel {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.redemptions-table {
  max-height: 600px;
  overflow-y: auto;
}

.redemption-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.redemption-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.redemption-row.selected {
  background: rgba(255, 71, 87, 0.1);
  border-left: 3px solid var(--secondary);
}

.redemption-row.urgent {
  background: rgba(239, 68, 68, 0.05);
  border-left: 3px solid #ef4444;
}

.redemption-row.pending {
  border-left-color: #fbbf24;
}

.redemption-row.assigned {
  border-left-color: #3b82f6;
}

.redemption-row.in-progress {
  border-left-color: #a855f7;
}

.redemption-row.completed {
  border-left-color: #10b981;
  opacity: 0.7;
}

.redemption-row.failed {
  border-left-color: #ef4444;
}

.redemption-row.cancelled {
  border-left-color: #6b7280;
  opacity: 0.6;
}

.row-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.row-content {
  min-width: 0; /* Allow content to shrink */
}

.redemption-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.redemption-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.reward-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-icon {
  font-size: 16px;
}

.reward-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 16px;
}

.points-cost {
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
}

.urgent-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

.priority-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.priority-badge.priority-1 {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.priority-badge.priority-2 {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.priority-badge.priority-3 {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.priority-badge.priority-4,
.priority-badge.priority-5 {
  background: rgba(107, 114, 128, 0.2);
  color: #6b7280;
}

.status-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.status-badge.assigned {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.status-badge.inprogress {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.status-badge.failed {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.status-badge.cancelled {
  background: rgba(107, 114, 128, 0.2);
  color: #6b7280;
}

.status-badge.scheduled {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.time-info {
  color: var(--text-secondary);
  font-size: 12px;
  white-space: nowrap;
}

.redemption-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-name {
  color: var(--text-primary);
  font-weight: 600;
}

.redemption-id {
  color: var(--text-secondary);
  font-family: monospace;
}

.user-input {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
}

.input-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.input-text {
  color: var(--text-primary);
  font-style: italic;
  flex: 1;
}

.assignment-info,
.notes {
  display: flex;
  gap: 8px;
  align-items: center;
}

.assigned-to,
.notes-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.assigned-time {
  color: var(--text-secondary);
  font-size: 11px;
}

.notes-text {
  color: var(--text-primary);
  font-style: italic;
}

.row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.action-btn-small {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
}

.action-btn-small:hover {
  transform: translateY(-1px);
}

.action-btn-small.assign {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.action-btn-small.start {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.action-btn-small.complete {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.action-btn-small.cancel {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.action-btn-small.retry {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.action-btn-small:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.empty-state h3 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-size: 20px;
}

.empty-state p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 400px;
}

.detailed-stats {
  padding: 24px;
  margin-bottom: 24px;
}

.detailed-stats h2 {
  margin: 0 0 24px 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.stats-section {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-section h3 {
  margin: 0 0 16px 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
}

.stats-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.stat-item .stat-label {
  color: var(--text-secondary);
  font-size: 13px;
}

.stat-item .stat-value {
  color: var(--secondary);
  font-weight: 700;
  font-size: 14px;
}

/* Loading spinner animation */
.loading-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .fulfillment-dashboard {
    padding: 20px 16px 100px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .stats-overview {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat-badge {
    min-width: auto;
    flex: 1;
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .filters-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    min-width: auto;
  }
  
  .urgent-alert {
    margin-left: 0;
    margin-top: 16px;
  }
  
  .redemption-row {
    grid-template-columns: 30px 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .row-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .reward-info,
  .user-info {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .redemption-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop enhancements */
@media (min-width: 1200px) {
  .fulfillment-dashboard {
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px 20px 100px;
  }
  
  .redemptions-table {
    max-height: 800px;
  }
  
  .redemption-row:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ===========================================
   🏗️ MAIN LAYOUT STYLES - Version Premium Rouge
   =========================================== */

/* Styles header déplacés vers la section consolidée ligne 2533 */

.app-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 71, 87, 0.4));
  transition: transform 0.3s ease;
}

/* Logo légèrement réduit en mobile */
@media (max-width: 768px) {
    .header-logo {
        height: 45px;
        filter: drop-shadow(0 3px 8px rgba(255, 71, 87, 0.3));
    }
    
    .header-content {
        padding: 0 12px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        height: 100%;
    }
    
    .app-logo {
        flex: 0 1 auto;
        max-width: 60%;
        display: flex;
        align-items: center;
        height: auto;
    }
    
    .header-spacer {
        display: none;
    }
    
    .header-widget-container {
        flex: 0 0 auto;
        margin-left: auto;
        display: flex;
        align-items: center;
        height: auto;
    }
    
    /* Widget compact pour mobile */
    .zack-live-widget-header {
        padding: 6px 10px;
        max-height: 35px;
        font-size: 11px;
        display: flex;
        align-items: center;
    }
    
    .zack-live-widget-header .widget-content {
        gap: 6px;
    }
    
    .zack-live-widget-header .live-pulse {
        width: 6px;
        height: 6px;
    }
    
    .zack-live-widget-header .live-label {
        font-size: 11px;
        letter-spacing: 0.2px;
    }
    
    .zack-live-widget-header .twitch-icon {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 38px;
    }
    
    .header-content {
        padding: 0 10px;
        gap: 8px;
        height: 100%;
    }
    
    .app-logo {
        flex: 0 1 auto;
        max-width: 65%;
        display: flex;
        align-items: center;
        height: auto;
    }
    
    .header-widget-container {
        display: flex;
        align-items: center;
        height: auto;
    }
    
    .zack-live-widget-header {
        padding: 5px 8px;
        max-height: 30px;
        display: flex;
        align-items: center;
    }
    
    .zack-live-widget-header .live-label {
        font-size: 10px;
    }
    
    .zack-live-widget-header .twitch-icon {
        width: 11px;
        height: 11px;
    }
}

.header-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 16px rgba(255, 71, 87, 0.5));
}

.logo-text {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-tight);
}

.tagline {
  font-size: 11px;
  color: var(--secondary); /* Rouge au lieu de secondary ancien */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.user-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.points-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--secondary); /* Border rouge */
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.points-counter:hover {
  background: rgba(255, 71, 87, 0.1);
  box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
  transform: scale(1.05);
}

.level-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.level-badge:hover {
  transform: scale(1.05);
}

.glass-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.95) 100%
  );
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-item.active {
  color: var(--secondary); /* Rouge */
  background: linear-gradient(
    135deg,
    rgba(255, 71, 87, 0.1) 0%,
    rgba(229, 80, 57, 0.05) 100%
  );
  border: 1px solid rgba(255, 71, 87, 0.2);
}

.nav-item:hover:not(.active) {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 22px;
}

.nav-item span:last-child {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  white-space: nowrap;
}

/* ===========================================
   🏠 HOME PAGE STYLES - Hero Section Premium
   =========================================== */

.hero-section-zack {
  position: relative;
  height: 320px;
  margin: 24px 20px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-gradient-hero);
  box-shadow: var(--shadow-lg);
}

.hero-bg-pattern {
  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="gaming" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23gaming)"/></svg>');
  opacity: 0.4;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 71, 87, 0.15) 0%,
    rgba(255, 71, 87, 0.05) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.match-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.competition-tag-zack {
  background: rgba(255, 255, 255, 0.1);
  color: var(--highlight); /* Orange */
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  border: 1px solid rgba(255, 165, 2, 0.3);
}

.match-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: 16px;
}

.teams-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 20px 0;
}

.team-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.team-showcase:hover {
  transform: scale(1.05);
}

.team-logo-large {
  font-size: 56px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.team-name-large {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.team-record {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.score-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.current-score-zack {
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary); /* Rouge */
  text-shadow: 0 4px 8px rgba(255, 71, 87, 0.3);
  letter-spacing: var(--letter-spacing-tight);
}

.vs-text {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.watch-button-zack {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border: none;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-red);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.watch-button-zack:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 71, 87, 0.4);
}

.guests-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.4;
}

.guest-highlight {
  color: var(--highlight); /* Orange */
  font-weight: 600;
}

.section-nav-zack {
  padding: 32px 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title-zack {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: var(--letter-spacing-tight);
}

.section-subtitle-zack {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  line-height: 1.4;
}

.nav-filters-zack {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-filters-zack::-webkit-scrollbar {
  display: none;
}

.filter-tab-zack {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 12px 24px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: var(--letter-spacing-wide);
}

.filter-tab-zack.active {
  background: linear-gradient(
    135deg,
    rgba(255, 71, 87, 0.2) 0%,
    rgba(229, 80, 57, 0.1) 100%
  );
  border-color: var(--secondary);
  color: var(--secondary);
}

.filter-tab-zack:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ===========================================
   🃏 MATCH CARD STYLES - Version Premium Rouge
   =========================================== */

.match-card-zack {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  animation: fadeInUp-zack 0.6s ease forwards;
}

.match-card-zack::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--secondary) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.match-card-zack:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-color: rgba(255, 71, 87, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.match-card-zack:hover::before {
  opacity: 1;
}

.card-header-zack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
}

.match-date-time-zack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-date-zack {
  font-size: 13px;
  color: var(--secondary); /* Rouge */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.match-time-zack {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 700;
}

.sponsor-zack {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.2);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.card-body {
  padding: 0 20px 20px;
}

.teams-row-zack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.team-zack {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.team-zack.away {
  flex-direction: row-reverse;
  text-align: right;
}

.team-logo-card-zack {
  font-size: 40px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TeamLogo Component Styling */
.team-logo-container-small {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.team-logo-small {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.team-logo-container-medium {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.team-logo-medium {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.team-logo-container-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.team-logo-large {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.team-logo-container-xlarge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
}

.team-logo-xlarge {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

/* Legacy classes for backward compatibility (will be removed) */
.team-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.hero-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.detail-logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.team-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-name-card-zack {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-tight);
}

.team-form-zack {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.match-center-zack {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.score-display {
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary);
  text-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

.vs-zack {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-meta-zack {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-radius: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.competition-name-zack {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.points-available-zack {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 196, 140, 0.1);
  color: var(--success);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.guests-list-zack {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.guest-name-zack {
  color: var(--highlight); /* Orange */
  font-weight: 600;
}

/* ===========================================
   🧠 QUIZ INTERFACE STYLES - Version Premium Rouge
   =========================================== */

.quiz-interface-container-zack {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: transparent;
}

.quiz-progress-zack {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.progress-header-zack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.back-btn-zack {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--secondary);
  cursor: pointer;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.back-btn-zack:hover {
  background: rgba(255, 71, 87, 0.1);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.question-counter-zack {
  color: var(--highlight); /* Orange */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.progress-bar-zack {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill-zack {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 4px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill-zack::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.quiz-question-container-zack {
  padding: 32px;
  margin-bottom: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.question-header-zack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.question-points-zack {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, var(--secondary), var(--accent));
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  box-shadow: var(--shadow-red);
}

.question-text-zack {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  line-height: 1.4;
  text-align: center;
}

.answers-container-zack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.answer-option-zack {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-size: 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.answer-option-zack::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 71, 87, 0.1) 50%,
    transparent 100%
  );
  transition: left 0.3s ease;
}

.answer-option-zack:hover:not(:disabled)::before {
  left: 100%;
}

.answer-option-zack:hover:not(:disabled) {
  background: rgba(255, 71, 87, 0.05);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.2);
}

.answer-option-zack.correct {
  background: rgba(0, 255, 127, 0.1);
  border-color: var(--success);
  color: var(--success);
  animation: correctPulse 0.6s ease;
}

.answer-option-zack.incorrect {
  background: rgba(255, 99, 132, 0.1);
  border-color: var(--danger);
  color: var(--danger);
  animation: incorrectShake 0.6s ease;
}

@keyframes correctPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes incorrectShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.option-letter-zack {
  width: 32px;
  height: 32px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.answer-option-zack.correct .option-letter-zack {
  background: var(--success);
  animation: glow-zack 1s ease;
}

.answer-option-zack.incorrect .option-letter-zack {
  background: var(--danger);
}

.option-text-zack {
  flex: 1;
}

.correct-icon-zack {
  color: var(--success);
  font-size: 20px;
  font-weight: bold;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Explanation */
.explanation-container {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.explanation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.explanation-header h3 {
    color: #FFD700;
    margin: 0;
    font-size: 18px;
}

.explanation-text {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Quiz Actions */
.quiz-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.next-question-btn,
.finish-quiz-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-question-btn:hover,
.finish-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 171, 226, 0.4);
}

.finish-quiz-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.finish-quiz-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-interface-container {
        padding: 16px;
    }
    
    .quiz-question-container {
        padding: 20px;
    }
    
    .question-text {
        font-size: 20px;
    }
    
    .answer-option {
        padding: 16px;
        font-size: 15px;
    }
    
    .question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ===========================================
   🎨 MAIN LAYOUT STYLES
   =========================================== */

.spl-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Support iOS safe areas pour l'app complète */
@supports (padding-top: env(safe-area-inset-top)) {
  .spl-app {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Header avec glassmorphism - Version consolidée */
.glass-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-height: 80px;
    contain: layout;
}

/* Header mobile - non sticky et légèrement plus compact */
@media (max-width: 768px) {
    .glass-header {
        position: relative;
        padding: 15px 0;
        min-height: 65px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .glass-header {
        position: relative;
        padding: 12px 0;
        min-height: 55px;
        display: flex;
        align-items: center;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    gap: 16px;
}

.app-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-spacer {
    flex-grow: 1;
}

.header-widget-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    align-items: center;
    max-width: 300px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--secondary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.8;
}

.points-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(41, 171, 226, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(41, 171, 226, 0.2);
    color: var(--secondary);
    font-weight: 600;
    animation: pulse 2s infinite;
}

.points-counter .icon {
    font-size: 1.1rem;
}

/* Contenu principal */
.main-content {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation bottom avec glassmorphism */
.glass-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999; /* Augmenté pour toujours rester au-dessus */
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    padding: 12px 16px 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 60px;
    position: relative;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.nav-item.active {
    color: var(--secondary);
    background: rgba(41, 171, 226, 0.1);
    border: 1px solid rgba(41, 171, 226, 0.2);
    box-shadow: 0 0 15px rgba(41, 171, 226, 0.2);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--secondary);
}

.nav-icon {
    font-size: 1.3rem;
    display: block;
}

.nav-item span:last-child {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ===========================================
   📅 HOME PAGE STYLES  
   =========================================== */

.home-container {
    min-height: 100vh;
    padding-bottom: 120px; /* Augmenté pour éviter le chevauchement avec la nav */
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: linear-gradient(45deg, var(--secondary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.9;
}

.quick-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding: 4px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--glass-hover-border);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    box-shadow: 0 0 20px rgba(41, 171, 226, 0.3);
}

.matches-container {
    animation: slideUp 0.6s ease-out;
}

.match-group {
    margin-bottom: 32px;
}

.group-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-left: 4px;
    border-left: 4px solid var(--secondary);
    padding-left: 16px;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin: 0;
}

.fab {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: auto;
    height: 56px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    background: var(--secondary);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(41, 171, 226, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 98;
    animation: slideUp 0.8s ease-out;
}

.fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(41, 171, 226, 0.5);
}

.fab-icon {
    font-size: 1.3rem;
}

.fab-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===========================================
   🎴 MATCH CARD STYLES
   =========================================== */

.match-card {
    cursor: pointer;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--success));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.match-card:hover::before {
    opacity: 1;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.live {
    background: var(--danger);
    color: white;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 15px rgba(229, 80, 57, 0.5);
}

.badge.upcoming {
    background: var(--warning);
    color: white;
}

.badge.finished {
    background: var(--success);
    color: white;
}

.sponsor {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.team-logo {
    font-size: 2.5rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.team-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(41, 171, 226, 0.5);
}

.vs-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.vs-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: linear-gradient(45deg, var(--secondary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.match-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: glow 1s infinite alternate;
}

/* Live Indicator Component Premium Rouge Zack */
.live-indicator-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-indicator-container.compact {
    gap: 8px;
}

.live-badge-zack {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff4757, #e55039);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: pulse-live 2s infinite;
}

.live-badge-zack .live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.live-badge-zack .live-text {
    color: white;
}

.live-badge-zack .live-minute {
    opacity: 0.9;
    margin-left: 4px;
}

@keyframes pulse-live {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.stream-links {
    display: flex;
    gap: 8px;
}

.stream-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.stream-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.stream-link.twitch:hover {
    background: #9146ff;
    border-color: #9146ff;
}

.stream-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.status-badge-zack {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Live Score Display in Cards */
.live-score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.live-score-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 700;
}

.score-home, .score-away {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.score-home.winning, .score-away.winning {
    color: #ff4757;
    text-shadow: 0 0 12px rgba(255, 71, 87, 0.5);
}

.score-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.match-minute {
    font-size: 0.75rem;
    color: #ff4757;
    font-weight: 600;
    background: rgba(255, 71, 87, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.final-score-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 600;
}

.score-home.winner, .score-away.winner {
    color: #ff4757;
}

/* Live Score Board in Match Detail */
.live-score-board {
    display: flex;
    align-items: center;
    gap: 24px;
}

.live-score-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.live-score-large.winning {
    color: #ff4757;
    text-shadow: 0 0 20px rgba(255, 71, 87, 0.6);
    animation: pulse-score 2s infinite;
}

@keyframes pulse-score {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.live-center-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.match-phase-zack {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.competition {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.invites {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
}

.invites-label {
    color: var(--text-secondary);
}

.invites-list {
    color: var(--secondary);
    font-weight: 500;
}

.match-actions {
    display: flex;
    justify-content: center;
}

.glass-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.glass-btn:hover {
    background: #1e96c8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 171, 226, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* ===========================================
   📖 MATCH DETAIL STYLES
   =========================================== */

.match-detail-container {
    min-height: 100vh;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideUp 0.6s ease-out;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.back-btn:hover {
    color: var(--text-primary);
    border-color: var(--secondary);
    background: rgba(41, 171, 226, 0.1);
}

.back-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-btn:hover .back-icon {
    transform: translateX(-2px);
}

.match-main-info {
    padding: 24px;
}

.teams-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.team-logo-large {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: pulse 2s infinite;
}

.team-name-large {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.score-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(41, 171, 226, 0.5);
    animation: glow 2s infinite alternate;
}

.vs-section-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 200px;
    text-align: center;
}

.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(41, 171, 226, 0.1);
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(41, 171, 226, 0.2);
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px;
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(41, 171, 226, 0.5);
}

.countdown-separator {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
}

/* ===========================================
   🎮 LOADING STATES & ANIMATIONS
   =========================================== */

.loading-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-card {
    padding: 20px;
    animation: shimmer 1.5s infinite;
}

.skeleton {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-header {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-teams {
    height: 80px;
    width: 100%;
    margin-bottom: 12px;
}

.skeleton-info {
    height: 40px;
    width: 80%;
}

/* ===========================================
   🎨 ANIMATIONS 
   =========================================== */

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--secondary);
        text-shadow: 0 0 10px rgba(41, 171, 226, 0.5);
    }
    100% {
        box-shadow: 0 0 20px var(--secondary), 0 0 30px rgba(41, 171, 226, 0.3);
        text-shadow: 0 0 20px rgba(41, 171, 226, 0.8);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===========================================
   ⚽ MATCH CENTER STYLES
   =========================================== */

.match-center-container {
    min-height: 100vh;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideUp 0.6s ease-out;
}

/* Header section */
.center-header {
    padding: 24px;
}

/* header-content déplacé vers la section consolidée */

.center-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    background: linear-gradient(45deg, var(--secondary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.9;
}

.quick-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(41, 171, 226, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(41, 171, 226, 0.2);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quiz start card */
.quiz-start-card {
    padding: 32px 24px;
    text-align: center;
}

.quiz-intro {
    max-width: 500px;
    margin: 0 auto;
}

.quiz-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

.quiz-intro h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.quiz-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    line-height: 1.5;
}

.quiz-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.detail-icon {
    font-size: 1.2rem;
}

.start-quiz-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(45deg, var(--secondary), #1e96c8);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(41, 171, 226, 0.3);
    margin: 24px 0;
    min-width: 220px;
}

.start-quiz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 171, 226, 0.4);
}

.start-quiz-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.sponsor-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 16px;
}

/* Quiz active card */
.quiz-active-card {
    padding: 24px;
}

.quiz-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--success));
    transition: width 0.3s ease;
    border-radius: 3px;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Timer section */
.timer-section {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.timer-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-circle.warning {
    animation: pulse 0.5s infinite;
    background: rgba(229, 80, 57, 0.1);
}

.timer-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--secondary) var(--fill-percentage, 0%), transparent 0);
}

.timer-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1;
}

/* Question content */
.question-content {
    transition: all 0.3s ease;
}

.question-content.answered {
    opacity: 0.9;
}

.question-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.options-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.option-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.option-btn.selected {
    background: rgba(41, 171, 226, 0.2);
    border-color: var(--secondary);
}

.option-btn.correct {
    background: rgba(0, 196, 140, 0.2);
    border-color: var(--success);
    animation: correctAnswer 0.6s ease;
}

.option-btn.wrong {
    background: rgba(229, 80, 57, 0.2);
    border-color: var(--danger);
    animation: wrongAnswer 0.6s ease;
}

.option-btn:disabled {
    cursor: not-allowed;
}

.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
}

.result-icon {
    font-size: 1.2rem;
    position: absolute;
    right: 16px;
}

/* Explanation */
.explanation {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(41, 171, 226, 0.1);
    border: 1px solid rgba(41, 171, 226, 0.2);
    border-radius: 12px;
    margin-top: 16px;
    animation: slideUp 0.5s ease;
}

.explanation-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.explanation p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Points earned */
.points-earned {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.points-animation {
    padding: 12px 24px;
    background: linear-gradient(45deg, var(--success), #00a876);
    color: white;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 196, 140, 0.3);
    animation: pointsEarned 0.8s ease;
}

/* Sponsor branding */
.sponsor-branding {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-top: 16px;
}

/* Quiz completed */
.quiz-completed {
    text-align: center;
    padding: 32px 20px;
}

.completion-animation {
    margin-bottom: 32px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounceIn 0.8s ease;
}

.success-icon.perfect {
    animation: perfectScore 1s ease;
}

.quiz-completed h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.final-score {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.score-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-value.points {
    color: var(--secondary);
}

.perfect-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(45deg, #ffb347, #ffa500);
    color: white;
    border-radius: 16px;
    font-weight: 600;
    margin: 24px 0;
    animation: glow 2s infinite alternate;
}

.bonus-icon {
    font-size: 1.2rem;
}

.completion-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.restart-btn, .back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.restart-btn {
    background: var(--secondary);
    color: white;
}

.back-btn {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.restart-btn:hover, .back-btn:hover {
    transform: translateY(-2px);
}

/* Upcoming features */
.upcoming-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.feature-card {
    padding: 24px;
    text-align: center;
    position: relative;
    opacity: 0.6;
}

.feature-card.coming-soon {
    cursor: not-allowed;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.7;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--warning);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================================
   🎮 QUIZ ANIMATIONS
   =========================================== */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes correctAnswer {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); background: rgba(0, 196, 140, 0.3); }
    100% { transform: scale(1); }
}

@keyframes wrongAnswer {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes pointsEarned {
    0% { 
        transform: scale(0.8) translateY(20px); 
        opacity: 0;
    }
    50% { 
        transform: scale(1.1) translateY(-5px); 
        opacity: 1;
    }
    100% { 
        transform: scale(1) translateY(0); 
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% { 
        transform: scale(0.3) translateY(-50px); 
        opacity: 0;
    }
    50% { 
        transform: scale(1.1) translateY(10px); 
        opacity: 1;
    }
    100% { 
        transform: scale(1) translateY(0); 
        opacity: 1;
    }
}

@keyframes perfectScore {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
    }
    25% { 
        transform: scale(1.2) rotate(-5deg); 
    }
    75% { 
        transform: scale(1.2) rotate(5deg); 
    }
}

/* ===========================================
   📱 RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
        padding-top: 12px; /* Un peu moins d'espace en haut car header non-sticky */
    }
    
    .header-content {
        padding: 0 16px;
    }
    
    .teams-detail {
        flex-direction: column;
        gap: 24px;
    }
    
    .team-logo-large {
        font-size: 3rem;
    }
    
    .score-large {
        font-size: 2.5rem;
    }
    
    .glass-nav {
        padding: 10px 12px 12px;
    }
    
    .nav-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    
    .nav-icon {
        font-size: 1.1rem;
    }
    
    .nav-item span:last-child {
        font-size: 0.6rem;
        white-space: nowrap;
    }
    
    .fab {
        bottom: 90px;
        right: 16px;
        height: 50px;
        border-radius: 25px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    /* Logo déjà défini dans les styles principaux */
    
    .main-content {
        padding: 12px;
        padding-top: 10px; /* Un peu moins d'espace en haut sur petits écrans */
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .team-logo {
        font-size: 2rem;
    }
    
    .team-name {
        font-size: 0.8rem;
    }
    
    .match-card {
        margin-bottom: 12px;
    }
    
    .fab {
        height: 48px;
        border-radius: 24px;
        padding: 0 14px;
        gap: 8px;
    }
    
    .fab-text {
        font-size: 0.8rem;
    }
}

/* ===========================================
   📊 PREDICTION SECTION STYLES
   =========================================== */

.prediction-section {
    margin: 24px 0;
}

.prediction-card {
    padding: 24px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.section-title p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.sponsor-badge {
    text-align: right;
}

.sponsor-badge span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.sponsor-badge strong {
    color: var(--secondary);
}

.sponsor-badge small {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 2px;
}

.match-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.match-preview .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.match-preview .team-logo {
    font-size: 2rem;
}

.match-preview .team-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.match-preview .vs {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.prediction-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.prediction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prediction-btn:hover {
    transform: translateY(-2px);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(41, 171, 226, 0.2);
}

.prediction-btn:active {
    transform: translateY(0);
}

.prediction-btn.home:hover {
    border-color: var(--success);
    box-shadow: 0 8px 20px rgba(0, 196, 140, 0.2);
}

.prediction-btn.draw:hover {
    border-color: #ffa500;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.prediction-btn.away:hover {
    border-color: var(--danger);
    box-shadow: 0 8px 20px rgba(229, 80, 57, 0.2);
}

.prediction-icon {
    font-size: 1.5rem;
}

.prediction-label {
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
    line-height: 1.2;
}

.prediction-points {
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 700;
}

.exact-score-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.exact-score-section h4 {
    text-align: center;
    margin: 0 0 16px 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.score-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.score-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.score-input label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.score-input input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.score-input input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(41, 171, 226, 0.2);
}

.score-separator {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 20px;
}

.prediction-btn.exact-score {
    width: 100%;
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(41, 171, 226, 0.1), rgba(0, 196, 140, 0.1));
    border-color: var(--secondary);
}

.prediction-loading, .prediction-submitted {
    text-align: center;
    padding: 40px 20px;
}

.prediction-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.submitted-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.prediction-submitted h3 {
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.prediction-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 12px 0;
}

.prediction-type {
    font-weight: 600;
    color: var(--secondary);
}

.prediction-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.prediction-note {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

/* ===========================================
   🎭 MOOD TRACKER STYLES
   =========================================== */

.mood-section {
    margin: 24px 0;
}

.mood-card {
    padding: 24px;
}

.mood-tracker {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mood-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mood-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mood-btn:hover {
    transform: translateY(-2px);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(41, 171, 226, 0.2);
}

.mood-btn.selected {
    border-color: var(--secondary);
    background: rgba(41, 171, 226, 0.1);
    animation: pulse 2s infinite;
}

.mood-emoji {
    font-size: 2rem;
    transition: transform 0.2s ease;
}

.mood-btn:hover .mood-emoji {
    transform: scale(1.2);
}

.mood-btn.selected .mood-emoji {
    animation: bounce 0.6s ease-out;
}

.mood-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.mood-count {
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 700;
}

.mood-stats {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.participants-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.dominant-mood {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.mood-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mood-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mood-bar-label {
    flex: 0 0 80px;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.mood-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.mood-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.mood-bar-fill.hot {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
}

.mood-bar-fill.calm {
    background: linear-gradient(90deg, #74b9ff, #0984e3);
}

.mood-bar-fill.shocked {
    background: linear-gradient(90deg, #fdcb6e, #e84393);
}

.mood-bar-fill.rage {
    background: linear-gradient(90deg, #e17055, #d63031);
}

.mood-bar-percent {
    flex: 0 0 40px;
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.mood-submitted {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(41, 171, 226, 0.1);
    border: 1px solid rgba(41, 171, 226, 0.2);
    border-radius: 8px;
    margin-top: 16px;
}

.mood-submitted-text {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.mood-submitted-time {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Animations for mood tracker */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: scale(1);
    }
    40%, 43% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1.1);
    }
    90% {
        transform: scale(1.05);
    }
}

/* Responsive design for prediction and mood */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .prediction-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .prediction-btn {
        flex-direction: row;
        justify-content: space-between;
        padding: 16px;
    }
    
    .mood-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .mood-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
}
    .mood-bar-label {
        flex: none;
        text-align: center;
    }
}

/* ===========================================
   🏠 DASHBOARD PAGE STYLES - Rouge Premium
   =========================================== */

.dashboard-container {
    min-height: 100vh;
    padding: 24px 20px 140px; /* Augmenté pour éviter chevauchement avec nav */
    background: var(--bg-base);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 20px;
}

.spinner-zack {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Hero Section Dynamique */
.hero-section-dashboard {
    margin-bottom: 32px;
}

.hero-next-match {
    padding: 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Hero Next Match */
.match-label {
    text-align: center;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
}

.match-teams .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.match-teams img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.match-teams .vs {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary);
    text-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

.countdown-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-reminder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reminder:hover {
    background: rgba(255, 71, 87, 0.2);
    transform: translateY(-2px);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.result-card {
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: var(--shadow-md);
}

.teams-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.teams-result .team {
    display: flex;
    align-items: center;
    gap: 12px;
}

.teams-result .team.winner {
    color: var(--success);
}

.teams-result img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 6px;
}

.teams-result .score {
    margin-left: auto;
    font-size: 18px;
    font-weight: 700;
}

.btn-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-highlights:hover {
    background: rgba(255, 71, 87, 0.2);
}

/* Upcoming Grid */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.upcoming-card {
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upcoming-card.today {
    border-color: rgba(255, 165, 2, 0.3);
    background: linear-gradient(135deg, rgba(255, 165, 2, 0.05) 0%, transparent 100%);
}

.upcoming-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.today-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    background: var(--highlight);
    color: white;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.teams-upcoming {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0;
}

.teams-upcoming .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.teams-upcoming img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.teams-upcoming .vs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.countdown-mini {
    text-align: center;
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.btn-reminder-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reminder-mini:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Latest Video Card */
.latest-video-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 600px; /* Limitation de largeur pour desktop */
    position: relative;
    z-index: 1; /* Assure que le composant reste cliquable */
    margin-bottom: 20px; /* Espace supplémentaire en bas */
}

.latest-video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: var(--shadow-md);
}

.btn-watch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-watch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 71, 87, 0.3);
}

/* Zack Live Widget - Version intégrée au header (Couleurs Twitch) */
.zack-live-widget-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #9146ff, #772ce8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 2px 12px rgba(145, 70, 255, 0.4);
    animation: fadeInUp 0.5s ease-out;
    transition: all 0.3s ease;
    max-height: 45px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.zack-live-widget-header:hover {
    background: linear-gradient(135deg, #a970ff, #8844f0);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(145, 70, 255, 0.5);
    text-decoration: none;
}

.zack-live-widget-header .widget-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zack-live-widget-header .widget-header {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 0;
}

.zack-live-widget-header .live-pulse {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.zack-live-widget-header .live-label {
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.zack-live-widget-header .twitch-icon {
    fill: white;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.zack-live-widget-header:hover .twitch-icon {
    opacity: 1;
}

/* Media queries pour responsive du widget et header */
@media (max-width: 768px) {
    /* Header mobile - déjà défini dans les styles principaux */
    
    .header-content {
        padding: 0 12px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        height: 100%;
        display: flex;
    }
    
    .app-logo {
        flex: 0 1 auto;
        max-width: 60%;
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .header-spacer {
        display: none;
    }
    
    .header-widget-container {
        flex: 0 0 auto;
        margin-left: auto;
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    /* Widget mobile légèrement compact */
    .zack-live-widget-header {
        padding: 6px 10px;
        max-height: 35px;
        font-size: 11px;
    }
    
    .zack-live-widget-header .widget-content {
        gap: 6px;
    }
    
    .zack-live-widget-header .live-pulse {
        width: 6px;
        height: 6px;
    }
    
    .zack-live-widget-header .live-label {
        font-size: 11px;
        letter-spacing: 0.2px;
    }
    
    .zack-live-widget-header .twitch-icon {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
        gap: 6px;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .app-logo {
        flex: 0 1 auto;
        max-width: 65%;
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .header-widget-container {
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .zack-live-widget-header {
        padding: 5px 8px;
        max-height: 32px;
    }
    
    .zack-live-widget-header .live-label {
        font-size: 10px;
    }
    
    .zack-live-widget-header .twitch-icon {
        width: 11px;
        height: 11px;
    }
}

/* Support iOS Dynamic Island */
@supports (padding-top: env(safe-area-inset-top)) {
    .glass-header {
        padding-top: calc(15px + env(safe-area-inset-top));
    }
    
    @media (max-width: 768px) {
        .glass-header {
            padding-top: calc(15px + env(safe-area-inset-top));
        }
    }
    
    @media (max-width: 480px) {
        .glass-header {
            padding-top: calc(12px + env(safe-area-inset-top));
        }
    }
}

/* Desktop large screens */
@media (min-width: 1200px) {
    .header-content {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .header-widget-container {
        max-width: 350px;
    }
    
    .zack-live-widget-header {
        padding: 8px 16px;
        max-height: 45px;
    }
    
    .zack-live-widget-header.expanded {
        max-width: 320px;
    }
}

/* Zack Live Widget - Version flottante (pour Dashboard) */
.zack-live-widget {
    position: fixed;
    top: 100px;
    right: 20px;
    min-width: 220px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.95), rgba(229, 80, 57, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(255, 71, 87, 0.4);
    z-index: 90;
    animation: slideInRight 0.5s ease;
    transition: all 0.3s ease;
    overflow: hidden;
}

.zack-live-widget.expanded {
    min-width: 280px;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.live-pulse {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.live-label {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-match-info {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.widget-teams .team-name {
    font-size: 12px;
    color: white;
    font-weight: 600;
    opacity: 0.9;
}

.widget-teams .score {
    font-size: 16px;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.widget-competition {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-watch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.widget-watch-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: none;
}

/* Animation hover du widget complet */
.zack-live-widget:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 71, 87, 0.5);
}

/* ===========================================
   🎬 CONTENTS PAGE STYLES - Rouge Premium
   =========================================== */

.contents-container {
    min-height: 100vh;
    padding: 24px 20px 100px;
    background: var(--bg-base);
}

/* Header avec statistiques */
.contents-header {
    padding: 24px;
    margin-bottom: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-item.clickable {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.stat-item.clickable:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary);
    text-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filtres et recherche */
.filters-bar {
    padding: 20px;
    margin-bottom: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.category-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(229, 80, 57, 0.1));
    border-color: var(--secondary);
    color: var(--secondary);
}

.filter-btn .icon {
    font-size: 16px;
}

.filter-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 71, 87, 0.05);
}

.sort-select {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Featured Section */
.featured-section {
    margin-bottom: 32px;
}

.featured-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(229, 80, 57, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 71, 87, 0.3);
}

.featured-thumbnail {
    position: relative;
    flex: 0 0 300px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover .play-overlay {
    opacity: 1;
}

.featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary);
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
}

.featured-info h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.video-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--danger);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.video-details {
    padding: 16px;
}

.video-details h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Skeleton Loaders */
.video-skeleton {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.skeleton-thumbnail {
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
    animation: shimmer 2s infinite;
}

.skeleton-title {
    height: 40px;
    margin: 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
    animation: shimmer 2s infinite;
    border-radius: 4px;
}

.skeleton-meta {
    height: 16px;
    margin: 0 16px 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
    animation: shimmer 2s infinite;
    border-radius: 4px;
    width: 60%;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.pagination-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
}

.page-number.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.page-dots {
    color: var(--text-secondary);
}

/* No Videos State */
.no-videos {
    text-align: center;
    padding: 60px 20px;
}

.no-videos svg {
    margin-bottom: 16px;
}

.no-videos p {
    font-size: 16px;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .match-preview {
        gap: 12px;
    }
    
    .match-preview .team-logo {
        font-size: 1.5rem;
    }
    
    .score-inputs {
        gap: 12px;
    }
    
    .score-input input {
        width: 50px;
        height: 36px;
    }
    
    .mood-buttons {
        gap: 12px;
    }
    
    .mood-btn {
        padding: 12px 6px;
    }
    
    .mood-emoji {
        font-size: 1.5rem;
    }
}

/* ===========================================
   🎁 REWARDS SHOP STYLES
   =========================================== */

.rewards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Rewards Header */
.rewards-header {
    padding: 24px;
}

.rewards-header .header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.level-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(41, 171, 226, 0.1);
    border: 1px solid rgba(41, 171, 226, 0.2);
    border-radius: 12px;
}

.level-icon {
    font-size: 2rem;
}

.level-details {
    display: flex;
    flex-direction: column;
}

.level-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.level-number {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}

.points-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(41, 171, 226, 0.1), rgba(0, 196, 140, 0.1));
    border: 1px solid rgba(41, 171, 226, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.points-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.points-icon {
    font-size: 1.5rem;
}

.points-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.points-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-info {
    text-align: center;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--success));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.2);
}

.filter-btn.active {
    background: rgba(41, 171, 226, 0.2);
    border-color: var(--secondary);
    color: var(--text-primary);
}

.filter-icon {
    font-size: 1.1rem;
}

/* Rewards Grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.reward-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.reward-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.reward-card.affordable {
    border-color: rgba(0, 196, 140, 0.3);
}

.reward-card.not-affordable {
    opacity: 0.6;
    border-color: rgba(229, 80, 57, 0.2);
}

.new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    z-index: 2;
}

.sold-out-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    z-index: 2;
}

.reward-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
}

.image-placeholder.digital {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.image-placeholder.physical {
    background: linear-gradient(135deg, #00b894, #00a085);
}

.image-placeholder.experience {
    background: linear-gradient(135deg, #fdcb6e, #e84393);
}

.reward-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.reward-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.reward-cost {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.cost-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.cost-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.reward-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.reward-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sponsor-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sponsor-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.sponsor-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
}

.stock-info {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.reward-actions {
    margin-top: 16px;
}

.purchase-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.purchase-btn.enabled {
    background: linear-gradient(135deg, var(--secondary), var(--success));
    border: 1px solid var(--secondary);
    color: white;
}

.purchase-btn.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(41, 171, 226, 0.3);
}

.purchase-btn.disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.empty-state h3 {
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.empty-state p {
    color: var(--text-secondary);
    margin: 0;
}

/* Recent Purchases */
.recent-purchases {
    padding: 24px;
}

.recent-purchases h2 {
    color: var(--text-primary);
    margin: 0 0 16px 0;
    font-size: 1.3rem;
}

.purchases-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.purchase-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.purchase-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.purchase-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.purchase-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.purchase-cost {
    font-weight: 700;
    color: var(--danger);
    margin: 0 16px;
}

.purchase-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.purchase-status.confirmed {
    background: rgba(0, 196, 140, 0.2);
    color: var(--success);
}

.purchase-status.pending {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

/* Purchase Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.purchase-modal {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--text-primary);
}

.reward-preview {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.preview-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.preview-info {
    flex: 1;
}

.preview-info h4 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.preview-info p {
    margin: 0 0 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.purchase-summary {
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row.total {
    border-bottom: none;
    padding-top: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

.cost-highlight {
    color: var(--secondary);
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cancel-btn, .confirm-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.confirm-btn {
    background: linear-gradient(135deg, var(--secondary), var(--success));
    border: 1px solid var(--secondary);
    color: white;
}

.confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(41, 171, 226, 0.3);
}

.confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Animation */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    animation: fadeIn 0.3s ease;
}

.success-animation {
    text-align: center;
    padding: 40px;
    animation: slideUp 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounce 0.8s ease-out;
}

.success-animation h2 {
    color: var(--success);
    margin: 0 0 8px 0;
    font-size: 2rem;
}

.success-animation p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.1rem;
}

/* Animations */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .rewards-container {
        padding: 16px;
        gap: 20px;
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .user-info {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .level-badge {
        justify-content: center;
    }
    
    .points-display {
        justify-content: center;
    }
    
    .category-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .reward-card {
        padding: 16px;
    }
    
    .reward-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .reward-cost {
        align-items: flex-start;
    }
    
    .purchase-modal {
        width: 95%;
        margin: 16px;
    }
    
    .reward-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .preview-image {
        align-self: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .cancel-btn, .confirm-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .reward-name {
        font-size: 1rem;
    }
    
    .cost-value {
        font-size: 1.1rem;
    }
    
    .success-animation {
        padding: 20px;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-animation h2 {
        font-size: 1.5rem;
    }
    
    .success-animation p {
        font-size: 1rem;
    }
}

/* ===========================================
   📚 QUIZ ACADEMY STYLES
   =========================================== */

.academy-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Academy Header */
.academy-header {
    padding: 24px;
    text-align: center;
}

.academy-title h1 {
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-size: 1.8rem;
}

.academy-title .subtitle {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

.streak-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 20px;
    width: fit-content;
    margin: 16px auto 0;
}

.streak-icon {
    font-size: 1.5rem;
}

.streak-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.streak-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.streak-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Daily Quiz Section */
.daily-quiz-card {
    padding: 24px;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.quiz-date h2 {
    color: var(--text-primary);
    margin: 0 0 4px 0;
    font-size: 1.4rem;
}

.date-display {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: capitalize;
}

.quiz-theme {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.theme-icon {
    font-size: 1.2rem;
}

.theme-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.quiz-difficulty {
    margin-bottom: 20px;
}

.difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty-badge.easy {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.difficulty-badge.medium {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.difficulty-badge.hard {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.quiz-start {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.quiz-rewards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.reward-icon {
    font-size: 1.1rem;
}

.start-daily-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--secondary), var(--success));
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-daily-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 171, 226, 0.3);
}

.start-daily-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.quiz-completed {
    text-align: center;
    padding: 40px 20px;
}

.completed-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.quiz-completed h3 {
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.quiz-completed p {
    color: var(--text-secondary);
    margin: 0 0 16px 0;
}

.next-quiz-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    color: var(--secondary);
    font-weight: 600;
}

/* Practice Section */
.practice-section {
    margin: 24px 0;
}

.practice-section h2 {
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-size: 1.4rem;
}

.section-subtitle {
    color: var(--text-secondary);
    margin: 0 0 20px 0;
}

.difficulty-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.difficulty-card {
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 1;
}

.difficulty-card.locked {
    opacity: 0.5;
}

.difficulty-card:not(.locked):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.difficulty-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.level-icon {
    font-size: 1.8rem;
}

.difficulty-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.2rem;
}

.difficulty-description p {
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.difficulty-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.difficulty-stats span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.practice-btn {
    width: 100%;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.practice-btn:hover:not(:disabled) {
    background: rgba(41, 171, 226, 0.2);
    border-color: var(--secondary);
}

.practice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* History Section */
.history-section {
    margin: 24px 0;
}

.history-section h2 {
    color: var(--text-primary);
    margin: 0 0 16px 0;
    font-size: 1.4rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.history-item.completed {
    border-left: 4px solid var(--success);
}

.history-item.missed {
    border-left: 4px solid var(--danger);
}

.history-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.day {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.month {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.history-info {
    flex: 1;
}

.history-theme {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.difficulty-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-icon {
    font-size: 1.2rem;
}

/* Stats Section */
.stats-section {
    margin: 24px 0;
}

.stats-section h2 {
    color: var(--text-primary);
    margin: 0 0 16px 0;
    font-size: 1.4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 20px;
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ===========================================
   👤 PROFILE PAGE STYLES
   =========================================== */

.profile-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.user-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--success));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.user-info {
    flex: 1;
}

.username {
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(41, 171, 226, 0.2);
    border-radius: 16px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.join-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.next-level-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    min-width: 200px;
}

.next-level-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.next-icon {
    font-size: 1.5rem;
}

.next-details {
    display: flex;
    flex-direction: column;
}

.next-title {
    color: var(--text-primary);
    font-weight: 600;
}

.points-needed {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Stats Overview */
.stats-section h2 {
    color: var(--text-primary);
    margin: 0 0 20px 0;
    font-size: 1.5rem;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
}

.stat-content {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.stat-total {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.stat-progress, .level-progress {
    margin-bottom: 8px;
}

.stat-trend {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.stat-trend.positive {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.stat-trend.neutral {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: center;
    display: block;
}

/* Milestones */
.milestones-section h2 {
    color: var(--text-primary);
    margin: 0 0 20px 0;
    font-size: 1.5rem;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.milestone-card {
    padding: 20px;
    transition: all 0.3s ease;
}

.milestone-card:not(.completed):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.milestone-card.completed {
    border-color: rgba(76, 175, 80, 0.5);
    background: rgba(76, 175, 80, 0.05);
}

.milestone-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.milestone-icon {
    font-size: 1.8rem;
    opacity: 0.7;
}

.milestone-icon.completed {
    opacity: 1;
}

.milestone-info {
    flex: 1;
}

.milestone-title {
    color: var(--text-primary);
    margin: 0 0 4px 0;
    font-size: 1.1rem;
}

.milestone-description {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.completion-check {
    font-size: 1.2rem;
    color: var(--success);
}

.milestone-progress {
    margin-bottom: 12px;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.progress-current {
    font-weight: 700;
    color: var(--text-primary);
}

.progress-separator {
    color: var(--text-secondary);
}

.progress-target {
    color: var(--text-secondary);
}

.progress-fill.completed {
    background: linear-gradient(90deg, var(--success), #66bb6a);
}

.milestone-reward {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.8rem;
}

.reward-icon {
    font-size: 1rem;
}

.reward-text {
    color: var(--text-secondary);
}

/* Badges Collection */
.badges-section h2 {
    color: var(--text-primary);
    margin: 0 0 12px 0;
    font-size: 1.5rem;
}

.badges-stats {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.completion-rate {
    color: var(--secondary);
    font-weight: 600;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.badge-card {
    padding: 16px;
    transition: all 0.3s ease;
}

.badge-card.unlocked {
    opacity: 1;
}

.badge-card.locked {
    opacity: 0.5;
}

.badge-card.unlocked:hover {
    transform: translateY(-2px);
}

.badge-card.common {
    border-color: rgba(158, 158, 158, 0.3);
}

.badge-card.rare {
    border-color: rgba(33, 150, 243, 0.3);
}

.badge-card.epic {
    border-color: rgba(156, 39, 176, 0.3);
}

.badge-card.legendary {
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.badge-icon {
    text-align: center;
    margin-bottom: 12px;
}

.icon-unlocked {
    font-size: 2.5rem;
}

.icon-locked {
    font-size: 2.5rem;
    opacity: 0.3;
}

.badge-info {
    text-align: center;
    margin-bottom: 12px;
}

.badge-name {
    color: var(--text-primary);
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.badge-description {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.badge-rarity {
    text-align: center;
    margin-bottom: 8px;
}

.rarity-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.rarity-badge.common {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
}

.rarity-badge.rare {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.rarity-badge.epic {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.rarity-badge.legendary {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.unlock-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Activity Section */
.activity-section h2 {
    color: var(--text-primary);
    margin: 0 0 16px 0;
    font-size: 1.5rem;
}

.activity-list {
    padding: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.activity-text {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.activity-points {
    color: var(--success);
    font-weight: 600;
    font-size: 0.8rem;
}

.activity-cost {
    color: var(--danger);
    font-weight: 600;
    font-size: 0.8rem;
}

.activity-reward {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .academy-container, .profile-container {
        padding: 16px;
        gap: 20px;
    }
    
    .quiz-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .difficulty-options {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .next-level-preview {
        width: 100%;
        min-width: auto;
    }
    
    .milestones-grid, .badges-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quiz-rewards {
        flex-direction: column;
        gap: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .milestone-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===================================================
   📱 RESPONSIVE PREMIUM GAMING - AMÉLIORATIONS ZACK
   =================================================== */

/* Mobile optimizations spécifiques au design rouge */
@media (max-width: 768px) {
  .hero-section-zack {
    margin: 16px;
    min-height: 320px;
    height: auto;
  }

  .hero-content {
    padding: 20px;
    gap: 16px;
    justify-content: flex-start;
  }

  .teams-showcase {
    gap: 20px;
  }

  .team-logo-large {
    font-size: 48px;
  }

  .current-score-zack {
    font-size: 28px;
  }

  .section-nav-zack {
    padding: 24px 16px 20px;
  }

  .match-card-zack {
    margin-bottom: 16px;
  }

  .quiz-question-container-zack {
    padding: 20px;
  }

  .question-text-zack {
    font-size: 20px;
  }

  .answer-option-zack {
    padding: 16px;
    font-size: 15px;
  }

  /* Mood stats mobile - s'assurer de l'affichage correct */
  .mood-stats {
    padding: 16px;
    margin: 16px 0;
  }

  .mood-bar {
    gap: 8px;
  }

  .mood-bar-label {
    flex: 0 0 70px;
    font-size: 0.75rem;
  }

  .mood-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px;
    flex: 1;
    overflow: hidden !important;
    position: relative !important;
  }

  .mood-bar-fill {
    height: 100% !important;
    border-radius: 4px;
    min-width: 4px !important;    /* Largeur minimale plus visible */
    max-width: 100% !important;   /* S'assurer qu'on ne dépasse pas */
    display: block !important;
    opacity: 1 !important;
    position: relative !important;
    transition: width 0.5s ease !important;
  }

  /* S'assurer que les gradients sont visibles */
  .mood-bar-fill.hot {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53) !important;
  }

  .mood-bar-fill.calm {
    background: linear-gradient(90deg, #74b9ff, #0984e3) !important;
  }

  .mood-bar-fill.shocked {
    background: linear-gradient(90deg, #fdcb6e, #e84393) !important;
  }

  .mood-bar-fill.rage {
    background: linear-gradient(90deg, #e17055, #d63031) !important;
  }

  .mood-bar-percent {
    flex: 0 0 35px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .user-status {
    flex-direction: column;
    gap: 8px;
  }

  .hero-section-zack {
    min-height: 300px;
    height: auto;
    margin: 12px;
  }

  .hero-content {
    padding: 16px;
    gap: 12px;
    justify-content: flex-start;
  }

  .team-logo-large {
    font-size: 40px;
  }

  .current-score-zack {
    font-size: 24px;
  }

  .watch-button-zack {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Mood stats petit mobile */
  .mood-stats {
    padding: 12px;
    margin: 12px 0;
  }

  .mood-bar {
    gap: 6px;
  }

  .mood-bar-label {
    flex: 0 0 60px;
    font-size: 0.7rem;
  }

  .mood-bar-track {
    height: 6px;
    overflow: hidden !important;
    position: relative !important;
  }

  .mood-bar-percent {
    flex: 0 0 30px;
    font-size: 0.65rem;
  }

  /* Forcer l'affichage des barres sur très petit mobile */
  .mood-bar-fill {
    min-width: 3px !important;
    height: 100% !important;
    position: relative !important;
  }
}

/* ===================================================
   ⚡ OPTIMISATIONS PERFORMANCE PREMIUM
   =================================================== */

/* GPU acceleration pour animations */
.match-card-zack,
.hero-section-zack,
.answer-option-zack {
  transform: translateZ(0);
  will-change: transform;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .match-card-zack,
  .answer-option-zack,
  .hero-section-zack {
    animation: none;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states premium */
button:focus,
.answer-option-zack:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.3);
  border-color: var(--secondary);
}

/* ===================================================
   💻 DESKTOP RESPONSIVE IMPROVEMENTS - Rouge Premium
   =================================================== */

/* Desktop standard (1200px+) */
@media (min-width: 1200px) {
  /* Layout général */
  .main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px 120px;
  }

  .header-content {
    max-width: 1400px;
    padding: 0 40px;
  }

  /* HeroSection desktop */
  .hero-section-zack {
    height: 400px;
    margin: 32px 0;
    border-radius: 24px;
  }

  .hero-content {
    padding: 40px;
  }

  .team-logo-large {
    font-size: 80px;
  }

  .team-name-large {
    font-size: 28px;
  }

  .team-record {
    font-size: 16px;
  }

  .current-score-zack {
    font-size: 48px;
  }

  .vs-text {
    font-size: 18px;
  }

  .watch-button-zack {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 20px;
  }

  .cta-section {
    margin-bottom: 32px;
  }

  /* MatchCard desktop - grille flexible */
  .matches-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
  }

  .match-card-zack {
    margin-bottom: 0;
    transition: all 0.3s ease;
  }

  .match-card-zack:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 71, 87, 0.15);
  }

  .card-header-zack {
    padding: 24px 24px 0;
  }

  .card-body {
    padding: 0 24px 24px;
  }

  .team-logo-card-zack {
    font-size: 48px;
  }

  .team-name-card-zack {
    font-size: 20px;
  }

  .match-meta-zack {
    padding: 20px;
  }

  /* Section navigation */
  .section-nav-zack {
    padding: 40px 0 32px;
  }

  .section-title-zack {
    font-size: 28px;
  }

  .section-subtitle-zack {
    font-size: 16px;
  }

  .nav-filters-zack {
    gap: 8px;
  }

  .filter-tab-zack {
    padding: 16px 32px;
    font-size: 15px;
  }

  /* Quiz interface desktop */
  .quiz-interface-container-zack {
    max-width: 1000px;
    padding: 32px;
  }

  .quiz-question-container-zack {
    padding: 32px;
  }

  .question-text-zack {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 32px;
  }

  .answers-container-zack {
    gap: 16px;
  }

  .answer-option-zack {
    padding: 20px 24px;
    font-size: 16px;
  }

  /* Navigation bottom desktop */
  .glass-nav {
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    padding: 8px 0 10px;   /* Ultra compact: 18px total */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: none;
  }

  /* FAB desktop - avec espacement optimal */
  .fab {
    bottom: 90px;   /* Position proche de la nav compacte */
    right: 40px;
    height: 60px;
    border-radius: 30px;
    padding: 0 24px;
    gap: 14px;
    z-index: 101;   /* Au-dessus de la navigation (z-index: 100) */
  }

  .fab-text {
    font-size: 1rem;
    font-weight: 700;
  }

  .fab-icon {
    font-size: 1.4rem;
  }

  .nav-item {
    padding: 10px 16px;   /* Compact: 16px 20px → 10px 16px */
    gap: 6px;             /* Réduit l'espace icône-texte */
  }

  .nav-icon {
    font-size: 20px;      /* Icônes plus petites: 24px → 20px */
  }

  .nav-item span:last-child {
    font-size: 11px;      /* Texte plus petit: 12px → 11px */
    font-weight: 600;     /* Plus de poids pour compenser */
  }

  /* Mood stats desktop - s'assurer que les barres s'affichent correctement */
  .mood-stats {
    padding: 24px;
  }

  .mood-bar-track {
    height: 10px;         /* Légèrement plus épais sur desktop */
  }

  .mood-bar-fill {
    height: 100%;
    min-width: 2px;       /* Assurer une largeur minimum visible */
  }

  .mood-bar-label {
    flex: 0 0 100px;      /* Plus d'espace pour les labels */
    font-size: 0.9rem;
  }

  .mood-bar-percent {
    flex: 0 0 50px;
    font-size: 0.8rem;
  }
}

/* Desktop large (1440px+) */
@media (min-width: 1440px) {
  .main-content {
    max-width: 1600px;
    padding: 32px 60px 120px;
  }

  .header-content {
    max-width: 1600px;
    padding: 0 60px;
  }

  /* HeroSection plus grand */
  .hero-section-zack {
    height: 450px;
  }

  .hero-content {
    padding: 50px;
  }

  .team-logo-large {
    font-size: 90px;
  }

  .current-score-zack {
    font-size: 54px;
  }

  .cta-section {
    margin-bottom: 40px;
  }

  /* Grille matchs 3 colonnes */
  .matches-list {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
  }

  /* Quiz interface large */
  .quiz-interface-container-zack {
    max-width: 1200px;
    padding: 40px;
  }

  .question-text-zack {
    font-size: 28px;
  }

  /* Points et badges plus grands */
  .points-counter {
    padding: 12px 20px;
    font-size: 16px;
  }

  .level-badge {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Navigation large desktop */
  .glass-nav {
    gap: 80px;
    padding: 6px 0 8px;    /* Ultra compact: 14px total */
  }

  /* FAB large desktop */
  .fab {
    bottom: 85px;  /* Ajusté avec nav plus compacte */
    right: 60px;
    height: 64px;
    border-radius: 32px;
    z-index: 101;
  }

  /* Mood stats large desktop */
  .mood-stats {
    padding: 28px;
  }

  .mood-bar-track {
    height: 12px;
  }
}

/* Desktop ultra-large (1920px+) */
@media (min-width: 1920px) {
  .main-content {
    max-width: 1800px;
  }

  .header-content {
    max-width: 1800px;
  }

  .hero-section-zack {
    height: 500px;
  }

  .matches-list {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
  }

  .quiz-interface-container-zack {
    max-width: 1400px;
  }

  /* Navigation ultra-large desktop */
  .glass-nav {
    gap: 100px;
    padding: 4px 0 6px;   /* Ultra-minimal: 10px total */
  }

  /* FAB ultra-large desktop */
  .fab {
    bottom: 80px;   /* Proche mais visible avec z-index */
    right: 80px;
    z-index: 101;
  }
}

/* ===========================================
   📺 CONTENT PAGE STYLES - Phase 2 SPL v2.0
   =========================================== */

.content-page-zack {
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: var(--letter-spacing-tight);
}

.title-icon {
  font-size: 36px;
  filter: drop-shadow(0 4px 8px rgba(255, 71, 87, 0.3));
}

.subtitle {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  margin-left: 8px;
}

.page-description {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
}

/* Category Filters avec scroll horizontal comme Matches */
.category-filters-zack {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-bottom: 40px;
  padding: 0 10px 8px;
}

/* Scrollbar design pour desktop */
.category-filters-zack::-webkit-scrollbar {
  height: 3px;
}

.category-filters-zack::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.category-filters-zack::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 3px;
}

.category-filters-zack .filter-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
  min-width: 100px;
  height: 44px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
}

.category-filters-zack .filter-btn:hover {
  background: rgba(255, 71, 87, 0.1);
  border-color: var(--secondary);
  transform: translateY(-1px);
}

.category-filters-zack .filter-btn:active {
  transform: scale(0.95);
}

.category-filters-zack .filter-btn.active {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(229, 80, 57, 0.1));
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.filter-icon {
  font-size: 16px;
}

.category-filters-zack .filter-btn .count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--secondary);
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* Section Headers */
.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.section-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(255, 71, 87, 0.3));
}

.badge-new, .badge-fav, .badge-count {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

.badge-fav {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Video Grid */
.video-grid-zack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Video Cards */
.video-card-zack {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.video-card-zack:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 71, 87, 0.3);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 71, 87, 0.2);
}

/* Video thumbnail placeholder */
.video-thumbnail-placeholder {
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(229, 80, 57, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.3;
}

.badge-nouveau {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--highlight), #ff6348);
  color: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

/* Video Thumbnail */
.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #1e1e2e, #2d1b69);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
  opacity: 1;
}

.play-button {
  background: rgba(255, 71, 87, 0.9);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: scale(1);
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
}

.play-icon {
  font-size: 24px;
  margin-left: 2px;
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* Video Info */
.video-info {
  padding: 20px;
}

.video-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.video-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.favorite-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

.favorite-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.favorite-btn.active:hover {
  transform: scale(1.2);
}

.heart-icon {
  font-size: 20px;
  transition: all 0.3s ease;
}

.video-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.video-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.views, .date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-icon {
  font-size: 10px;
  opacity: 0.7;
}

.video-category {
  display: flex;
}

.category-badge {
  background: rgba(255, 71, 87, 0.15);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.category-icon {
  font-size: 12px;
}

/* Video Actions */
.video-actions {
  margin-top: 16px;
}

.btn-youtube {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border: none;
  border-radius: 14px;
  color: white;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-youtube:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.youtube-icon {
  font-size: 16px;
}

/* Loading State */
.loading-state-zack {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 71, 87, 0.2);
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

/* Empty State */
.empty-state-zack {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state-zack h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.empty-state-zack p {
  margin: 0;
}

/* Responsive - Mobile Enhanced */
@media (max-width: 480px) {
  .content-page-zack {
    padding: 15px 15px 80px; /* Bottom padding for navigation */
  }

  .page-title {
    font-size: 20px; /* More compact on mobile */
    flex-direction: column;
    gap: 8px;
  }
  
  .page-description {
    font-size: 13px;
    padding: 0 10px;
  }

  .category-filters-zack {
    gap: 6px;
    padding: 0 15px 8px;
    margin: 0 -15px 25px;
  }
  
  /* Hide scrollbar on mobile for cleaner look */
  .category-filters-zack::-webkit-scrollbar {
    display: none;
  }

  .category-filters-zack .filter-btn {
    min-width: 80px;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  
  .filter-icon {
    font-size: 15px;
  }
  
  .category-filters-zack .filter-btn .count {
    font-size: 10px;
    padding: 1px 4px;
    min-width: 18px;
    top: -3px;
    right: -3px;
  }

  .video-grid-zack {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Video card mobile optimizations */
  .video-card-zack {
    border-radius: 12px;
  }
  
  .video-info {
    padding: 12px;
  }
  
  .video-title {
    font-size: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .video-description {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .video-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  
  .video-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
  }
  
  .category-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .btn-youtube {
    font-size: 13px;
    padding: 10px 16px;
    width: 100%;
    justify-content: center;
  }
  
  /* Section headers mobile */
  .section-header {
    margin-bottom: 16px;
  }
  
  .section-title {
    font-size: 18px;
    gap: 8px;
  }
  
  .section-icon {
    font-size: 20px;
  }
  
  /* Loading and empty states */
  .loading-state-zack,
  .empty-state-zack {
    padding: 40px 20px;
  }
  
  .empty-icon {
    font-size: 48px;
  }
}

/* Responsive - Desktop */
@media (min-width: 1200px) {
  .content-page-zack {
    max-width: 1600px;
  }

  .video-grid-zack {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .page-title {
    font-size: 36px;
  }
}

/* Responsive - Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
  .video-grid-zack {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Responsive - Large Desktop */
@media (min-width: 1440px) {
  .video-grid-zack {
    grid-template-columns: repeat(3, minmax(0, 450px));
    justify-content: center;
    gap: 32px;
  }
}

/* ===========================================
   🎬 SKELETON LOADERS - Video Content Loading
   =========================================== */

.skeleton-video-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.skeleton-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  overflow: hidden;
}

.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 71, 87, 0.1) 50%,
    transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

.skeleton-info {
  padding: 16px;
}

.skeleton-title {
  margin-bottom: 12px;
}

.skeleton-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%);
  animation: shimmer 2s infinite;
}

.skeleton-line-full {
  width: 100%;
}

.skeleton-line-three-quarters {
  width: 75%;
}

.skeleton-line-half {
  width: 50%;
}

.skeleton-description {
  margin-bottom: 16px;
}

.skeleton-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.skeleton-meta-item {
  height: 24px;
  width: 80px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.skeleton-meta-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%);
  animation: shimmer 2s infinite;
}

.skeleton-button {
  height: 40px;
  background: rgba(255, 71, 87, 0.1);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.skeleton-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 71, 87, 0.05) 50%,
    transparent 100%);
  animation: shimmer 2s infinite;
}

/* Skeleton grid container */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Mobile skeleton adjustments */
@media (max-width: 480px) {
  .skeleton-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .skeleton-info {
    padding: 12px;
  }
}

/* ===========================================
   💬 CHAT & HYPE METER STYLES - Phase 3 SPL v2.0
   =========================================== */

/* Chat Section */
.chat-section {
  margin-bottom: 30px;
}

.chat-card {
  padding: 30px;
}

/* Commands Grid */
.commands-section h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.command-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s ease;
}

.command-card:hover {
  border-color: rgba(255, 71, 87, 0.3);
  transform: translateY(-2px);
}

.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.command-name {
  color: var(--secondary);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 14px;
}

.usage-count {
  color: var(--text-tertiary);
  font-size: 12px;
}

.command-description {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.command-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.command-example {
  color: var(--text-tertiary);
  font-size: 11px;
  font-style: italic;
}

.test-command-btn {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border: none;
  border-radius: 8px;
  color: white;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.test-command-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* Chat Feed */
.chat-feed-section h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.chat-feed {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.chat-response {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  border-left: 3px solid var(--secondary);
}

.chat-response:last-child {
  margin-bottom: 0;
}

.response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.command-used {
  color: var(--secondary);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 600;
}

.response-time {
  color: var(--text-tertiary);
  font-size: 11px;
}

.response-text {
  color: var(--text-primary);
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.no-responses {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Hype Meter Styles */
.hype-meter-zack {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 30px;
}

.hype-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.hype-header h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.hype-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

.viewer-count, .chat-activity {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hype-meter-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

/* Circular Hype Meter */
.hype-circle {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.hype-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hype-progress {
  transition: stroke-dasharray 1s ease-in-out;
  filter: drop-shadow(0 0 8px rgba(255, 71, 87, 0.5));
}

.hype-progress.extreme {
  animation: hype-pulse 1.5s ease-in-out infinite;
}

.hype-progress.high {
  animation: hype-glow 2s ease-in-out infinite;
}

.hype-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hype-percentage {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.hype-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Intensity Indicator */
.intensity-indicator {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intensity-bar {
  display: flex;
  gap: 4px;
  height: 20px;
}

.intensity-segment {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.intensity-segment.active {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.intensity-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

/* Recent Events */
.recent-events h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.event-type {
  font-size: 16px;
}

.event-type.goal {
  animation: bounce 0.5s ease;
}

.event-text {
  flex: 1;
  color: var(--text-secondary);
  font-size: 13px;
}

.event-time {
  color: var(--text-tertiary);
  font-size: 11px;
}

.event-spike {
  background: var(--secondary);
  color: white;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

/* Hype Timeline */
.hype-timeline h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 16px 0;
}

.timeline-chart {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  height: 120px;
}

.timeline-svg {
  width: 100%;
  height: 100%;
}

.no-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
  font-size: 14px;
}

.hype-loading, .hype-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.hype-loading .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 71, 87, 0.2);
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.error-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.retry-btn {
  background: var(--secondary);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.retry-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* Community Votes Section */
.community-votes-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.votes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.votes-header h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.participants-count {
  color: var(--text-secondary);
  font-size: 14px;
}

.votes-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.vote-bar {
  transition: all 0.3s ease;
}

.vote-bar.correct-option {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 8px;
  padding: 8px;
}

.vote-bar.user-choice {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 8px;
  padding: 8px;
}

.vote-bar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.vote-option {
  background: var(--secondary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.vote-percentage {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 16px;
  min-width: 50px;
}

.vote-count {
  color: var(--text-secondary);
  font-size: 14px;
  flex: 1;
}

.correct-mark, .user-mark {
  font-size: 16px;
}

.correct-mark {
  color: #2ecc71;
}

.user-mark {
  color: var(--secondary);
}

.vote-bar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 10px;
  transition: width 0.8s ease-out;
  animation: vote-fill 0.8s ease-out;
}

.vote-bar-fill.correct {
  background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.votes-comparison {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
}

.success-comparison {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.wrong-comparison {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.comparison-icon {
  font-size: 18px;
  margin-right: 8px;
}

/* Animations */
@keyframes hype-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 71, 87, 0.5)); }
  50% { filter: drop-shadow(0 0 16px rgba(255, 71, 87, 0.8)); }
}

@keyframes hype-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 71, 87, 0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(255, 71, 87, 0.6)); }
}

@keyframes vote-fill {
  from { width: 0; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .hype-meter-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hype-circle {
    width: 120px;
    height: 120px;
  }
  
  .hype-percentage {
    font-size: 24px;
  }
  
  .commands-grid {
    grid-template-columns: 1fr;
  }
  
  .vote-bar-header {
    gap: 8px;
  }
  
  .vote-percentage {
    font-size: 14px;
    min-width: 40px;
  }
}

/* ===========================================
   🎯 QUIZ MANAGER STYLES - Admin Interface
   =========================================== */

.quiz-manager-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px);
}

.admin-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.quiz-section {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 24px;
  backdrop-filter: blur(20px);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 600;
}

.queue-count {
  color: var(--text-secondary);
  font-size: 14px;
  background: rgba(255, 71, 87, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 71, 87, 0.2);
}

/* Quiz Queue */
.quiz-queue {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quiz-queue-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.quiz-queue-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2);
}

.quiz-queue-item.ready {
  border-left: 4px solid #22c55e;
}

.quiz-queue-item.pending {
  border-left: 4px solid #f59e0b;
}

.quiz-info {
  flex: 1;
}

.quiz-info h4 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
}

.quiz-description {
  margin: 0 0 12px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.quiz-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.quiz-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.quiz-meta i {
  color: var(--secondary);
}

.quiz-status {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.quiz-status.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.quiz-status.ready {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.quiz-status.active {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.quiz-status.completed {
  background: rgba(107, 114, 128, 0.2);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.quiz-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Current Session */
.current-session {
  border: 2px solid var(--secondary);
  background: rgba(255, 71, 87, 0.05);
}

.session-controls {
  display: flex;
  gap: 12px;
}

.current-session-info h4 {
  margin: 0 0 16px 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
}

.session-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transition: width 0.5s ease;
}

.session-stats {
  display: flex;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Quiz Grid */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quiz-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 71, 87, 0.2);
}

.quiz-card.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.quiz-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.quiz-card-header h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.quiz-card-content p {
  margin: 0 0 12px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.quiz-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quiz-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-tertiary);
  font-size: 12px;
}

.quiz-stats i {
  color: var(--secondary);
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-tertiary);
  font-size: 11px;
}

.quiz-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* Search Controls */
.search-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-controls .form-control {
  min-width: 200px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.search-controls .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(255, 71, 87, 0.25);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--text-tertiary);
}

.empty-state p {
  margin: 0 0 24px 0;
  font-size: 16px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: var(--bg-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

.quiz-modal {
  width: 800px;
  max-width: 90vw;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
  flex: 1;
}

.form-check-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.form-check-input:checked {
  background: var(--secondary);
  border-color: var(--secondary);
}

.form-check-label {
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
}

/* Questions Section */
.questions-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.question-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.question-header span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.option-input {
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
}

.input-group-prepend .input-group-text {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.input-group .form-control {
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.input-group-append .btn {
  border-radius: 0 8px 8px 0;
  border-left: none;
}

.add-option-btn {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 8px 16px;
  font-size: 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Loading States */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .quiz-manager-container {
    padding: 16px;
    gap: 24px;
  }
  
  .admin-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .admin-actions {
    width: 100%;
    justify-content: center;
  }
  
  .quiz-queue-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .quiz-actions {
    width: 100%;
    justify-content: center;
  }
  
  .quiz-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    margin: 20px;
    width: calc(100vw - 40px);
  }
  
  .modal-body {
    padding: 24px;
  }
  
  .session-progress {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .session-stats {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===========================================
   🎮 LIVE QUIZ STYLES - Interactive Quiz Interface
   =========================================== */

.live-quiz-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Loading State */
.quiz-loading {
  text-align: center;
  padding: 60px 20px;
}

.quiz-loading .loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 71, 87, 0.2);
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

.quiz-loading h2 {
  color: var(--text-primary);
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 600;
}

.quiz-loading p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 16px;
}

/* No Quiz State */
.no-quiz-state {
  text-align: center;
  padding: 60px 24px;
  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.no-quiz-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

.no-quiz-state h2 {
  color: var(--text-primary);
  margin: 0 0 12px 0;
  font-size: 28px;
  font-weight: 700;
}

.no-quiz-state > p {
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  font-size: 16px;
}

.quiz-schedule {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.quiz-schedule h3 {
  color: var(--text-primary);
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
}

.upcoming-quiz {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 12px;
  border-left: 3px solid var(--secondary);
}

.upcoming-quiz:last-child {
  margin-bottom: 0;
}

.quiz-title {
  color: var(--text-primary);
  font-weight: 600;
  flex: 1;
}

.quiz-time {
  color: var(--text-secondary);
  font-size: 14px;
  font-family: monospace;
}

/* Quiz Lobby */
.quiz-lobby {
  background: var(--glass-bg);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 40px;
  text-align: center;
  animation: slide-in-up 0.6s ease;
}

.lobby-header h1 {
  color: var(--text-primary);
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lobby-header p {
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  font-size: 16px;
  line-height: 1.5;
}

.lobby-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2);
}

.stat-card i {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.join-section {
  margin-top: 40px;
}

.btn-join-quiz {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border: none;
  border-radius: 16px;
  color: white;
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.3);
  margin-bottom: 16px;
}

.btn-join-quiz:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 71, 87, 0.4);
}

.btn-join-quiz:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.join-description {
  color: var(--text-tertiary);
  margin: 0;
  font-size: 14px;
}

/* Countdown Overlay */
.countdown-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.countdown-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: countdown-pulse 1s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(255, 71, 87, 0.4);
}

.countdown-number {
  font-size: 48px;
  font-weight: 900;
  color: white;
}

.countdown-overlay h2 {
  color: var(--text-primary);
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

/* Question Section */
.question-section {
  background: var(--glass-bg);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 32px;
  animation: slide-in-question 0.5s ease;
}

/* Question Timer */
.question-timer {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.timer-progress {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s linear, stroke 0.3s ease;
}

.timer-progress.timer-safe {
  stroke: #22c55e;
}

.timer-progress.timer-warning {
  stroke: #f59e0b;
  animation: timer-pulse 0.5s ease-in-out infinite;
}

.timer-progress.timer-danger {
  stroke: #ef4444;
  animation: timer-pulse 0.3s ease-in-out infinite;
}

.timer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.time-remaining {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.timer-label {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Question Info */
.question-info {
  text-align: center;
  margin-bottom: 32px;
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.question-number {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.question-points {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 71, 87, 0.15);
  padding: 6px 12px;
  border-radius: 12px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
}

.question-text {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}

/* Answer Grid */
.answers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.answer-option {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.answer-option:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2);
}

.answer-option:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.answer-option.correct {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  animation: answer-correct 0.6s ease;
}

.answer-option.incorrect {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  animation: answer-incorrect 0.6s ease;
}

.answer-option.disabled {
  opacity: 0.4;
}

.option-letter {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.answer-option.correct .option-letter {
  background: #22c55e;
}

.answer-option.incorrect .option-letter {
  background: #ef4444;
}

.option-text {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}

.correct-indicator,
.incorrect-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  animation: indicator-pop 0.4s ease;
}

.correct-indicator {
  background: #22c55e;
}

.incorrect-indicator {
  background: #ef4444;
}

/* Answer Feedback */
.answer-feedback {
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  animation: feedback-slide-in 0.5s ease;
}

.answer-feedback.correct {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.answer-feedback.incorrect {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.feedback-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: feedback-bounce 0.6s ease;
}

.answer-feedback h3 {
  color: var(--text-primary);
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
}

.answer-feedback p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 14px;
}

.points-earned {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.base-points,
.speed-bonus,
.streak-bonus {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.base-points {
  color: var(--secondary);
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.speed-bonus {
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.streak-bonus {
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  animation: streak-glow 1s ease-in-out infinite;
}

/* User Stats */
.user-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item i {
  color: var(--secondary);
}

.streak-stat {
  background: rgba(255, 71, 87, 0.1);
  border-color: rgba(255, 71, 87, 0.3);
  animation: streak-pulse 1.5s ease-in-out infinite;
}

.streak-stat i {
  animation: fire-flicker 0.5s ease-in-out infinite alternate;
}

/* Quiz End */
.quiz-end {
  text-align: center;
  padding: 40px;
  background: var(--glass-bg);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  animation: quiz-end-celebration 1s ease;
}

.end-header {
  margin-bottom: 40px;
}

.end-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: trophy-shine 2s ease-in-out infinite;
}

.quiz-end h1 {
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 800;
}

.quiz-end .end-header p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 16px;
}

.final-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.final-stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.final-stat i {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.end-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mini Leaderboard */
.mini-leaderboard {
  position: fixed;
  top: 120px;
  right: 24px;
  width: 280px;
  background: var(--glass-bg);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 20px;
  z-index: 100;
  animation: slide-in-right 0.5s ease;
}

.mini-leaderboard h4 {
  color: var(--text-primary);
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.leaderboard-item.current-user {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.position {
  font-weight: 700;
  color: var(--secondary);
  font-size: 14px;
  min-width: 24px;
}

.username {
  flex: 1;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

/* Animations */
@keyframes countdown-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(255, 71, 87, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(255, 71, 87, 0.6); }
}

@keyframes slide-in-question {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes timer-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px currentColor); }
  50% { filter: drop-shadow(0 0 12px currentColor); }
}

@keyframes answer-correct {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes answer-incorrect {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@keyframes indicator-pop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes feedback-slide-in {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes feedback-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes streak-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.6); }
}

@keyframes streak-pulse {
  0%, 100% { background: rgba(255, 71, 87, 0.1); }
  50% { background: rgba(255, 71, 87, 0.2); }
}

@keyframes fire-flicker {
  0% { transform: rotate(-2deg); }
  100% { transform: rotate(2deg); }
}

@keyframes quiz-end-celebration {
  0% { transform: scale(0.9); opacity: 0; }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes trophy-shine {
  0%, 100% { filter: drop-shadow(0 0 8px #ffd700); }
  50% { filter: drop-shadow(0 0 16px #ffd700); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mini-leaderboard {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .live-quiz-container {
    padding: 16px;
  }
  
  .quiz-lobby {
    padding: 24px;
  }
  
  .lobby-header h1 {
    font-size: 24px;
  }
  
  .lobby-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .question-section {
    padding: 20px;
  }
  
  .question-timer {
    width: 100px;
    height: 100px;
  }
  
  .time-remaining {
    font-size: 24px;
  }
  
  .question-text {
    font-size: 20px;
  }
  
  .answers-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .answer-option {
    padding: 16px;
  }
  
  .option-letter {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .option-text {
    font-size: 14px;
  }
  
  .user-stats {
    gap: 12px;
  }
  
  .stat-item {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .final-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .end-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .question-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .lobby-header h1 {
    font-size: 20px;
  }
  
  .countdown-circle {
    width: 120px;
    height: 120px;
  }
  
  .countdown-number {
    font-size: 36px;
  }
  
  .final-stats {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   🏆 QUIZ LEADERBOARD STYLES - Comprehensive Ranking
   =========================================== */

.quiz-leaderboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.leaderboard-header {
  text-align: center;
  margin-bottom: 40px;
}

.leaderboard-header h2 {
  color: var(--text-primary);
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-info-header h3 {
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}

.quiz-stats-header {
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

/* Leaderboard Loading */
.leaderboard-loading {
  text-align: center;
  padding: 60px 20px;
}

.leaderboard-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 71, 87, 0.2);
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.leaderboard-loading p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 16px;
}

/* Podium Section */
.podium-section {
  margin-bottom: 48px;
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.podium-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 120px;
}

.podium-crown {
  font-size: 32px;
  margin-bottom: 8px;
  animation: crown-float 2s ease-in-out infinite;
}

.podium-trophy {
  font-size: 24px;
  margin-bottom: 12px;
}

.podium-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.podium-avatar.champion {
  width: 80px;
  height: 80px;
  font-size: 24px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #1a1a1a;
  border-color: #ffd700;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
  animation: champion-glow 2s ease-in-out infinite;
}

.podium-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-score {
  color: var(--secondary);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.podium-bar {
  width: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 8px 8px 0 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  box-shadow: 0 -4px 16px rgba(255, 71, 87, 0.3);
  transition: height 0.8s ease;
}

.champion-bar {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  box-shadow: 0 -8px 24px rgba(255, 215, 0, 0.4);
  animation: champion-bar-glow 2s ease-in-out infinite;
}

.podium-base {
  width: 80px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 20px;
}

.podium-base.champion {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  color: #ffd700;
}

/* Leaderboard List */
.leaderboard-list {
  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  overflow: hidden;
  margin-bottom: 32px;
}

.list-header {
  display: grid;
  grid-template-columns: 80px 1fr 100px 100px 80px 100px;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 100px 80px 100px;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
  animation: row-slide-in 0.5s ease;
}

.leaderboard-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.leaderboard-row.current-user {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 12px;
  margin: 4px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.2);
}

.leaderboard-row.first-row {
  background: rgba(255, 215, 0, 0.05);
}

.leaderboard-row.second-row {
  background: rgba(192, 192, 192, 0.05);
}

.leaderboard-row.third-row {
  background: rgba(205, 127, 50, 0.05);
}

/* Row Components */
.row-position {
  display: flex;
  align-items: center;
  gap: 8px;
}

.position-number {
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
  min-width: 24px;
  text-align: center;
}

.position-number.gold {
  color: #ffd700;
  text-shadow: 0 0 8px #ffd700;
}

.position-number.silver {
  color: #c0c0c0;
  text-shadow: 0 0 8px #c0c0c0;
}

.position-number.bronze {
  color: #cd7f32;
  text-shadow: 0 0 8px #cd7f32;
}

.position-change {
  font-size: 12px;
  opacity: 0.8;
}

.position-change.up {
  color: #22c55e;
  animation: arrow-bounce-up 0.6s ease;
}

.position-change.down {
  color: #ef4444;
  animation: arrow-bounce-down 0.6s ease;
}

.row-player {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.player-info {
  min-width: 0;
  flex: 1;
}

.player-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
}

.player-badge {
  background: var(--secondary);
  color: white;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.streak-badge {
  background: rgba(255, 71, 87, 0.2);
  color: var(--secondary);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  margin-left: 4px;
  animation: streak-glow 1.5s ease-in-out infinite;
}

.row-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 18px;
}

.score-label {
  color: var(--text-secondary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.row-correct {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.correct-fraction {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
}

.accuracy-bar {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.accuracy-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #22c55e);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.row-streak {
  display: flex;
  align-items: center;
  justify-content: center;
}

.streak-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.streak-value.hot-streak {
  color: #ff6b35;
  animation: fire-flicker 0.5s ease-in-out infinite alternate;
}

.row-time {
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-value {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  font-family: monospace;
}

/* Empty States */
.empty-leaderboard,
.no-participants {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-leaderboard i,
.no-participants i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--text-tertiary);
}

.no-participants h3 {
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}

.no-participants p {
  margin: 0;
  font-size: 14px;
}

/* Statistics Summary */
.stats-summary {
  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 24px;
}

.stats-summary h3 {
  color: var(--text-primary);
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.stats-grid .stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.stats-grid .stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.15);
}

.stats-grid .stat-item i {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.stats-grid .stat-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stats-grid .stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
@keyframes crown-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes champion-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 8px 40px rgba(255, 215, 0, 0.6); }
}

@keyframes champion-bar-glow {
  0%, 100% { box-shadow: 0 -8px 24px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 -8px 32px rgba(255, 215, 0, 0.6); }
}

@keyframes row-slide-in {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes arrow-bounce-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes arrow-bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .list-header,
  .leaderboard-row {
    grid-template-columns: 60px 1fr 80px 80px 60px 80px;
    gap: 12px;
    padding: 16px 20px;
  }
  
  .podium {
    gap: 16px;
  }
  
  .podium-place {
    min-width: 100px;
  }
}

@media (max-width: 768px) {
  .quiz-leaderboard-container {
    padding: 16px;
  }
  
  .leaderboard-header h2 {
    font-size: 24px;
  }
  
  .podium {
    gap: 12px;
    padding: 0 10px;
  }
  
  .podium-place {
    min-width: 80px;
  }
  
  .podium-avatar {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  
  .podium-avatar.champion {
    width: 65px;
    height: 65px;
    font-size: 20px;
  }
  
  .podium-bar {
    width: 60px;
  }
  
  .podium-base {
    width: 60px;
    height: 32px;
    font-size: 16px;
  }
  
  .list-header,
  .leaderboard-row {
    grid-template-columns: 50px 1fr 70px 70px;
    gap: 8px;
    padding: 12px 16px;
  }
  
  .header-streak,
  .header-time,
  .row-streak,
  .row-time {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .position-number {
    font-size: 16px;
  }
  
  .player-name {
    font-size: 14px;
  }
  
  .score-number {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .podium-section {
    margin-bottom: 32px;
  }
  
  .podium {
    gap: 8px;
  }
  
  .podium-place {
    min-width: 70px;
  }
  
  .podium-crown {
    font-size: 24px;
  }
  
  .podium-trophy {
    font-size: 20px;
  }
  
  .podium-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .podium-avatar.champion {
    width: 55px;
    height: 55px;
    font-size: 18px;
  }
  
  .podium-bar {
    width: 50px;
  }
  
  .podium-base {
    width: 50px;
    height: 28px;
    font-size: 14px;
  }
  
  .list-header,
  .leaderboard-row {
    grid-template-columns: 40px 1fr 60px;
    gap: 8px;
    padding: 12px;
  }
  
  .header-correct,
  .row-correct {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
}

/* ===============================================
   🔥 HYPE METER ADVANCED INTEGRATION STYLES
   =============================================== */

/* Enhanced Hype Meter Container */
.hype-meter-zack.hype-container {
  position: relative;
  transition: all 1s ease-in-out;
  border-radius: 20px;
  overflow: hidden;
}

/* Level-specific container styles */
.hype-meter-zack.hype-calm {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hype-meter-zack.hype-interested {
  background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 71, 87, 0.05) 100%);
  border: 1px solid rgba(255, 71, 87, 0.2);
}

.hype-meter-zack.hype-excited {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 165, 2, 0.05) 100%);
  border: 1px solid rgba(255, 71, 87, 0.4);
}

.hype-meter-zack.hype-on-fire {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 71, 87, 0.1) 50%, rgba(255, 165, 2, 0.05) 100%);
  border: 1px solid rgba(255, 107, 53, 0.6);
}

/* Hype Header Enhancements */
.hype-header h3 {
  transition: all 0.5s ease-in-out;
}

.hype-on-fire .hype-header h3 {
  background: linear-gradient(45deg, #ff6b35, #ff4757, #ffa502);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-fire 1.5s ease-in-out infinite;
}

/* Enhanced Hype Circle */
.hype-circle.hype-on-fire {
  position: relative;
}

.hype-circle.hype-on-fire::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: conic-gradient(#ff6b35, #ff4757, #ffa502, #ff6b35);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hype Center Text Effects */
.hype-center .hype-percentage {
  transition: all 0.3s ease-in-out;
}

.hype-excited .hype-center .hype-percentage {
  text-shadow: 0 0 15px var(--secondary);
  animation: number-pop 0.6s ease-out;
}

.hype-on-fire .hype-center .hype-percentage {
  background: linear-gradient(45deg, #ff6b35, #ff4757, #ffa502);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-fire 1.5s ease-in-out infinite;
  text-shadow: none;
}

/* Intensity Bar Enhancements */
.intensity-segment {
  transition: all 0.3s ease-in-out;
}

.hype-excited .intensity-segment.active {
  box-shadow: 0 0 10px var(--secondary);
  animation: rapid-pulse 1.5s ease-in-out infinite;
}

.hype-on-fire .intensity-segment.active {
  background: linear-gradient(to top, #ff6b35, #ff4757);
  box-shadow: 0 0 15px #ff6b35;
  animation: extreme-pulse 0.8s ease-in-out infinite;
}

/* Recent Events Enhanced */
.recent-events {
  transition: all 0.5s ease-in-out;
}

.hype-on-fire .recent-events {
  position: relative;
  overflow: hidden;
}

.hype-on-fire .recent-events::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Event Items Animation */
.event-item {
  transition: all 0.3s ease-in-out;
}

.hype-excited .event-item:hover {
  transform: translateX(5px);
  background: rgba(255, 71, 87, 0.1);
}

.hype-on-fire .event-item {
  position: relative;
}

.hype-on-fire .event-item:hover {
  transform: scale(1.02);
  background: rgba(255, 107, 53, 0.15);
}

/* Viewer Count and Chat Activity */
.viewer-count,
.chat-activity {
  transition: all 0.3s ease-in-out;
}

.hype-excited .viewer-count,
.hype-excited .chat-activity {
  text-shadow: 0 0 10px var(--secondary);
}

.hype-on-fire .viewer-count,
.hype-on-fire .chat-activity {
  background: linear-gradient(45deg, #ff6b35, #ff4757);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

/* Performance Optimizations */
.hype-meter-zack.performance-mode .hype-on-fire::before,
.hype-meter-zack.performance-mode .recent-events::before {
  display: none;
}

.hype-meter-zack.performance-mode .hype-on-fire .hype-center .hype-percentage {
  background: #ff6b35;
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: #ff6b35;
  animation: none;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hype-meter-zack.hype-on-fire::before {
    display: none;
  }
  
  .hype-meter-zack.hype-on-fire .recent-events::before {
    display: none;
  }
  
  .hype-meter-zack .hype-center .hype-percentage {
    font-size: 24px;
  }
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
  .hype-meter-zack {
    --glass-bg: rgba(0, 0, 0, 0.6);
  }
}

/* Accessibility - Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hype-meter-zack * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===========================================
   📊 ENGAGEMENT METRICS STYLES - Profile Component
   =========================================== */

.engagement-metrics-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.header-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.period-info {
    font-size: 12px;
    color: var(--text-secondary);
}

.metrics-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.period-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.period-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 500;
}

.period-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.period-btn.active {
    background: var(--secondary);
    color: white;
}

.real-time-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.real-time-indicator.live {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.real-time-indicator.offline {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.real-time-indicator.live .status-dot {
    animation: pulse-live 2s infinite;
}

.metrics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
}

.metric-card.highlight {
    background: rgba(255, 71, 87, 0.05);
    border-color: rgba(255, 71, 87, 0.2);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.metric-icon {
    font-size: 20px;
}

.metric-trend {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
}

.trend-up {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.trend-down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.trend-stable {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.metric-sub {
    font-size: 11px;
    color: var(--text-secondary);
}

.metric-description {
    margin-top: 8px;
}

.status-excellent { color: #ff6b35; }
.status-good { color: #22c55e; }
.status-average { color: #ffa502; }
.status-low { color: #6b7280; }

.metrics-breakdown {
    margin-bottom: 32px;
}

.metrics-breakdown h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.breakdown-section {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.breakdown-section h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.highlight {
    background: rgba(255, 71, 87, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 4px 0;
}

.item-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.item-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.item-value.spent {
    color: #ef4444;
}

.points-rank {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
}

.rank-text {
    color: var(--text-secondary);
}

.rank-value {
    color: var(--secondary);
    font-weight: 600;
}

.community-comparison {
    margin-bottom: 32px;
}

.community-comparison h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.comparison-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.comparison-metric {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.comparison-bars {
    margin-bottom: 8px;
}

.comparison-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.bar-label {
    min-width: 80px;
    font-size: 12px;
    color: var(--text-secondary);
}

.bar-fill {
    flex: 1;
    height: 8px;
    background: var(--secondary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.bar-fill.community-fill {
    background: rgba(255, 255, 255, 0.3);
}

.bar-value {
    min-width: 40px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.comparison-indicator {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

.above-average {
    color: #22c55e;
}

.below-average {
    color: #ffa502;
}

.engagement-goals h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.goal-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.goal-card.goal-completed {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.goal-card.goal-near-completion {
    border-color: rgba(255, 171, 2, 0.3);
    background: rgba(255, 171, 2, 0.05);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.goal-icon {
    font-size: 20px;
}

.goal-progress-circle {
    width: 32px;
    height: 32px;
}

.circular-chart {
    display: block;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-in-out forwards;
    stroke: var(--secondary);
}

.percentage {
    fill: var(--text-primary);
    font-size: 0.4em;
    text-anchor: middle;
}

.goal-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.goal-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.goal-progress-text {
    font-size: 11px;
    color: var(--secondary);
    font-weight: 600;
}

/* ===========================================
   📊 ENGAGEMENT METRICS - DESKTOP OPTIMISATIONS
   =========================================== */

@media (min-width: 1200px) {
  .engagement-metrics-container {
    padding: 32px;
  }

  .metrics-header {
    margin-bottom: 32px;
  }

  .header-title h3 {
    font-size: 20px;
  }

  .period-info {
    font-size: 13px;
  }

  .metrics-summary {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }

  .metric-card {
    padding: 24px;
  }

  .metric-value {
    font-size: 32px;
  }

  .metric-label {
    font-size: 15px;
  }

  .breakdown-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }

  .breakdown-section {
    padding: 20px;
  }

  .breakdown-section h5 {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .breakdown-item {
    padding: 10px 0;
  }

  .item-label {
    font-size: 13px;
  }

  .item-value {
    font-size: 15px;
  }

  .goals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .goal-card {
    padding: 20px;
  }

  .comparison-item {
    padding: 20px;
  }
}

@media (min-width: 1440px) {
  .engagement-metrics-container {
    padding: 40px;
  }

  .breakdown-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
  }

  .breakdown-section {
    padding: 24px;
  }

  .metrics-summary {
    gap: 24px;
    margin-bottom: 48px;
  }

  .metric-card {
    padding: 28px;
  }

  .goals-grid {
    gap: 24px;
  }
}

@media (min-width: 1920px) {
  .engagement-metrics-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 48px;
  }

  .breakdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .metrics-summary {
    gap: 28px;
  }

  .metric-card {
    padding: 32px;
  }

  .metric-value {
    font-size: 36px;
  }
}

/* ===========================================
   📅 MATCHES PAGE STYLES - Rouge Premium
   =========================================== */

.matches-container {
    min-height: 100vh;
    padding: 24px 20px 100px;
    background: var(--bg-base);
}

/* Header avec switcher de vue */
.matches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.matches-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.view-switcher {
    display: flex;
    gap: 8px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
}

.view-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* Filtres section */
.filters-section {
    padding: 20px;
    margin-bottom: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.time-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.time-filters::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    position: relative;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
}

.filter-pill.active {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(229, 80, 57, 0.1));
    border-color: var(--secondary);
    color: var(--secondary);
}

.count-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 6px;
    background: var(--secondary);
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

.advanced-filters {
    display: flex;
    gap: 16px;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.filter-dropdown label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-dropdown select {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--secondary);
}

.filter-dropdown select option {
    background: #1e1e2e;
    color: #ffffff;
    padding: 8px;
}

/* Vue Liste */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.date-group {
    margin-bottom: 24px;
}

.date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 3px solid var(--secondary);
}

.date-header .date {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.match-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.match-card-enhanced {
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.match-card-enhanced.clickable {
    cursor: pointer;
}

.match-card-enhanced.live {
    border-color: rgba(255, 71, 87, 0.3);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.05) 0%, transparent 100%);
}

.match-card-enhanced.clickable:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.live-badge-animated {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--danger);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.highlights-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--success);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.teams-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    gap: 8px;
    min-width: 0;
}

.teams-section .team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: calc(50% - 20px);
}

.teams-section .team.winner {
    color: var(--success);
}

.teams-section img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.match-card-enhanced .team-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.match-card-enhanced .score {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    flex-shrink: 0;
    margin-left: 4px;
}

.vs-separator {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    flex-shrink: 0;
    padding: 0 8px;
}

.match-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 71, 87, 0.3);
}

/* Vue Calendrier */
.calendar-view {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.calendar-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--secondary);
}

.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.calendar-day:hover {
    background: rgba(255, 71, 87, 0.05);
    border-color: rgba(255, 71, 87, 0.2);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(229, 80, 57, 0.05));
    border-color: var(--secondary);
}

.day-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.day-matches {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mini-match {
    display: flex;
    align-items: center;
    gap: 4px;
}

.match-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

.match-dot.live {
    background: var(--danger);
    animation: pulse 2s infinite;
}

.more-matches {
    font-size: 10px;
    color: var(--text-secondary);
}

.selected-date-matches {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.selected-date-matches h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.day-matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.day-match-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-match-item:hover {
    background: rgba(255, 71, 87, 0.05);
    border-color: rgba(255, 71, 87, 0.2);
}

.teams-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.teams-mini img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.no-matches {
    text-align: center;
    padding: 60px 20px;
}

.no-matches svg {
    margin-bottom: 16px;
}

.no-matches p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===========================================
   🎥 VIDEO DETAIL PAGE STYLES - Rouge Premium
   =========================================== */

.video-detail-container {
    min-height: 100vh;
    padding: 24px 20px 100px;
    background: var(--bg-base);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--secondary);
}

.breadcrumb-nav .separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-nav .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Video Player */
.video-player-container {
    margin-bottom: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Info Section */
.video-info-section {
    padding: 24px;
    margin-bottom: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.video-info-section h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.video-stats .views {
    color: var(--secondary);
    font-weight: 600;
}

.new-badge-inline {
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.video-description {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.video-description p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.video-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-youtube,
.btn-match {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-youtube {
    background: #ff0000;
    color: white;
    border: none;
}

.btn-youtube:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.3);
}

.btn-match {
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-match:hover {
    background: rgba(255, 71, 87, 0.2);
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Related Match Section */
.related-match-section {
    margin-bottom: 24px;
}

.related-match-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.related-match-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-match-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: var(--shadow-md);
}

.live-indicator {
    padding: 4px 8px;
    background: var(--danger);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

/* Suggestions Section */
.suggestions-section {
    margin-bottom: 24px;
}

.suggestions-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.suggestion-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: var(--shadow-md);
}

.suggestion-thumbnail {
    position: relative;
    flex: 0 0 120px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.suggestion-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suggestion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suggestion-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.suggestion-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

/* Error State */
.error-container {
    text-align: center;
    padding: 60px 20px;
}

.error-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.error-container p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
}

.btn-back {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 71, 87, 0.3);
}

/* ====== Styles manquants pour MatchDetail - Contenus Liés ====== */

.related-content-section {
    margin: 32px 0;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.related-content-section .section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.videos-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    overflow-x: auto;
    padding: 4px;
}

.video-card-mini {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.3);
}

.video-thumbnail-mini {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.video-thumbnail-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card-mini:hover .video-thumbnail-mini img {
    transform: scale(1.05);
}

.duration-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.video-info-mini {
    padding: 12px;
}

.video-info-mini h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info-mini .video-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

.video-info-mini .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ====== Styles manquants pour MatchDetail - Historique ====== */

.history-section {
    margin: 32px 0;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.history-section .section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.history-stats .stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.history-stats .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.history-stats .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.previous-matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prev-match-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.prev-match-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.prev-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.prev-teams {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.prev-teams span {
    font-size: 14px;
    color: var(--text-primary);
}

.prev-teams .score {
    font-weight: 700;
    color: var(--secondary);
    padding: 4px 8px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 4px;
}

.prev-teams .winner {
    font-weight: 700;
    color: var(--secondary);
}

.prev-competition {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====== Styles manquants pour MatchDetail - Timeline ====== */

.match-timeline {
    margin: 32px 0;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.match-timeline .section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-event {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    position: relative;
}

.timeline-event.home {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-event.away {
    flex-direction: row;
    text-align: left;
}

.event-time {
    min-width: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-base);
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 2;
}

.event-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.event-details {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin: 0 60px;
}

.timeline-event.home .event-details {
    margin-right: calc(50% + 30px);
    margin-left: 0;
}

.timeline-event.away .event-details {
    margin-left: calc(50% + 30px);
    margin-right: 0;
}

.event-player {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 2px;
}

.event-type {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Media queries pour sections MatchDetail */
@media (max-width: 768px) {
    .videos-carousel {
        grid-template-columns: 1fr;
    }
    
    .history-stats {
        grid-template-columns: 1fr;
    }
    
    .prev-match-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .prev-date,
    .prev-competition {
        text-align: center;
    }
    
    /* Timeline mobile repensée - Layout horizontal */
    .timeline-container {
        padding: 10px 0;
    }
    
    .timeline-container::before {
        display: none; /* Pas de ligne verticale sur mobile */
    }
    
    .timeline-event {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        text-align: left !important;
        padding: 0;
        margin: 16px 0;
        gap: 12px;
    }
    
    .timeline-event.home,
    .timeline-event.away {
        flex-direction: row !important;
    }
    
    .event-time {
        position: relative;
        left: auto;
        transform: none;
        min-width: 45px;
        font-size: 12px;
        padding: 4px 8px;
        background: rgba(255, 71, 87, 0.15);
        border: 1px solid rgba(255, 71, 87, 0.3);
        border-radius: 6px;
        text-align: center;
        flex-shrink: 0;
        order: 1;
    }
    
    .event-icon {
        position: relative;
        left: auto;
        transform: none;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 71, 87, 0.1);
        border: 1px solid rgba(255, 71, 87, 0.2);
        border-radius: 50%;
        flex-shrink: 0;
        font-size: 18px;
        order: 2;
    }
    
    .event-details {
        flex: 1;
        margin: 0 !important;
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.03);
        border-left: 3px solid var(--secondary);
        border-radius: 0 8px 8px 0;
        order: 3;
    }
    
    .timeline-event.home .event-details,
    .timeline-event.away .event-details {
        margin: 0 !important;
        border-left: 3px solid var(--secondary);
    }
    
    .timeline-event.home .event-details {
        background: rgba(255, 71, 87, 0.05);
    }
    
    .timeline-event.away .event-details {
        background: rgba(229, 80, 57, 0.05);
    }
    
    .event-player {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .event-type {
        font-size: 10px;
        opacity: 0.8;
    }
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    /* Dashboard */
    .stats-container {
        flex-direction: column;
    }
    
    .countdown-container {
        gap: 16px;
    }
    
    .results-grid,
    .upcoming-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-video-card {
        flex-direction: column;
    }
    
    .video-thumbnail {
        flex: none;
        width: 100%;
        height: 180px;
    }
    
    /* Contents */
    .filter-controls {
        flex-direction: column;
    }
    
    .featured-card {
        flex-direction: column;
    }
    
    .featured-thumbnail {
        flex: none;
        width: 100%;
        height: 200px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    /* Matches */
    .matches-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .advanced-filters {
        flex-direction: column;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-day {
        font-size: 11px;
    }
    
    /* Video Detail */
    .video-actions {
        flex-direction: column;
    }
    
    .suggestions-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== Styles view-all-link ====== */
.view-all-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.view-all-link:hover {
    color: var(--accent);
    background: rgba(255, 71, 87, 0.1);
    transform: translateX(4px);
    text-decoration: none;
}

.view-all-link:active {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .view-all-link {
        font-size: 0.85rem;
    }
}

/* Animations communes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 71, 87, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 71, 87, 0.8);
    }
}

/* ===== TEAM LINEUP COMPONENT STYLES ===== */
/* Football Field Lineup Visualizer - Rouge Premium Style */

.team-lineup-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    margin: 20px 0;
}

.lineup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.coach-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.formation-selector,
.formation-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.formation-selector label,
.formation-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.formation-value {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.formation-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.formation-select:hover {
    border-color: var(--secondary);
    background: rgba(255, 71, 87, 0.1);
}

.formation-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.3);
}

.lineup-content {
    position: relative;
}

.view-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.toggle-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toggle-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #ff4757, #e55039);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* Football Field Styles */
.football-field {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 9/12;
    background: linear-gradient(
        180deg,
        #2d6a4f 0%,
        #3a7d5e 10%,
        #2d6a4f 20%,
        #3a7d5e 30%,
        #2d6a4f 40%,
        #3a7d5e 50%,
        #2d6a4f 60%,
        #3a7d5e 70%,
        #2d6a4f 80%,
        #3a7d5e 90%,
        #2d6a4f 100%
    );
    border-radius: 8px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Field Markings */
.field-markings {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.center-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.penalty-area-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44%;
    height: 16%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top: none;
}

.penalty-area-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44%;
    height: 16%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
}

.goal-area-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 5%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top: none;
}

.goal-area-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 5%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
}

.corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.corner-tl {
    top: 0;
    left: 0;
    border-top: none;
    border-left: none;
    border-radius: 0 0 100% 0;
}

.corner-tr {
    top: 0;
    right: 0;
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 100%;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-bottom: none;
    border-left: none;
    border-radius: 0 100% 0 0;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-bottom: none;
    border-right: none;
    border-radius: 100% 0 0 0;
}

/* Players Container */
.players-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(12, 1fr);
    padding: 10px;
}

/* Field Player */
.field-player {
    grid-row-start: var(--row);
    grid-column-start: var(--col);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.field-player:hover {
    transform: scale(1.1);
    z-index: 10;
}

.player-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--team-color, #ff4757);
    border: 2px solid var(--secondary-color, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.field-player:hover .player-circle {
    box-shadow: 0 6px 16px rgba(255, 71, 87, 0.5);
    transform: translateY(-2px);
}

.player-number {
    color: var(--secondary-color, #ffffff);
    font-weight: 700;
    font-size: 1rem;
}

.player-name-field {
    margin-top: 4px;
    font-size: 0.7rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.captain-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Position-specific colors */
.field-player.goalkeeper .player-circle {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
}

.field-player.defender .player-circle {
    background: linear-gradient(135deg, #4834d4, #686de0);
}

.field-player.midfielder .player-circle {
    background: linear-gradient(135deg, #00b894, #55efc4);
}

.field-player.forward .player-circle {
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
}

/* List View Styles */
.lineup-list {
    max-width: 800px;
    margin: 0 auto;
}

.starting-eleven,
.substitutes {
    margin-bottom: 24px;
}

.list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
}

.players-list {
    display: grid;
    gap: 12px;
}

.list-player {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.list-player:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    transform: translateX(4px);
}

.list-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.list-player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.list-player-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.captain-indicator {
    font-size: 0.9rem;
    color: #ffd700;
    margin-left: 4px;
}

.list-player-position {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.list-player-stats {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.stat-badge {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Substitutes Section */
.subs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sub-player {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-player:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
}

.sub-number {
    width: 24px;
    height: 24px;
    background: rgba(255, 71, 87, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

.sub-name {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Player Modal */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.player-modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 71, 87, 0.3);
    max-width: 400px;
    width: 100%;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.modal-player-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.modal-player-details h3 {
    margin: 0 0 4px 0;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.modal-player-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.captain-badge-large {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.modal-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row.highlight {
    background: rgba(255, 71, 87, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .football-field {
        max-width: 100%;
    }
    
    .field-player {
        transform: scale(0.9);
    }
    
    .player-circle {
        width: 32px;
        height: 32px;
    }
    
    .player-number {
        font-size: 0.85rem;
    }
    
    .player-name-field {
        font-size: 0.6rem;
        max-width: 50px;
    }
    
    .lineup-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .list-player-stats {
        flex-direction: column;
        gap: 4px;
    }
    
    .stat-badge {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .team-lineup-container {
        padding: 16px;
    }
    
    .view-toggle {
        flex-direction: column;
    }
    
    .toggle-btn {
        width: 100%;
    }
    
    .field-player {
        transform: scale(0.8);
    }
    
    .player-circle {
        width: 28px;
        height: 28px;
    }
    
    .player-name-field {
        display: none;
    }
}

/* Desktop Optimizations */
@media (min-width: 1200px) {
    .football-field {
        max-width: 700px;
    }
    
    .player-circle {
        width: 48px;
        height: 48px;
    }
    
    .player-number {
        font-size: 1.1rem;
    }
    
    .player-name-field {
        font-size: 0.8rem;
        max-width: 70px;
    }
}

@media (min-width: 1440px) {
    .football-field {
        max-width: 800px;
    }
    
    .player-circle {
        width: 52px;
        height: 52px;
    }
}

/* Lineups Section for MatchDetail Page */
.lineups-section {
    margin: 40px 0;
}

.lineups-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.5px;
}

.lineups-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 auto;
    max-width: 1400px;
}

@media (max-width: 1200px) {
    .lineups-container {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .lineups-container {
        gap: 16px;
    }
}

/* ===========================================
   🎬 VIDEO LINKS STYLES
   =========================================== */

.video-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

.video-link:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.video-link:visited {
  color: inherit !important;
}

.video-link:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Assurer que les cartes vidéo gardent leur interaction */
.video-link.stat-card:hover,
.video-link.video-card-dashboard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

/* ===========================================
   📱 MATCH CARDS RESPONSIVE FIXES
   =========================================== */

/* Conteneur principal - éviter les débordements */
.matches-container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Amélioration du responsive pour les cartes de match */
@media (max-width: 768px) {
    .matches-container {
        padding: 16px 12px 120px; /* Plus d'espace pour la nav bottom */
        overflow-x: hidden;
        min-height: 100vh;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .match-card-enhanced {
        padding: 16px;
    }
    
    .teams-section {
        gap: 4px;
    }
    
    .teams-section img {
        width: 32px;
        height: 32px;
    }
    
    .match-card-enhanced .team-name {
        font-size: 12px;
    }
    
    .match-actions {
        flex-wrap: wrap;
    }
    
    .action-btn {
        flex: 1;
        min-width: 100px;
        font-size: 11px;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .matches-container {
        padding: 12px 8px 120px; /* Plus d'espace pour la nav bottom */
        overflow-x: hidden;
    }
    
    .matches-header h1 {
        font-size: 20px;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .match-card-enhanced {
        padding: 12px;
    }
    
    .teams-section img {
        width: 28px;
        height: 28px;
    }
    
    .match-card-enhanced .team-name {
        font-size: 11px;
    }
    
    .match-card-enhanced .score {
        font-size: 14px;
    }
    
    .vs-separator {
        font-size: 10px;
        padding: 0 4px;
    }
    
    .match-meta {
        font-size: 10px;
    }
    
    .action-btn {
        font-size: 10px;
        padding: 5px 6px;
    }
    
    .action-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Correctif pour éviter le scroll horizontal sur petits écrans */
@media (max-width: 380px) {
    .teams-section .team {
        gap: 4px;
    }
    
    .match-card-enhanced .team-name {
        font-size: 10px;
    }
    
    .teams-section img {
        width: 24px;
        height: 24px;
    }
}



/* Styles pour les vidéos sans lien YouTube */
.no-youtube-link,
.no-youtube-info {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 6px;
  padding: 4px 8px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.no-youtube-info {
  margin-top: 4px;
  padding: 2px 6px;
  font-size: 0.7rem;
}

/* ===================================================
   📊 STATISTIQUES DU MATCH - PREMIUM ROUGE ZACK
   =================================================== */

.statistics-container-zack {
  margin: 24px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.03) 0%, rgba(30, 30, 46, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-title-zack {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.5px;
}

.title-icon {
  font-size: 1.25rem;
}

.stats-grid-zack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-row-zack {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 16px;
  align-items: center;
}

.stat-value-zack {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.stat-value-zack.home {
  text-align: left;
}

.stat-value-zack.away {
  text-align: right;
}

.stat-value-zack.winning {
  color: var(--secondary);
  text-shadow: 0 0 12px rgba(255, 71, 87, 0.4);
}

.stat-bar-container-zack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-label-zack {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.stat-bar-zack {
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
}

.stat-bar-fill-home {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transition: width 0.6s ease;
  position: relative;
}

.stat-bar-fill-away {
  background: linear-gradient(90deg, #6c757d 0%, #495057 100%);
  transition: width 0.6s ease;
  position: relative;
}

/* ===================================================
   🎯 PREDICTIONS - PREMIUM ROUGE ZACK
   =================================================== */

.prediction-container-zack {
  margin: 24px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.03) 0%, rgba(30, 30, 46, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.subsection-title-zack {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 16px 0;
  opacity: 0.9;
}

/* Probabilités */
.probabilities-section-zack {
  margin-bottom: 24px;
}

.probability-bars-zack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prob-item-zack {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
}

.prob-team-zack {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.prob-bar-zack {
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.prob-fill-zack {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  transition: width 0.8s ease;
  position: relative;
}

.prob-fill-zack.home-win {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.prob-fill-zack.draw {
  background: linear-gradient(90deg, #ffa502 0%, #ff6348 100%);
}

.prob-fill-zack.away-win {
  background: linear-gradient(90deg, #6c757d 0%, #495057 100%);
}

.prob-value-zack {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Score prédit */
.predicted-score-section-zack {
  text-align: center;
  margin: 24px 0;
}

.predicted-score-zack {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 16px 32px;
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 71, 87, 0.05) 100%);
  border: 2px solid var(--secondary);
  border-radius: 12px;
  font-size: 2rem;
  font-weight: 700;
}

.score-part {
  color: var(--text-primary);
}

.score-separator {
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Forme des équipes */
.team-form-section-zack {
  margin: 24px 0;
}

.form-comparison-zack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-team-zack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.form-name-zack {
  font-weight: 600;
  color: var(--text-primary);
}

.form-display-zack {
  display: flex;
  gap: 8px;
}

.form-result-zack {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
}

.form-result-zack.win {
  background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  color: white;
}

.form-result-zack.draw {
  background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
  color: white;
}

.form-result-zack.loss {
  background: linear-gradient(135deg, #636e72 0%, #2d3436 100%);
  color: white;
}

.form-points-zack {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Forces d'attaque et défense */
.strength-section-zack {
  margin: 24px 0;
}

.strength-grid-zack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.strength-item-zack {
  display: flex;
  align-items: center;
  gap: 12px;
}

.strength-label-zack {
  font-size: 0.875rem;
  color: var(--text-secondary);
  min-width: 120px;
}

.strength-bar-zack {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.strength-fill-zack {
  height: 100%;
  transition: width 0.8s ease;
}

.strength-fill-zack.attack {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.strength-fill-zack.defense {
  background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

.strength-value-zack {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 40px;
  text-align: right;
}

/* Historique H2H */
.h2h-section-zack {
  margin: 24px 0;
}

.h2h-stats-zack {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.h2h-item-zack {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h2h-value-zack {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.h2h-label-zack {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Conseil */
.advice-section-zack {
  margin: 24px 0;
}

.advice-box-zack {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 71, 87, 0.05) 100%);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
}

.advice-icon-zack {
  font-size: 1.5rem;
}

.advice-text-zack {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ===================================================
   🏆 MINI CLASSEMENT - PREMIUM ROUGE ZACK
   =================================================== */

.mini-standings-container-zack {
  margin: 24px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.03) 0%, rgba(30, 30, 46, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.standings-table-zack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
}

.standings-header-zack,
.standings-row-zack {
  display: grid;
  grid-template-columns: 40px 1fr 35px 35px 35px 35px 50px 50px 100px;
  gap: 8px;
  padding: 12px;
  align-items: center;
}

.standings-header-zack {
  background: rgba(255, 71, 87, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  opacity: 0.8;
}

.standings-row-zack {
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  position: relative;
}

.standings-row-zack:hover {
  background: rgba(255, 71, 87, 0.05);
  transform: translateX(4px);
}

.standings-row-zack.highlighted {
  background: rgba(255, 71, 87, 0.08);
  border-left: 3px solid var(--secondary);
  padding-left: 9px;
}

.pos-col {
  text-align: center;
}

.position-badge-zack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
}

.position-badge-zack.first {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #333;
}

.position-badge-zack.second {
  background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
  color: #333;
}

.position-badge-zack.third {
  background: linear-gradient(135deg, #cd7f32 0%, #e5a859 100%);
  color: white;
}

.position-badge-zack.champions-league {
  background: linear-gradient(135deg, #003f7f 0%, #0066cc 100%);
  color: white;
}

.position-badge-zack.europa-league {
  background: linear-gradient(135deg, #ff6f00 0%, #ff9800 100%);
  color: white;
}

.position-badge-zack.relegation {
  background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
  color: white;
}

.team-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-name-compact {
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-col {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pts-col {
  text-align: center;
}

.points-badge-zack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 4px 8px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-col {
  display: flex;
  justify-content: center;
}

.form-mini-zack {
  display: flex;
  gap: 4px;
}

.form-dot-zack {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.form-dot-zack:hover {
  transform: scale(1.5);
}

.form-dot-zack.win {
  background: #00b894;
}

.form-dot-zack.draw {
  background: #fdcb6e;
}

.form-dot-zack.loss {
  background: #636e72;
}

.positive {
  color: #00b894;
  font-weight: 600;
}

.negative {
  color: #e74c3c;
  font-weight: 600;
}

.view-full-link-zack {
  margin-top: 16px;
  text-align: center;
}

.link-zack {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.link-zack:hover {
  color: var(--accent);
  gap: 12px;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.link-zack:hover .arrow-icon {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .standings-header-zack,
  .standings-row-zack {
    grid-template-columns: 30px 1fr 25px 25px 25px 25px 40px 40px 60px;
    font-size: 0.75rem;
    padding: 8px;
  }
  
  .form-comparison-zack {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .strength-grid-zack {
    grid-template-columns: 1fr;
  }
  
  .probability-bars-zack .prob-item-zack {
    grid-template-columns: 100px 1fr;
  }
}


/* Navigation Sticky pour MatchDetail - Style Rouge Zack Premium */
.match-nav-sticky-zack {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 71, 87, 0.2);
    margin: 0 -20px 30px -20px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.nav-container-zack {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-container-zack::-webkit-scrollbar {
    display: none;
}

.nav-item-zack {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 71, 87, 0.05);
    border: 1px solid rgba(255, 71, 87, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-item-zack:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    color: var(--secondary);
    transform: translateY(-2px);
}

.nav-item-zack.active {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(229, 80, 57, 0.2));
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.nav-icon {
    font-size: 1.1rem;
}

.nav-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-indicator-zack {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 120px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px 3px 0 0;
    transition: transform 0.3s ease;
    display: none;
}

/* Section containers avec padding pour la navigation sticky */
.section-container-zack {
    margin-bottom: 40px;
    scroll-margin-top: 80px;
    animation: fadeInUp 0.5s ease;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .match-nav-sticky-zack {
        margin: 0 -16px 24px -16px;
        padding: 0 16px;
    }
    
    .nav-container-zack {
        padding: 10px 0;
    }
    
    .nav-item-zack {
        padding: 8px 12px;
    }
    
    .nav-icon {
        font-size: 1rem;
    }
    
    .nav-label {
        font-size: 0.8rem;
    }
    
    .section-container-zack {
        scroll-margin-top: 70px;
    }
}

/* Desktop optimizations */
@media (min-width: 1200px) {
    .match-nav-sticky-zack {
        margin: 0 -40px 40px -40px;
        padding: 0 40px;
    }
    
    .nav-container-zack {
        justify-content: center;
        overflow-x: visible;
    }
    
    .nav-item-zack {
        padding: 12px 20px;
    }
    
    .nav-label {
        font-size: 0.9rem;
    }
}

/* Animations pour les sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================
   📱 MATCHES PAGE - MOBILE OPTIMIZATIONS 2024
   =========================================== */

/* Section Filtres Mobile Optimisée */
.filters-section-mobile {
    padding: 12px;
    margin-bottom: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Filtres temporels avec scroll horizontal */
.time-filters-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.time-filters-mobile::-webkit-scrollbar {
    height: 3px;
}

.time-filters-mobile::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.time-filters-mobile::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 3px;
}

.time-filters-mobile .filter-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-width: 85px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.time-filters-mobile .filter-pill:active {
    transform: scale(0.95);
}

.time-filters-mobile .filter-pill.active {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(229, 80, 57, 0.1));
    border-color: var(--secondary);
    color: var(--secondary);
}

.time-filters-mobile .count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* Toggle button pour filtres avancés */
.toggle-advanced-filters {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.toggle-advanced-filters:active {
    transform: scale(0.98);
}

.toggle-advanced-filters svg {
    transition: transform 0.3s ease;
}

.toggle-advanced-filters svg.rotated {
    transform: rotate(180deg);
}

/* Filtres avancés collapsibles */
.advanced-filters-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.advanced-filters-mobile.expanded {
    max-height: 200px;
}

.advanced-filters-mobile .filter-dropdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.advanced-filters-mobile .filter-dropdown label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.advanced-filters-mobile .filter-dropdown select {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    height: 44px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Loading State Mobile avec Skeleton */
.loading-container-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.skeleton-match-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-time {
    width: 60px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 12px;
}

.skeleton-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.skeleton-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.skeleton-team::before {
    content: '';
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.skeleton-team::after {
    content: '';
    width: 80px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skeleton-vs {
    width: 30px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skeleton-meta {
    width: 120px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

@keyframes skeletonPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* Liste des matchs optimisée mobile */
.matches-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.matches-grid-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* No matches state amélioré */
.no-matches-mobile {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.no-matches-mobile svg {
    opacity: 0.3;
}

.no-matches-mobile p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.btn-reset-filters {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-reset-filters:active {
    transform: scale(0.95);
}

/* Media Queries spécifiques mobile */
@media (max-width: 768px) {
    .filters-section-mobile {
        margin: 0 -12px 16px -12px;
        border-radius: 0 0 16px 16px;
        top: 0;
    }
    
    .matches-list-mobile {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .filters-section-mobile {
        padding: 8px;
        margin: 0 -8px 12px -8px;
    }
    
    .time-filters-mobile .filter-pill {
        min-width: 75px;
        font-size: 13px;
        padding: 0 12px;
    }
    
    .advanced-filters-mobile {
        grid-template-columns: 1fr;
    }
    
    .toggle-advanced-filters {
        font-size: 13px;
        padding: 10px;
    }
    
    .matches-list-mobile {
        padding: 0 8px;
    }
}

/* Support pour reduced motion */
@media (prefers-reduced-motion: reduce) {
    .filters-section-mobile,
    .advanced-filters-mobile,
    .skeleton-match-card,
    .time-filters-mobile .filter-pill,
    .toggle-advanced-filters svg {
        transition: none;
        animation: none;
    }
}

/* ===========================================
   📱 MATCH CARD ENHANCED - MOBILE OPTIMIZATIONS
   =========================================== */

.match-card-enhanced-mobile {
    padding: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-height: 120px;
    position: relative;
}

.match-card-enhanced-mobile.clickable {
    cursor: pointer;
}

.match-card-enhanced-mobile.clickable:active {
    transform: scale(0.98);
}

.match-card-enhanced-mobile.live {
    border-color: rgba(255, 71, 87, 0.3);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.05) 0%, transparent 100%);
}

/* Teams Section Mobile */
.teams-section-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0;
}

.team-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-mobile img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
}

.team-name-mobile {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.team-mobile.winner .team-name-mobile {
    color: var(--secondary);
    font-weight: 700;
}

.team-mobile .score {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-left: auto;
}

/* Match Actions Mobile */
.match-actions-mobile {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.action-btn-mobile {
    flex: 1;
    min-width: calc(50% - 4px);
    min-height: 44px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.action-btn-mobile:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

.action-btn-mobile.primary {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(229, 80, 57, 0.1));
    border-color: var(--secondary);
    color: var(--secondary);
}

.action-btn-mobile svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Media Queries pour Match Card */
@media (max-width: 480px) {
    .match-card-enhanced-mobile {
        padding: 12px;
    }
    
    .teams-section-mobile {
        gap: 8px;
        margin: 12px 0;
    }
    
    .team-mobile img {
        width: 32px;
        height: 32px;
    }
    
    .team-name-mobile {
        font-size: 13px;
        max-width: 80px;
    }
    
    .team-mobile .score {
        font-size: 16px;
    }
    
    .match-actions-mobile {
        gap: 6px;
    }
    
    .action-btn-mobile {
        font-size: 12px;
        padding: 10px 8px;
        min-height: 40px;
    }
    
    .action-btn-mobile svg {
        width: 16px;
        height: 16px;
    }
}

/* États visuels améliorés */
.match-card-enhanced-mobile .match-time {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.match-card-enhanced-mobile .finished-label {
    color: var(--text-muted);
    font-weight: 600;
}

.match-card-enhanced-mobile .match-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.match-card-enhanced-mobile .competition {
    font-weight: 600;
    color: var(--secondary);
}

.match-card-enhanced-mobile .venue {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card-enhanced-mobile .sponsor {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Optimisation des performances */
@media (hover: hover) {
    .match-card-enhanced-mobile.clickable:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(255, 71, 87, 0.15);
    }
    
    .action-btn-mobile:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--secondary);
    }
}

/* ===========================================
   📅 DATE GROUP - MOBILE OPTIMIZATIONS
   =========================================== */

.date-group-mobile {
    margin-bottom: 24px;
}

.date-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(229, 80, 57, 0.05));
    border-left: 3px solid var(--secondary);
    border-radius: 0 8px 8px 0;
}

.date-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--secondary);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .date-header-mobile {
        padding: 6px 10px;
        margin-bottom: 10px;
    }
    
    .date-text {
        font-size: 13px;
    }
    
    .match-count-badge {
        min-width: 20px;
        height: 20px;
        font-size: 11px;
    }
}
