body {
    margin: 0;
    padding: 0;
    background: #000;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* FULL SCREEN IMAGE */
.mobile-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

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

/* HOTSPOT */
.hotspot {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: 0.2s;
}

.hotspot:hover {
    transform: scale(1.2);
    background: rgba(255,255,255,0.25);
}

/* BLOCCO COPERTINA + DISCO */
.vinile-block {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 180px;
    height: 180px;
    opacity: 0;
    transform: translateX(200px);
    transition: 0.5s ease;
    z-index: 999;
}

.vinile-block.show {
    opacity: 1;
    transform: translateX(0);
}

/* WRAPPER CHE TAGLIA IL DISCO */
.cover-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* niente overflow hidden */
}


/* COPERTINA (DAVANTI) */
.vinile-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: 3;
}

/* DISCO NASCOSTO DIETRO LA COVER */
.vinile-disc {
    position: absolute;
    width: 95%;
    height: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}



.vinile-block.show .vinile-disc {
    animation: discSlide 1.2s ease-out forwards,
               spinInfinite 2.5s linear infinite;
}

@keyframes discSlide {
    0% {
        left: 50%;   /* dietro la cover */
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    40% {
        left: 50%;   /* esce leggermente a destra */
        opacity: 1;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    100% {
        left: 0%;   /* esce a sinistra (MODIFICA QUESTO VALORE) */
        opacity: 1;
        transform: translate(-50%, -50%) rotate(180deg);
    }
}


/* 2) ROTAZIONE INFINITA */
@keyframes spinInfinite {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}



/* PAGINETTA INFO */
.vinile-info {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 55vh;
    background: #f7f3e8;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    padding-top: 50px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: 0.35s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.vinile-info.show {
    transform: translateY(0);
}

/* X DI CHIUSURA */
.info-close {
    position: sticky;
    top: 10px;
    float: right;
    margin-right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 9999;
}

/* FOTO EXTRA */
.info-photo {
    width: 100%;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
