/* =========================
   PAGE PRINCIPALE
========================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0a0a0a;
    color: white;
}

/* =========================
   HERO
========================= */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 42px;
    color: #4adeff;
}

.hero p {
    opacity: 0.8;
}

/* =========================
   SECTION CARDS
========================= */
.download-box {
    display: flex;
    justify-content: center;
    gap: 20px;

    flex-wrap: wrap;
    padding: 40px 20px;
}

/* CARDS */
.card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);

    width: 280px;
    padding: 20px;
    text-align: center;

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #4adeff;
}

/* BUTTON */
/* =========================
   BOUTON STYLE HEADER + NEON
========================= */
.btn {
    display: inline-block;
    padding: 12px 22px;

    color: #4adeff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;

    border: 1px solid #4adeff;
    background: transparent;

    position: relative;
    overflow: hidden;

    cursor: pointer;

    /* 🔥 ARRONDI STYLE HEADER */
    border-radius: 50px;

    transition: 0.3s ease;

    box-shadow: 0 0 8px rgba(74, 222, 255, 0.2);

    animation: pulseGlow 2.5s infinite;
}

/* hover */
.btn:hover {
    color: #000;
    background: #4adeff;

    box-shadow:
        0 0 10px #4adeff,
        0 0 25px #4adeff,
        0 0 40px rgba(74, 222, 255, 0.8);

    transform: translateY(-2px);
}

/* effet lumière */
.btn::before {
    content: "";
    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(74, 222, 255, 0.4),
        transparent
    );

    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* pulse glow */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(74, 222, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(74, 222, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(74, 222, 255, 0.2);
    }
}

/* =========================
   LOADER (si utilisé ici)
========================= */
#loader-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
}

#loader-box {
    position: relative;
    width: 60%;
}

#loader-box img {
    width: 100%;
    display: block;
}

/* BARRE */
#bar-container {
    position: absolute;

    left: 18%;
    bottom: 20%;

    width: 55%;
    height: 12px;

    background: rgba(50,50,50,0.8);
    border: 1px solid white;
    overflow: hidden;
}

#bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4adeff, #00c3ff);
}

#percent {
    position: absolute;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    color: white;
}
/* =========================
   MODAL BACKGROUND
========================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.8);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* BOX */
.modal-content {
    background: #111;
    border: 1px solid #4adeff;

    padding: 30px;
    width: 400px;

    text-align: center;
    color: white;

    box-shadow: 0 0 20px rgba(74,222,255,0.4);
}

/* LISTE */
.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    margin: 10px 0;
}

/* =========================
   LOADER DANS MODAL
========================= */
.spinner {
    width: 40px;
    height: 40px;

    border: 3px solid rgba(255,255,255,0.2);
    border-top: 3px solid #4adeff;

    border-radius: 50%;

    margin: 20px auto;

    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}