/* =====================================================
   Bunker Animazione Porta – Stili Mobile
   Prefisso: bunker_animazione_porta_
   ===================================================== */

.bunker_animazione_porta_scene_mobile *,
.bunker_animazione_porta_scene_mobile *::before,
.bunker_animazione_porta_scene_mobile *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Wrapper alto: crea lo spazio di scroll necessario ── */
.bunker_animazione_porta_scroll_wrapper_mobile {
    position: relative;
    height: 250vh;
}

/* ── Scena principale: sticky dentro il wrapper ── */
.bunker_animazione_porta_scene_mobile {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8vh;
}

.bunker_animazione_porta_door_assembly_mobile {
    position: relative;
    width: 85vw;
    height: 85vw;
    max-width: 500px;
    max-height: 500px;
    flex-shrink: 0;
}

.bunker_animazione_porta_door_complete_mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    will-change: opacity;
}

.bunker_animazione_porta_door_complete_mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 4px 12px rgba(0, 0, 0, 0.12));
}

/* Ogni layer – translate3d per hardware acceleration */
.bunker_animazione_porta_layer_mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bunker_animazione_porta_layer_mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(1px 3px 8px rgba(0, 0, 0, 0.10));
}

/* ── Etichette specifiche – layout mobile ── */
.bunker_animazione_porta_spec_labels_mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    will-change: opacity;
    transform: translate3d(0, 0, 0);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 70%, transparent 100%);
}

.bunker_animazione_porta_spec_tag {
    background: rgba(28, 75, 92, 0.88);
    color: #fff;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.3;
}

.bunker_animazione_porta_spec_tag .bunker_animazione_porta_value {
    font-weight: 700;
}

/* Barra di progresso */
.bunker_animazione_porta_scroll_indicator_mobile {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 300;
}

.bunker_animazione_porta_scroll_indicator_mobile.bunker_animazione_porta_hidden_mobile {
    opacity: 0;
}

.bunker_animazione_porta_scroll_indicator_mobile span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    font-weight: 500;
}

.bunker_animazione_porta_scroll_track_mobile {
    width: 160px;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.bunker_animazione_porta_scroll_fill_mobile {
    width: 0%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}

.bunker_animazione_porta_scroll_arrow_mobile {
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
    transform: rotate(45deg);
    animation: bunker_animazione_porta_bounceArrow_mobile 2s ease-in-out infinite;
}

@keyframes bunker_animazione_porta_bounceArrow_mobile {
    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(5px);
    }
}
