/* 3D ПЕРЕХОДНАЯ СЕКЦИЯ С PAPER.PNG */

.paper-transition-section {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    background: transparent;
    z-index: 1;
}

.paper-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.paper-wrapper {
    position: relative;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%) rotateX(60deg) rotateZ(0deg);
    transform-style: preserve-3d;
    will-change: transform;
}

.paper-image {
    max-height: 90vh;
    max-width: 90vw;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.paper-wrapper.animate {
    transition: transform 0.1s linear;
}

@media (max-width: 768px) {
    .paper-image {
        max-height: 80vh;
        max-width: 95vw;
    }
    
    .paper-wrapper {
        transform: translateX(-100%) rotateX(45deg) rotateZ(0deg);
    }
}

@media (max-width: 480px) {
    .paper-image {
        max-height: 70vh;
        max-width: 98vw;
    }
    
    .paper-wrapper {
        transform: translateX(-100%) rotateX(30deg) rotateZ(0deg);
    }
}
