/* RESET & BASE */
body {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./src/img/sonorya.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* TYPOGRAPHIE */
h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    margin: 0;
    letter-spacing: 3px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.container {
    width: 90%;
    max-width: 480px;
    padding: 40px 20px;
    z-index: 2;
    text-align: center;
}

header p {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* PERSONNAGE */
.side-character {
    position: fixed;
    bottom: -5%;
    right: 2%;
    height: 95vh;
    z-index: 1;
    filter: drop-shadow(0 0 25px rgba(0,0,0,0.6));
    pointer-events: none; /* Ne gêne pas le clic */
}

@media (max-width: 1100px) {
    .side-character { display: none; }
}

.side-character1 {
    position: fixed;
    bottom: -5%;
    left: 8%;
    height: 45vh;
    z-index: 1;
    filter: drop-shadow(0 0 25px rgba(0,0,0,0.6));
    pointer-events: none; /* Ne gêne pas le clic */
}

@media (max-width: 1100px) {
    .side-character1 { display: none; }
}

/* LIENS / BOUTONS */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    position: relative;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Images de fond dans les cadres */
.link-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Image discrète */
    z-index: -1;
    transition: 0.4s;
}

/* Personnalisation des fonds (Remplace avec tes images) */
/*.insta::before { background-image: url('./src/img/insta.png'); }
.tiktok::before { background-image: url('./src/img/tiktok.png'); }
.youtube::before { background-image: url('./src/img/yt.png'); }
.twitch::before { background-image: url('./src/img/tw.png'); }
.discord-btn::before { background-image: url('./src/img/dsc.png'); }
.minecraft-btn::before { background-image: url('./src/img/minecraft.png'); }
*/
.link-card:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.link-card:hover::before {
    opacity: 0.5;
}

.divider {
    font-family: 'Bebas Neue', sans-serif;
    margin: 20px 0 10px;
    font-size: 1.2rem;
    opacity: 0.5;
    letter-spacing: 2px;
}

/* BANDEAU COOKIES */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 500px;
    background: rgba(10, 10, 10, 0.95);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    display: none;
    z-index: 100;
}

.cookie-banner p { font-size: 0.85rem; margin-bottom: 15px; }

.cookie-banner button {
    font-family: 'Bebas Neue', sans-serif;
    background: white;
    color: black;
    border: none;
    padding: 8px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
}