/* Fonts */
@font-face {
  font-family: "Kooperative";
  src: url("../fonts/st-kooperativ-webfont.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

/* CSS critique pour above-the-fold */
/* Variables CSS */
:root {
  --primary-blue: #2b2354;
  --accent-main: #586ae6;
  --text-white: #dfdaf8;
  --accent-yellow: #ffde59;
  --accent-pink: #d147ba;
  --accent-purple-light: #a190f6;
  --accent-purple-alt: #9092f6;
  --text-gray: #dfdaf8;
}

/* Reset minimal */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1a1a3a 100%);
  color: #dfdaf8;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  /* Protection contre le copier-coller */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Protection contre le clic droit */
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Styles pour l'icône d'administration */
.btn-admin-gear {
  display: none;
  margin-left: 1rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffde59;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-admin-gear:hover {
  background: rgba(255, 222, 89, 0.2);
  color: #ffde59;
  transform: rotate(180deg) scale(1.1);
}

.admin-gear-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* Styles pour l'icône d'authentification (public) */
.btn-auth-gear {
  margin-left: 1rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-purple-alt);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-auth-gear:hover {
  background: rgba(0, 0, 0, 0.5);
  color: var(--accent-purple-alt);
  transform: rotate(180deg) scale(1.1);
}

.auth-gear-icon {
  width: 20px;
  height: 20px;
  color: #ffde59;
  transition: all 0.3s ease;
}

.btn-auth-gear:hover .auth-gear-icon {
  transform: rotate(180deg);
  filter: brightness(1.3);
}

/* Styles pour les équipes améliorées */
.equipe-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.equipe-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-main);
  flex-shrink: 0;
}

.equipe-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipe-logo-placeholder {
  color: var(--accent-yellow);
  width: 24px;
  height: 24px;
}

.equipe-info {
  flex: 1;
}

.equipe-nom {
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.equipe-statut {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4caf50;
  font-size: 0.9rem;
  font-weight: 500;
}

.status-icon {
  width: 14px;
  height: 14px;
}

.equipe-composition {
  margin-top: 1.5rem;
}

.roster-title,
.subs-title {
  color: var(--text-white);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  opacity: 0.8;
  font-weight: 600;
}

.roster-players,
.subs-players {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.roster-players {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

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

.player-slot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-main);
  transition: all 0.3s ease;
}

.player-slot:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.role-badge {
  display: inline-block;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  text-align: center;
  min-width: 30px;
  color: white;
  flex-shrink: 0;
}

.role-badge.top {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.jungle {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.mid {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.adc {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.support {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.sub {
  background: linear-gradient(135deg, #ffde59, #ffd633);
  color: #2b2354;
  border: 1px solid rgba(255, 222, 89, 0.3);
  box-shadow: 0 2px 8px rgba(255, 222, 89, 0.3);
  font-weight: 700;
}

.player-name {
  font-size: 0.85rem;
  color: var(--text-white);
  font-weight: 500;
  flex: 1;
}

.roster-subs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation critique */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(43, 35, 84, 0.4);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

/* Hero section critique */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-title {
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 700;
  color: #dfdaf8;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

/* Exceptions pour permettre la sélection sur les éléments importants */
input,
textarea,
.contact-link,
a[href^="mailto"],
a[href^="tel"],
.footer-links a {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Les liens et boutons doivent être cliquables */
a,
button,
input,
textarea,
select {
  pointer-events: auto !important;
}

/* Optimisations de performance */
img {
  max-width: 100%;
  height: auto;
  /* Protection spéciale pour les images */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  pointer-events: none;
}

.hero-glass,
.hero-mage-bg {
  will-change: transform;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Section supprimée - déplacée plus haut */

/* Will-change pour les éléments animés */
.banner-track,
.live-announcement,
.hero-glass,
.hero-mage-bg {
  will-change: transform;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
}

.hero-title-mobile,
.hero-subtitle-mobile,
.nav-link {
  font-family: "Kooperative", sans-serif;
}

p,
span,
div,
a,
li,
.hero-date-mobile,
.hero-info-mobile p {
  font-family: "Poppins", sans-serif;
}

/* Live Announcement Banner */
.live-announcement {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #ff2f3a 100%);
  color: white;
  padding: 0.75rem 2rem;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(255, 71, 87, 0.3);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.live-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.live-message {
  font-weight: 500;
  font-size: 0.95rem;
}

.live-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.live-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.twitch-icon {
  width: 16px;
  height: 16px;
}

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

.live-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Ajuster la navbar quand l'annonce live est visible */
.main-navbar.with-live-announcement {
  top: 60px;
}

.main-navbar.visible {
  transform: translateY(0);
}

/* Bandeau de séparation */
.separator-band {
  height: 5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 20%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.2) 80%,
    transparent 100%
  );
  width: 100%;
  margin: 0;
  padding: 0;
  opacity: 0.8;
}

.nav-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo-link:hover {
  transform: scale(1.05);
}

.nav-logo-img {
  height: 50px;
  width: auto;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-family: "Kooperative", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover {
  color: var(--accent-main);
  text-shadow: 0 0 10px rgba(94, 179, 214, 0.3);
}

.nav-link.active {
  color: var(--accent-purple-light);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-purple-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Bouton Newsletter dans la navigation */
.btn-newsletter-nav {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  color: var(--text-white);
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-family: "Kooperative", sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-left: 1rem;
}

.btn-newsletter-nav:hover {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  transform: scale(1.05);
}

/* New Hero Section - Professional & Clean */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding-top: 80px;
  overflow: hidden;
}

.hero-glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: glassShimmer 8s ease-in-out infinite;
}

@keyframes glassShimmer {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }

  50% {
    opacity: 0.8;
    filter: brightness(1.1) contrast(1.05);
  }
}

.hero-mage-bg {
  position: absolute;
  top: 55%;
  right: 5%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  object-fit: contain;
  z-index: 10;
  opacity: 0.8;
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.3))
    drop-shadow(0 0 80px rgba(139, 92, 246, 0.1)) brightness(1.05) contrast(1.1);
  animation: mageGlow 6s ease-in-out infinite;
}

@keyframes mageGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.3))
      drop-shadow(0 0 80px rgba(139, 92, 246, 0.1)) brightness(1.05)
      contrast(1.1);
  }

  50% {
    filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.4))
      drop-shadow(0 0 120px rgba(139, 92, 246, 0.15)) brightness(1.1)
      contrast(1.15);
  }
}

.hero-mage {
  position: absolute;
  top: 70%;
  right: 3%;
  transform: translateY(-50%);
  z-index: 3;
  width: 600px;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mage-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(139, 92, 246, 0.05) 30%,
    rgba(139, 92, 246, 0.02) 60%,
    transparent 100%
  );
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-main {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Kooperative", sans-serif;
  font-size: 6rem;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(88, 106, 227, 0.5);
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  color: var(--accent-yellow);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-description {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: #dfdaf8;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Tournament Info Grid */
.tournament-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tournament-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tournament-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(139, 92, 246, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  50% {
    transform: translateX(0%) translateY(0%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.tournament-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tournament-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.2),
    0 0 80px rgba(139, 92, 246, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.tournament-section:hover::before {
  opacity: 1;
}

/* Phase Header */
.phase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.phase-number {
  font-family: "Kooperative", sans-serif !important;
  font-size: 1.8rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-align: center;
}

.phase-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Phase Details */
.phase-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.detail-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.detail-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.detail-label {
  font-size: 0.9rem;
  color: #b6b2d6;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
}

/* Phase Actions */
.phase-action {
  display: flex;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  color: white;
  box-shadow: 0 8px 24px rgba(88, 106, 230, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(88, 106, 230, 0.5);
  filter: brightness(1.1);
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #b6b2d6;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
  opacity: 0.7;
}

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

.btn-text {
  font-weight: 600;
}

/* Styles pour la nouvelle structure de tournoi simplifiée */
.tournament-info-simple {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  gap: 3rem;
  align-items: stretch;
  min-height: 0;
}

.phase-section {
  flex: 1;
  min-width: 0;
  min-height: 500px;
  max-height: 80vh;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border-left: 4px solid var(--accent-yellow);
  padding: 2rem 2rem 3rem 2rem;
  position: relative;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phase-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 20px;
  pointer-events: none;
}

.phase-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  50% {
    transform: translateX(0%) translateY(0%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.phase-section:last-child {
  border-left: 3px solid var(--accent-pink);
  box-shadow: 0 0 30px rgba(209, 71, 186, 0.3), 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.phase-section:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 50px rgba(255, 222, 89, 0.5), 0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.phase-section:last-child:hover {
  box-shadow: 0 0 50px rgba(209, 71, 186, 0.5), 0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.phase-header-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.phase-title {
  font-family: "Kooperative", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.phase-section:first-child .phase-title {
  color: var(--accent-yellow);
}

.phase-section:last-child .phase-title {
  color: var(--accent-pink);
}

.tournament-table {
  background: transparent;
  border-radius: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  overflow: hidden;
}

.tournament-content {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.tournament-content::-webkit-scrollbar {
  width: 6px;
}

.tournament-content::-webkit-scrollbar-track {
  background: transparent;
}

.tournament-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.tournament-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.tournament-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  min-height: 50px;
  position: relative;
  z-index: 1;
}

.tournament-row:last-child {
  margin-top: auto;
  padding-top: 1.5rem;
  justify-content: center;
}

.tournament-label {
  font-weight: 700;
  color: var(--text-white);
  font-size: 1rem;
  flex: 0 0 120px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tournament-value {
  color: var(--text-white);
  font-size: 1rem;
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: end;
  justify-content: center;
  font-weight: 400;
  line-height: 1.3;
}

.tournament-value strong {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.tournament-value-single strong {
  margin-bottom: 0;
}

.tournament-separator {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0;
  opacity: 0.6;
}

.btn-inline {
  padding: 0.8rem 1.3rem;
  font-size: 0.9rem;
  min-width: auto;
  margin: auto;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 15px;
  gap: 0.5rem;
}

.phase-section:first-child .btn-primary.btn-inline {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(255, 222, 89, 0.4);
}

.phase-section:first-child .btn-primary.btn-inline:hover {
  background: var(--accent-yellow);
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 222, 89, 0.6);
}

.phase-section:last-child .btn-secondary.btn-inline {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  opacity: 0.8;
}

.btn-discord.btn-inline {
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
  margin-left: 1rem;
}

.btn-discord.btn-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(88, 101, 242, 0.4);
}

.btn-discord.btn-inline svg {
  width: 16px;
  height: 16px;
}

/* Responsive pour la structure tournoi */
@media (max-width: 768px) {
  .tournament-info-simple {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }

  .phase-section {
    max-height: none;
    min-height: 400px;
  }

  .tournament-label {
    flex: 0 0 100px;
    font-size: 0.9rem;
  }

  .tournament-value {
    font-size: 0.9rem;
  }
}

/* Responsive Design for New Hero */
@media (max-width: 1024px) {
  .hero-container {
    padding: 3rem 1.5rem;
  }

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

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .tournament-info-grid {
    gap: 1.5rem;
  }

  .tournament-section {
    padding: 1.5rem;
  }

  .hero-mage-bg {
    right: -10%;
    width: 550px;
    height: 650px;
    top: 65%;
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 2rem 1rem;
    min-height: calc(100vh - 60px);
  }

  .hero-content {
    gap: 3rem;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .tournament-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
  }

  .tournament-section {
    padding: 1.5rem;
  }

  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .phase-title {
    font-size: 1.3rem;
  }

  .detail-item {
    padding: 0.875rem;
  }

  .detail-icon {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-mage-bg {
    position: absolute;
    top: 80%;
    right: -15%;
    width: 350px;
    height: 420px;
    transform: translateY(-50%);
    opacity: 0.4;
    z-index: 0;
  }

  .hero-glass {
    opacity: 0.08;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 1.5rem 0.75rem;
  }

  .hero-content {
    gap: 2.5rem;
  }

  .hero-main {
    max-width: 100%;
  }

  .hero-title {
    font-size: 3rem;
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .tournament-info-grid {
    max-width: 100%;
  }

  .tournament-section {
    padding: 1.25rem;
  }

  .phase-header {
    gap: 0.5rem;
  }

  .phase-badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }

  .phase-title {
    font-size: 1.1rem;
  }

  .detail-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .detail-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .detail-label {
    font-size: 0.8rem;
  }

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

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }

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

.hero-subtitle-mobile {
  font-family: "Kooperative", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-yellow);
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero-date-mobile {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: #a8a8a8;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Tournament Info */
.tournament-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.info-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 106, 227, 0.3);
}

.info-item:hover::before {
  transform: scaleX(1);
}

.info-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--accent-purple-light) 0%,
    var(--accent-main) 100%
  );
  border-radius: 15px;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.info-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.info-item:hover .info-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(88, 106, 227, 0.3);
}

.info-item:hover .info-icon-wrapper::before {
  transform: translateX(100%);
}

.info-icon {
  width: 28px;
  height: 28px;
  color: var(--primary-blue);
  transition: all 0.4s ease;
  z-index: 1;
  position: relative;
}

.info-item:hover .info-icon {
  transform: scale(1.1);
}

.info-content {
  flex: 1;
}

.info-content h3 {
  font-family: "Poppins", sans-serif;
  color: var(--accent-main);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.info-item:hover .info-content h3 {
  transform: translateX(5px);
}

.info-content p {
  font-size: 1rem;
  color: #dfdaf8;
  line-height: 1.6;
  margin: 0;
  transition: all 0.3s ease;
}

.info-item:hover .info-content p {
  transform: translateX(5px);
}

/* Variations de couleur pour les info-items */
.tournament-info-grid .info-item:nth-child(1) .info-icon-wrapper {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-light)
  );
}

.tournament-info-grid .info-item:nth-child(2) .info-icon-wrapper {
  background: linear-gradient(
    135deg,
    var(--accent-pink),
    var(--accent-purple-alt)
  );
}

.tournament-info-grid .info-item:nth-child(3) .info-icon-wrapper {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
}

.tournament-info-grid .info-item:nth-child(4) .info-icon-wrapper {
  background: linear-gradient(
    135deg,
    var(--accent-purple-light),
    var(--accent-pink)
  );
}

/* Newsletter Button */
.btn-newsletter {
  background: linear-gradient(
    135deg,
    var(--accent-pink),
    var(--accent-purple-alt)
  );
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-family: "Kooperative", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(209, 71, 186, 0.25);
}

.btn-newsletter:hover {
  background: linear-gradient(
    135deg,
    var(--accent-purple-alt),
    var(--accent-pink)
  );
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(209, 71, 186, 0.35);
}

/* Partners Banner */
.partners-banner {
  padding: 2rem 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.banner-container {
  overflow: hidden;
}

.banner-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 3rem;
}

.partner-logo {
  background: rgba(255, 255, 255, 1);
  padding: 1rem 2rem;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 80px;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Agrandir le logo Sheep */
.partner-logo img[src*="sheep"] {
  transform: scale(1.2);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Sections générales */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: "Kooperative", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Inscriptions Section */
.inscriptions {
  padding: 5rem 0;
}

.inscriptions .section-title {
  color: var(--accent-yellow);
}

.inscription-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.inscription-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 250px;
}

.inscription-info h3 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.inscription-info p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.inscription-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-white);
}

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

.btn-toornament,
.btn-find-team,
.btn-reglement,
.btn-discord-tournament {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  min-width: 300px;
}

.btn-toornament::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.btn-find-team::before,
.btn-reglement::before,
.btn-discord-tournament::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.btn-toornament:hover::before,
.btn-find-team:hover::before,
.btn-reglement:hover::before,
.btn-discord-tournament:hover::before {
  opacity: 1;
}

.btn-toornament:hover,
.btn-find-team:hover,
.btn-reglement:hover,
.btn-discord-tournament:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(88, 106, 227, 0.5);
  border-color: rgba(88, 106, 227, 0.7);
  background: linear-gradient(135deg, #586ae3 0%, #586ae3 50%, #586ae3 100%);
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-gray);
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.btn-toornament:hover .btn-icon-wrapper,
.btn-find-team:hover .btn-icon-wrapper,
.btn-reglement:hover .btn-icon-wrapper,
.btn-discord-tournament:hover .btn-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(88, 106, 227, 0.3);
}

.btn-icon-svg {
  width: 24px;
  height: 24px;
  color: var(--text-white);
  transition: all 0.4s ease;
}

.btn-toornament:hover .btn-icon-svg,
.btn-find-team:hover .btn-icon-svg,
.btn-reglement:hover .btn-icon-svg,
.btn-discord-tournament:hover .btn-icon-svg {
  transform: scale(1.1);
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  z-index: 2;
  position: relative;
}

.btn-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: normal;
  transition: all 0.3s ease;
}

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--text-white);
  transition: all 0.4s ease;
}

.btn-toornament:hover .btn-arrow,
.btn-find-team:hover .btn-arrow,
.btn-reglement:hover .btn-arrow,
.btn-discord-tournament:hover .btn-arrow {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.btn-toornament:hover .btn-arrow svg,
.btn-find-team:hover .btn-arrow svg,
.btn-reglement:hover .btn-arrow svg,
.btn-discord-tournament:hover .btn-arrow svg {
  transform: translateX(3px);
}

/* Section des équipes - Nouveau système dynamique */
.teams-section {
  padding: 5rem 0;
}

.teams-section .section-title {
  color: var(--accent-yellow);
}

.placeholder-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-white);
}

.placeholder-message {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: var(--text-white);
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
}

/* Qui Sommes-Nous Section */
.qui-sommes-nous {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.qui-sommes-nous::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.qui-sommes-nous .section-title {
  color: var(--accent-yellow);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.qui-sommes-nous .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  border-radius: 2px;
}

/* Hero section */
.association-hero {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.association-hero img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 2rem auto;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  border-radius: 50%;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}

.hero-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-white);
}

.hero-content h3 {
  font-family: "Poppins", sans-serif;
  color: var(--accent-yellow);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-white);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Missions section */
.missions-section {
  margin-bottom: 6rem;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-family: "Poppins", sans-serif;
  color: var(--accent-yellow);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.mission-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 106, 227, 0.3);
}

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

.mission-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  border-radius: 15px;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.mission-card:hover .mission-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(88, 106, 227, 0.3);
}

.mission-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-white);
}

.mission-card h4 {
  font-family: "Poppins", sans-serif;
  color: var(--text-gray);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mission-card p {
  color: var(--text-white);
  line-height: 1.6;
  font-size: 1rem;
}

/* Team section */
.team-section {
  margin-bottom: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

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

.team-category {
  margin-bottom: 3rem;
}

.team-category h4 {
  font-family: "Poppins", sans-serif;
  color: var(--text-gray);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.team-subcategory {
  margin-bottom: 3rem;
}

.team-subcategory h5 {
  font-family: "Poppins", sans-serif;
  color: var(--accent-yellow);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border-bottom: 2px solid var(--accent-yellow);
  padding-bottom: 0.5rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

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

.member-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.member-card:hover::before {
  left: 100%;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(88, 106, 227, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.member-card[onclick] {
  position: relative;
}

.member-card[onclick]::after {
  content: "🔗";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-card[onclick]:hover::after {
  opacity: 1;
}

.member-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4a186a 0%, #758db0 100%);
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.member-card:hover .member-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(88, 106, 227, 0.4);
  border-color: var(--accent-main);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.member-avatar svg {
  width: 35px;
  height: 35px;
  color: var(--primary-blue);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.member-info h5 {
  font-family: "Poppins", sans-serif;
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.member-info h2 {
  font-family: "Poppins", sans-serif;
  color: var(--accent-main);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-style: italic;
}

.member-info p {
  color: var(--text-gray);
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
}

/* CTA section */
.cta-section {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 25px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h3 {
  font-family: "Poppins", sans-serif;
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-content p {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-discord {
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 25px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.4);
}

.btn-discord svg {
  width: 20px;
  height: 20px;
}

/* Responsive pour l'annonce live */
@media (max-width: 768px) {
  .live-announcement {
    padding: 0.5rem 1rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .association-hero img {
    width: 150px;
    height: 150px;
  }

  .live-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .live-message {
    font-size: 0.85rem;
  }

  .live-button {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .main-navbar.with-live-announcement {
    top: 100px;
  }
}

@media (max-width: 480px) {
  .live-announcement {
    padding: 0.4rem 0.8rem;
  }

  .live-message {
    font-size: 0.8rem;
  }

  .live-button {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .main-navbar.with-live-announcement {
    top: 90px;
  }
}

/* Responsive pour Qui Sommes-Nous */
@media (max-width: 768px) {
  .qui-sommes-nous {
    padding: 4rem 0;
  }

  .qui-sommes-nous .section-title {
    font-size: 2rem;
  }

  .hero-content h3 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .missions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mission-card {
    padding: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-subcategory {
    margin-bottom: 2rem;
  }

  .team-subcategory h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .members-grid {
    gap: 0.8rem;
  }

  .member-card {
    padding: 1.2rem;
    gap: 1rem;
  }

  .member-avatar {
    width: 50px;
    height: 50px;
  }

  .member-info h5 {
    font-size: 1.1rem;
  }

  .member-info h2 {
    font-size: 0.9rem;
  }

  .cta-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .btn-discord {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

.contact .section-title {
  color: var(--accent-yellow);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 222, 89, 0.2);
}

.contact-link {
  color: var(--text-white);
  text-decoration: none;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-white);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-main);
  background: rgba(94, 179, 214, 0.05);
  box-shadow: 0 0 15px rgba(94, 179, 214, 0.2);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--primary-blue);
  color: var(--text-white);
  padding: 0.5rem;
}

/* Correction pour la couleur du menu déroulant */
.form-group select:focus option {
  background: var(--primary-blue);
  color: var(--text-white);
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:active {
  background: var(--accent-yellow);
  color: var(--primary-blue);
}

.btn-submit {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-family: "Kooperative", sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  width: 100%;
  box-shadow: 0 6px 20px rgba(125, 106, 232, 0.25);
}

.btn-submit:hover {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  transform: scale(1.02);
  box-shadow: 0 8px 25px var(--accent-main);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 106, 227, 0.3);
}

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

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px var(--accent-main);
}

.contact-icon-svg {
  width: 28px;
  height: 28px;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-svg {
  transform: scale(1.1);
}

.contact-form h3,
.contact-info h3 {
  font-family: "Poppins", sans-serif;
  color: var(--accent-main);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.contact-details h3 {
  font-family: "Kooperative", sans-serif;
  color: var(--accent-main);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details p {
  color: var(--text-white);
  line-height: 1.5;
  font-size: 1rem;
  margin: 0;
}

/* Mentions Légales Page */
.mentions-legales-page {
  background: var(--primary-blue);
  padding: 8rem 0 5rem 0;
  min-height: 100vh;
  color: var(--text-white);
}

.page-title {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--accent-yellow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
  font-family: "Poppins", sans-serif;
  color: var(--accent-yellow);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-yellow);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
}

.legal-section p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 400;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--text-white);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2a1f5c 100%);
  color: var(--text-white);
  padding: 4rem 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-main) 50%,
    transparent 100%
  );
}

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

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Brand section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-logo span {
  font-family: "Kooperative", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-gray);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
}

/* Navigation section */
.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-family: "Poppins", sans-serif;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  position: relative;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: linear-gradient(135deg, var(--accent-main), var(--accent-purple-alt));
  transform: translateX(5px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* Contact section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.contact-item .contact-icon {
  width: 18px;
  height: 18px;
  color: var(--text-gray);
  flex-shrink: 0;
}

.contact-item span {
  color: var(--text-white);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Social section */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  transform: translateX(5px);
  box-shadow: 0 4px 12px var(--accent-main);
}

.social-link .social-icon {
  width: 20px;
  height: 20px;
  color: var(--text-gray);
  flex-shrink: 0;
}

.social-link span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-legal p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--accent-main);
}

.footer-developer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-developer p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

.developer-link {
  color: var(--accent-main) !important;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.developer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-main);
  transition: width 0.3s ease;
}

.developer-link:hover {
  color: var(--accent-main) !important;
  transform: translateY(-1px);
}

.developer-link:hover::after {
  width: 100%;
}

/* Newsletter Popup */
.newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.newsletter-popup.active {
  display: flex;
}

.popup-content {
  background: var(--primary-blue);
  border-radius: 15px;
  padding: 2rem;
  max-width: 700px;
  width: 95%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.popup-header h3 {
  font-family: "Kooperative", sans-serif;
  color: var(--accent-yellow);
  font-size: 1.5rem;
}

.popup-close {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: var(--accent-pink);
}

.popup-body p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-family: "Poppins", sans-serif;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

.newsletter-form button {
  background: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-purple-alt)
  );
  color: var(--text-white);
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-family: "Kooperative", sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.newsletter-form button:hover {
  background: #586ae3;
}

/* Styles pour l'iframe de newsletter */
.newsletter-iframe-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: white;
}

.newsletter-iframe-container iframe {
  width: 100%;
  height: 416px;
  border: none;
  display: block;
  background: white;
}

/* Messages de la newsletter */
.newsletter-message {
  padding: 0.8rem;
  border-radius: 5px;
  margin-top: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  text-align: center;
  animation: fadeIn 0.3s ease-in;
}

.newsletter-message-success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: #4caf50;
}

.newsletter-message-error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
  color: #f44336;
}

.newsletter-message-info {
  background: rgba(33, 150, 243, 0.2);
  border: 1px solid rgba(33, 150, 243, 0.5);
  color: #2196f3;
}

/* Messages du formulaire de contact */
.contact-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  text-align: center;
  animation: fadeIn 0.3s ease-in;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-message-success {
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid rgba(76, 175, 80, 0.6);
  color: #4caf50;
  border-left: 4px solid #4caf50;
}

.contact-message-error {
  background: rgba(244, 67, 54, 0.15);
  border: 2px solid rgba(244, 67, 54, 0.6);
  color: #f44336;
  border-left: 4px solid #f44336;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glow Animation */
@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }

  to {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8),
      0 0 40px rgba(255, 255, 255, 0.3);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hero section */
  .hero-title-mobile {
    font-size: 8rem;
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .hero-subtitle-mobile {
    font-size: 1.2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-date-mobile {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-content-mobile {
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-flex-row {
    flex-direction: column;
    gap: 2rem;
    position: relative;
    width: 100%;
    align-items: center;
  }

  .tournament-cards-container {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    order: 1;
  }

  .hero-mage {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 350px;
    height: 420px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    margin: 2rem 0;
  }

  .mage-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
  }

  /* Tournament info */
  .tournament-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  .info-item {
    padding: 1.5rem;
    gap: 1rem;
    text-align: center;
  }

  .info-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem auto;
  }

  .info-icon {
    width: 24px;
    height: 24px;
  }

  .info-content h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .info-content p {
    font-size: 0.95rem;
    text-align: center;
  }

  /* Navigation responsive */
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-newsletter-nav {
    display: none;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(43, 35, 84, 0.98);
    padding: 1.5rem;
    gap: 0.8rem;
    z-index: 1002;
    border-top: 1px solid var(--accent-yellow);
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  /* Sections responsive */
  .section-container {
    padding: 2rem 1rem;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .inscription-content,
  .association-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .inscription-actions {
    min-width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .inscription-info {
    text-align: center;
    padding: 0 1rem;
  }

  .inscription-info h3 {
    text-align: center;
    font-size: 1.8rem;
  }

  .inscription-info p {
    text-align: center;
  }

  .inscription-details {
    text-align: center;
    align-items: center;
  }

  .detail-item {
    justify-content: center;
    text-align: center;
  }

  .teams-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .team-card {
    text-align: center;
    padding: 1.5rem;
    margin: 0 0.5rem;
    background: #dfdaf8;
  }

  .control-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-control {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .founders-grid,
  .team-members-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title-mobile {
    font-size: 3rem;
  }

  .hero-subtitle-mobile {
    font-size: 1rem;
  }

  .hero-date-mobile {
    font-size: 0.9rem;
  }

  .hero-content-mobile {
    padding: 1rem;
  }

  .section-container {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn-toornament,
  .btn-find-team {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    min-width: 250px;
    gap: 1rem;
  }

  .btn-icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .btn-icon-svg {
    width: 20px;
    height: 20px;
  }

  .btn-arrow {
    width: 25px;
    height: 25px;
  }

  .btn-arrow svg {
    width: 14px;
    height: 14px;
  }

  .team-card {
    padding: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

  .contact-card {
    padding: 1.5rem;
  }

  .contact-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .contact-icon-svg {
    width: 24px;
    height: 24px;
  }

  .footer-content {
    padding: 2rem 1rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-description {
    text-align: center;
    max-width: 100%;
  }

  .footer-nav h4,
  .footer-contact h4,
  .footer-social h4 {
    text-align: center;
    font-size: 1rem;
  }

  .footer-links {
    align-items: center;
  }

  .contact-info {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .social-links {
    align-items: center;
  }

  .social-link {
    justify-content: center;
    min-width: 200px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-developer {
    justify-content: center;
  }

  .page-title {
    font-size: 2rem;
  }

  .legal-content {
    padding: 2rem 1rem;
  }

  .legal-section {
    margin-bottom: 2rem;
  }

  .partner-logo {
    min-width: 120px;
    height: 60px;
  }
}

/* Animations d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive improvements for mobile */
@media (max-width: 480px) {
  /* Hero section */
  .hero-title-mobile {
    font-size: 4.5rem;
    text-align: center;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }

  .association-hero img {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle-mobile {
    font-size: 1rem;
    text-align: center;
    padding: 0 0.5rem;
  }

  .hero-date-mobile {
    font-size: 0.9rem;
    text-align: center;
    padding: 0 0.5rem;
  }

  .hero-content-mobile {
    padding: 1rem 0.5rem;
    text-align: center;
  }

  .hero-flex-row {
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    width: 100%;
    align-items: center;
  }

  .tournament-cards-container {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .hero-mage {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 280px;
    height: 320px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
  }

  .mage-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  }

  /* Sections */
  .section-container {
    padding: 2rem 0.5rem;
    text-align: center;
  }

  .section-title {
    font-size: 1.8rem;
    text-align: center;
    padding: 0 0.5rem;
  }

  /* Buttons */
  .btn-toornament,
  .btn-find-team {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    min-width: 280px;
    gap: 1rem;
    margin: 0 auto;
  }

  /* Tournament info */
  .tournament-info {
    padding: 0 0.5rem;
    gap: 1rem;
  }

  .info-item {
    padding: 1.2rem;
    text-align: center;
  }

  .info-icon-wrapper {
    width: 45px;
    height: 45px;
    margin: 0 auto 0.8rem auto;
  }

  .info-icon {
    width: 22px;
    height: 22px;
  }

  .info-content h3 {
    font-size: 1rem;
    text-align: center;
  }

  .info-content p {
    font-size: 0.9rem;
    text-align: center;
  }

  /* Inscriptions */
  .inscription-content {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .inscription-info {
    padding: 0 0.5rem;
  }

  .inscription-info h3 {
    font-size: 1.6rem;
    text-align: center;
  }

  .inscription-info p {
    font-size: 1rem;
    text-align: center;
  }

  .inscription-details {
    gap: 0.8rem;
  }

  .detail-item {
    font-size: 0.9rem;
    justify-content: center;
  }

  /* Teams */
  .team-card {
    padding: 1rem;
    text-align: center;
    margin: 0 0.25rem;
    background: #dfdaf8;
  }

  .player {
    padding: 0.4rem;
    font-size: 0.9rem;
  }

  /* Contact */
  .contact-form {
    padding: 1.5rem;
    text-align: center;
  }

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

  .form-group {
    text-align: left;
  }

  .form-group label {
    text-align: left;
  }

  .contact-card {
    padding: 1.5rem;
    text-align: center;
  }

  .contact-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem auto;
  }

  .contact-details h3 {
    text-align: center;
    font-size: 1.1rem;
  }

  .contact-details p {
    text-align: center;
    font-size: 0.9rem;
  }

  /* Qui sommes-nous */
  .hero-content h3 {
    font-size: 1.8rem;
    text-align: center;
  }

  .hero-description {
    font-size: 1.1rem;
    text-align: center;
    padding: 0 0.5rem;
  }

  .missions-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .mission-card {
    padding: 1.5rem;
    text-align: center;
  }

  .mission-card h4 {
    font-size: 1.1rem;
    text-align: center;
  }

  .mission-card p {
    font-size: 0.9rem;
    text-align: center;
  }

  .team-grid {
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .members-grid {
    gap: 1rem;
  }

  .member-card {
    padding: 1rem;
    gap: 0.8rem;
  }

  .member-avatar {
    width: 60px;
    height: 60px;
  }

  .member-info h5 {
    font-size: 0.9rem;
  }

  .member-info h2 {
    font-size: 0.8rem;
  }

  .member-info p {
    font-size: 0.75rem;
  }

  .cta-content {
    padding: 1.5rem;
    margin: 0 0.5rem;
    text-align: center;
  }

  .cta-content h3 {
    font-size: 1.4rem;
    text-align: center;
  }

  .cta-content p {
    font-size: 1rem;
    text-align: center;
  }

  .btn-discord {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    margin: 0 auto;
  }

  /* Newsletter popup responsive */
  .popup-content {
    max-width: 95%;
    padding: 1.5rem;
    margin: 1rem;
  }

  .newsletter-iframe-container {
    max-width: 100%;
  }

  .newsletter-iframe-container iframe {
    height: 350px;
  }
}

/* ===== STYLES D'AUTHENTIFICATION ===== */

/* Modal d'authentification */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.auth-modal-content {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1a1a3a 100%);
  border: 2px solid var(--accent-yellow);
  border-radius: 15px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-modal-header h3 {
  color: var(--accent-yellow);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.auth-close-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.auth-close-btn:hover {
  color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.1);
}

.auth-modal-body p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-form {
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 222, 89, 0.2);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-auth {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-yellow);
  background: var(--accent-yellow);
  color: var(--primary-blue);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-auth:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 222, 89, 0.1) 0%,
    rgba(255, 105, 180, 0.05) 100%
  );
  color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 222, 89, 0.4);
}

.btn-auth-secondary {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-pink);
  background: transparent;
  color: var(--accent-pink);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-auth-secondary:hover {
  background: linear-gradient(
    135deg,
    var(--accent-pink) 0%,
    #ff8ab4 50%,
    #ff69b4 100%
  );
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.auth-status {
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 1rem;
}

.auth-status.success {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.auth-status.error {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Bouton d'authentification discret */
.auth-btn-discret {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 9999;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.auth-btn-discret:hover {
  opacity: 1;
  transform: scale(1.1);
}

.auth-btn-discret.authenticated {
  opacity: 0.8;
}

.auth-btn-discret.authenticated:hover {
  opacity: 1;
}

.auth-btn-inner {
  width: 100%;
  height: 100%;
  background: var(--accent-yellow);
  border-radius: 50%;
  position: relative;
}

.auth-btn-discret.authenticated .auth-btn-inner {
  background: #4caf50;
}

/* Bouton d'authentification dans la navigation (ancien style - gardé pour compatibilité) */
.auth-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.auth-btn:hover {
  background: rgba(255, 222, 89, 0.2);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.auth-btn.authenticated {
  background: rgba(76, 175, 80, 0.2);
  border-color: #4caf50;
  color: #4caf50;
}

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

.auth-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--primary-blue);
  border: 2px solid var(--accent-yellow);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  color: var(--text-white);
  font-weight: 500;
  z-index: 10001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  border-color: #4caf50;
  background: linear-gradient(135deg, #2b2354 0%, #1a1a3a 100%);
}

.notification-error {
  border-color: #f44336;
  background: linear-gradient(135deg, #2b2354 0%, #1a1a3a 100%);
}

.notification-info {
  border-color: #2196f3;
  background: linear-gradient(135deg, #2b2354 0%, #1a1a3a 100%);
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 1rem;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.notification-close:hover {
  color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.1);
}

/* Indicateur de statut d'authentification */
.auth-status-indicator {
  background: linear-gradient(
    135deg,
    rgba(255, 71, 87, 0.1) 0%,
    rgba(255, 55, 66, 0.1) 100%
  );
  border: 2px solid rgba(255, 71, 87, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  text-align: center;
  transition: all 0.3s ease;
}

.auth-status-indicator.authenticated {
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1) 0%,
    rgba(67, 160, 71, 0.1) 100%
  );
  border-color: rgba(76, 175, 80, 0.3);
}

.status-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-white);
  font-weight: 500;
}

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

.status-text {
  font-size: 0.9rem;
}

.auth-status-indicator.authenticated .status-icon {
  color: #4caf50;
}

.auth-status-indicator:not(.authenticated) .status-icon {
  color: #f44336;
}

/* Responsive pour l'authentification */
@media (max-width: 768px) {
  .auth-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .auth-modal-header h3 {
    font-size: 1.3rem;
  }

  .auth-buttons {
    flex-direction: column;
  }

  .btn-auth,
  .btn-auth-secondary {
    width: 100%;
  }

  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100px);
  }

  .notification.show {
    transform: translateY(0);
  }

  .auth-btn {
    padding: 0.4rem 0.8rem;
  }

  .auth-text {
    display: none;
  }
}

/* ===== STYLES POUR LA NAVBAR ADMIN ===== */

/* Bouton de login dans la navbar */
.btn-login-nav {
  background: transparent;
  border: none;
  color: var(--text-gray);
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
  opacity: 0.7;
}

.btn-login-nav:hover {
  opacity: 1;
  color: var(--accent-yellow);
  background: linear-gradient(
    135deg,
    rgba(255, 222, 89, 0.2) 0%,
    rgba(255, 105, 180, 0.1) 100%
  );
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.3);
}

.btn-login-nav.authenticated {
  color: var(--accent-yellow);
  opacity: 1;
}

.login-icon-nav {
  width: 20px;
  height: 20px;
}

/* Bouton de gestion des équipes dans la navbar */
.btn-teams-nav {
  background: transparent;
  border: none;
  color: var(--accent-yellow);
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
  opacity: 0.8;
}

.btn-teams-nav:hover {
  opacity: 1;
  background: linear-gradient(
    135deg,
    rgba(255, 222, 89, 0.2) 0%,
    rgba(255, 105, 180, 0.1) 100%
  );
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.3);
}

.teams-icon-nav {
  width: 20px;
  height: 20px;
}

.admin-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-admin-nav {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-admin-nav:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 222, 89, 0.1) 0%,
    rgba(255, 105, 180, 0.05) 100%
  );
  color: var(--accent-yellow);
  border: 2px solid var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 222, 89, 0.3);
}

/* Responsive pour la gestion des équipes */
@media (max-width: 768px) {
  .teams-modal-content {
    padding: 1rem;
    margin: 1rem;
    max-height: 95vh;
  }

  .teams-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-btn {
    text-align: center;
  }

  .team-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .team-actions {
    width: 100%;
    justify-content: space-between;
  }

  .players-inputs {
    grid-template-columns: 1fr;
  }

  .player-edit-item {
    flex-direction: column;
    align-items: stretch;
  }

  .edit-actions {
    flex-direction: column;
  }

  /* Responsive pour la navbar admin */
  .admin-controls {
    margin-left: auto;
  }

  .btn-admin-nav {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  /* Responsive pour les boutons navbar */
  .btn-login-nav,
  .btn-teams-nav {
    padding: 0.4rem;
    margin-left: 0.25rem;
  }

  .login-icon-nav,
  .teams-icon-nav {
    width: 18px;
    height: 18px;
  }

  /* Responsive pour le menu admin */
  .admin-menu {
    right: 10px !important;
    left: 10px !important;
    width: auto;
  }

  .admin-menu-content {
    min-width: auto;
  }
}

/* Styles pour les encarts de tournoi */
.tournament-cards {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tournament-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.tournament-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a186a, #758db0);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tournament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 106, 227, 0.3);
}

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

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

.card-title {
  font-family: "Poppins", sans-serif;
  color: var(--accent-yellow);
  font-size: 1.4rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-status {
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-status.active {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.card-status.coming-soon {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.info-value {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1rem;
}

.card-actions {
  display: flex;
  justify-content: center;
}

.btn-card-primary {
  background: linear-gradient(135deg, #4a186a 0%, #758db0 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-card-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(88, 106, 227, 0.4);
}

.btn-card-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: not-allowed;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

@media (max-width: 1100px) {
  .tournament-card {
    max-width: 100%;
    min-height: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .tournament-card {
    padding: 1.2rem 1rem 1rem 1.2rem;
    min-width: 0;
    min-height: 0;
  }

  .card-title {
    font-size: 1.3rem;
  }
}

/* HERO FLEX LAYOUT */
.hero-flex-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-mage-flex {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
}

.tournament-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.tournament-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a186a, #758db0);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tournament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 106, 227, 0.3);
}

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

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

.card-title {
  font-family: "Poppins", sans-serif;
  color: var(--accent-yellow);
  font-size: 1.4rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-status {
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-status.active {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.card-status.coming-soon {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.info-value {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1rem;
}

.card-actions {
  display: flex;
  justify-content: center;
}

.btn-card-primary {
  background: linear-gradient(135deg, #4a186a 0%, #758db0 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-card-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(88, 106, 227, 0.4);
}

.btn-card-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: not-allowed;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

@media (max-width: 1100px) {
  .tournament-card {
    max-width: 100%;
    min-height: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .tournament-card {
    padding: 1.2rem 1rem 1rem 1.2rem;
    min-width: 0;
    min-height: 0;
  }

  .card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .tournament-card {
    padding: 0.875rem;
    margin: 0.375rem 0;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .info-label,
  .info-value {
    font-size: 0.8rem;
  }

  .btn-card-primary,
  .btn-card-secondary {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }
}

/* Améliorations spécifiques pour mobile */
@media (max-width: 768px) {
  /* Optimiser les animations sur mobile */
  .tournament-card {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
  }

  .tournament-card.visible {
    transform: translateY(0);
    opacity: 1;
  }

  /* Améliorer la lisibilité sur mobile */
  .hero-title-mobile {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  /* Optimiser l'espacement des cartes */
  .hero-flex-row {
    gap: 1rem;
    margin-top: 1rem;
  }

  /* Améliorer les boutons sur mobile */
  .btn-card-primary,
  .btn-card-secondary {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
    /* Taille minimale pour le touch */
  }

  /* Optimiser les informations dans les cartes */
  .info-row {
    padding: 0.4rem 0;
  }

  .info-label,
  .info-value {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  /* Optimisations pour très petits écrans */
  .hero-title-mobile {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .tournament-card {
    padding: 0.875rem;
    margin: 0.375rem 0;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .info-label,
  .info-value {
    font-size: 0.8rem;
  }

  .btn-card-primary,
  .btn-card-secondary {
    padding: 0.6rem 0.875rem;
    font-size: 0.75rem;
  }

  /* Améliorer la navigation mobile */
  .nav-menu.active {
    padding: 1rem 0;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Optimiser les sections */
  .section-container {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Améliorations pour l'accessibilité mobile */
@media (max-width: 768px) {
  /* Augmenter la taille des zones de clic */
  .btn-card-primary,
  .btn-card-secondary,
  .nav-link,
  .btn-newsletter-nav {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Améliorer le contraste pour la lisibilité */
  .info-label {
    color: rgba(223, 218, 248, 0.8);
  }

  .info-value {
    color: #dfdaf8;
    font-weight: 600;
  }

  /* Optimiser les transitions pour les performances */
  .tournament-card,
  .hero-title-mobile,
  .hero-flex-row {
    will-change: transform, opacity;
  }
}

/* ===== STYLES POUR LE NOUVEAU PANNEAU D'ADMINISTRATION ===== */

.admin-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1a1a3a 100%);
  border-left: 3px solid var(--accent-yellow);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 10002;
  display: none;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.admin-panel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.admin-panel-title h3 {
  color: var(--accent-yellow);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-panel-close {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-panel-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-yellow);
  transform: rotate(90deg);
}

.admin-panel-close svg {
  width: 24px;
  height: 24px;
}

.admin-panel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.admin-welcome {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.3);
}

.admin-avatar-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.admin-user-details h4 {
  color: var(--accent-yellow);
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.admin-user-details p {
  color: var(--text-white);
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.admin-modules {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-module {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-module:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 222, 89, 0.2);
}

.module-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-content {
  flex: 1;
}

.module-content h4 {
  color: var(--text-white);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.module-content p {
  color: var(--text-white);
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
}

.module-action {
  flex-shrink: 0;
}

.module-btn {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #ff6b35 100%);
  border: none;
  color: var(--primary-blue);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.3);
}

.module-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 222, 89, 0.4);
  background: linear-gradient(135deg, #ffd633 0%, #ff8533 100%);
}

.module-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.module-btn:hover svg {
  transform: translateX(2px);
}

.admin-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logout-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  border: none;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.admin-logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
  background: linear-gradient(135deg, #ff5e6c 0%, #ff4d5a 100%);
}

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

/* Responsive pour le panneau admin */
@media (max-width: 768px) {
  .admin-panel {
    max-width: 100%;
    width: 100%;
  }

  .admin-panel-header {
    padding: 1rem;
  }

  .admin-panel-title h3 {
    font-size: 1.1rem;
  }

  .admin-panel-content {
    padding: 1rem;
  }

  .admin-welcome {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .admin-avatar {
    width: 50px;
    height: 50px;
  }

  .admin-avatar-icon {
    font-size: 1.5rem;
  }

  .admin-module {
    padding: 1rem;
    gap: 0.75rem;
  }

  .module-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .module-content h4 {
    font-size: 1rem;
  }

  .module-content p {
    font-size: 0.85rem;
  }

  .module-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* ===== STYLES POUR LES NOUVEAUX SÉLECTEURS D'ÉQUIPES ===== */

.team-selector {
  position: relative;
  display: inline-block;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-selector:hover {
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.1);
}

.team-selector.open {
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 222, 89, 0.2);
}

.team-selector-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: var(--text-white);
  font-size: 0.9rem;
}

.team-selector-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-selector-arrow {
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.team-selector.open .team-selector-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.team-selector-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1a1a3a 100%);
  border: 1px solid var(--accent-yellow);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 300px;
  overflow: hidden;
}

.team-selector.open .team-selector-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.team-selector-search {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-white);
  font-size: 0.85rem;
  outline: none;
  transition: all 0.3s ease;
}

.team-search-input:focus {
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 222, 89, 0.2);
}

.team-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.team-selector-options {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.team-selector-options::-webkit-scrollbar {
  width: 6px;
}

.team-selector-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.team-selector-options::-webkit-scrollbar-thumb {
  background: var(--accent-yellow);
  border-radius: 3px;
}

.team-selector-options::-webkit-scrollbar-thumb:hover {
  background: #ffd633;
}

.team-option {
  padding: 0.75rem 1rem;
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-option:last-child {
  border-bottom: none;
}

.team-option:hover {
  background: rgba(255, 222, 89, 0.1);
  color: var(--accent-yellow);
  padding-left: 1.25rem;
}

.team-option[data-value=""] {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.team-option[data-value=""]:hover {
  color: var(--accent-yellow);
}

/* Responsive pour les sélecteurs d'équipes */
@media (max-width: 768px) {
  .team-selector {
    min-width: 150px;
  }

  .team-selector-display {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  .team-selector-dropdown {
    max-height: 250px;
  }

  .team-selector-options {
    max-height: 150px;
  }

  .team-option {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ===== STYLES POUR L'INDICATEUR DE PUBLICATION ===== */
.publish-indicator {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.publish-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.publish-status.online {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.publish-status.offline {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

@media (max-width: 768px) {
  .publish-indicator {
    margin-right: 0.5rem;
  }

  .publish-status {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }
}

/* ===============================
   STYLES ÉQUIPES CARTES & MODAL
   =============================== */

/* Loading des équipes */
.teams-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #dfdaf8;
  gap: 1rem;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(88, 106, 230, 0.3);
  border-top: 3px solid #586ae6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Grid d'équipes */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px);
  gap: 1.5rem;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/* Cartes d'équipes compactes */
.team-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(88, 106, 230, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
  width: 250px;
  height: 280px;
  margin: 0 auto;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 222, 89, 0.6);
}

.team-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  height: 100%;
  justify-content: center;
}

.team-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #586ae6;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.team-card:hover .team-logo {
  border-color: #ffde59;
  transform: scale(1.1);
}

.team-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-logo-placeholder {
  display: none;
}

.team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.team-name {
  font-family: "Kooperative", "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffde59;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  transition: all 0.3s ease;
  word-break: break-word;
}

.team-card:hover .team-name {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 222, 89, 0.5);
}

.team-players-count {
  font-size: 0.9rem;
  color: rgba(223, 218, 248, 0.7);
  font-weight: 500;
}

.team-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(43, 35, 84, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.view-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #ffde59;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-details svg {
  width: 32px;
  height: 32px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Équipe */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: all 0.3s ease;
}

.team-modal.active {
  opacity: 1;
  visibility: visible;
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(43, 35, 84, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(88, 106, 230, 0.3);
  border-radius: 20px;
  max-width: 700px;
  width: 90%;
  max-height: 80%;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-team-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  padding-right: 3rem;
}

.modal-team-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
}

.modal-team-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-logo-placeholder {
  display: none;
}

.modal-team-details h3 {
  font-family: "Kooperative", "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffde59;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.modal-team-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(223, 218, 248, 0.8);
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
  animation: pulse 2s infinite;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f44336;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(244, 67, 54, 0.3);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-body {
  padding: 1rem 1.25rem 1.25rem;
  max-height: 550px;
  overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(88, 106, 230, 0.5);
  border-radius: 3px;
}

.modal-roster {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roster-main,
.roster-subs {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(88, 106, 230, 0.2);
}

.roster-subs {
  border-color: rgba(255, 222, 89, 0.2);
}

.roster-title {
  color: #dfdaf8;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Kooperative", "Poppins", sans-serif;
}

.roster-subs .roster-title {
  color: #ffde59;
}

.modal-players {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-player {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-main);
  transition: all 0.3s ease;
}

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

.player-role {
  flex-shrink: 0;
}

.player-info {
  flex: 1;
  font-weight: 500;
  color: #dfdaf8;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.role-badge {
  display: inline-block;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: bold;
  text-align: center;
  min-width: 26px;
  color: white;
  flex-shrink: 0;
  margin-right: 0.3rem;
}

.role-badge.top {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.jungle {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.mid {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.adc {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.support {
  background: linear-gradient(135deg, #586ae6, #4a5bc4);
  color: white;
  border: 1px solid rgba(88, 106, 230, 0.3);
  box-shadow: 0 2px 8px rgba(88, 106, 230, 0.3);
}

.role-badge.sub {
  background: linear-gradient(135deg, #ffde59, #ffd633);
  color: #2b2354;
  border: 1px solid rgba(255, 222, 89, 0.3);
  box-shadow: 0 2px 8px rgba(255, 222, 89, 0.3);
  font-weight: 700;
}

.player-name {
  font-size: 0.95rem;
  color: #dfdaf8;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

/* Message sans équipes */
.no-teams-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: rgba(223, 218, 248, 0.8);
  text-align: center;
}

.no-teams-message svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.no-teams-message p {
  font-size: 1.1rem;
  font-weight: 500;
}

.error-message {
  color: #f44336;
  text-align: center;
  padding: 2rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .teams-grid {
    grid-template-columns: repeat(auto-fit, 220px);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem;
  }

  .team-card {
    margin: 0;
    width: 100%;
    height: 260px;
  }
}

.team-card-content {
  padding: 1.5rem;
}

.team-logo {
  width: 70px;
  height: 70px;
}

.team-name {
  font-size: 1.2rem;
}

.modal-content {
  width: 95%;
  max-height: 90%;
}

.modal-header {
  padding: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.modal-close {
  align-self: flex-end;
}

.modal-body {
  padding: 1.5rem;
}

.modal-team-info {
  gap: 1rem;
}

.modal-team-logo {
  width: 50px;
  height: 50px;
}

.modal-player {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
