@font-face {
  font-family: 'GilmerHeavy';
  src: url('/fonts/GilmerHeavy.ttf?v=3') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'GilmerHeavy' !important;
  cursor: url('https://cdn.jsdelivr.net/gh/ak444-cursors/cursor1.cur'), pointer;
  padding-top: 110px;
  overflow-x: hidden; /* Permet le scroll vertical mais pas horizontal */
}

* {
  font-family: 'GilmerHeavy' !important;
}

/* ===========================
   { Palette Redline }
   =========================== */
:root {
  --noir: #1a1a1a;
  --rouge: #d32f2f;
  --gris-fonce: #0f0f0f;
  --gris-clair: #bdbdbd;
  --gris-moyen: #8a8a8a;
  --blanc: #fff;
}

/* ===========================
   { Body & Fond général }
   =========================== */
body {
  margin: 0;
  font-family: 'GilmerHeavy' !important;
  background: var(--noir);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px, 16px 16px;
  background-position: 0 0, 8px 8px;
  color: var(--blanc);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden; /* Permet le scroll vertical mais pas horizontal */
  border-radius: 20px; /* Coins arrondis comme sur l'image */
}

/* Particles Background */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(211,47,47,0.1);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }
}

@keyframes bg-move {
  0% { background-position: 60% 40%; }
  100% { background-position: 40% 60%; }
}

/* ===========================
   { Header }
   =========================== */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 2rem;
  min-height: 110px;
  background: var(--gris-fonce);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===========================
   { Language Selector }
   =========================== */
.language-selector {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 10000;
}

         .lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.current-flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--gris-fonce);
  border: 1px solid var(--rouge);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10001;
  margin-top: 5px;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.lang-option:hover,
.lang-option.selected {
  background: var(--rouge);
  color: #fff;
  border-radius: 8px;
  margin: 2px 4px;
}

.lang-option .flag-img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-option .lang-name {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'GilmerHeavy' !important;
}

/* Responsive pour le sélecteur de langue */
@media (max-width: 768px) {
  .language-selector {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
  }
  
  .lang-btn {
    padding: 6px;
  }
  
  .current-flag {
    width: 20px;
    height: 15px;
  }
  
  .lang-dropdown {
    min-width: 140px;
  }
  
  .lang-option {
    padding: 8px 12px;
  }
  
  .lang-option .lang-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .language-selector {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
  }
  
  .lang-btn {
    padding: 5px;
  }
  
  .current-flag {
    width: 18px;
    height: 13px;
  }
}

.header-center {
  display: flex;
  align-items: center;
  margin: 0 auto;
  /* retire toute position absolute ici ! */
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
  position: relative;
  z-index: 2;
  height: 70px;
}

.logo-link, .nav-left, .nav-right {
  height: 70px;
  display: flex;
  align-items: center;
}

.logo-link {
  margin: 0 1.2rem;
}

/* ===========================
   { Navigation }
   =========================== */
.nav-link {
  color: #fff;
  background: var(--rouge);
  padding: 0.38rem 1.1rem;
  border-radius: 40px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  margin: 0 0.2rem;
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: 'GilmerHeavy' !important;
}

.nav-link:hover, .nav-link:focus {
  background: var(--noir);
  color: var(--rouge);
  transform: scale(1.04);
  box-shadow: none;
}

/* ===========================
   { Steam Login }
   =========================== */
.steam-login.small {
  font-size: 0.89rem;
  padding: 0.18rem 0.8rem;
  min-height: 28px;
  border-radius: 18px;
  background: var(--gris-fonce);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
  border: none;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steam-login.small:hover, .steam-login.small:focus {
  background: var(--rouge);
  color: #fff;
}

/* ===========================
   { Hero Section Moderne }
   =========================== */
.hero-modern {
  border-radius: 24px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  background: var(--gris-fonce);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 32px 32px, 16px 16px;
  background-position: 0 0, 8px 8px;
}



.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.hero-text {
  color: var(--blanc);
}

.hero-code {
  font-size: 0.9rem;
  color: var(--gris-clair);
  margin-bottom: 1rem;
  font-family: 'Courier New', monospace;
}

.hero-modern h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--blanc);
  font-weight: 700;
  line-height: 1.1;
  font-family: 'GilmerHeavy' !important;
}

.hero-modern p {
  font-size: 1.3rem;
  color: var(--gris-clair);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-family: 'GilmerHeavy' !important;
}

.cta-modern {
  display: inline-block;
  background: var(--blanc);
  color: var(--noir);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'GilmerHeavy' !important;
}

.cta-modern:hover {
  background: var(--rouge);
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(116, 17, 17, 0.3);
}

/* Visual Elements */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Logo */
.hero-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  background: transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}

.hero-logo-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-logo {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.hero-logo-container:hover .hero-logo {
  transform: scale(1.05);
}





/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-modern h1 {
    font-size: 2.5rem;
  }
  
  .hero-modern p {
    font-size: 1.1rem;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .hero-logo-container {
    width: 200px;
    height: 200px;
  }
  
  .hero-logo {
    width: 85%;
    height: 85%;
  }
  

}

/* ===========================
   { Ancien CTA (gardé pour compatibilité) }
   =========================== */
.cta {
  display: inline-block;
  background: var(--rouge);
  color: var(--blanc);
  padding: 1rem 2.5rem;
  border-radius: 40px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(211,47,47,0.3);
  transition: background 0.2s, transform 0.2s;
}
.cta:hover {
  background: var(--noir);
  color: var(--rouge);
  transform: scale(1.05);
}

/* ===========================
   { Footer }
   =========================== */
footer {
  position: static;
  width: 100%;
  bottom: 0;
  font-size: 0.95rem;
  letter-spacing: 1px;
  background: var(--gris-fonce);
  color: var(--gris-clair);
  text-align: center;
  padding: 1.2rem 0;
  /* plus de position: fixed */
}

/* ===========================
   { Layout principaux }
   =========================== */
main, .page-title, .news-cards, .retakes-cards, .leaderboard-section, .skins-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-title h1 {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  color: var(--rouge);
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-shadow: 1px 1px 8px #000a;
}

/* ===========================
   { Cartes d'actualités }
   =========================== */
.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 2rem;
  margin-bottom: 5rem;
  justify-items: center;
  min-height: 700px; /* Ajouté pour éviter le saut du header lors de l'animation */
}
@media (max-width: 900px) {
  .news-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.news-card {
  background: var(--gris-fonce);
  border-radius: 18px;
  box-shadow: none !important;
  overflow: hidden;
  width: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.news-card:hover {
  transform: scale(1.03);
  box-shadow: none !important;
}
.news-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  box-shadow: none !important;
  border: none !important;
}
.news-content {
  padding: 1.2rem 1.1rem 1.1rem 1.1rem;
}
.news-content h2 {
  margin: 0 0 0.7rem 0;
  color: var(--rouge);
  font-size: 1.3rem;
}
.news-date {
  display: block;
  margin-top: 1.1rem;
  color: var(--gris-clair);
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-family: 'GilmerHeavy' !important;
}

/* Cartes Retakes */
.retakes-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}
.retake-card {
  background: var(--gris-fonce);
  border-radius: 18px;
  box-shadow: none !important;
  width: 100%;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}

.retake-info {
  width: 100%;
  margin: 0.5rem 0;
  text-align: center;
}

.map-name {
  color: var(--rouge);
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 0.6rem 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.server-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--gris-clair);
}

.players {
  background: var(--rouge);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.8rem;
}

.ping {
  color: #4CAF50;
  font-weight: bold;
}

.country {
  font-size: 0.85rem;
  opacity: 0.9;
}

.retake-number {
  background: var(--noir);
  color: var(--gris-clair);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border: 1px solid #333;
}
.retake-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: none !important;
}
.retake-status {
  margin: 0.5rem 0 0.8rem 0;
  font-weight: bold;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.2rem 0.6rem;
}
.retake-status.online {
  background: #2ecc40;
  color: #fff;
}
.retake-status.offline {
  background: #d32f2f;
  color: #fff;
}
.cta.disabled {
  background: #222222 !important;
  color: #bbb !important;
  cursor: not-allowed;
  pointer-events: none;
  margin-left: 366px;
  display: block;
  float: left;
}

/* Classement */
.leaderboard-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}
.leaderboard-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 90%;
  max-width: 700px;
  background: var(--gris-fonce);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  margin: 0 auto;
}
.leaderboard-table th, .leaderboard-table td {
  padding: 1rem 0.7rem;
  text-align: center;
}
.leaderboard-table th {
  background: var(--rouge);
  color: var(--blanc);
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.leaderboard-table tr:nth-child(even) td {
  background: #232323cc;
}
.leaderboard-table tr:nth-child(odd) td {
  background: #1a1a1acc;
}
.leaderboard-table td {
  color: var(--blanc);
  font-size: 1.05rem;
}

/* Cartes Skins */
.skins-cards {
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 3rem;
}
.skin-card {
  background: var(--gris-fonce);
  border-radius: 18px;
  box-shadow: none !important;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  overflow: hidden;
}
.skin-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: none !important;
}
.skin-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #181818;
  margin-bottom: 1rem;
}
.skin-content {
  padding: 1.1rem 1rem 1.2rem 1rem;
  text-align: center;
}
.skin-content h2 {
  color: var(--rouge);
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

/* Animations d'apparition */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title h1, .news-card, .retake-card, .skin-card, .leaderboard-section, .highlight-card {
  animation: fadeInUp 0.7s cubic-bezier(.23,1.02,.32,1) both;
}
.news-card { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.retake-card { animation-delay: 0.1s; }
.retake-card:nth-child(2) { animation-delay: 0.2s; }
.retake-card:nth-child(3) { animation-delay: 0.3s; }
.skin-card { animation-delay: 0.1s; }
.skin-card:nth-child(2) { animation-delay: 0.2s; }
.skin-card:nth-child(3) { animation-delay: 0.3s; }
.highlight-card { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }

/* Onglets modernes, effet underline animé */
.nav-link {
  color: #fff;
  background: var(--rouge);
  padding: 0.7rem 2.2rem;
  border-radius: 40px;
  font-size: 1.08rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(211,47,47,0.18);
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  margin: 0 0.5rem;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.nav-link:hover, .nav-link:focus {
  background: var(--noir);
  color: var(--rouge);
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(211,47,47,0.25);
}

/* Logo plus grand */
.logo-img {
  height: 76px;
  width: auto;
  filter: drop-shadow(0 2px 8px #000a);
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo-img:hover {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 0 15px rgba(211,47,47,0.6)) drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}
@media (max-width: 900px) {
  .logo-img {
    height: 54px;
  }
}

@media (max-width: 900px) {
  .logo-img {
    height: 38px;
  }
  .logo-link {
    margin: 0 0.3rem;
  }
  .nav-link {
    font-size: 0.98rem;
  }
  .steam-login {
    font-size: 0.85rem;
    right: 1rem;
  }
  
  .retakes-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }
  
  .retake-card {
    width: 100%;
  }
  
  .server-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem;
    height: auto;
    position: fixed;
  }
  .nav-left, .nav-right {
    flex-direction: row;
    margin: 0.2rem 0;
    gap: 0.5rem;
  }
  .logo-link {
    margin: 0.5rem 0;
  }
  .steam-login {
    position: static;
    transform: none;
    margin-top: 0.5rem;
  }
  .language-selector {
    position: absolute;
    top: 10px;
    left: 10px;
    transform: none;
    z-index: 10000;
  }
}

@media (max-width: 1100px) {
  .news-cards, .skins-cards, .highlights-cards {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  
  .retakes-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
} 

.retake-card .news-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: transform 0.18s, box-shadow 0.18s;
}
.retake-card:hover .news-img {
  transform: scale(1.06);
  box-shadow: none !important;
} 

.retake-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0.8rem;
  gap: 1rem;
}
.copy-ip {
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 1rem;
  font-weight: 400;
  flex-shrink: 0;
  margin: 0;
}

.copy-ip:hover, .copy-ip:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.filter-switch {
  border: 2px solid #601515;
  border-radius: 30px;
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  width: 520px;
  overflow: hidden;
  background: #111;
  margin: 85px auto 45px auto;
}
.filter-switch input {
  display: none;
}
.filter-switch label.option {
  flex: 1;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 18px;
  color: #b0b0b0;
  background: transparent;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'GilmerHeavy' !important;
}
.filter-switch .background {
  position: absolute;
  width: 25%;
  height: 44px;
  background-color: #601515;
  top: 6px;
  left: 4px;
  border-radius: 30px;
  transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 0;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.12);
}
#mode-duel:checked ~ .background {
  left: 132px;
}
#mode-surf:checked ~ .background {
  left: 260px;
}
#mode-awp:checked ~ .background {
  left: 388px;
}
#mode-retake:checked + label[for="mode-retake"],
#mode-duel:checked + label[for="mode-duel"],
#mode-surf:checked + label[for="mode-surf"],
#mode-awp:checked + label[for="mode-awp"] {
  color: #fff;
  font-weight: 700;
  font-family: 'GilmerHeavy' !important;
}
#mode-retake:not(:checked) + label[for="mode-retake"],
#mode-duel:not(:checked) + label[for="mode-duel"],
#mode-surf:not(:checked) + label[for="mode-surf"],
#mode-awp:not(:checked) + label[for="mode-awp"] {
  color: #b0b0b0;
  font-weight: 700;
  font-family: 'GilmerHeavy' !important;
}

.copy-ip i, .copy-ip svg {
  font-size: 1.3rem !important;
  color: #fff !important;
  display: inline-block !important;
  vertical-align: middle;
} 

.scroll-float {
  overflow: hidden;
}
.scroll-float-text {
  display: inline-block;
  font-size: clamp(1.6rem, 8vw, 10rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.5;
}
.char {
  display: inline-block;
  will-change: opacity, transform;
} 

html, body {
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
}

body {
  padding-top: 110px; /* Compensation pour le header fixe */
}

#smooth-wrapper {
  min-height: 100vh;
  height: 100%;
  overflow: auto;
}

#smooth-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* padding-top: 110px; */
  /* pas d'overflow ici */
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
  width: 100%;
  background: var(--gris-fonce);
  color: var(--gris-clair);
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.95rem;
  letter-spacing: 1px;
  position: static;
} 

.header-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: 1.5rem;
}

.points-box {
  display: flex;
  align-items: center;
  background: var(--gris-fonce);
  border-radius: 18px;
  padding: 0.2rem 0.9rem 0.2rem 0.3rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 2px 8px #000a;
  gap: 0.5rem;
}
.points-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #232323;
  object-fit: contain;
  box-shadow: 0 0 0 2px #fff2;
}
.points-value {
  margin-left: 0.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.inbox-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inbox-icon {
  width: 26px;
  height: 26px;
  display: block;
}
.notif-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #d32f2f;
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 1px 4px #000a;
} 

.login-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gris-fonce);
  box-shadow: 0 2px 8px #000a;
  border: 2px solid #232323;
  margin-left: 0.7rem;
  transition: background 0.18s, box-shadow 0.18s, border 0.18s;
  color: #fff;
  position: relative;
}
.login-bubble:hover, .login-bubble:focus {
  background: var(--rouge);
  border-color: var(--rouge);
  box-shadow: 0 4px 18px #d32f2f44, 0 2px 12px #000a;
  color: #fff;
}
.login-bubble svg {
  display: block;
} 

/* Barre de défilement supprimée */

 

/* ===========================
   { Section Modes de Jeu }
   =========================== */
.modes-section {
  padding: 2rem 1rem;
  background: var(--gris-fonce);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 32px 32px, 16px 16px;
  background-position: 0 0, 8px 8px;
  color: var(--blanc);
  width: 100%;
  max-width: 1025px;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: none !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.modes-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  max-width: 700px;
  box-sizing: border-box;
  padding: 0 1rem;
  margin-left: auto;
  margin-right: auto;
}

.mode-card {
  background: transparent;
  border-radius: 16px;
  width: 340px;
  max-width: calc(50% - 0.5rem);
  min-width: 320px;
  height: 380px;
  box-shadow: none !important;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  border: none;
  animation: slideInFromBottom 0.8s ease-out;
  animation-fill-mode: both;
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  flex-shrink: 0;
}

.mode-card.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mode-card:nth-child(1) { animation-delay: 0.1s; }
.mode-card:nth-child(2) { animation-delay: 0.2s; }
.mode-card:nth-child(3) { animation-delay: 0.3s; }
.mode-card:nth-child(4) { animation-delay: 0.4s; }

/* Media queries pour les modes de jeu */
@media (max-width: 768px) {
  .modes-cards {
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .mode-card {
    max-width: calc(50% - 0.375rem);
    width: 280px;
    height: 340px;
  }
}

@media (max-width: 480px) {
  .mode-card {
    max-width: 100%;
    width: 300px;
    height: 320px;
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mode-card:hover {
  transform: perspective(1000px) rotateY(5deg) translateY(-8px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(211,47,47,0.3),
    0 0 0 1px rgba(211,47,47,0.1);
}

.mode-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.3) contrast(1.2);
}

.mode-card:hover .mode-img {
  filter: brightness(1) contrast(1);
  transform: scale(1.1);
}

.mode-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--blanc);
  text-align: left;
}

.mode-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  color: var(--blanc);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.mode-info p {
  font-size: 1rem;
  color: var(--gris-clair);
  margin: 0;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.mode-info .indisponible {
  color: #b22222; /* rouge foncé */
  font-weight: bold;
}

.join-server {
  background: var(--rouge);
  border: none;
  color: var(--blanc);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.join-server:hover, .join-server:focus {
  background: #8B0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211,47,47,0.4);
}

.join-server i {
  font-size: 0.8rem;
  transition: transform 0.18s;
}

.join-server:hover i, .join-server:focus i {
  transform: scale(1.1);
}

.join-server.disabled {
  background: #666;
  color: #999;
  cursor: not-allowed;
  pointer-events: none;
}

.join-server.disabled:hover {
  background: #666;
  transform: none;
  box-shadow: none;
}

/* ===========================
   { Système de Recherche }
   =========================== */
.search-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 0 2rem;
}

.search-container {
  background: var(--gris-fonce);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gris-clair);
  font-size: 1.1rem;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--noir);
  border: 2px solid #333;
  border-radius: 12px;
  color: var(--blanc);
  font-size: 1rem;
  font-family: 'GilmerHeavy';
  transition: all 0.3s ease;
}

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

.search-input::placeholder {
  color: var(--gris-clair);
}

.clear-search {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gris-clair);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.clear-search:hover {
  color: var(--rouge);
}

.search-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-select {
  flex: 1;
  min-width: 150px;
  padding: 0.8rem 1rem;
  background: var(--noir);
  border: 2px solid #333;
  border-radius: 8px;
  color: var(--blanc);
  font-family: 'GilmerHeavy';
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--rouge);
}

.search-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

#results-count {
  color: var(--gris-clair);
  font-size: 0.9rem;
}

.reset-btn {
  background: none;
  border: 1px solid var(--rouge);
  color: var(--rouge);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reset-btn:hover {
  background: var(--rouge);
  color: var(--blanc);
}

/* Animation pour les cartes filtrées */
.retake-card {
  transition: all 0.3s ease;
}

.retake-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.retake-card.highlight {
  animation: highlightPulse 0.6s ease-out;
}

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

* {
  font-family: 'GilmerHeavy' !important;
}

/* Filtres */
.filters-section {
  margin: 2rem 0;
  padding: 0 2rem;
}

.filters-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 150px;
}

.filter-label {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
}

.filter-select {
  background: var(--gris-fonce);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.92rem;
  font-weight: bold;
  box-shadow: none;
  outline: none;
  width: 100%;
  min-width: 90px;
  transition: background 0.2s, color 0.2s;
}
.filter-select:focus {
  background: var(--gris-fonce);
  color: #fff;
  border: 1.5px solid #3b82f6;
}
.filter-select option {
  color: #fff;
  background: var(--gris-fonce);
  font-weight: normal;
}
.filter-select option:checked, .filter-select option[selected] {
  font-weight: bold;
  color: #fff;
} 

/* Cartes de serveurs */
.servers-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 64px;
}

.server-card {
  position: relative;
  background: transparent;
  border-radius: 16px;
  width: 100%;
  height: 380px;
  box-shadow: none !important;
  overflow: hidden;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  position: relative;
  border: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  padding: 0;
}

.server-card.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.server-card:nth-child(1) { animation-delay: 0.1s; }
.server-card:nth-child(2) { animation-delay: 0.2s; }
.server-card:nth-child(3) { animation-delay: 0.3s; }
.server-card:nth-child(4) { animation-delay: 0.4s; }
.server-card:nth-child(5) { animation-delay: 0.5s; }
.server-card:nth-child(6) { animation-delay: 0.6s; }
.server-card:nth-child(7) { animation-delay: 0.7s; }
.server-card:nth-child(8) { animation-delay: 0.8s; }
.server-card:nth-child(9) { animation-delay: 0.9s; }
.server-card:nth-child(10) { animation-delay: 1.0s; }
.server-card:nth-child(11) { animation-delay: 1.1s; }
.server-card:nth-child(12) { animation-delay: 1.2s; }
.server-card:nth-child(13) { animation-delay: 1.3s; }
.server-card:nth-child(14) { animation-delay: 1.4s; }
.server-card:nth-child(15) { animation-delay: 1.5s; }
.server-card:nth-child(16) { animation-delay: 1.6s; }
.server-card:nth-child(17) { animation-delay: 1.7s; }
.server-card:nth-child(18) { animation-delay: 1.8s; }
.server-card:nth-child(19) { animation-delay: 1.9s; }
.server-card:nth-child(20) { animation-delay: 2.0s; }
.server-card:nth-child(21) { animation-delay: 2.1s; }
.server-card:nth-child(22) { animation-delay: 2.2s; }
.server-card:nth-child(23) { animation-delay: 2.3s; }
.server-card:nth-child(24) { animation-delay: 2.4s; }
.server-card:nth-child(25) { animation-delay: 2.5s; }

.server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.3) contrast(1.2);
  transition: all 0.4s ease;
  z-index: 1;
}

.server-card:hover {
  transform: perspective(1000px) rotateY(5deg) translateY(-8px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(211,47,47,0.3),
    0 0 0 1px rgba(211,47,47,0.1);
}

.server-card:hover::before {
  filter: brightness(1) contrast(1);
  transform: scale(1.1);
}

.server-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--blanc);
  text-align: left;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.server-info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--blanc);
  font-size: 1.4rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.server-stats {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: right;
}

.server-stats span {
  color: var(--gris-clair);
  font-size: 1rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.server-number {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  z-index: 3;
  color: var(--rouge);
  font-size: 1.18rem;
  font-weight: bold;
  background: rgba(0,0,0,0.45);
  padding: 0.35rem 1.1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px #000a;
}

.players {
  position: absolute;
  top: 4.1rem;
  left: 1.4rem;
  z-index: 3;
  background: var(--rouge);
  color: #fff;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 0.22rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px #000a;
  margin-top: 0.8rem;
}

.ping {
  position: absolute;
  top: 4.2rem;
  right: 1.4rem;
  z-index: 3;
  background: rgba(0,0,0,0.45);
  color: #4CAF50;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 0.22rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px #000a;
  margin-top: 0.4rem;
  text-align: right;
}

.server-status {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  margin-top: 0.5rem;
}

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

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

.server-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 2rem;
  padding-right: 2rem;
  z-index: 3;
  gap: 1.2rem;
}

.server-actions .cta {
  margin-left: 0;
  min-width: unset;
  width: auto;
}

.server-actions .cta:hover {
  background: #8B0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211,47,47,0.4);
}

.server-actions .cta.disabled {
  background: #666;
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.server-actions .cta.disabled:hover {
  background: #666;
  transform: none;
  box-shadow: none;
}

.copy-ip {
  margin: 0;
  margin-right: 0.5rem; /* Optionnel : petit espace à droite si besoin */
}

.copy-ip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.server-actions .copy-ip {
  position: static;
  width: 40px;
  height: 40px;
  margin: 0 0 0 1rem;
} 

/* Modal overlay */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Masquer le modal par défaut */
.modal.hidden {
  display: none;
}

/* Contenu du modal */
.modal-content {
  background: #222;
  color: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  min-width: 350px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
}

/* Bouton fermer */
.close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Flou sur le fond */
body.modal-open #smooth-content {
  pointer-events: none;
  user-select: none;
}

/* Flou sur le contenu principal quand la modale est ouverte */
.blurred {
  transition: filter 0.3s;
}

/* Overlay sombre pour la modale */
#server-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s;
}

#server-modal.hidden {
  display: none;
}

#server-modal .modal-content {
  background: #181818;
  color: #fff;
  border-radius: 16px;
  padding: 32px 24px 24px 24px;
  min-width: 340px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
}

#server-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}
#server-modal .close-modal:hover {
  color: #ff5252;
}

#modal-server-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.5rem;
  text-align: center;
}

#modal-players-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-row {
  display: flex;
  align-items: center;
  background: #232323;
  border-radius: 8px;
  padding: 10px 16px;
  gap: 16px;
}
.player-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #444;
}
.player-info {
  flex: 1;
}
.player-name {
  font-weight: bold;
  font-size: 1.1rem;
}
.player-score {
  color: #ffd700;
  font-weight: bold;
  margin-left: 8px;
}
.player-time {
  color: #aaa;
  font-size: 0.95rem;
  margin-left: 8px;
}
.player-steam {
  color: #66aaff;
  text-decoration: none;
  margin-left: 8px;
  font-size: 1.1rem;
}
.player-steam:hover {
  text-decoration: underline;
} 

.server-card.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  max-width: 600px;
  height: 80vh;
  z-index: 2000;
  transform: translate(-50%, -50%);
  background: #181818;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  overflow-y: auto;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.server-card.expanded .close-expanded {
  display: block;
}
.close-expanded {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}
.server-card .classement-table {
  display: none;
}
.server-card.expanded .classement-table {
  display: table;
  margin: 32px auto 0 auto;
  width: 90%;
  background: #232323;
  border-radius: 8px;
  overflow: hidden;
}
.classement-table th, .classement-table td {
  padding: 10px 16px;
  text-align: left;
  color: #fff;
}
.classement-table th {
  background: #333;
}
.classement-table tr:nth-child(even) td {
  background: #292929;
} 

.classement-table .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

/* Flou de fond quand la modal est ouverte */
body.modal-open .bg,
body.modal-open main,
body.modal-open header,
body.modal-open footer {
  pointer-events: none;
  user-select: none;
}

/* Modal */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(0,0,0,0.4);
  transition: opacity 0.2s;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #181818;
  color: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  min-width: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
} 

.steam-login-bubble {
  background: var(--rouge);
  color: #fff;
  font-family: 'GilmerHeavy';
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 24px;
  box-shadow: none;
  margin-left: 1.2rem;
  transition: background 0.18s, transform 0.18s, color 0.18s;
  cursor: pointer;
  border: 0 !important;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
.steam-login-bubble:hover, .steam-login-bubble:focus {
  background: var(--noir);
  color: var(--rouge);
  box-shadow: none;
  transform: scale(1.07);
  border: 0 !important;
}
.steam-login-bubble svg {
  width: 32px;
  height: 32px;
  display: block;
} 

.steam-login-topright {
  position: fixed;
  top: 0;
  right: 32px;
  height: 110px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Styles pour le profil utilisateur connecté */
.user-profile {
  position: relative;
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--rouge);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-avatar:hover {
  transform: scale(1.1);
  border-color: var(--blanc);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ajouter un délai pour éviter que le menu se ferme trop vite */
.user-profile {
  position: relative;
}

.user-profile:hover {
  cursor: pointer;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--blanc);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.user-menu-item:hover {
  background: rgba(116, 17, 17, 0.2);
  color: var(--rouge);
}

.user-menu-item i {
  width: 16px;
  text-align: center;
}
@media (max-width: 600px) {
  .steam-login-topright {
    right: 10px;
    height: 110px;
  }
  .steam-login-bubble {
    width: 38px;
    height: 38px;
  }
  .steam-login-bubble svg {
    width: 24px;
    height: 24px;
  }
} 

/* Curseur pointer plus design sur les éléments interactifs */
.nav-link, .cta, a, button, .mode-card, .steam-login-bubble {
  cursor: url('https://cdn.jsdelivr.net/gh/ak444-cursors/cursor2.cur'), pointer;
} 

/* Effet GIF/vidéo au survol pour les highlights CS2 */
.highlight-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
}

.highlight-gif, .highlight-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s;
  border-radius: 18px;
}

.highlight-video {
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.highlight-media:hover .highlight-gif {
  opacity: 0;
}

.highlight-media:hover .highlight-video {
  opacity: 1;
  pointer-events: auto;
} 

/* Effet takeover : la card survolée prend toute la grille */
.highlights-cards {
  position: relative;
}

.highlight-card {
  transition: 
    transform 0.5s cubic-bezier(.23,1.02,.32,1),
    box-shadow 0.4s,
    filter 0.3s,
    z-index 0.3s,
    grid-column 0.5s,
    grid-row 0.5s;
  z-index: 1;
}

.highlights-cards .highlight-card.expanded {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10000 !important;
  margin: 0 !important;
  box-shadow: 0 12px 48px rgba(211,47,47,0.35), 0 0 0 8px #fff2;
  background: #181818;
  border-radius: 0 !important;
  transition: all 0.5s cubic-bezier(.23,1.02,.32,1);
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.highlight-card.expanded .highlight-media,
.highlight-card.expanded .highlight-video {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  z-index: 10001 !important;
  background: #181818;
}

.highlight-card.expanded .highlight-gif {
  opacity: 0 !important;
}
.highlight-card.expanded .highlight-video {
  opacity: 1 !important;
  pointer-events: auto !important;
} 

 

/* === Toolbar moderne style dashboard === */
.toolbar {
  background: #181818;
  border-radius: 16px;
  box-shadow: none;
  padding: 18px 24px;
  max-width: 900px;
  margin: 32px auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.view-toggle-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
}

.view-toggle-group {
  display: flex;
  gap: 10px;
}

.view-toggle-label {
  display: none;
}

.view-toggle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #232323;
  color: #7a7e8a;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background 0.2s, color 0.2s;
  outline: none;
  margin: 0;
  padding: 0;
}
.view-toggle.active, .view-toggle:focus {
  background: #353535;
  color: #fff;
}
.view-toggle:hover {
  background: #353535;
  color: #fff;
}

.view-toggle svg {
  display: block;
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
}

.filters-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 150px;
}

.filter-label {
  color: #fff;
  font-size: 0.92rem;
  font-weight: bold;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.filter-select {
  background: var(--gris-fonce);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.92rem;
  font-weight: bold;
  box-shadow: none;
  outline: none;
  width: 100%;
  min-width: 90px;
  transition: background 0.2s, color 0.2s;
}
.filter-select:focus {
  background: var(--gris-fonce);
  color: #fff;
  border: 1.5px solid #3b82f6;
}
.filter-select option {
  color: #fff;
  background: var(--gris-fonce);
  font-weight: normal;
}
.filter-select option:checked, .filter-select option[selected] {
  font-weight: bold;
  color: #fff;
} 

.servers-cards.table-view {
  grid-template-columns: repeat(4, 10cm);
  gap: 14px;
  padding: 0 1.5rem;
  max-width: calc(4 * 10cm + 3 * 14px + 3cm);
  margin: 32px auto 32px auto;
  justify-content: center;
}
.servers-cards.table-view .server-card {
  width: 10cm;
  min-width: 10cm;
  max-width: 10cm;
  height: 2.5cm;
  min-height: 2.5cm;
  max-height: 2.5cm;
}
/* Bouton Copier en haut à droite */
.servers-cards.table-view .server-card .copy-ip {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  border-radius: 7px;
  background: #232323;
  color: #fff;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border 0.2s;
}
.servers-cards.table-view .server-card .copy-ip:hover {
  background: var(--rouge);
  border: 1px solid var(--rouge);
  color: #fff;
}
/* Bouton Rejoindre en bas à droite */
.servers-cards.table-view .server-card .cta {
  position: absolute;
  bottom: 10px;
  right: 55px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border-radius: 7px;
  background: #2a2a2a !important;
  color: #fff;
  border: none;
  font-weight: bold;
  transition: background 0.2s;
  padding: 0;
}

/* Masquer le texte "Rejoindre" et afficher une icône */
.servers-cards.table-view .server-card .cta {
  font-size: 0;
  color: transparent;
}

.servers-cards.table-view .server-card .cta::before {
  content: "→";
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Supprimer complètement le texte dans la vue ligne */
.servers-cards.table-view .server-card .cta span,
.servers-cards.table-view .server-card .cta {
  color: transparent !important;
  text-indent: -9999px;
}
.servers-cards.table-view .server-card .cta:hover {
  background: #444 !important;
}
/* On masque la barre d'actions horizontale en table-view */
.servers-cards.table-view .server-card .server-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  z-index: 2;
}
.servers-cards.table-view .server-card .cta,
.servers-cards.table-view .server-card .copy-ip {
  width: 35px;
  height: 35px;
  min-width: 35px;
  min-height: 35px;
  max-width: 35px;
  max-height: 35px;
  font-size: 1.1em;
  border-radius: 50%;
  padding: 0;
  position: static !important;
  top: auto !important;
  margin: 0;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.servers-cards.table-view .server-card .cta i,
.servers-cards.table-view .server-card .copy-ip svg {
  font-size: 0.9em;
  width: 0.9em;
  height: 0.9em;
  color: #333;
  stroke: #333;
}


.servers-cards.table-view .server-card .cta:hover,
.servers-cards.table-view .server-card .copy-ip:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

/* Vue Ligne (table-view) : n'affiche que l'icône sur le bouton d'action */
.servers-cards.table-view .server-card .cta {
  display: flex;
  align-items: center;
  justify-content: center;
}
.servers-cards.table-view .server-card .cta i {
  font-size: 1.5em;
  margin: 0;
}





.servers-cards.table-view .server-card .cta i {
  font-size: 1.5em;
}

/* Positionnement du nom du serveur et du nombre de joueurs */
.servers-cards.table-view .server-card {
  position: relative;
}
.servers-cards.table-view .server-card .server-number {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 1.1em;
  font-weight: bold;
  z-index: 2;
}
/* Masquer le ping uniquement en vue Ligne */
.servers-cards.table-view .server-card .ping {
  display: none !important;
}

/* Le nombre de joueurs reste 1cm au-dessus de la card en vue Ligne */
.servers-cards.table-view .server-card .players {
  position: absolute;
  left: 12px;
  bottom: 100%;
  margin-bottom: 1cm;
  font-size: 1em;
  font-weight: bold;
  z-index: 2;
} 

/* Masquer le statut en ligne/hors ligne uniquement en vue Ligne */
.servers-cards.table-view .server-card .server-status {
  display: none !important;
} 

/* Décale le bouton rejoindre de 0,5cm vers le bas en vue Ligne */
.servers-cards.table-view .server-card .cta {
  position: relative;
  top: 0.5cm;
} 

/* Décale le bouton copier de 0,5cm vers le haut en vue Ligne */
.servers-cards.table-view .server-card .copy-ip {
  position: relative;
  top: -0.5cm;
} 



.section-spacer {
  height: 48px;
  width: 100%;
  display: block;
}

.highlight-card,
.highlight-card-large,
.highlight-card-medium,
.highlight-card-main,
.highlight-card-small {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: none !important;
  padding: 0 !important;
}

.highlight-card:hover,
.highlight-card-large:hover,
.highlight-card-medium:hover,
.highlight-card-main:hover,
.highlight-card-small:hover {
  transform: none !important;
  box-shadow: none !important;
}

.highlights-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 420px;
}
.highlights-hero-text {
  flex: 1 1 0;
  min-width: 260px;
}
.highlights-hero-desc {
  color: var(--gris-clair);
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.highlights-hero-video {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 320px;
}
@media (max-width: 900px) {
  .highlights-hero-content {
    flex-direction: column;
    gap: 2rem;
    min-height: 0;
  }
  .highlights-hero-video {
    justify-content: center;
    width: 100%;
  }
  .highlights-hero-text {
    text-align: center;
  }
}

.highlights-hero-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.highlights-hero-desc {
  color: var(--gris-clair);
  font-size: 1.3rem;
  margin-top: 1.2rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.highlights-hero-video-wide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (max-width: 1200px) {
  .highlights-hero-video-wide video {
    max-width: 98vw;
    min-height: 260px;
  }
}
@media (max-width: 700px) {
  .highlights-section {
    padding: 3rem 0.2rem 4rem 0.2rem;
  }
  .highlights-hero-header {
    margin-bottom: 1.2rem;
  }
  .highlights-hero-desc {
    font-size: 1.05rem;
  }
}

.highlights-carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  min-height: 420px;
  height: 60vh;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-video {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(.4,1.2,.4,1), transform 0.7s cubic-bezier(.4,1.2,.4,1);
  z-index: 1;
}
.carousel-video.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
@media (max-width: 900px) {
  .highlights-carousel {
    min-height: 260px;
    height: 38vw;
    max-width: 98vw;
  }
}

.patch-notes-column {
  width: 300px;
  /* max-height: 400px; */
  /* overflow-y: auto; */
  background: #111;
  color: #fff;
  border: 1px solid #222;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin: 16px 0;
  position: absolute;
  top: 120px;
  right: 32px;
  z-index: 1000;
}

.patch-notes-column h2 {
  margin-top: 0;
  color: #fff;
}

#patch-notes-list {
  list-style: disc inside;
  padding-left: 0;
  margin: 0;
}

#patch-notes-list li {
  margin-bottom: 8px;
  color: #fff;
}

#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#wrapper main {
  flex: 1 0 auto;
}
#wrapper footer {
  flex-shrink: 0;
}

.team-card-ak47 {
  background: var(--gris-fonce);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 650px;
  margin: 2.5rem auto 2.5rem auto;
  color: var(--blanc);
  text-align: left;
  animation: fadeInUp 0.8s cubic-bezier(.23,1.02,.32,1) both;
}
.team-card-ak47 h2 {
  color: var(--rouge);
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.team-card-ak47 h3 {
  color: var(--rouge);
  font-size: 1.3rem;
  margin-top: 1.7rem;
  margin-bottom: 0.7rem;
}
.team-card-ak47 ul {
  margin: 0 0 1.2rem 1.2rem;
  padding: 0 0 0 1.2rem;
  list-style: disc inside;
  color: var(--gris-clair);
  font-size: 1.08rem;
}
.team-card-ak47 li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.team-cta-ak47 {
  background: var(--rouge);
  color: var(--blanc);
  border-radius: 12px;
  padding: 1.1rem 1.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: bold;
  margin-top: 2rem;
}
@media (max-width: 700px) {
  .team-card-ak47 {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    max-width: 98vw;
  }
  .team-card-ak47 h2 {
    font-size: 1.3rem;
  }
}

.team-card-ak47 {
  margin-top: 130px;
  /* le reste du style reste inchangé */
}

.footer-content-ak47 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 2.2rem 1.5rem 1.2rem 1.5rem;
  background: var(--gris-fonce);
  color: var(--gris-clair);
  border-radius: 18px 18px 0 0;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.05rem;
  text-align: center;
}
.footer-section {
  flex: 1 1 0;
  min-width: 180px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-links-section {
  align-items: flex-start;
  text-align: left;
  gap: 0.7rem;
}
.footer-links-section .footer-discord-btn,
.footer-links-section .footer-link {
  margin-bottom: 0.4rem;
}
.footer-center-section {
  align-items: center;
  justify-content: center;
}
.footer-copyright {
  text-align: center;
  font-weight: bold;
  color: var(--gris-clair);
  margin-bottom: 0.7rem;
}
.footer-right-section {
  align-items: flex-end;
  text-align: right;
  justify-content: center;
}
@media (max-width: 900px) {
  .footer-content-ak47 {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem 0.7rem 0.5rem;
  }
  .footer-section,
  .footer-links-section,
  .footer-center-section,
  .footer-right-section {
    align-items: center !important;
    text-align: center !important;
    justify-content: center;
  }
  .footer-links-section .footer-discord-btn,
  .footer-links-section .footer-link {
    margin-bottom: 0.2rem;
  }
}

.footer-row-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.1rem;
  padding: 1.2rem 0 0.5rem 0;
  border-bottom: 1px solid #222;
  margin-bottom: 0.5rem;
}
.footer-row-links .footer-link {
  color: var(--gris-clair);
  font-size: 1.01rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: opacity 0.18s, color 0.18s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  background: none;
}
.footer-row-links .footer-link:hover {
  opacity: 1;
  color: var(--blanc);
  text-decoration: none;
}
@media (max-width: 900px) {
  .footer-row-links {
    gap: 1rem;
    padding: 0.7rem 0 0.3rem 0;
  }
}

.footer-cyberstyle {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.5rem 2.2rem 1.2rem 2.2rem;
  background: var(--gris-fonce);
  color: var(--gris-clair);
  border-radius: 18px 18px 0 0;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.footer-col {
  flex: 1 1 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col-left {
  align-items: flex-start;
  max-width: 320px;
}
.footer-logo-ak47 {
  width: 64px;
  height: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 2px 8px #000a);
}
.footer-copyright {
  font-weight: 600;
  color: var(--gris-clair);
  margin-bottom: 0.2rem;
}
.footer-company {
  color: var(--blanc);
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}
.footer-address {
  color: var(--gris-clair);
  font-size: 0.98rem;
  opacity: 0.8;
}
.footer-col-center {
  align-items: center !important;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  flex: 0 1 500px;
}
.footer-links-grid {
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
}
.footer-links-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-link {
  color: var(--gris-clair);
  font-size: 1.01rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: opacity 0.18s, color 0.18s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: none;
  margin-bottom: 0.1rem;
}
.footer-link:hover {
  opacity: 1;
  color: var(--blanc);
  text-decoration: none;
}
.footer-col-right {
  align-items: flex-end;
  gap: 1.2rem;
}
.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 1.1rem;
  margin-bottom: 0.7rem;
}
.footer-social img {
  filter: grayscale(0.2) brightness(0.95);
  transition: filter 0.18s, transform 0.18s;
}
.footer-social:hover img {
  filter: grayscale(0) brightness(1.2);
  transform: scale(1.13);
}
.footer-lang-select {
  display: flex;
  align-items: center;
  background: #181818;
  color: var(--blanc);
  border-radius: 8px;
  padding: 0.4rem 1.1rem;
  font-size: 1.01rem;
  font-weight: 500;
  box-shadow: 0 2px 8px #000a;
  gap: 0.5rem;
}
@media (max-width: 1100px) {
  .footer-cyberstyle {
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    padding: 1.5rem 0.5rem 0.7rem 0.5rem;
  }
  .footer-col {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
    max-width: 100%;
  }
  .footer-links-grid {
    gap: 1.5rem;
  }
  .footer-col-right {
    align-items: center !important;
    gap: 0.7rem;
  }
}

.footer-links-grid-centered {
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.footer-links-grid-centered > div {
  align-items: center;
  text-align: center;
}

.footer-center-infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.2rem;
  gap: 0.2rem;
}
.footer-separator {
  border: none;
  border-top: 1.5px solid #23232a;
  width: 100%;
  margin: 2.2rem 0 1.2rem 0;
}
.footer-col-right {
  align-items: flex-end;
  justify-content: flex-end;
}
.footer-logo-ak47 {
  width: 64px;
  height: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 2px 8px #000a);
}
@media (max-width: 1100px) {
  .footer-col-right {
    align-items: center !important;
    justify-content: center !important;
    margin-top: 1.5rem;
  }
  .footer-center-infos {
    margin-top: 1.2rem;
  }
}

.footer-links-grid-left {
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
}
.footer-links-grid-left > div {
  align-items: flex-start;
  text-align: left;
}
.footer-col-center {
  align-items: center !important;
  justify-content: center;
  text-align: center;
}
.footer-logo-ak47 {
  margin-bottom: 0.5rem;
}
.footer-company {
  margin-bottom: 0.5rem;
}

.discord-invite-card-ak47 {
  background: linear-gradient(135deg, #181818 60%, #23232a 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(116, 17, 17, 0.13);
  padding: 1.5rem 1.3rem 1.2rem 1.3rem;
  max-width: 320px;
  margin: 2.2rem auto 0 auto;
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'GilmerHeavy';
  position: relative;
}
.discord-invite-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.discord-invite-logo {
  width: 38px;
  height: 38px;
  filter: brightness(1.2) drop-shadow(0 2px 8px #000a);
}
.discord-invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1.1rem;
  gap: 1.1rem;
}
.discord-invite-members {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blanc);
  background: #23232a;
  border-radius: 8px;
  padding: 0.4rem 1.1rem;
  box-shadow: 0 2px 8px #000a;
}
.discord-invite-btn {
  background: #ffe082;
  color: #181818;
  font-weight: bold;
  border: none;
  border-radius: 22px;
  padding: 0.5rem 1.5rem;
  font-size: 1.08rem;
  text-decoration: none;
  box-shadow: 0 2px 8px #ffe08255;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.discord-invite-btn:hover {
  background: #ffd54f;
  color: #741111;
  transform: translateY(-2px) scale(1.04);
}
.discord-invite-hide {
  color: #bdbdbd;
  font-size: 0.98rem;
  margin-top: 0.7rem;
  opacity: 0.7;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.18s;
}
.discord-invite-hide:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-hide-link {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0.2rem 2.2rem 0.5rem 0;
}
@media (max-width: 900px) {
  .footer-hide-link {
    justify-content: center;
    margin: 0.2rem 0 0.5rem 0;
  }
}

.footer-discord-invite-mini {
  background: linear-gradient(135deg, #181818 60%, #23232a 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(116, 17, 17, 0.10);
  padding: 1rem 1rem 0.7rem 1rem;
  margin-bottom: 0.7rem;
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 260px;
}
.footer-discord-invite-mini .discord-invite-header {
  font-size: 1.01rem;
  margin-bottom: 0.7rem;
  gap: 0.5rem;
}
.footer-discord-invite-mini .discord-invite-logo {
  width: 28px;
  height: 28px;
}
.footer-discord-invite-mini .discord-invite-row {
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.footer-discord-invite-mini .discord-invite-btn {
  padding: 0.35rem 1.1rem;
  font-size: 0.98rem;
  border-radius: 16px;
}
.footer-discord-invite-mini .discord-invite-members {
  font-size: 0.98rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}
@media (max-width: 1100px) {
  .footer-discord-invite-mini {
    min-width: 0;
    max-width: 98vw;
    margin: 0 auto 0.7rem auto;
  }
}

.btn-indispo {
  background: #181818 !important; /* plus sombre */
  color: #888 !important;
  cursor: not-allowed;
  pointer-events: none;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  padding: 0 32px;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  font-size: 1.08rem;
  height: 44px;
  text-decoration: none !important;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}
.btn-join {
  background: #8B0000; /* rouge foncé */
  color: #fff;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  padding: 0 32px;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  font-size: 1.08rem;
  height: 44px;
  transition: background 0.2s;
  text-decoration: none !important; /* pas de soulignement */
  box-sizing: border-box; /* ne déborde pas */
  max-width: 100%; /* ne dépasse pas la carte */
  overflow: hidden;
}
.btn-join:hover {
  background: #a30000;
  color: #fff;
  text-decoration: none !important;
}
.server-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  z-index: 3;
}

.copy-ip.error {
  border-color: #d32f2f !important;
  background: rgba(211,47,47,0.13) !important;
  color: #d32f2f !important;
  animation: shake 0.3s;
}
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* Custom select maps avec images */
#maps-filter-custom.filter-select {
  position: relative;
  min-width: 150px;
  width: 100%;
  background: var(--gris-fonce);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.92rem;
  font-weight: bold;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  user-select: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#maps-filter-custom .custom-select-selected {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 20px;
  font-size: 0.92rem;
  font-weight: bold;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#maps-filter-custom .custom-select-selected img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 7px;
}
#maps-filter-custom .custom-select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--gris-fonce);
  border-radius: 0 0 8px 8px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  /* max-height: 220px; */
  /* overflow-y: auto; */
  border: none;
  padding: 0;
}
#maps-filter-custom .custom-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: bold;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: background 0.18s, color 0.18s;
}
#maps-filter-custom .custom-select-option img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 7px;
}
#maps-filter-custom .custom-select-option.selected,
#maps-filter-custom .custom-select-option:hover {
  background: #232323;
  color: var(--rouge);
}
#maps-filter-custom .custom-select-hide {
  display: none;
}
#maps-filter-custom .custom-select-arrow-active {
  border-radius: 8px 8px 0 0;
}

/* === Footer AK40SECTE === */
.footer-aksecte {
  background: #111;
  color: #fff;
  padding: 40px 0 0 0;
  font-family: 'GilmerHeavy';
  margin-top: 40px;
  position: relative;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 30px;
}
.footer-col-desc {
  max-width: 260px;
}
.footer-logo-aksecte {
  width: 120px;
  margin-bottom: 14px;
  display: block;
  position: absolute;
  top: 20px;
  left: 40px;
  z-index: 10;
}
.footer-desc {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 10px 0;
  font-weight: 600;
  text-align: left;
  align-items: flex-start;
  position: absolute;
  bottom: 80px;
  left: 40px;
  max-width: 300px;
  z-index: 10;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.18s;
  font-weight: 600;
}
.footer-col a:hover {
  color: #4e0606;
}
.footer-col-contact a {
  color: #4e0606;
  font-weight: 700;
  word-break: break-all;
}
.footer-bottom {
  text-align: center;
  padding: 18px 0 18px 0;
  background: #111;
  color: #bdbdbd;
  font-size: 0.98rem;
  border-top: 1px solid #222;
  margin-top: 10px;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    gap: 18px;
  }
  .footer-col {
    min-width: 0;
    width: 100%;
    text-align: center;
  }
  .footer-col-desc {
    max-width: 100%;
  }
}

/* ===========================
   { Section Équipes }
   =========================== */
.teams-section {
  width: 100%;
  padding: 6rem 2rem;
  background: transparent;
  position: relative;
  margin-top: 4rem;
  --esport-banner-section-height: 208px;
  --esport-banner-color: 16, 45, 87;
}

.pixel-canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.pixel-card {
  height: 400px;
  width: 300px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px solid #27272a;
  border-radius: 25px;
  isolation: isolate;
  transition: border-color 200ms cubic-bezier(0.5, 1, 0.89, 1);
  user-select: none;
}

.pixel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 1;
  background: radial-gradient(circle, #09090b, transparent 85%);
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.5, 1, 0.89, 1);
}

.pixel-card:hover::before,
.pixel-card:focus-within::before {
  opacity: 1;
}

.teams-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.team-card {
  background: var(--noir);
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms cubic-bezier(0.5, 1, 0.89, 1);
  border: 1px solid #27272a;
  height: 554px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  user-select: none;
}



.team-card-1 {
  background: linear-gradient(180deg, #000000 0%, #8B4513 50%, #A0522D 100%);
  border-color: rgba(160, 82, 45, 0.3);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);
}

.team-card-2 {
  background: linear-gradient(180deg, #000000 0%, #740e0e 100%);
  border-color: rgba(220, 38, 38, 0.3);
}

.team-card-3 {
  background: linear-gradient(180deg, #000000 0%, #283593 100%);
  border-color: rgba(40, 53, 147, 0.3);
}

.team-logo {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 3;
}

.team-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.team-card-1 .team-logo-img,
.team-card-2 .team-logo-img,
.team-card-3 .team-logo-img {
  width: 250px;
  height: 250px;
}

.team-card-partner {
  background: linear-gradient(180deg, #000000 0%, #8B4513 50%, #A0522D 100%);
  border-color: rgba(160, 82, 45, 0.3);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);
}

.team-card:hover .team-logo-img {
  transform: scale(1.1);
}

.team-info {
  position: relative;
  z-index: 3;
}

.team-info h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-info p {
  color: var(--gris-clair);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

.team-card:hover {
  /* transform: translateY(-5px); */
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .teams-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
  
  .team-logo-img {
    width: 60px;
    height: 60px;
  }
  
  .team-info h3 {
    font-size: 1.2rem;
  }
}

/* ===========================
   { Boutons Navigation Actualités }
   =========================== */
.news-nav-buttons {
  position: relative;
  margin: 140px 0 2rem 2rem;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0 1rem;
  max-width: 1200px;
  z-index: 10;
}

.news-nav-btn {
  background: var(--rouge);
  color: var(--blanc);
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(211,47,47,0.2);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.news-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.news-nav-btn:hover::before {
  left: 100%;
}

.news-nav-btn:hover, .news-nav-btn:focus {
  background: var(--noir);
  color: var(--rouge);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211,47,47,0.3);
  border-color: var(--rouge);
}

.news-nav-btn.active {
  background: var(--noir);
  color: var(--rouge);
  border-color: var(--rouge);
  box-shadow: 0 4px 15px rgba(211,47,47,0.25);
}

.news-nav-btn.active:hover {
  background: var(--rouge);
  color: var(--blanc);
  border-color: var(--rouge);
}

@media (max-width: 768px) {
  .news-nav-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .news-nav-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    min-width: 140px;
  }
}

/* ===========================
   { News List - Actualités }
   =========================== */
.news-list {
  margin-top: 140px;
  max-width: 1100px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding: 0 16px;
}
.news-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: none;
  border-radius: 0;
  border-bottom: 1px solid #232323;
  padding-bottom: 32px;
  transition: transform 0.25s cubic-bezier(.23,1.02,.32,1);
  overflow: visible;
  position: relative;
}

.news-row-inner {
  transition: transform 0.25s cubic-bezier(.23,1.02,.32,1);
}

.news-row-inner:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 2;
}

.news-img {
  width: 320px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  background: #181a1b;
  flex-shrink: 0;
  box-shadow: none !important;
  border: none !important;
}
.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-date {
  color: #bdbdbd;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.news-title {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 0;
  font-family: 'GilmerHeavy' !important;
}
.news-desc {
  color: #bdbdbd;
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.5;
  font-family: 'GilmerHeavy' !important;
}
.news-link {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.18s;
  cursor: pointer;
  display: inline-block;
}
.news-link:hover {
  color: #dc2626;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .news-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding-bottom: 24px;
  }
  .news-img {
    width: 100%;
    height: 180px;
    max-width: 100vw;
  }
}

/* ===========================
   { Patch Notes - Mises à jour }
   =========================== */
.patchnote-list {
  max-width: 1100px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 16px;
}
.patchnote-block {
  background: #181a1b;
  border-radius: 6px;
  padding: 38px 48px 32px 48px;
  box-shadow: 0 2px 24px #000a;
  max-width: 900px;
  margin: 0 auto;
  border-left: 4px solid #232323;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'GilmerHeavy' !important;
}
.patchnote-date {
  color: #bdbdbd;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: 'GilmerHeavy' !important;
}
.patchnote-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'GilmerHeavy' !important;
}
.patchnote-section {
  color: #bdbdbd;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
  font-family: 'GilmerHeavy' !important;
}
.patchnote-block ul {
  margin: 0 0 0 24px;
  padding: 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.6;
  font-family: 'GilmerHeavy' !important;
}
.patchnote-block ul li {
  margin-bottom: 6px;
  font-family: 'GilmerHeavy' !important;
}
@media (max-width: 700px) {
  .patchnote-block {
    padding: 22px 8px 18px 8px;
  }
}

.news-row:hover {
  transform: scale(1.03);
  z-index: 2;
}



/* Section Skinchanger Accueil - harmonisée avec la palette du site */
.skinchangeraccueil {
  background: var(--gris-fonce);
  border-radius: 16px;
  max-width: 900px;
  margin: 48px auto 0 auto;
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none !important;
}

.skinchangeraccueil-images {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 24px;
}
.skinchangeraccueil-images img {
  max-height: 120px;
  border-radius: 8px;
  border: 2px solid var(--noir);
  background: var(--noir);
}

.skinchangeraccueil-titre {
  color: var(--blanc);
  font-family: 'GilmerHeavy' !important;
  font-size: 2.1rem;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.skinchangeraccueil-desc {
  color: var(--gris-clair);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
  font-family: 'GilmerHeavy' !important;
}

.skinchangeraccueil-btn {
  display: inline-block;
  background: var(--rouge);
  color: var(--blanc);
  font-family: 'GilmerHeavy' !important;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, transform 0.18s;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(211,47,47,0.13);
  position: relative;
  z-index: 1;
}
.skinchangeraccueil-btn:hover {
  background: var(--noir);
  color: var(--rouge);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 16px 2px var(--rouge), 0 8px 32px rgba(211,47,47,0.25);
}

@media (max-width: 700px) {
  .skinchangeraccueil {
    padding: 18px 4px;
  }
  .skinchangeraccueil-images img {
    max-height: 70px;
  }
  .skinchangeraccueil-titre {
    font-size: 1.2rem;
  }
}

.skinchangeraccueil-images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  justify-content: center;
  margin-bottom: 28px;
}
.skinchangeraccueil-images-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--noir);
  background: var(--noir);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.18s, border-color 0.18s;
}
.skinchangeraccueil-images-grid img:hover {
  transform: scale(1.04);
  border-color: var(--rouge);
}

@media (max-width: 900px) {
  .skinchangeraccueil-images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 500px) {
  .skinchangeraccueil-images-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===========================
   { Staff Section Styles - Uniques }
   =========================== */
.staff-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin: 48px 0 32px 0;
}
.staff-grid-card {
  background: #181818;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  width: 320px;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 1.2rem 1.2rem 1.2rem;
  transition: box-shadow 0.3s, border 0.3s, transform 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}
.staff-grid-card:hover {
  box-shadow: 0 0 32px 0 #e63946, 0 2px 16px rgba(0,0,0,0.22);
  border: 2px solid #e63946;
  transform: translateY(-8px) scale(1.035);
}
.staff-grid-avatar-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.1rem;
}
.staff-grid-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e63946;
  background: #222;
}
.staff-grid-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  width: 100%;
}
.staff-grid-name {
  font-size: 1.45rem;
  font-weight: bold;
  color: #fff;
  margin: 0 0 0.2em 0;
  letter-spacing: 0.5px;
}
.staff-grid-role {
  background: #e63946;
  color: #fff;
  padding: 0.32em 1.1em;
  border-radius: 12px;
  font-size: 1.05em;
  margin-bottom: 0.7em;
  margin-top: 0.1em;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.staff-separator {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #e63946 60%, #fff0 100%);
  border-radius: 2px;
  margin: 0.5em 0 1em 0;
  opacity: 0.7;
}
.staff-grid-desc {
  color: #e0e0e0;
  font-size: 1.04em;
  margin: 0;
  line-height: 1.5;
  max-width: 90%;
}
.staff-grid-links {
  display: flex;
  gap: 12px;
  margin-top: 0.7em;
}
.staff-grid-links a img {
  filter: grayscale(0.2) brightness(0.95);
  transition: filter 0.18s, transform 0.18s;
  width: 24px;
  height: 24px;
}
.staff-grid-links a:hover img {
  filter: grayscale(0) brightness(1.2);
  transform: scale(1.13);
}
@media (max-width: 1200px) {
  .staff-cards-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* === MODALE ACTUALITÉS === */
.news-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-modal-content {
  max-width: 900px;
  width: 99vw;
  max-height: 98vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  background: #181818;
  color: #fff;
  border-radius: 18px;
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  text-align: center;
}
.news-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.news-modal-close:hover {
  color: #d32f2f;
}
.news-modal-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}
.news-modal-date {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}
.news-modal-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.news-modal-desc {
  font-size: 1.08rem;
  color: #eee;
  margin-bottom: 0.5rem;
}

/* Flou sur l'arrière-plan quand la modale d'actualités est ouverte */
.news-modal::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.news-modal-content {
  position: relative;
  z-index: 1;
}

/* Style pour l'affichage single page d'une actu complète */
.actu-full {
  background: #191919;
  border-radius: 22px;
  max-width: 900px;
  margin: 2.5rem auto 2.5rem auto;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: flex-start;
  animation: fadeInUp 0.4s cubic-bezier(0.4,0,0.2,1);
}
.actu-full-img-col {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.actu-full img {
  max-width: 250px;
  width: 100%;
  border-radius: 14px;
  margin-bottom: 2rem;
  box-shadow: none;
}
.actu-full-content-col {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.actu-full .actu-back-btn {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  padding: 0.5em 1.5em;
  border-radius: 8px;
  border: none;
  background: #232323;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s;
  font-weight: 600;
  box-shadow: 0 2px 8px #0002;
  align-self: flex-start;
}
.actu-full .actu-back-btn:hover {
  background: #333;
}
.actu-full .actu-date {
  color: #aaa;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.actu-full h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
}
.actu-full .actu-content {
  font-size: 1.13rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  text-align: left;
  color: #eee;
}
.actu-full .actu-content p {
  margin: 0 0 1.1em 0;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .actu-full {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
  .actu-full-content-col {
    align-items: center;
  }
  .actu-full .actu-content {
    text-align: center;
    max-width: 100%;
  }
}

.btn-back-news {
  display: block;
  margin: 2rem auto 2rem auto;
  padding: 0.5rem 1.3rem;
  background: #e0e0e0;
  color: #222;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 2px 8px #0001;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
  text-align: center;
  max-width: max-content;
}
.btn-back-news:hover, .btn-back-news:focus {
  background: #bdbdbd;
  color: #111;
  box-shadow: 0 4px 16px #0002;
  text-decoration: none;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--rouge);
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-shadow: 1px 1px 8px #000a;
  font-weight: bold;
  font-family: 'GilmerHeavy', Arial, sans-serif;
}

/* Suppression du fond gris clair autour des logos de map dans les filtres serveurs */
#maps-filter-custom .custom-select-selected img,
#maps-filter-custom .custom-select-option img {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
