:root {
    --bg-section-alt: #f4f4f6; /* grigio uniforme per tutte le sezioni */
}

/* --- RESET E BASI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Caricamento font De Roma */
@font-face {
    font-family: 'De Roma';
    src: url('../Assets/fonts/deroma-serif/OTF/DeromaSerif-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    color: #000;
    overflow-x: hidden;
}

/* Riduce lavoro di rendering fuori schermo (migliora lo scroll) */
section,
.photo-strip-full,
footer {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

section {
    padding: 120px 10%;
    position: relative;
}

/* CTA Gallery sotto la hero */
.hero-gallery-cta {
    padding: 60px 10% 90px;
    background: #fff;
}

.hero-gallery-cta .section-title {
    margin-bottom: 10px;
}

/* CTA nuovo singolo YouTube */
.youtube-single-cta {
    padding: 30px 10% 100px;
    background: #fff;
}

.youtube-single-cta .section-title {
    margin-bottom: 10px;
}

.youtube-embed-wrap {
    width: min(960px, 100%);
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    background: #000;
}

.youtube-embed-wrap iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.youtube-btn {
    background: linear-gradient(135deg, #ff0033, #d1002b);
    color: #fff;
    border: 2px solid transparent;
}

.youtube-btn:hover {
    background: linear-gradient(135deg, #ff335c, #ea1847);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 0, 51, 0.35);
}

/* Modale Gallery */
.gallery-modal-box {
    width: min(1100px, 92vw);
    max-height: 86vh;
    overflow: auto;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 28px 22px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    position: relative;
}

.gallery-modal-header {
    text-align: center;
    margin-bottom: 18px;
}

.gallery-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #000;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery-thumb {
    border: 0;
    padding: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e9e9e9;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.gallery-thumb:not(.is-ready) {
    background-image: none !important;
    background: linear-gradient(110deg, #e9e9e9 8%, #f5f5f5 18%, #e9e9e9 33%);
    background-size: 200% 100%;
    animation: galleryShimmer 1.1s linear infinite;
}

.gallery-thumb.is-ready {
    animation: none;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes galleryShimmer {
    to {
        background-position-x: -200%;
    }
}

.gallery-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Alternanza sfondi per dividere visivamente */
section:nth-of-type(even) {
    background-color: #fafafa;
    /* Grigio chiarissimo per le sezioni pari */
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    /* Più spazio tra titolo e contenuto */
}

.section-title {
    font-family: 'De Roma', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 8px;
    margin-bottom: 15px;
    color: #000;
    text-align: center;
    text-transform: lowercase;
}

.section-subtitle {
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    color: #654171;
    font-weight: 300;
}

/* Sottotitoli gialli su sfondi scuri */
.hero .section-subtitle,
.hero p {
    color: #fec704 !important;
}

/* --- HEADER MINIMAL --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    /* Trasparente di default (nella hero) */
    backdrop-filter: none;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Testo e icone BIANCHI quando l'header è trasparente (nella hero) */
header nav a,
header .logo-text {
    color: #fff;
    transition: color 0.4s ease;
}

header .logo-half {
    filter: invert(1) brightness(1.2);
    transition: filter 0.4s ease;
}

header .social-header img {
    /* Usiamo direttamente le varianti (White/Black/Colored): niente filtri */
    filter: none !important;
    transition: filter 0.4s ease;
}

/* Stato scrollato dell'header (sfondo bianco SEMI-TRASPARENTE quando si scrolla) */
header.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    /* Bianco al 85% di opacità */
    backdrop-filter: blur(12px);
    /* Effetto blur per vedere sotto */
    -webkit-backdrop-filter: blur(12px);
    /* Supporto Safari */
    padding: 15px 5%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Testo e icone NERI quando si scrolla */
header.scrolled nav a,
header.scrolled .logo-text {
    color: #000 !important;
}

header.scrolled .logo-half {
    filter: invert(0) brightness(1);
}

header.scrolled .social-header img {
    filter: grayscale(1) invert(0) brightness(1);
}

/* --- LOGO ANIMATO --- */
.logo {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.logo-container {
    animation: rotazioneContinua 10s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes rotazioneContinua {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #000;
    z-index: 10;
    pointer-events: none;
}

.logo:hover .logo-text {
    opacity: 1;
}

.logo-half {
    position: absolute;
    top: 0;
    width: 51%;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-half.left {
    left: 0;
    background: url('../Assets/loghetti/logo-mde-nosfondo.png') left center/200% 100% no-repeat;
}

.logo-half.right {
    right: 0;
    background: url('../Assets/loghetti/logo-mde-nosfondo.png') right center/200% 100% no-repeat;
}

.logo:hover .logo-half.left {
    transform: translateX(-120%);
}

.logo:hover .logo-half.right {
    transform: translateX(120%);
}

.modal {
    display: none;
    /* Nascosto di default */
    position: fixed;
    z-index: 2000;
    /* Sopra a tutto, anche all'header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Sfondo semi-trasparente scuro */
    backdrop-filter: blur(5px);

    /* Centratura perfetta con Flexbox */
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: block;
    margin: auto;
    /* Centra orizzontalmente */
    width: 90%;
    /* Larghezza su mobile */
    max-width: 400px;
    /* Forza la locandina a essere piccola (regola questo valore) */
    max-height: 80vh;
    /* Evita che l'immagine sia più alta dello schermo */
    object-fit: contain;
    /* Mantiene le proporzioni senza tagliare */
    border-radius: 8px;
    /* Opzionale: arrotonda i bordi della foto */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-merch-media {
    display: none;
    width: min(950px, 92vw);
    gap: 18px;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.modal-merch-media.is-visible {
    display: flex;
}

.modal-content--half {
    width: 100%;
    max-width: 440px;
}

@media (max-width: 720px) {
    .modal-merch-media.is-visible {
        flex-direction: column;
        gap: 12px;
    }
}

#modalLocandina {
    display: none;
    position: fixed;
    z-index: 2500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2600;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    font-size: 22px;
    background: rgba(254, 199, 4, 0.95);
    color: #000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    display: none;
}

.modal-badge.is-visible {
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2600;
}

.crew-modal-box {
    background-color: #fff;
    color: #000;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    /* Larghezza massima */
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.3s ease;
    /* Effetto apparizione */
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Bottone chiusura (la X) */
.close-crew {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

/* Titoli e testi dentro la modale */
#modalCrewRole {
    color: #654171;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
    text-transform: lowercase;
}

#modalCrewName {
    margin: 10px 0;
    font-weight: 700;
    font-size: 1.5rem;
}

#modalCrewDesc {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 20px;
}


/* Modale Accordi */
#modalChords {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.chords-box {
    background-color: #fff;
    color: #000;
    padding: 40px;
    width: 95%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 15px;
    position: relative;
    overflow-y: auto;
    /* Permette lo scroll se il testo è lungo */
}

.chords-content {
    font-family: 'Roboto', sans-serif;
    white-space: pre-wrap;
    line-height: 1.6;
    margin-top: 20px;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
}

/* --- NAVIGAZIONE --- */
nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: lowercase;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.5;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Assets/graphics/photos/petali\ mde.jpg');
    padding: 0 20px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 5%;
}

.hero h1 {
    color: #fff;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: -3px;
    line-height: 0.9;
    margin-bottom: 30px;
    font-family: 'De Roma', serif;
}

/* =========================================== */
/* BRANI SECTION - FIORE INTERATTIVO */
/* =========================================== */

.section-full {
   width: 100%;
   padding: 100px 20px 80px;
   display: flex;
   flex-direction: column;
   align-items: center;
   min-height: 100vh;
   background-color: #fff; /* SFONDO BIANCO */
}

.section-full .section-header {
   text-align: center;
   margin-bottom: 60px;
}

.section-full .section-title {
   font-family: 'De Roma', serif;
   font-size: clamp(2.5rem, 6vw, 4rem);
   color: #000; /* TESTO NERO */
   letter-spacing: 8px;
   margin-bottom: 15px;
   text-transform: lowercase;
}

.section-full .section-subtitle {
   color: #654171; /* COLORE VIOLA COME GLI ALTRI SOTTOTITOLI */
   font-size: 1rem;
   letter-spacing: 2px;
   font-weight: 300;
   text-transform: lowercase;
}

/* --- FLOWER CONTAINER --- */
.flower-container {
   position: relative;
   width: 100%;
   max-width: 700px; /* Torna al valore originale */
   margin: 0 auto;
   padding: 20px;
   overflow: visible; /* IMPORTANTE: permette ai petali di uscire dal container */
}

.flower-interactive {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
    overflow: visible; /* IMPORTANTE: anche qui */
}

/* --- PETALI INTERATTIVI (COLORATI CLICCABILI) --- */
.petal-click {
   cursor: pointer;
   transition: all 0.4s ease;
   transform-origin: 208.5px 208.5px;
   animation: breathe-petal 3s ease-in-out infinite;
}

.petal-click:hover {
   filter: brightness(1.3);
   animation-play-state: paused;
   /* Nessun scale, solo illuminazione leggera */
}

.petal-click:active {
   filter: brightness(1.2);
   /* Anche al click, nessun scale né ombra */
}

/* --- TUTTI GLI ALTRI PETALI (inclusi quelli neri non cliccabili) --- */
.cls-2, .cls-3, .cls-4, .cls-5, .cls-6, .cls-7, .cls-8, .cls-9, .cls-10 {
   transform-origin: 208.5px 208.5px;
   animation: breathe-petal 3s ease-in-out infinite;
}

/* Animazione respirazione petali (allargamento e restringimento) */
@keyframes breathe-petal {
   0%, 100% {
       transform: scale(1);
   }
   50% {
       transform: scale(1.08);
   }
}

/* Pausa respirazione quando passi col mouse sul container */
.flower-container:hover .petal-click,
.flower-container:hover .cls-2,
.flower-container:hover .cls-3,
.flower-container:hover .cls-4,
.flower-container:hover .cls-5,
.flower-container:hover .cls-6,
.flower-container:hover .cls-7,
.flower-container:hover .cls-8,
.flower-container:hover .cls-9,
.flower-container:hover .cls-10 {
   animation-play-state: paused;
}

@keyframes pulse-petal {

    0%,
    100% {
        filter: brightness(1.3) drop-shadow(0 0 15px currentColor);
    }

    50% {
        filter: brightness(1.6) drop-shadow(0 0 25px currentColor);
    }
}

/* --- NUMERI SUI PETALI --- */
.petal-number {
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 24px;
    font-weight: bold;
}

/* --- MODALE FIORE --- */
.modal-flower {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-flower.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.chords-box-flower {
    background: linear-gradient(135deg, rgba(101, 65, 113, 0.95), rgba(82, 86, 156, 0.95));
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-flower {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.close-flower:hover {
    transform: rotate(90deg) scale(1.2);
    color: #f0c153;
}

.modal-flower-content {
    margin-top: 10px;
}

.flower-ep {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Bebas Neue', Arial, sans-serif;
    letter-spacing: 3px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.flower-title {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 3rem;
    color: white;
    letter-spacing: 4px;
    margin-bottom: 35px;
    line-height: 1.2;
    text-transform: lowercase;
}

@media (max-width: 768px) {
   .flower-container {
       max-width: 90%; /* Su mobile occupa meno spazio */
       padding: 30px;
   }
   
   .section-title {
       font-size: 2rem; /* Riduce anche il titolo su mobile */
       letter-spacing: 4px;
   }

   .flower-title {
       font-size: 2.2rem;
   }

   .flower-btn {
       font-size: 1.1rem;
       padding: 15px 25px;
   }
}

/* --- CENTRO DEL FIORE (STELO) STATICO --- */
/* Il centro rimane fermo mentre i petali ruotano */
.flower-interactive {
   width: 100%;
   height: auto;
   filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
   overflow: visible;
}

/* --- BOTTONI AZIONI --- */
.flower-actions {
    margin-bottom: 35px;
}

.flower-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
}

.flower-btn:hover {
    background: white;
    color: #654171;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.spotify-emoji {
    font-size: 1.5rem;
}

/* --- CONTENUTO TESTI --- */
.chords-content-flower {
    color: white;
    line-height: 1.9;
    font-size: 1rem;
    padding: 25px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.chords-content-flower p {
    margin-bottom: 18px;
}

/* Custom scrollbar */
.chords-box-flower::-webkit-scrollbar,
.chords-content-flower::-webkit-scrollbar {
    width: 10px;
}

.chords-box-flower::-webkit-scrollbar-track,
.chords-content-flower::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.chords-box-flower::-webkit-scrollbar-thumb,
.chords-content-flower::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }

    .flower-title {
        font-size: 2.2rem;
    }

    .flower-btn {
        font-size: 1.1rem;
        padding: 15px 25px;
    }
}

/* Container principale del Merch */
.merch-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Griglia prodotti */
.merch-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Card del singolo prodotto */
.merch-card {
    background: #fff;
    border: 1px solid #eee;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.merch-card:hover {
    transform: translateY(-10px);
    border-color: #fec704;
    /* Colore giallo al passaggio */
}

/* Placeholder per l'immagine del prodotto */
.merch-img,
.merch-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #222;
    background-size: cover;
    background-position: center;
    transition: filter 0.4s ease, background-image 0.2s ease;
    position: relative;
}

.merch-img-placeholder.is-coming-soon {
    background-image: url('../Assets/sponsor/merch.png');
    filter: blur(8px);
    /* Effetto blur solo per "coming soon" */
}

.merch-card:hover .merch-img-placeholder.is-coming-soon {
    filter: blur(0);
}

.merch-img-placeholder.is-coming-soon::after {
    content: 'COMING SOON';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.merch-card:hover .merch-img-placeholder.is-coming-soon::after {
    opacity: 0;
}

/* Info testo sotto l'immagine */
.merch-info {
    padding: 20px;
    text-align: center;
    background-color: #fec704;
    /* Sfondo giallo come nel tuo schema */
    color: #000;
}

.merch-card h4 {
    font-family: 'De Roma', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: lowercase;
}

.merch-card p {
    font-weight: bold;
    letter-spacing: 1px;
}

/* Mobile: riduciamo il gap */
@media (max-width: 600px) {
    .merch-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.spotify-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    transition: transform 0.3s ease;
}

.spotify-center img {
    width: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.spotify-center:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Stile del link Spotify nel footer della card */
.spotify-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* Dimensioni ridotte per l'icona Spotify */
.spotify-link img {
    width: 34px;
    /* Era 50px o 24px con proporzioni diverse, 28px è l'ideale per il footer */
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.spotify-link:hover {
    transform: scale(1.15);
    /* Leggero zoom al passaggio */
}

/* Assicurati che il brano-footer distribuisca bene gli elementi */
.brano-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    pointer-events: auto;
    /* Permette il click sui link */
}

.song-link {
    pointer-events: auto;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 12px;
    border-radius: 4px;
    align-self: flex-start;
    transition: 0.3s;
}

.song-link:hover {
    background: #fff;
    color: #000;
}

/* --- MUSICISTI & MERCH (Combined) --- */
.combined-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.expandable-box {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.expandable-box.purple {
    background-color: #654171;
    color: #fff;
}

.expandable-box.yellow {
    background-color: #fec704;
    color: #000;
}

.expandable-box h3 {
    font-family: 'De Roma', serif;
    font-size: 3em;
    letter-spacing: 6px;
    text-transform: lowercase;
}

.social-header {
    display: flex;
    align-items: center;
    gap: 14px;
    /* distanza tra i loghi */
}

.social-header a {
    width: 40px;
    /* box uguale per tutti */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: 0.25s ease;
}

.social-header a:hover {
    opacity: 1;
    transform: scale(1.12);
}

.social-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: grayscale(1);
    /* Questo le rende grigie inizialmente */
    transition: 0.3s;
}

.social-header a:hover img {
    filter: grayscale(0);
}


.hero p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 40px;
    /* Centra il paragrafo */
}

.hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Centra i bottoni */
}

.hero .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.hero .btn-secondary:hover {
    background: #fff;
    color: var(--viola-mde);
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.crew-ig-btn {
    background: #000;
    color: #fec704;
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
}

.crew-ig-btn:hover {
    background: #000;
    color: #fec704;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

/* --- HITBOX PIU' GRANDI SENZA CAMBIARE LOOK --- */
/* Aumenta l'area cliccabile/hover dei bottoni senza modificare padding, dimensioni o stile visivo. */
.btn,
.btn-primary,
.btn-secondary,
.contact-btn,
.btn-locandina-tour,
.btn-locandina,
.feedback-form button,
.pad-button,
button {
    position: relative;
}

.btn::after,
.btn-primary::after,
.btn-secondary::after,
.contact-btn::after,
.btn-locandina-tour::after,
.btn-locandina::after,
.feedback-form button::after,
.pad-button::after,
button::after {
    content: '';
    position: absolute;
    inset: -14px; /* quanto estendere la hitbox */
    border-radius: inherit;
    background: transparent;
    z-index: 2;
}

/* Su mobile riduco l'estensione per evitare sovrapposizioni tra bottoni vicini */
@media (max-width: 768px) {
    .btn::after,
    .btn-primary::after,
    .btn-secondary::after,
    .contact-btn::after,
    .btn-locandina-tour::after,
    .btn-locandina::after,
    .feedback-form button::after,
    .pad-button::after,
    button::after {
        inset: -10px;
    }
}


/* --- MDE CREW GRID --- */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Più flessibile */
    gap: 30px;
    /* Spazio tra i riquadri */
    height: auto;
    /* Non forzare l'altezza */
}

.crew-member {
    border-radius: 12px;
    padding: 60px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.crew-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.crew-member:nth-child(1) {
    background: #654171;
    color: #fff;
}

.crew-member:nth-child(2) {
    background: #fff;
    color: #654171;
}

.crew-member:nth-child(3) {
    background: #000;
    color: #fec704;
}

.crew-member:nth-child(4) {
    background: #fec704;
    color: #000;
}

/* --- TOUR & FEEDBACK --- */
.tour,
.feedback,
.about {
    padding: 100px 5%;
}

/* FEEDBACK / CONTATTI SECTION */
.feedback {
    padding: 120px 10%;
    background-color: #fafafa;
    text-align: center;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 50px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 320px;
    justify-content: center;
}

.contact-btn img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Bottone Telegram */
.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: #fff;
    border: 2px solid transparent;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(34, 158, 217, 0.4);
}

/* Bottone Email */
.email-btn {
    background: #654171;
    color: #fff;
    border: 2px solid transparent;
}

.email-btn:hover {
    background: #7d5189;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(101, 65, 113, 0.4);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        gap: 25px;
    }

    .contact-btn {
        width: 100%;
        max-width: 350px;
        min-width: auto;
    }

    .contact-btn img {
        width: 65px;
        height: 65px;
    }
}

.about {
    background-color: #fff;
    color: #000;
}

.tour-date {
    background: #fff;
    margin-bottom: 15px;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.tour-date:hover {
    border-color: #fec704;
    transform: scale(1.01);
}

/* --- TOUR SECTION A BLOCCHI --- */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.tour-card {
    position: relative;
    height: 250px;
    background-color: #000;
    /* Sfondo di riserva */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
}

.tour-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.tour-status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fec704, #ff9f1a);
    color: #111;
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.tour-status-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.25);
}

.tour-card-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    color: #fff;
}

.tour-date-label {
    font-family: 'De Roma', serif;
    font-size: 1.8rem;
    color: #fec704;
    display: block;
    margin-bottom: 5px;
    text-transform: lowercase;
}

.tour-location {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
    text-transform: lowercase;
}

.btn-locandina-tour {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-locandina-tour:hover {
    background: #fec704;
}

.btn-locandina {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-locandina:hover {
    background: #fec704;
    color: #000;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    border-radius: 4px;
}

.feedback-form input:focus {
    border-color: #654171;
    outline: none;
}

.feedback-form button {
    width: 100%;
    padding: 15px;
    background: #fec704;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    cursor: pointer;
}

/* FOOTER */
footer {
    background-color: #654171;
    color: #fff;
    padding: 60px 5% 30px;
    font-family: 'Roboto', sans-serif;
}

.footer-credits-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Firma a sinistra, creatori a destra */
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(254, 199, 4, 0.2);
    flex-wrap: wrap;
    /* Per schermi piccoli va a capo */
}

.band-signature-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Spinge il logo a destra */
    min-width: 200px;
}

.band-signature {
    max-width: 220px;
    height: auto;
    /* Mantiene i colori originali della footer.png */
    filter: none;
}

.creators-wrap {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: flex-start;
    /* Assicura l'allineamento a sinistra */
}

.creator-item {
    display: flex;
    align-items: center;
    /* Foto e testo affiancati */
    gap: 15px;
}

.creator-link-wrapper {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.creator-link-wrapper:hover {
    opacity: 0.8;
}

.creator-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.creator-info h5 {
    font-family: 'De Roma', serif;
    font-size: 1rem;
    color: #fec704;
    margin: 0;
    text-transform: lowercase;
}

.creator-info p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

.creator-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.creator-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive: su mobile torna tutto centrato */
@media (max-width: 768px) {
    .footer-credits-horizontal {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
    }

    .band-signature-wrap {
        justify-content: center;
    }

    .creators-wrap {
        justify-content: center;
        gap: 30px;
    }
}

/* Layout sezioni info (Contatti, Management, ecc) */
.footer-main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'De Roma', serif;
    color: #fec704;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: lowercase;
}

.footer-section p,
.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

.footer-bottom p {
    font-family: 'Roboto', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: #fec704;
    text-decoration: none;
    font-weight: bold;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .brani-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }

    .combined-section,
    .crew-grid {
        grid-template-columns: 1fr;
    }

    .crew-grid {
        height: auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    nav ul {
        display: none;
    }

    /* Solitamente qui si usa un menu mobile */
    .brani-grid-full {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Contenitore principale della fascia */
.photo-strip {
    width: 100%;
    height: 200px;
    /* Altezza della fascia rettangolare */
    overflow: hidden;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

/* Contenitore con sfondo bianco */
.photo-strip-white {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    border: none;
    margin: 0;
    padding: 0;
    /* Impedisce anche che il cursore cambi (opzionale) */
    cursor: default;
}

/* Wrapper per titolo + carosello */
.photo-strip-wrapper {
    width: 100%;
    background: #fff;
    padding-top: 80px;
}

/* Header con titolo */
.photo-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.photo-gallery-header .section-title {
    font-family: 'De Roma', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 8px;
    color: #000;
    text-transform: lowercase;
}

/* Binario di scorrimento */
.photo-track {
    display: flex;
    width: calc(500px * 12);
    animation: scrollInfinito 35s linear infinite;
    pointer-events: auto;
}

.photo-track:hover {
    animation-play-state: paused;
}

/* Singolo rettangolo foto */
.photo-item {
    width: 500px;
    height: 300px;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: none;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.15);
    z-index: 10;
}

/* Animazione fluida infinita */
@keyframes scrollInfinito {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-500px * 6));
    }
}

/* Rimuove spazi tra le sezioni del sito */
#home.hero {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Contenitore Carosello */
.photo-strip-full {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    margin: 0;
    margin-top: 60px;
    /* Aggiunto spazio sopra */
    padding: 0;
    cursor: default;
    border: none;
}

#photoModal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.photo-modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: zoomInPhoto 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes zoomInPhoto {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================== */
/* ABOUT SECTION CON SOTTOTITOLO ROTANTE */
/* =========================================== */

/* Contenitore che affianca gli elementi */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Larghezza della colonna testo */
.about-content {
    flex: 1;
}

/* Stile specifico per il titolo About (come Brani) */
.about .section-title {
    font-family: 'De Roma', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-align: left;
    text-transform: lowercase;
}

/* === ROTATING SUBTITLE ANIMATION === */
.rotating-subtitle {
    position: relative;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.subtitle-text {
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    color: #654171;
    font-weight: 300;
}

.subtitle-text.active {
    opacity: 1;
    z-index: 1;
}

/* Stile per i paragrafi di testo */
.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
    font-weight: 300;
}

/* Larghezza e stile della colonna immagine */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0;
    filter: none;
    transition: 0.5s ease;
    box-shadow: none;
    background: transparent;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Responsive per mobile */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about .section-title {
        text-align: center;
    }

    .rotating-subtitle {
        justify-content: center;
    }

    .subtitle-text {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-image {
        order: -1;
    }
}

/* Nasconde il cursore standard su tutto il sito */
html,
body,
a,
button,
.brano-card,
.crew-member,
.clickable {
    cursor: none !important;
}

/* Stile cursore unico */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    /* Hotspot: punta del cursore (aggiusta se serve) */
    --cursor-hotspot-x: 0px;
    --cursor-hotspot-y: 0px;
    background-image: url('../Assets/graphics/frecetta.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10000;
    will-change: transform, opacity;
}

/* Su touch/coarse pointer non ha senso il cursore custom */
@media (hover: none), (pointer: coarse) {
    html,
    body,
    a,
    button,
    .brano-card,
    .crew-member,
    .clickable {
        cursor: auto !important;
    }

    #custom-cursor {
        display: none !important;
    }
}

/* Rispetta "riduci animazioni" e taglia le animazioni più pesanti */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .hero-video {
        display: none;
    }

    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Assets/graphics/photos/petali\ mde.jpg');
    }
}

/* --- PARTNERSHIP SECTION --- */
.partnership {
    padding: 120px 10%;
    background-color: #fff;
}

.partnership-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.partnership-content {
    flex: 1;
}

.partnership-content h3 {
    font-family: 'De Roma', serif;
    font-size: 2rem;
    letter-spacing: 3px;
    color: #654171;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.partnership-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
    margin-bottom: 15px;
}

.partnership-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnership-logo img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: 0.5s ease;
}

.partnership-logo img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Responsive per mobile */
@media (max-width: 992px) {
    .partnership-container {
        flex-direction: column;
        text-align: center;
    }

    .partnership-logo {
        order: -1;
        /* Sposta il logo sopra il testo su mobile */
    }
}

/* --- MDE CREW CON LAUNCH PAD --- */
.crew-launchpad-section {
    padding: 120px 5%;
    background-color: #fafafa;
}

.launchpad-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.launchpad-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* Pulsanti invisibili sovrapposti ai pad */
.pad-button {
    position: absolute;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 8px;
    z-index: 1;
}

.pad-button:hover {
    background: linear-gradient(135deg, rgba(254, 199, 4, 0.6), rgba(254, 199, 4, 0.3));
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(254, 199, 4, 0.5),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    /* border: 2px solid rgba(254, 199, 4, 0.8); */
}

.pad-button:active {
    transform: translateY(2px) scale(0.98);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 3px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(254, 199, 4, 0.8), rgba(254, 199, 4, 0.5));
}

/* Posizionamento preciso dei pad sulla launch pad (griglia 4x4) */

/* RIGA 1 */
.pad-1-1 {
    width: 9.5%;
    height: 13.5%;
    top: 10%;
    left: 6%;
}

.pad-1-2 {
    width: 9.5%;
    height: 13.5%;
    top: 10%;
    left: 18.3%;
}

.pad-1-3 {
    width: 9.5%;
    height: 13.5%;
    top: 10%;
    left: 30.6%;
}

.pad-1-4 {
    width: 9.5%;
    height: 13.5%;
    top: 10%;
    left: 46.0%;
}

/* Spostato da 42.9% a 48.5% */

/* RIGA 2 (10% + 19.7% = 29.7%) */
.pad-2-1 {
    width: 9.5%;
    height: 13.5%;
    top: 31%;
    left: 6.5%;
}

/* Spostato più in basso (da 29.7% a 31%) e più a destra (da 6% a 7.5%) */
.pad-2-2 {
    width: 9.5%;
    height: 13.5%;
    top: 29.7%;
    left: 18.3%;
}

.pad-2-3 {
    width: 9.5%;
    height: 13.5%;
    top: 31%;
    left: 33.5%;
}

.pad-2-4 {
    width: 9.5%;
    height: 13.5%;
    top: 29.7%;
    left: 42.9%;
}

/* RIGA 3 (29.7% + 19.7% = 49.4%) */
.pad-3-1 {
    width: 9.5%;
    height: 13.5%;
    top: 49.4%;
    left: 6%;
}

.pad-3-2 {
    width: 9.5%;
    height: 13.5%;
    top: 52.5%;
    left: 19.8%;
}

/* Spostato più in basso (da 49.4% a 50.5%) e più a destra (da 18.3% a 19.8%) */
.pad-3-3 {
    width: 9.5%;
    height: 13.5%;
    top: 63.4%;
    left: 30.6%;
}

.pad-3-4 {
    width: 9.5%;
    height: 13.5%;
    top: 52.5%;
    left: 46.0%;
}

/* RIGA 4 (49.4% + 19.7% = 69.1%) */
.pad-4-1 {
    width: 9.5%;
    height: 13.5%;
    top: 69.1%;
    left: 6%;
}

.pad-4-2 {
    width: 9.5%;
    height: 13.5%;
    top: 69.1%;
    left: 18.3%;
}

.pad-4-3 {
    width: 9.5%;
    height: 13.5%;
    top: 69.1%;
    left: 30.6%;
}

.pad-4-4 {
    width: 9.5%;
    height: 13.5%;
    top: 69.1%;
    left: 42.9%;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .launchpad-container {
        max-width: 100%;
    }

    .pad-button:hover {
        background: rgba(254, 199, 4, 0.5);
        /* Più visibile su mobile */
    }
}

/* Sfondo grigio uniforme su index */
body.gray-site-bg {
    background-color: var(--bg-section-alt);
}

body.gray-site-bg section,
body.gray-site-bg .hero-gallery-cta,
body.gray-site-bg .youtube-single-cta,
body.gray-site-bg .section-full,
body.gray-site-bg .feedback,
body.gray-site-bg .about,
body.gray-site-bg .partnership,
body.gray-site-bg .crew-launchpad-section,
body.gray-site-bg .photo-strip-full,
body.gray-site-bg .photo-strip-white,
body.gray-site-bg .photo-strip-wrapper {
    background-color: var(--bg-section-alt) !important;
}

/* Mantiene visibile il cursore standard nelle pagine policy */
body.policy-page,
body.policy-page * {
    cursor: auto !important;
}