* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    padding-top: 102px; /* hauteur du header */
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.body-serveur {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
        url("../picture/fond-serveur.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

main {
    flex: 1;
}

/* ===== LOGO ===== */

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #3b4a6b;
    padding: 8px 12px;
    border-radius: 6px;
    color: white;
    font-family: Arial, sans-serif;
}

.tab-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ===== FIN LOGO ===== */
/* ===== HEADER ===== */

header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    background: #111;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    font-family: 'PlaneCrash', sans-serif;
    /* backdrop-filter: blur(10px); */
}

.header-img {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    cursor: pointer;
}

.header-img-tiktok {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    cursor: pointer;
}

.title {
    margin-right: 40px;
    color: white;
    text-decoration: none;
    font-size: 50px;
}

.title a,
.title a:visited,
.title a:hover,
.title a:active {
    color: white;
    text-decoration: none;
}

a {
    text-decoration: none;
}

a:visited {
    color: white;
}

/* ===== FIN HEADER ===== */
/* =================== MENU ====================== */

nav {
    display: flex;
    gap: 25px;
    margin-left: 200px;
}

nav a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00ff88;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #00ff88;
}

/* Police */

@font-face {
    font-family: 'PlaneCrash';
    src:
        url('../fonts/PlaneCrash.ttf') format('truetype'),
        url('../fonts/PlaneCrash.ttf') format('woff');
}

/* ==================== FIN MENU ====================== */
/* =============== PRESENTATION ====================== */

.hero {
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
}

/* Vidéo */

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Contenu */

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 40px;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

/* ==================== FIN PRESENTATION ====================== */

.btn {
    background: #00ff88;
    color: black;
    padding: 10px 20px;
    margin-top: 20px;
    text-decoration: none;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}

.card {
    background: #1a1a1a;
    padding: 20px;
    border: 1px solid #00ff88;
    transition: all 0.8s ease;
}

.card:nth-child(1) {
    transition-delay: 0.1s;
}

.card:nth-child(2) {
    transition-delay: 0.3s;
}

.card:nth-child(3) {
    transition-delay: 0.5s;
}

form {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: auto;
}

input,
textarea {
    margin: 10px 0;
    padding: 10px;
    background: #111;
    color: white;
    border: 1px solid #00ff88;
}

button {
    background: #00ff88;
    border: none;
    padding: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    margin-top: auto;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:visited {
    color: white;
}

footer a:hover {
    color: #00ff88;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========== CARD SERVEUR ========== */

.server-card {
    width: 100%;
    padding: 20px 25px;
    border-radius: 14px;
    box-sizing: border-box;
    background: rgba(10, 30, 25, 0.7);
    border: 1px solid rgba(0, 255, 150, 0.25);
    box-shadow:
        0 0 12px rgba(0, 255, 150, 0.15),
        inset 0 0 8px rgba(0, 255, 150, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulseGlow 4s ease-in-out infinite;
}

/* ===== HOVER ===== */

.server-card:hover {
    border-color: rgba(0, 255, 150, 0.6);
    box-shadow:
        0 0 20px rgba(0, 255, 150, 0.3),
        inset 0 0 12px rgba(0, 255, 150, 0.15);
    transform: translateY(-2px);
}

/* ===== LIGNE ANIMÉE ===== */

.server-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(0,255,150,0.4),
        transparent
    );
    animation: scan 3s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* ===== TEXTE ===== */

.server-card .label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #7fffd4;
    margin-bottom: 6px;
    text-transform: uppercase;
    opacity: 0.7;
    font-family: 'PlaneCrash', sans-serif;
    position: relative;
    z-index: 1;
}

.server-card .titlecard {
    font-size: 18px;
    color: #e6fff5;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.server-card .content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding-right: 160px;
}

@keyframes pulseGlow {
    0% {
        box-shadow:
            0 0 12px rgba(0, 255, 150, 0.15),
            inset 0 0 8px rgba(0, 255, 150, 0.08);
    }

    50% {
        box-shadow:
            0 0 22px rgba(0, 255, 150, 0.35),
            inset 0 0 14px rgba(0, 255, 150, 0.15);
    }

    100% {
        box-shadow:
            0 0 12px rgba(0, 255, 150, 0.15),
            inset 0 0 8px rgba(0, 255, 150, 0.08);
    }
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.cards-container > .server-card:last-child:nth-child(odd) {
    grid-column: 1 / span 2;
    justify-self: center;
    width: calc(50% - 20px);
}

.section-cards {
    padding-top: 5%;
    padding-bottom: 80px;
    justify-content: center;
    align-items: center;
}

.card-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid #00ffa6;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.card-btn:visited,
.card-btn:active,
.card-btn:focus {
    color: white;
}

.card-btn:hover {
    background: rgba(0,255,150,0.2);
    box-shadow:
        0 0 12px #00ffa6,
        0 0 25px #00ffa6;
    transform: translateY(-50%) translateY(-2px);
}

/* ===== FIN CARD SERVEUR ===== */

/* ===== TEXT SERVEUR ===== */

.texte-serveur {
    text-align: center;
    padding-top: 5%;
    font-family: 'PlaneCrash', sans-serif;
}

/* ===== FIN TEXT SERVEUR ===== */

/* =========== POLICE ========== */

.police-planecrash {
    font-family: 'PlaneCrash', sans-serif;
    padding-bottom: 10px;
}

/* =========== FIN POLICE ========== */

/* =========== BOT HTML SECTION ========== */

.section-cards-bot {
    padding-bottom: 80px;
    justify-content: center;
    align-items: center;
}

.police-planecrash-title-bot {
    text-align: center;
    padding: 150px;
    padding-bottom: 20px;
    font-family: 'PlaneCrash', sans-serif;
}

/* =========== FIN BOT HTML SECTION ========== */

/* =========== REGLEMENT SECTION ========== */

.main-reglement {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
}

.reglement-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.reglement-box {
    max-width: 900px;
    width: 100%;
    padding: 15px 30px 30px;
    border-radius: 16px;
    background: rgba(10, 30, 25, 0.75);
    border: 1px solid rgba(0, 255, 150, 0.25);
    box-shadow:
        0 0 20px rgba(0, 255, 150, 0.2),
        inset 0 0 10px rgba(0, 255, 150, 0.1);
    backdrop-filter: blur(10px);
    text-align: left;
    line-height: 1.6;
    animation: pulseGlow 4s ease-in-out infinite;
}

.reglement-box h1 {
    text-align: center;
    margin: 0 0 10px;
    font-family: 'PlaneCrash', sans-serif;
}

.reglement-box p {
    margin-bottom: 20px;
    opacity: 0.85;
}

.reglement-box ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.reglement-box li {
    margin-bottom: 12px;
}

.reglement-box:hover {
    transform: scale(1.01);
    transition: 0.3s;
}

.reglement-box h2 {
    margin-top: 30px;
    color: #00ffa6;
    border-left: 3px solid #00ffa6;
    padding-left: 10px;
}

/* =========== FIN REGLEMENT SECTION ========== */

/* =========== APROPOS SECTION ========== */

.main-apropos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
}

.apropos-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.apropos-box {
    max-width: 900px;
    width: 100%;
    padding: 15px 30px 30px;
    border-radius: 16px;
    background: rgba(10, 30, 25, 0.75);
    border: 1px solid rgba(0, 255, 150, 0.25);
    box-shadow:
        0 0 20px rgba(0, 255, 150, 0.2),
        inset 0 0 10px rgba(0, 255, 150, 0.1);
    backdrop-filter: blur(10px);
    text-align: left;
    line-height: 1.6;
    animation: pulseGlow 4s ease-in-out infinite;
}

.apropos-box h1 {
    text-align: center;
    margin: 0 0 10px;
    font-family: 'PlaneCrash', sans-serif;
}

.apropos-box p {
    margin-bottom: 20px;
    opacity: 0.85;
}

.apropos-box ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.apropos-box li {
    margin-bottom: 12px;
}

.apropos-box:hover {
    transform: scale(1.01);
    transition: 0.3s;
}

.apropos-box h2 {
    margin-top: 30px;
    color: #00ffa6;
    border-left: 3px solid #00ffa6;
    padding-left: 10px;
}

.apropos-content {
    margin-top: 20px;
}

.apropos-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.apropos-content strong {
    color: #00ffa6;
}

.apropos-content h2 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #00ffa6;
    border-left: 3px solid #00ffa6;
    padding-left: 12px;
    font-family: 'PlaneCrash', sans-serif;
}

/* =========== FIN APROPOS SECTION ========== */

/* ===== GUIDE ===== */

.main-guide {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 40px 20px;
}

.guide-box {
  position: relative;

  width: 98%;
  max-width: 1800px;

  padding: 60px 45px 50px;

  border-radius: 16px;

  background: rgba(10, 30, 25, 0.75);

  border: 1px solid rgba(0,255,150,0.25);

  box-shadow:
      0 0 20px rgba(0,255,150,0.2),
      inset 0 0 10px rgba(0,255,150,0.1);

  backdrop-filter: blur(10px);

  animation: pulseGlow 4s ease-in-out infinite;
}

.guide-info {
    position: absolute;

    top: 20px;
    right: 25px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;

    border-radius: 12px;

    background: rgba(0,255,150,0.08);
    border: 1px solid rgba(0,255,150,0.25);

    backdrop-filter: blur(8px);

    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;

    text-decoration: none;

    transition: all 0.3s ease;
}

.tuto-box img {
    cursor: pointer;
}

.guide-info:hover {
    background: rgba(0,255,150,0.15);

    border-color: rgba(0,255,150,0.6);

    box-shadow:
        0 0 12px rgba(0,255,150,0.4);

    transform: translateY(-2px);
}

.guide-info:active {
    transform: translateY(0);
}

.guide-info img {
    width: 22px;
    height: 22px;

    object-fit: contain;
}

/* Titre */

.guide-box .police-planecrash-title-bot {
    padding: 20px 0 10px 0;
    margin: 0;
}

/* Texte */

.guide-content p {
    text-align: center;
    margin-bottom: 40px; /* espace entre texte et images */
    font-size: 1.05rem;
}

/* =========== Galerie =========== */

.galerie-scroll {
  display: flex;
  gap: 20px;

  overflow-x: auto;

  padding: 10px 0 15px 0;

  scroll-behavior: smooth;
}

.galerie-scroll img {
  height: 250px;

  border-radius: 12px;

  cursor: pointer;

  flex-shrink: 0;

  transition: 0.3s;
}

.galerie-scroll img:hover {
  transform: scale(1.05);

  box-shadow:
      0 0 15px rgba(0,255,150,0.5),
      0 0 25px rgba(0,255,150,0.3);
}

/* Scrollbar */

.galerie-scroll::-webkit-scrollbar {
  height: 8px;
}

.galerie-scroll::-webkit-scrollbar-thumb {
  background: #00ffa6;
  border-radius: 20px;
}

/* Lightbox */

.lightbox {
  display: none;

  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.9);

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;

  border-radius: 12px;
}

/* =========== Fin Galerie =========== */

/* ===== GUIDE TECHNIQUE ===== */

.guide-technique {
    margin-top: 80px;
}

.guide-separator {
    text-align: center;
    font-family: 'PlaneCrash', sans-serif;
    color: #00ffa6;

    margin-bottom: 50px;

    position: relative;
}

.guide-separator::before,
.guide-separator::after {
    content: "";
    position: absolute;
    top: 50%;

    width: 35%;
    height: 1px;

    background: rgba(0,255,150,0.3);
}

.guide-separator::before {
    left: 0;
}

.guide-separator::after {
    right: 0;
}

.tuto-box {
    background: rgba(10, 30, 25, 0.75);

    border: 1px solid rgba(0,255,150,0.25);

    border-radius: 16px;

    padding: 25px;

    box-shadow:
        0 0 20px rgba(0,255,150,0.15),
        inset 0 0 10px rgba(0,255,150,0.05);

    backdrop-filter: blur(10px);
}

.tuto-box h3 {
    text-align: center;

    color: #00ffa6;

    margin-bottom: 25px;

    font-family: 'PlaneCrash', sans-serif;
}

.tuto-box p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.tuto-box img {
    width: 100%;

    border-radius: 10px;

    margin: 15px 0 25px;

    transition: 0.3s;
}

.tuto-box img:hover {
    transform: scale(1.02);

    box-shadow:
        0 0 15px rgba(0,255,150,0.4);
}

/* Mobile */

@media (max-width: 1000px) {

    .tutos-grid {
        grid-template-columns: 1fr;
    }

}

.tutos-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.column {
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== FIN GUIDE TECHNIQUE ===== */

.main-soutien {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* important pour pouvoir descendre les box */

    min-height: calc(100vh - 80px);
    width: 100%;
    flex-wrap: wrap;
}

.container-soutien {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    gap: 20%; /* ESPACE entre les deux box (augmenté) */

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}

.box-gauche-soutien,
.box-droite-soutien {
    flex: 1;
    max-width: 550px;
    min-height: 700px;

    padding: 25px 30px;

    border-radius: 16px;
    background: rgba(10, 30, 25, 0.75);
    border: 1px solid rgba(0, 255, 150, 0.25);

    box-shadow:
        0 0 20px rgba(0, 255, 150, 0.2),
        inset 0 0 10px rgba(0, 255, 150, 0.1);

    backdrop-filter: blur(10px);

    animation: pulseGlow 4s ease-in-out infinite;
    transition: 0.3s;
}

.box-gauche-soutien:hover,
.box-droite-soutien:hover {
    transform: scale(1.02);
}

@media (max-width: 1000px) {

    .main-soutien {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .container-soutien {
        flex-direction: column; /* empile les box */
        align-items: center;

        gap: 40px; /* espace vertical */
    }

    .box-gauche-soutien,
    .box-droite-soutien {
        width: 90%;       /* prend presque tout l’écran */
        max-width: 600px;  /* limite propre */
        min-height: auto;  /* évite les grosses boîtes inutiles */

        padding: 20px;
    }
}

/* ===== TITRES BOX SOUTIEN ===== */

.box-gauche-soutien h1,
.box-droite-soutien h1 {
    text-align: center;
    margin: 0 0 10px;
    font-family: 'PlaneCrash', sans-serif;
}

.box-gauche-soutien h2,
.box-droite-soutien h2 {
    margin-top: 30px;
    color: #00ffa6;
    border-left: 3px solid #00ffa6;
    padding-left: 10px;
    font-family: 'PlaneCrash', sans-serif;
}

.box-gauche-soutien p,
.box-droite-soutien p {
    margin-bottom: 20px;
    opacity: 0.85;
}

.box-gauche-soutien ul,
.box-droite-soutien ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.box-gauche-soutien li,
.box-droite-soutien li {
    margin-bottom: 12px;
}

.image-soutien {
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.image-soutien:hover {
    transform: scale(1.03);

    box-shadow:
        0 0 15px rgba(0,255,150,0.4),
        0 0 25px rgba(0,255,150,0.2);
}

/* ===== Boutons Vote ===== */

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;

    border-radius: 12px;

    background: rgba(0,255,150,0.08);
    border: 1px solid rgba(0,255,150,0.25);

    backdrop-filter: blur(8px);

    color: rgba(255,255,255,0.85);

    text-decoration: none;

    transition: all 0.3s ease;
}

.vote-btn:hover {
    background: rgba(0,255,150,0.15);
    border-color: rgba(0,255,150,0.6);
    box-shadow: 0 0 12px rgba(0,255,150,0.4);
    transform: translateY(-2px);
}