/* =========================================================
   BLUE LIGHT RP — STYLE ULTIME NÉON CYBERPUNK
   By ChatGPT — Optimisé, Responsive, Glow Pro
   ========================================================= */

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

html, body {
  font-family: 'Poppins', sans-serif;
  background: url("assets/back.png") center / cover no-repeat fixed; /* BACKGROUND PARTOUT */
  color: #e0f7ff;
  overflow-x: hidden;
}

/* === VARIABLES === */
:root {
  --blue: #00f0ff;
  --pink: #ff33cc;
  --bg-dark: #000010;
  --glass: rgba(255,255,255,0.05);
  --glass-strong: rgba(255,255,255,0.10);
}

/* === IMAGES === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === ANIMATIONS === */
@keyframes glow {
  from { filter: drop-shadow(0 0 10px var(--blue)); }
  to { filter: drop-shadow(0 0 25px var(--pink)); }
}
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }
@keyframes moveBg {
  0% { transform: scale(1.0) translateX(0); }
  100% { transform: scale(1.08) translateX(-3%); }
}
@keyframes glowPulse {
  0% { text-shadow: 0 0 25px var(--blue), 0 0 50px var(--pink); }
  100% { text-shadow: 0 0 50px var(--pink), 0 0 90px var(--blue); }
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulseScroll {
  0%,100% { opacity: 0.5; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 5px); }
}

/* =========================================================
   LOADER
   ========================================================= */
#loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #04001a 0%, #000008 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 3.5s ease forwards;
  animation-delay: 2s;
}

.loader-logo {
  width: 280px;
  animation: glow 2s infinite alternate;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: rgba(0, 0, 30, 0.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,240,255,0.25);
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-small {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 8px var(--blue));
  transition: 0.3s;
}
.logo-small:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px var(--pink));
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #b8dfff;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 10px;
  transition: 0.3s;
}
.nav a:hover,
.nav a.active {
  color: var(--pink);
  text-shadow: 0 0 10px var(--pink);
}

.btn-discord {
  background: linear-gradient(90deg, var(--blue), var(--pink));
  padding: 8px 16px;
  font-weight: bold;
  color: #020015;
  transition: 0.3s;
}
.btn-discord:hover {
  filter: brightness(1.3);
  box-shadow: 0 0 15px var(--pink), 0 0 25px var(--blue);
}

/* =========================================================
   HERO — PARALLAX + GLOW
   ========================================================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: moveBg 60s linear infinite alternate;
  filter: brightness(0.55) contrast(1.25);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 30, 0.25); /* BACKGROUND VISIBLE */
  z-index: -1;
}

.hero-content {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 2s ease forwards;
}

.hero-content h2 {
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 25px var(--blue), 0 0 50px var(--pink);
  animation: glowPulse 3s infinite alternate;
}

.hero-content h2 span {
  color: var(--blue);
  text-shadow: 0 0 30px var(--blue);
}

.hero-content p {
  font-size: 1.3rem;
  color: #dff9ff;
  margin-top: 15px;
}

.buttons { margin-top: 25px; }

/* =========================================================
   BOUTONS
   ========================================================= */
.btn {
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 12px 28px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  transition: 0.3s;
  backdrop-filter: blur(6px);
  font-weight: 600;
}
.btn.alt { border-color: var(--pink); color: var(--pink); }

.btn:hover {
  background: linear-gradient(90deg, var(--blue), var(--pink));
  color: #020015;
  box-shadow: 0 0 20px var(--blue), 0 0 40px var(--pink);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--blue);
  animation: pulseScroll 1.5s infinite;
}

/* =========================================================
   SECTIONS (GLASSMORPHISM)
   ========================================================= */
.content-section {
  max-width: 1100px;
  margin: 100px auto;
  background: var(--glass);
  padding: 40px;
  border-radius: 0px;
  border: 1px solid rgba(0,240,255,0.15);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-section h2 {
  font-size: 2.4rem;
  color: var(--blue);
  margin-bottom: 20px;
}
.content-section ul {
  list-style: none;
  margin-top: 20px;
}
.content-section ul li {
  padding: 15px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--blue);
  margin-bottom: 12px;
  border-radius: 0px;
}

/* =========================================================
   PAGE RÈGLEMENT
   ========================================================= */

   body.reglement-page {
    background: url("assets/back.png") center / cover no-repeat fixed !important;
    background-color: #000010;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  body.reglement-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,40,0.25); /* background visible mais propre */
    backdrop-filter: blur(4px);
    z-index: -1;
  }
  
  /* ===== HERO RÈGLEMENT ===== */
  
  .reglement-hero {
    min-height: calc(100vh - 120px); /* centrage parfait */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
  }
  
  .reglement-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--blue), 0 0 40px var(--pink);
  }
  
  /* ===== BOUTONS DU RÈGLEMENT ===== */
  
  .reglement-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
  }
  
  .reglement-buttons .btn {
    min-width: 220px;
    text-align: center;
  }
  
  /* ===== SECTIONS DU RÈGLEMENT ===== */
  
  .reglement-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 35px;
    background: var(--glass);
    border-radius: 0px;
    border: 1px solid rgba(0,240,255,0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,240,255,0.1);
    transition: 0.3s ease;
  }
  
  .reglement-section:hover {
    box-shadow: 0 0 35px rgba(0,240,255,0.25);
  }
  
  /* Titres de sections */
  .reglement-section h2 {
    font-size: 2.4rem;
    color: var(--blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,240,255,0.25);
    text-shadow: 0 0 10px var(--blue);
  }
  
  /* Paragraphes et textes */
  .reglement-section p,
  .reglement-section li {
    line-height: 1.65;
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #e6faff;
  }
  
  /* Sous-titres (1.1 – 1.2 etc.) */
  .reglement-section strong {
    display: block;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 6px;
    color: var(--blue);
    text-shadow: 0 0 6px rgba(0,240,255,0.4);
  }
  
  /* Séparateurs internes */
  .reglement-section .rule-block {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .reglement-section .rule-block:last-child {
    border-bottom: none;
  }
  

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  text-align: center;
  padding: 30px;
  background: rgba(0,0,30,0.8);
  color: #a0eaff;
  border-top: 1px solid rgba(0,240,255,0.15);
}

/* =========================================================
   MUSIC BUTTON
   ========================================================= */
.music-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 20px;
  border-radius: 0%;
  width: 55px;
  height: 55px;
  cursor: pointer;
  z-index: 9999;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:900px){
  .hero-content h2 { font-size:2.6rem; }
  .hero-content p { font-size:1.1rem; }
  .content-section{ margin:60px 20px; }
}
@media (max-width:600px){
  .hero{height:auto;padding:140px 20px 100px;}
  .hero-content h2{font-size:2rem;}
  .btn{width:90%;text-align:center;}
}
/* =========================================================
   📱 OPTIMISATION MOBILE — BLUE LIGHT RP
   ========================================================= */

   @media (max-width: 980px) {

    /* HEADER */
    .header {
      flex-direction: column;
      height: auto;
      padding: 15px;
      text-align: center;
    }
  
    .logo-area {
      flex-direction: column;
      gap: 6px;
    }
  
    .nav {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-top: 15px;
    }
  
    .nav a {
      padding: 8px 14px;
      font-size: 14px;
    }
  
  
    /* HERO */
    .hero {
      padding: 120px 20px 80px;
    }
  
    .hero h2 {
      font-size: 2rem;
      line-height: 1.3;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .hero .buttons {
      flex-direction: column;
      gap: 10px;
    }
  
    .btn,
    .btn.alt {
      width: 100%;
      max-width: 260px;
      text-align: center;
    }
  
    .scroll-indicator {
      display: none;
    }
  
  
    /* SECTIONS */
    .content-section {
      padding: 20px;
      margin: 20px 10px;
    }
  
    .content-section h2 {
      font-size: 1.7rem;
    }
  
    .content-section ul {
      padding-left: 15px;
    }
  
    .content-section li {
      font-size: 1rem;
      line-height: 1.4;
    }
  
  
    /* PAGE RÈGLEMENT (général / légal / illégal) */
    .hero.small {
      padding: 100px 20px;
    }
  
    .hero.small h2 {
      font-size: 2rem;
    }
  
    .content-section h3 {
      font-size: 1.2rem;
    }
  
    /* Réduction des marges des titres */
    h2, h3 {
      margin-top: 25px;
    }
  
    /* Limite largeur des gros blocs */
    .content-section {
      max-width: 95%;
    }
  }
  
  
  @media (max-width: 600px) {
  
    /* HEADER SPECIAL ULTRA MOBILE */
    .nav a {
      font-size: 13px;
      padding: 6px 10px;
    }
  
    /* HERO ultra small */
    .hero h2 {
      font-size: 1.7rem;
    }
  
    .hero p {
      font-size: .9rem;
    }
  
    .loader-logo {
      width: 120px;
    }
  
    .content-section h2 {
      font-size: 1.5rem;
    }
  
    .content-section li {
      font-size: .95rem;
    }
  
    .logo-small {
      width: 50px;
    }
  }
  

/* =========================================================
   ENTREPRISES — MENU DÉROULANT + PAGES DÉDIÉES
   ========================================================= */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: rgba(3, 10, 30, 0.95);
  border: 1px solid rgba(0,240,255,0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 1200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
}

.entreprises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 30px 0 34px;
}

.entreprise-card-link {
  text-decoration: none;
  color: inherit;
}

.entreprise-card {
  height: 100%;
  padding: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,240,255,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.entreprise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(0,240,255,0.18);
  border-color: rgba(255,51,204,0.4);
}

.entreprise-card span {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 12px;
}

.entreprise-card h3 {
  margin-bottom: 10px;
  color: #fff;
}

.entreprise-card p {
  color: #d5efff;
  line-height: 1.5;
}

.company-page .company-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
  position: relative;
  overflow: hidden;
}

.company-page .company-hero .background {
  filter: brightness(0.38) contrast(1.15);
}

.company-page .company-hero-content {
  max-width: 900px;
  z-index: 2;
}

.company-page .company-hero-content h1 {
  font-size: 3.4rem;
  margin-bottom: 18px;
  text-shadow: 0 0 25px var(--blue), 0 0 50px var(--pink);
}

.company-page .company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.company-page .company-meta span {
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,240,255,0.18);
}

.company-layout {
  max-width: 1150px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.company-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,240,255,0.15);
  padding: 32px;
  margin-top: 26px;
  backdrop-filter: blur(12px);
}

.company-block h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 16px;
}

.company-block p,
.company-block li {
  line-height: 1.7;
  color: #e4f8ff;
}

.company-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.company-photo {
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,240,255,0.18);
  background:
    linear-gradient(145deg, rgba(0,240,255,0.18), rgba(255,51,204,0.12)),
    url("../assets/back.png") center/cover no-repeat;
}

.company-photo::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-weight: 600;
}

.company-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.company-note {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .nav-dropdown {
    width: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .dropdown-menu {
    position: static;
    min-width: unset;
    width: 100%;
    margin-top: 10px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex;
  }

  .company-page .company-hero-content h1 {
    font-size: 2.3rem;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.gallery-grid img:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--blue);
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.28);
}


.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  color: #00bfff;
  margin-bottom: 5px;
}

.faq-item p {
  margin: 0;
  line-height: 1.5;
}



.activity-block {
  margin-bottom: 25px;
}

.activity-block h3 {
  color: #00bfff;
  margin-bottom: 8px;
}

.activity-block p {
  margin: 0;
  line-height: 1.5;
}

.activity-block ul {
  padding-left: 20px;
  margin-top: 10px;
}



/* Overlay zoom image */
.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.image-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
  transition: transform 0.3s ease;
}