.background {
    position: fixed;
    inset: 0;
    z-index: -1; /* placer derrière tout le contenu */
    pointer-events: none; /* laisser les clics passer */
    height: 100%;
    padding: 0;
    margin: 0;
    background-image: url('../../../../assets/backgrounds/background-05.svg');
    background-size: cover;
    background-position: top;
}
.path-subnav {
    background-color: hsla(276, 100%, 10%, 0.75); 
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center;
    position: relative;
    z-index: 0;
    min-height: 100vh;
    width: 100%;
}

.symboles-gallery {
    margin-top: 10vh;
    margin-bottom: 15vh;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.symbole-item {
    display: flex;
    flex-direction: column;
    margin: 10px;
    flex: 1 1 300px;
    max-width: 300px;
    min-width: 220px;
    border-radius: 7px;
    background-color: rgba(245, 245, 247, 0.1);
    background-image: linear-gradient(165deg, rgba(245, 245, 247, 0.0), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(7px);
    transition: box-shadow 0.3s ease, transform 0.3s ease, filter 0.4s ease;
    text-align: center;
}

.symbole-item:hover {
    box-shadow: 0 0 30px var(--global-transparent-white-2);
    filter: contrast(1.05);
    transform: scale(1.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease, filter 0.4s ease;
}

.symbole-item div {
    background-color: white;
    border: 1px solid var(--global-transparent-white-2);
    padding: 0.8rem;
    border-radius: 7px;
}

.symbole-item div h2 {
    text-align: center;
    font-size: var(--txt-size-13);
    font-weight: 600;
}

.symbole-item div a {
    height: 1.3rem;
}

/* =========================
   SYSTÈME DE VUES (HUB / FRAGMENT)
========================= */

.sym-view-hidden {
    display: none !important;
}

#sym-fragment-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-message {
    color: #c00;
    text-align: center;
    padding: 20px;
}


/* =========================
   FIGURINE STYLES (depuis figurine.css)
   Carrousel d'images pour la prévisualisation de figurines
========================= */
.content-display-section {
    margin-top: 10vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0);
    background-image: linear-gradient(to bottom, var(--global-white-1), rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, var(--global-white-1));
    backdrop-filter: brightness(1.05 ) blur(7px);
    border: 1px solid var(--global-transparent-white-1);
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* TITRE */
.titre {
    margin-top: 2vh;
    margin-bottom: 20px;
}

.titre h2 {
    font-size: var(--txt-size-13);
    font-family: "intertight";
    font-weight: 800;
    color: var(--txt-color-blackop-85);
    margin: 0;
}

/* BLOC TÉLÉCHARGEMENT */
.block-get-elements {
    margin-top: 10vh;
    width: 90vw;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0 16px;
    box-sizing: border-box;
    margin-bottom: 30vh;
}

/* PROPRIETES GENERALES */
.elements-properties {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(18px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--global-transparent-white-2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    box-sizing: border-box;
}

.elements-properties h3 {
    grid-column: 1 / -1;
    font-size: var(--txt-size-11);
    font-weight: 600;
    text-align: center;
    margin: 0 0 8px 0;
    color: var(--txt-color-blackop-85);
}

.property-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    border: 1px solid var(--global-transparent-white-1);
    font-size: var(--txt-size-09);
}

.property-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.property-item .property-name {
    flex: 1;
    font-weight: 400;
    color: var(--txt-color-blackop-70);
}

.property-item .property-value {
    font-weight: 600;
    color: var(--txt-color-blackop-90);
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* ÉLÉMENTS TÉLÉCHARGEMENT */
.download-elements {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: var(--global-white-2);
    padding: 16px 20px;
    border-radius: 14px;
    border: 2px solid var(--global-transparent-white-1);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.download-elements:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
    background-color: var(--global-white-1);
    border-color: white;
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.download-elements .download-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-elements .download-description h3 {
    font-size: var(--txt-size-10);
    font-weight: 600;
    margin: 0;
    color: var(--txt-color-blackop-90);
}

.download-elements .download-description p {
    font-size: var(--txt-size-08);
    margin: 0;
    color: var(--txt-color-blackop-60);
}

.download-button-container {
    flex-shrink: 0;
}

.download-button-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: var(--txt-size-09);
    font-weight: 500;
    white-space: nowrap;
}

/* RESPONSIVE BLOCK-GET-ELEMENTS */
@media (max-width: 600px) {
    .block-get-elements {
        margin-top: 6vh;
        padding: 0 12px;
        gap: 20px;
    }
    
    .elements-properties {
        padding: 18px;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .elements-properties h3 {
        font-size: var(--txt-size-10);
    }
    
    .property-item {
        padding: 10px 12px;
        font-size: var(--txt-size-08);
    }
    
    .download-elements {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    
    .download-elements .download-description {
        text-align: center;
    }
    
    .download-button-container {
        width: 100%;
    }
    
    .download-button-container {
        width: 100%;
        text-align: center;
    }
}