/* --- Variables & base --------------------------------------------------- */
:root {
    --bg: #000;
    --text: #fff;
    --halo-color: rgba(255, 255, 255, 0.4);
}

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

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
    position: relative;
    cursor: none;
}

/* --- Animated grainy background ---------------------------------------- */
@keyframes noiseMove {
    from { background-position: 0 0; }
    to { background-position: 200px 200px; }
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNCIgaGVpZ2h0PSI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSI0IiBoZWlnaHQ9IjQiIGZpbGw9InJlZCIgLz48Y2lyYWwgY3QgYz0iMiIgY3Ryb2x5PSIyIiByPSIyIiBmaWxsPSJibGFjayIgLz48L3N2Zz4=") repeat;
    opacity: 0.1; /* Réduit pour plus de subtilité */
    pointer-events: none;
    animation: noiseMove 0.2s steps(4) infinite; /* Animation plus rapide pour un effet grain de film */
}

/* --- Centered container ------------------------------------------------- */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 2; /* Au-dessus de l'aura */
}

.logo {
    font-size: 6rem; /* Un peu plus grand pour l'impact */
    font-weight: 900;
    letter-spacing: -0.05em; /* Lettres resserrées */
    text-transform: lowercase;
    /* Effet de halo diffus permanent derrière les lettres */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
}

/* --- Join button -------------------------------------------------------- */
.btn {
    margin-top: 2rem;
    padding: 0.75rem 2.5rem;
    background: #fff;
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: none !important;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* --- Halo & Aura (Projecteur) ------------------------------------------- */
#halo {
    position: fixed;
    pointer-events: none;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#aura {
    position: fixed;
    pointer-events: none;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Derrière le texte */
    mix-blend-mode: screen;
}