
/* ==========================================================
   BLOODMOON ROLEPLAY
   PLACES / DESTINATIONS

   Version : 03/11/2026

   Présentation :
   - Une destination par ligne
   - Grande image à gauche
   - Description complète à droite
   - Visites panoramiques 360°
   - Téléportation Hypergrid
   - Adaptation mobile
   ========================================================== */


/* ==========================================================
   PAGE PRINCIPALE
   ========================================================== */

.bm-places-page {
    color: #f2e9e7;

    background:
        radial-gradient(
            ellipse at top,
            rgba(105, 18, 32, 0.18),
            transparent 60%
        ),
        #0b0e13;
}


/* ==========================================================
   BANNIÈRE
   ========================================================== */

.bm-places-hero {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 395px;

    padding: 70px 24px;

    background:
        linear-gradient(
            90deg,
            rgba(9, 8, 12, 0.94),
            rgba(11, 8, 12, 0.70),
            rgba(9, 8, 12, 0.94)
        ),
        url('/images/roleplay/hero-bloodmoon.png')
        center 48% / cover no-repeat;

    border-bottom: 1px solid #67303a;

    overflow: hidden;
}

.bm-places-hero::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    height: 95px;

    background: linear-gradient(
        transparent,
        #0b0e13
    );

    pointer-events: none;
}

.bm-places-hero-content {
    position: relative;

    z-index: 1;

    max-width: 820px;

    text-align: center;
}

.bm-places-kicker,
.bm-places-eyebrow {
    color: #e78d95;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.7px;

    text-transform: uppercase;
}

.bm-places-hero h1 {
    margin: 16px 0;

    color: #f9eeeb;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 400;

    letter-spacing: 3px;

    text-shadow:
        0 4px 25px #000,
        0 0 35px rgba(150, 22, 30, 0.5);
}

.bm-places-hero p {
    max-width: 680px;

    margin: 0 auto;

    color: #e9dadc;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.7;
}

.bm-places-explore {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: 25px;

    padding: 13px 23px;

    color: #ffffff;
    background: #8c202e;

    border: 1px solid #e26772;
    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}

.bm-places-explore:hover {
    color: #ffffff;

    background: #b22f3e;
}


/* ==========================================================
   CONTENEUR PRINCIPAL
   ========================================================== */

.bm-places-shell {
    width: min(1680px, calc(100% - 64px));

    margin: 0 auto;

    padding: 27px 0 85px;
}


/* ==========================================================
   SÉLECTEUR DE LANGUE
   ========================================================== */

.bm-places-languages {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 25px;

    padding: 23px 27px;

    background: #12151c;

    border: 1px solid #4b343c;
    border-radius: 8px;
}

.bm-places-languages p {
    margin: 8px 0 0;

    color: #beb1b6;

    font-size: 13px;
}

.bm-places-languages strong {
    color: #ffffff;
}

.bm-places-language-buttons {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px;
}

.bm-places-language-buttons a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    min-height: 39px;

    padding: 8px 12px;

    color: #f0e1e3;
    background: #1b1d25;

    border: 1px solid #5a4149;
    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;
}

.bm-places-language-buttons a.active,
.bm-places-language-buttons a:hover {
    color: #ffffff;

    background: #76222f;

    border-color: #df6e7b;
}


/* ==========================================================
   SECTION DESTINATIONS
   ========================================================== */

.bm-places-destinations {
    padding-top: 43px;
}

.bm-places-section-heading {
    margin-bottom: 23px;

    text-align: center;
}

.bm-places-section-heading h2 {
    margin: 10px 0 0;

    color: #f0e0df;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 400;
}


/* ==========================================================
   LISTE DES DESTINATIONS

   Une destination par ligne.
   ========================================================== */

.bm-places-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 25px;
}


/* ==========================================================
   CARTE DESTINATION

   Image à gauche : 38 %
   Contenu à droite : 62 %
   ========================================================== */

.bm-place-card {
    display: grid;

    grid-template-columns:
        minmax(280px, 38%)
        minmax(0, 1fr);

    align-items: stretch;

    min-width: 0;

    overflow: hidden;

    background: #12151b;

    border: 1px solid #5b333e;
    border-radius: 9px;

    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.18);
}

.bm-place-card:hover {
    border-color: #a84b5b;
}


/* ==========================================================
   IMAGE DE DESTINATION
   ========================================================== */

.bm-place-visual {
    position: relative;

    height: 100%;
    min-height: 400px;

    overflow: hidden;

    background: #191217;
}

.bm-place-visual::after {
    content: "";

    position: absolute;

    inset: 52% 0 0;

    pointer-events: none;

    background: linear-gradient(
        transparent,
        rgba(6, 5, 9, 0.65)
    );
}

.bm-place-visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.3s ease;
}

.bm-place-card:hover .bm-place-visual img {
    transform: scale(1.04);
}


/* ==========================================================
   NUMÉRO DE DESTINATION
   ========================================================== */

.bm-place-serial {
    position: absolute;

    top: 17px;
    left: 18px;

    z-index: 2;

    color: #ffffff;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;

    text-shadow:
        0 2px 8px #000000;
}


/* ==========================================================
   BOUTON 360° SUR L'IMAGE
   ========================================================== */

.bm-place-image-action {
    position: absolute;

    right: 17px;
    bottom: 17px;

    z-index: 2;

    padding: 9px 13px;

    color: #ffffff;
    background: rgba(114, 26, 40, 0.92);

    border: 1px solid #dd7a84;
    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.bm-place-image-action:hover {
    background: #b22e3b;
}


/* ==========================================================
   CONTENU DE LA DESTINATION
   ========================================================== */

.bm-place-content {
    display: flex;
    flex-direction: column;

    gap: 17px;

    padding: 30px;
}

.bm-place-content h3 {
    margin: 0;

    color: #fff0ed;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
}


/* ==========================================================
   DESCRIPTION COMPLÈTE

   Toujours visible.
   Aucun dépliage nécessaire.
   ========================================================== */

.bm-place-full-story {
    color: #d9c9cc;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;

    line-height: 1.85;

    overflow-wrap: anywhere;
}


/* ==========================================================
   ADRESSE HYPERGRID
   ========================================================== */

.bm-place-location {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-top: 10px;
}

.bm-place-location code {
    display: block;

    padding: 12px;

    color: #eed8dc;
    background: #090d12;

    border: 1px solid #44313b;
    border-radius: 5px;

    font-family: monospace;
    font-size: 12px;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* ==========================================================
   BOUTONS D'ACTION
   ========================================================== */

.bm-place-actions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.bm-place-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 47px;

    padding: 10px 8px;

    border-radius: 5px;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.6px;

    text-align: center;

    cursor: pointer;
}

.bm-place-button.primary {
    color: #ffffff;

    background: #912637;

    border: 1px solid #e76d79;
}

.bm-place-button.secondary {
    color: #f8e3e5;

    background: #28202a;

    border: 1px solid #75515d;
}

.bm-place-button.primary:hover,
.bm-place-button.secondary:hover {
    color: #ffffff;

    background: #b53546;

    border-color: #ffc1c9;
}


/* ==========================================================
   FENÊTRE PANORAMIQUE 360°
   ========================================================== */

.bm-place-panorama-modal {
    width: min(1200px, calc(100% - 28px));

    max-width: none;
    max-height: calc(100vh - 30px);

    padding: 0;

    color: #f2e7e7;
    background: #11141b;

    border: 1px solid #ad5260;
    border-radius: 9px;

    box-shadow:
        0 24px 90px rgba(0, 0, 0, 0.8);
}

.bm-place-panorama-modal::backdrop {
    background: rgba(0, 0, 0, 0.87);

    backdrop-filter: blur(4px);
}

.bm-place-panorama-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 15px 20px;

    border-bottom: 1px solid #643441;
}

.bm-place-panorama-top h2 {
    margin: 0;

    color: #fff1ef;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 23px;
    font-weight: 400;
}

.bm-place-panorama-top p {
    margin: 6px 0 0;

    color: #c6b0b5;

    font-size: 12px;
}

.bm-place-panorama-top button {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    color: #ffffff;
    background: #692431;

    border: 1px solid #c96c78;
    border-radius: 5px;

    font-size: 18px;

    cursor: pointer;
}

#bm-place-panorama-viewer {
    width: 100%;

    height: min(67vh, 730px);
    min-height: 320px;

    background: #05070a;
}


/* ==========================================================
   TABLETTES
   ========================================================== */

@media (max-width: 1050px) {

    .bm-place-card {
        grid-template-columns:
            minmax(240px, 40%)
            minmax(0, 1fr);
    }

    .bm-place-content {
        padding: 23px;
    }

    .bm-places-languages {
        align-items: flex-start;
        flex-direction: column;
    }

    .bm-places-language-buttons {
        justify-content: flex-start;
    }

}


/* ==========================================================
   MOBILES
   ========================================================== */

@media (max-width: 750px) {

    .bm-places-shell {
        width: calc(100% - 28px);
    }

    .bm-places-hero {
        min-height: 310px;

        padding: 55px 18px;
    }

    .bm-places-hero p {
        font-size: 15px;
    }

    .bm-places-languages {
        padding: 18px 14px;
    }

    .bm-places-grid {
        grid-template-columns: 1fr;
    }

    .bm-place-card {
        display: flex;
        flex-direction: column;
    }

    .bm-place-visual {
        height: auto;
        min-height: 0;

        aspect-ratio: 16 / 9;
    }

    .bm-place-content {
        padding: 20px;
    }

    .bm-place-content h3 {
        font-size: 25px;
    }

    .bm-place-actions {
        grid-template-columns: 1fr;
    }

    #bm-place-panorama-viewer {
        height: 65vh;
        min-height: 290px;
    }

}
