/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* ===== VIDEO FOND ===== */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;

    opacity: 0.35;          /* un peu plus visible */
    filter: blur(6px);      /* léger flou */
}

/* ===== ECRAN ENTER (style minimal) ===== */
.enter-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;   /* important pour mobile moderne */
    background: black;

    display: flex;
    align-items: center;
    justify-content: center;
}

.enter-text {
    font-family: 'Satoshi', sans-serif;
    font-size: 34px;
    font-weight: 600; /* un peu plus bold */
    color: #f0f0f0;
    letter-spacing: 1px;

    /* glow léger et propre */
    text-shadow: 0 0 10px rgba(255,255,255,0.28);
}

/* ===== CARTE ===== */
.card {
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    padding: 30px 60px;   /* moins haut (avant ~45px ou +) */
    border-radius: 26px;
    text-align: center;

    width: 620px;
    max-width: 92%;

    box-shadow: 0 0 45px rgba(255,255,255,0.05);
    display: none;
    animation: fadeIn 1s ease forwards;
}
/* Avatar */
.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
}

/* Nom */
h1 {
    color: white;
    font-weight: 600;
    margin-top: 8px;      /* espace sous l’avatar */
    margin-bottom: 8px;   /* espace au-dessus de la phrase */
    text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* ===== SOCIALS ===== */
.socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.socials a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 28px;

    /* glow blanc plus intense */
    text-shadow:
        0 0 6px rgba(255,255,255,0.6),
        0 0 14px rgba(255,255,255,0.5),
        0 0 28px rgba(255,255,255,0.35);

    transition: 0.3s;
}
.socials a:hover {
    transform: scale(1.25);
    text-shadow: 0 0 18px white;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.osu-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
/* Logo osu */
.osu-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;

    /* rendre blanc */
    filter: brightness(0) invert(1)
            drop-shadow(0 0 8px rgba(255,255,255,0.6))
            drop-shadow(0 0 18px rgba(255,255,255,0.4));

    transition: 0.3s;
}
.socials a:hover .osu-icon {
    transform: scale(1.25);
    filter: brightness(0) invert(1)
            drop-shadow(0 0 10px rgba(255,255,255,0.8));
}
.subtitle {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;              /* un peu plus grand */
    color: rgba(255,255,255,0.6);
    font-style: italic;
    text-align: center;
    line-height: 1.5;
    margin-top: 6px;
    margin-bottom: 18px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
/* ===== Mobile uniquement ===== */
@media (max-width: 600px) {

    .card {
        width: 92%;
        padding: 24px 18px;
        border-radius: 20px;
    }

    .avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 6px;
    }

    h1 {
        font-size: 22px;
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .subtitle {
        font-size: 11px;
        margin-top: 4px;
        margin-bottom: 16px;
        line-height: 1.4;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    .socials a {
        font-size: 22px;
        margin: 0 8px;
    }

    .osu-icon {
        width: 22px;
        height: 22px;
    }

    .enter-text {
        font-size: 24px;
    }
}
#rain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6; /* effet doux */
}

/* Position */

.volume-control {
    display: none;
}

.volume-control {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    pointer-events: auto;
}
/* Boîte */
.volume-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(30,30,30,0.85);
    border-radius: 10px;
}

/* Icône */
.volume-icon {
    width: 28px;
    height: 28px;
    background: rgba(60,60,60,1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Glow blanc */
.volume-icon svg {
    width: 14px;
    height: 14px;
    filter:
        drop-shadow(0 0 5px rgba(255,255,255,0.8))
        drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

/* Slider caché */
#volumeSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    opacity: 0;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    transition: 0.25s;
}

/* Slider visible au hover */
.volume-box:hover #volumeSlider {
    width: 90px;
    opacity: 1;
}

/* Bouton slider */
#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

