/* ===================================================== */
/*                   GLOBAL SETTINGS                     */
/* ===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0e14;
  color: #f2e8d8;
  line-height: 1.6;
  animation: neonGlow 8s ease-in-out infinite;
}

@keyframes neonGlow {
  0% { box-shadow: inset 0 0 40px rgba(0,150,255,0.05); }
  50% { box-shadow: inset 0 0 80px rgba(0,150,255,0.14); }
  100% { box-shadow: inset 0 0 40px rgba(0,150,255,0.05); }
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ===================================================== */
/*             SECTION STRUCTURE + NEON BEAM             */
/* ===================================================== */

.section,
.section-alt {
  position: relative;
  padding: 4rem 0;
  background: rgba(10, 14, 20, 0.75);
  backdrop-filter: blur(6px);
  box-shadow:
    inset 0 0 35px rgba(0,150,255,0.12),
    inset 0 0 90px rgba(0,150,255,0.15);
}

/* Top neon beam */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,150,255,0.9),
    transparent
  );
  box-shadow: 0 0 15px rgba(0,150,255,0.7);
  animation: neonBeamPulse 4s ease-in-out infinite;
}

/* Bottom neon beam */
.section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,150,255,0.9),
    transparent
  );
  box-shadow: 0 0 15px rgba(0,150,255,0.7);
  animation: neonBeamPulse 4s ease-in-out infinite;
}

@keyframes neonBeamPulse {
  0% { opacity: 0.55; }
  50% { opacity: 1; }
  100% { opacity: 0.55; }
}


/* =============================== */
/*        HERO FUTURISTE B        */
/* =============================== */

.neon-hero {
    position: relative;
    padding: 7rem 0 5rem;
    text-align: center;
    background: url("background.png") center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* Rayons animés */
.hero-rays {
    position: absolute;
    top: 0;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,140,255,0.18), transparent 70%);
    animation: raysMove 6s infinite ease-in-out alternate;
    filter: blur(25px);
}

@keyframes raysMove {
    0% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
    100% { transform: translateX(-50%) translateY(-30px); opacity: 0.8; }
}

/* Logo futuriste */
.hero-logo-futuristic {
    width: 220px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(255,180,40,0.5))
            drop-shadow(0 0 20px rgba(0,140,255,0.4));
    animation: logoPulse 4s infinite ease-in-out;
}

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

/* Titre */
.hero-title {
    font-size: 3.2rem;
    color: #f2b544;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(242,181,68,0.7),
                 0 0 30px rgba(0,140,255,0.3);
}

/* Sous-titre */
.hero-subtitle {
    font-size: 1.15rem;
    color: #d8e6ff;
    margin-bottom: 2rem;
    opacity: 0.85;
}

/* Boutons futuristes */
.futurist-buttons {
    display: flex;
    justify-content: center;
    gap: 1.3rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Bouton principal */
.btn-futuristic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.4rem;
    background: rgba(5,10,20,0.55);
    border: 2px solid #1ea4ff;
    border-radius: 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: bold;
    overflow: hidden;
    transition: 0.25s ease;
    box-shadow: 0 0 12px rgba(30,164,255,0.45);
}

/* Bouton secondaire */
.btn-futuristic-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    background: rgba(5,10,20,0.55);
    border: 2px solid #5865F2;
    border-radius: 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    overflow: hidden;
    transition: 0.25s ease;
}

/* Glow interne animé */
.btn-futuristic .btn-glow,
.btn-futuristic-secondary .btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,160,255,0.25), transparent 70%);
    opacity: 0;
    transition: 0.3s ease;
}

.btn-futuristic:hover .btn-glow,
.btn-futuristic-secondary:hover .btn-glow {
    opacity: 1;
}

/* Hover style */
.btn-futuristic:hover {
    transform: translateY(-5px);
    border-color: #f2b544;
    box-shadow: 0 0 18px rgba(242,181,68,0.55),
                0 0 35px rgba(30,164,255,0.7);
}

.btn-futuristic-secondary:hover {
    transform: translateY(-5px);
    border-color: #7d86ff;
    box-shadow: 0 0 18px rgba(120,130,255,0.5);
}

/* Icônes boutons */
.btn-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 5px #1ea4ff);
}



/* ===================================================== */
/*                       TITRES                          */
/* ===================================================== */

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #f2b544;
  text-align: center;
}

.section h2::after {
  content: "";
  width: 120px;
  height: 3px;
  margin: 0.4rem auto 0;
  display: block;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,150,255,0.8),
    transparent
  );
  box-shadow: 0 0 8px rgba(0,150,255,0.6);
}


/* ===================================================== */
/*                     HEADER / NAV                      */
/* ===================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 31, 47, 0.95);
  border-bottom: 2px solid #f2b544;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

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

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #f2e8d8;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: 0.2s;
}

.nav a:hover {
  background: rgba(242, 181, 68, 0.15);
}

.btn-nav {
  background: #f2b544;
  color: #0a0e14 !important;
  font-weight: bold;
}

.nav-toggle {
  display: none;
}


/* ===================================================== */
/*                         HERO                          */
/* ===================================================== */

.hero {
  padding: 6rem 0 4rem;
  background: url("background.png") center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  animation: heroParallaxZoom 2.5s ease-out forwards;
  opacity: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.65);
  backdrop-filter: blur(1px);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #0a0e14);
  z-index: 3;
}

@keyframes heroParallaxZoom {
  0% { opacity: 0; background-size: 115%; }
  50% { opacity: 1; background-size: 108%; }
  100% { opacity: 1; background-size: 100%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo {
  width: 180px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.hero h1 {
  font-size: 3rem;
  color: #f2b544;
}

.hero-subtitle {
  margin-bottom: 1.5rem;
  color: #f2e8d8;
}

/* =============================== */
/*   SECTION INFOS SERVEUR V2      */
/* =============================== */

.infos-section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    color: #f2b544;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 12px rgba(242,181,68,0.6);
}

.section-description {
    text-align: center;
    color: #d8e6ff;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* GRID PRINCIPALE */
.infos-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* CARTES FUTURISTES */
.infos-card-v2 {
    background: rgba(10,20,30,0.55);
    border: 1px solid rgba(0,150,255,0.35);
    border-radius: 18px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(6px);

    /* Glow futuriste SUPER propre */
    box-shadow:
        0 0 14px rgba(0,150,255,0.35),
        inset 0 0 20px rgba(0,150,255,0.2);

    transition: 0.25s ease-in-out;
}

/* Effet Hover premium */
.infos-card-v2:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 20px rgba(0,150,255,0.55),
        inset 0 0 30px rgba(0,150,255,0.3);
    border-color: #1ea4ff;
}

/* Icônes futuristes */
.infos-icon-v2 {
    width: 55px;
    height: 55px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(30,160,255,0.7));
}

/* Titres */
.infos-card-v2 h3 {
    color: #f2b544;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Textes */
.infos-card-v2 p {
    font-size: 0.95rem;
    color: #e2e8f0;
    opacity: 0.85;
}



/* ===================================================== */
/*           BOUTON REJOINDRE — PREMIUM NEON             */
/* ===================================================== */

.btn-join-neon {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, #0d1a24, #162b3a);
  color: #f2b544;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 14px;
  border: 2px solid #1e90ff;
  box-shadow: 0 0 10px #1e90ff, 0 0 25px rgba(242,181,68,0.6);
  transition: 0.3s;
}

.btn-join-neon:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px #1e90ff, 0 0 35px rgba(242,181,68,0.9);
}


/* ===================================================== */
/*                     IP BADGE                          */
/* ===================================================== */

.ip-badge-wrapper {
  width: 300px;
  margin: 1.2rem auto 0;
}

.ip-badge-wrapper img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 10px rgba(30,144,255,0.5));
}


/* ===================================================== */
/*                  DISCORD BUTTON                       */
/* ===================================================== */

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #5865F2;
  color: white;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.btn-discord:hover {
  transform: translateY(-3px);
  background: #6d78ff;
}


/* ===================================================== */
/*                   INFOS SERVEUR                       */
/* ===================================================== */

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

.infos-card {
  background: rgba(12, 22, 40, 0.85);
  border: 1px solid rgba(0,150,255,0.35);
  padding: 2rem 1.4rem;
  border-radius: 14px;
  text-align: center;
  box-shadow:
    0 0 12px rgba(0,150,255,0.45),
    0 0 35px rgba(0,150,255,0.28),
    inset 0 0 10px rgba(0,150,255,0.10);
  transition: 0.25s;
}

.infos-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 18px rgba(0,150,255,0.7),
    0 0 55px rgba(0,150,255,0.45),
    inset 0 0 12px rgba(0,150,255,0.15);
}

.infos-icon {
  width: 55px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(0,150,255,0.7));
}


/* ===================================================== */
/*                  OLD CARDS (REGLES...)                */
/* ===================================================== */

.card {
  background: rgba(12, 22, 40, 0.85);
  border: 1px solid rgba(0,150,255,0.35);
  border-radius: 12px;
  padding: 1.4rem;
  text-align: center;
  box-shadow:
    0 0 12px rgba(0,150,255,0.35),
    inset 0 0 10px rgba(0,150,255,0.1);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-6px);
}


/* ===================================================== */
/*                      FOOTER                           */
/* ===================================================== */

.footer {
  padding: 1.5rem 0;
  background: #0a0e14;
  border-top: 2px solid #f2b544;
  text-align: center;
  color: #f2e8d8;
}


/* ===================================================== */
/*                   MOBILE NAVIGATION                   */
/* ===================================================== */

@media (max-width: 800px) {
  .nav {
    position: absolute;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: #0f1f2f;
    padding: 1rem;
    border: 1px solid rgba(0,150,255,0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-200%);
    transition: 0.25s;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* =============================== */
/*     FOND DÉDIÉ — INFOS SERVEUR  */
/* =============================== */

#infos {
  position: relative;
  background: url("infos-bg.png") center/cover no-repeat fixed;
  padding: 5rem 0;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Assombrit légèrement pour rester lisible */
#infos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 20, 0.55);
  backdrop-filter: blur(4px);
  z-index: 0;
}

/* Place les éléments devant */
#infos .container {
  position: relative;
  z-index: 2;
}


/* =============================== */
/*     FOND DÉDIÉ — RÈGLES SERVEUR */
/* =============================== */

#regles {
  position: relative;
  background: url("infos-bg.png") center/cover no-repeat fixed;
  padding: 5rem 0;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Assombrissement pour bien lire */
#regles::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 20, 0.55);
  backdrop-filter: blur(4px);
  z-index: 0;
}

/* Place le contenu au-dessus */
#regles .container {
  position: relative;
  z-index: 2;
}
