/* --- Base Styles --- */
body {
    background-color: #1a1a2e; /* Fond plus riche */
    color: #e0e0e0; /* Texte blanc cassé */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Aligner en haut pour le scroll */
    min-height: 100vh;
    box-sizing: border-box; /* Inclure padding dans la largeur/hauteur */
}

.container {
    text-align: center;
    max-width: 1200px; /* Largeur maximale pour le contenu */
    width: 100%;
    padding: 0 20px;
}

/* --- Animated Title --- */
.animated-title {
    font-size: 4rem; /* Plus grand */
    margin-bottom: 50px;
    letter-spacing: 5px; /* Plus d'espace entre les lettres */
    color: #ffd700; /* Or éclatant */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7); /* Petit halo */
    display: inline-block; /* Pour que l'animation fonctionne bien */
    position: relative;
    animation: pulse 2s infinite alternate; /* Animation de pulsation */
}

@keyframes pulse {
    0% { transform: scale(1); text-shadow: 0 0 10px rgba(255, 215, 0, 0.7); }
    100% { transform: scale(1.05); text-shadow: 0 0 20px rgba(255, 215, 0, 1); }
}

/* Effet glitch sur les lettres (optionnel, plus complexe) */
/* Pour CHBK, si vous voulez un effet glitch, il faudrait un peu plus de JS */
/* Pour l'instant, on a une pulsation sympa */


/* --- Sections --- */
.section {
    background-color: #16213e; /* Fond de section plus clair que le body */
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: left; /* Aligner le contenu des sections à gauche */
}

.section h2 {
    font-size: 2.2rem;
    color: #9fe6a0; /* Vert clair */
    margin-bottom: 30px;
    border-bottom: 2px solid #5a5a7a;
    padding-bottom: 10px;
    display: flex; /* Pour aligner icône et texte */
    align-items: center;
}

.section h2 i {
    margin-right: 15px;
    font-size: 1.8rem;
    color: #e0e0e0;
}

/* --- Link Cards (Games) --- */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 2-3 colonnes sur desktop, 1 sur mobile */
    gap: 25px;
    margin-top: 20px;
}

.link-card {
    background-color: #2b2b4f;
    border: 1px solid #4a4a70;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease-in-out, background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.link-card:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: #3f3f6e;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.link-card i {
    font-size: 1.8rem;
    margin-right: 20px;
    color: #ffcc00; /* Jaune pour les icônes de jeux */
}
.link-card span {
    font-weight: bold;
}

/* --- Video Grid (CHBK SONGS) --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.video-card {
    background-color: #2b2b4f;
    border-radius: 12px;
    overflow: hidden; /* Pour que la vidéo ne dépasse pas les bords arrondis */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Garde le ratio 16:9 pour les vidéos */
    display: block; /* Supprime l'espace sous l'iframe */
}

.video-card p {
    padding: 15px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #e0e0e0;
    background-color: #16213e; /* Couleur de fond pour le texte de la vidéo */
    text-align: center;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .animated-title {
        font-size: 3rem;
    }
    .section h2 {
        font-size: 1.8rem;
    }
    .link-card, .video-card {
        padding: 20px;
        font-size: 1rem;
    }
    .link-card i {
        font-size: 1.5rem;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .animated-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    .section h2 {
        font-size: 1.6rem;
    }
    .section {
        padding: 20px;
    }
}