.token_gallery{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:60vh;
    padding:50px 0 0;

    text-align:center;
    overflow:hidden;
}

.token_gallery-content {
    position: relative;
    z-index: 2;
    backdrop-filter: none;
    max-width:850px;
    margin:auto;
}


.token_gallery h1,
.token_gallery p,
.token_gallery .tagline {
    text-shadow: 0 3px 0 rgba(0,0,0,0.85);
}

.token_gallery h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.05;
    max-width: 900px;
    margin-bottom: .5rem;
    color: #f8f9fa;
}

.token_gallery .gold {
    color: #d4af37;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

.token_gallery p.subtitle {
    margin-top: 32px;
    font-size: 1.1rem;
    color: #f1f1f1;
    letter-spacing: 0.5px;
}

.token_gallery .tagline {
    margin: 0 auto 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.section-separator {
    width: 75%;
    height: 1px;
    margin: 15px auto;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
}

.stat-card{
    text-align:center;
    height:100%;
    transition:.2s;
}

.stat-card i{
    font-size: 2rem;
    margin-bottom: 15px;

    background: linear-gradient(135deg, #fff4b0, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card strong{
    display:block;
    color:#fff;
    font-size:2rem;
    margin:10px 0;
}

.stat-card span{
    color:#bdbdbd;
}

.stat-card h5 {
    margin-top: 10px;
    font-weight: 500;
}

.stat-card p {
    font-size: 0.9rem;
    color: #b5b5b5;
}

.token_gallery-title {
    margin: 30px auto 0;
}

.token_gallery-title h2 {
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {

    .token_gallery-title .subtitle {
        margin: 20px auto; /* un peu moins d’espace sur mobile */
        padding: 0 15px;   /* évite que le texte touche les bords */
    }

    .token_gallery-title {
    margin: 20px auto 0;
}
}

.btn-gold {
    margin-top: 30px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: black;
    border: none;
    font-weight: 500;
    border-radius: 30px;
}

.btn-gold:hover {
    opacity: 0.9;
}

.tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px; /* 🔥 espace uniforme */
}

.tag-item {
    display: flex;
    align-items: center;

    color: white;
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 0.5px;

    white-space: nowrap;
}



.tag-item i {
    font-size: 1.3rem;

    background: linear-gradient(
        135deg,
        #fff4b0,  /* lumière */
        #f6d365,  /* gold clair */
        #d4af37,  /* gold principal */
        #b8962e   /* profondeur légère */
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    width: 80px;
    height: 2px;
    margin: 30px auto;
    background: linear-gradient(
        to right,
        transparent,
        #f5d76e,
        #d4af37,
        #f5d76e,
        transparent
    );
}

.phileas-token {
    font-size: 0.55em;
    opacity: 0.75;
    font-style: italic;
}

@media (max-width: 768px) {

    .token_gallery {
        height: auto;
        min-height: 42vh;
        padding: 28px 18px;

        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: center;

        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .token_gallery-content {
        width: 100%;
        margin-top: 5px;
    }

    /* TITRE PRINCIPAL */
    .token_gallery h1 {
        font-size: 2.55rem;
        line-height: 1.15;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    /* SOUS-TITRE */
    .token_gallery p.subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-top: 14px;
        margin-bottom: 14px;
        color: #cfcfcf;
    }

    /* TAGLINE (UNE LIGNE PROPRE) */
    .token_gallery .tagline {
        display: flex;
        justify-content: center;
        align-items: center;

        flex-wrap: nowrap;        /* 🔥 UNE SEULE LIGNE */
        gap: 6px;

        font-size: 0.75rem;
        
        overflow-x: auto;         /* scroll si besoin */
        scrollbar-width: none;
    }

    .token_gallery .tagline::-webkit-scrollbar {
        display: none;
    }

    .token_gallery .tag-item {
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;      /* évite coupure */
    }

    .token_gallery .tag-item i {
        font-size: 0.95rem;
    }

    /* DIVIDER */
    .divider {
        width: 40px;
        height: 1px;
        margin: 18px auto;
        background: linear-gradient(90deg, #d4af37, #b8962e);
        opacity: 0.7;
    }

    .phileas-token {
        font-size: 0.4em;
    }

}


.gallery-map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid #e6c35c;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;

    aspect-ratio: 16 / 9;
}

.gallery-map-fill {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(230,195,92,.35);
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
}

.gallery-map-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width:768px){

    .gallery-map-container{
        margin-top:0;
        aspect-ratio: 1 / 1;
    }

    .gallery-map-frame{
        height:380px;
    }

}

.menu-box {
    width: 90%;
    min-width: 380px;
    max-width: 500px;      /* largeur fixe maximale */
    display: inline-block;
    padding: 20px 22px 20px;
    margin: 20px auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    text-align: center;
}

@media (max-width: 450px) {
    .menu-box {
        min-width: auto;
    }
}

.menu-title {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
    font-style: italic;
}

.menu-box .subtitle {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.6;
    margin: 20px auto;
}