/* ==========================================================================
   PAGE PRÉSENTATION STREAMER (MANOIR DE SARAFAN99)
   ========================================================================== */

body {
    background-image: linear-gradient(rgba(14, 14, 16, 0.85), rgba(14, 14, 16, 0.85)), url('../img/fond.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Conteneur principal - Configuration Flexbox cruciale */
.presentation-container {
    display: flex;
    flex-direction: row; /* Force l'alignement horizontal (gauche / droite) */
    align-items: stretch; /* Aligne les deux colonnes sur la même hauteur */
    max-width: 1200px;
    width: 100%;
    background: var(--card-bg);
    border: 2px solid rgba(179, 0, 0, 0.4);
    border-radius: 8px;
    box-shadow: 0 0 35px rgba(179, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

/* --- COLONNE GAUCHE : L'ILLUSTRATION DU VAMPIRE --- */
.image-side {
    flex: 0 0 40%; /* Fixe la largeur de l'image à exactement 40% de l'espace */
    max-width: 40%;
    display: flex;
    align-items: flex-end; /* Pose le bas du trône sur le bord inférieur */
    justify-content: center;
    background: linear-gradient(to top, rgba(179, 0, 0, 0.15), transparent);
    padding: 40px 20px 0 20px;
    box-sizing: border-box;
}

    .image-side img {
        width: 100%;
        height: auto;
        max-height: 75vh;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 0 20px rgba(179, 0, 0, 0.5));
    }

/* --- COLONNE DROITE : LE TEXTE DE PRÉSENTATION --- */
.content-side {
    flex: 0 0 60%; /* Fixe la zone de texte à 60% de l'espace restant */
    max-width: 60%;
    padding: 50px 45px;
    overflow-y: auto;
    max-height: 80vh; /* Permet au texte de défiler indépendamment si nécessaire */
    box-sizing: border-box;
}

    /* Design de la scrollbar pour la lecture du texte */
    .content-side::-webkit-scrollbar {
        width: 6px;
    }

    .content-side::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
    }

    .content-side::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 3px;
    }

/* --- TYPOGRAPHIE --- */
.main-vampire-title {
    font-family: var(--main-font);
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 1), 0 0 15px rgba(179, 0, 0, 0.6);
    border-bottom: 3px solid var(--border-color);
    padding-bottom: 12px;
}

.sub-vampire-title {
    font-family: var(--main-font);
    font-size: 2.2rem;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(179, 0, 0, 0.4);
    padding-bottom: 8px;
}

.content-side p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #dddddd;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}

.content-side em {
    color: #ffffff;
    font-style: italic;
}

/* Listes et puces */
.manoir-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

    .manoir-features li {
        font-family: 'Segoe UI', sans-serif;
        font-size: 1.05rem;
        color: #cccccc;
        margin-bottom: 16px;
        line-height: 1.6;
        display: flex;
        align-items: flex-start;
    }

    .manoir-features strong {
        color: #ffffff;
        margin-right: 4px;
    }

.blood-bullet {
    color: var(--border-color);
    font-size: 1.2rem;
    margin-right: 12px;
    line-height: 1;
    text-shadow: 0 0 5px var(--border-color);
}

/* Encadré Règlement */
.rules-box {
    background: rgba(179, 0, 0, 0.12);
    border-left: 4px solid var(--border-color);
    padding: 18px;
    margin-top: 35px;
    border-radius: 0 6px 6px 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

    .rules-box p {
        margin-bottom: 0 !important;
        color: #ffffff;
    }

.content-side {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 50px 45px;
    overflow-y: auto;
    max-height: 80vh;
    box-sizing: border-box;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Edge/IE ancien */
}

    .content-side::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Edge/Opera */
    }

/* ==========================================================================
   RESPONSIVE DESIGN (Bascule sur mobile si la largeur est insuffisante)
   ========================================================================== */
@media (max-width: 850px) {
    body {
        padding: 10px;
    }

    .presentation-container {
        flex-direction: column; /* L'image passe au-dessus sur mobile uniquement */
        max-height: none;
    }

    .image-side {
        flex: none;
        max-width: 100%;
        padding: 30px 20px 0 20px;
    }

        .image-side img {
            max-height: 45vh;
        }

    .main-vampire-title {
        font-size: 2.2rem;
    }

    .sub-vampire-title {
        font-size: 1.8rem;
    }
}
