.scroll-animation-wrapper {
    width: 100%;
    height: 150vh;
    position: relative;
    background-color: transparent;
    margin-top: -10vh;
    margin-bottom: -30vh;
    mix-blend-mode: multiply;
}

.scroll-animation-container {
    position: sticky;
    top: 15vh;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: transparent;
}

#animation-canvas {
    aspect-ratio: 16 / 9;
    height: 80vh;
    max-width: 100%;
    object-fit: contain;
    transform: scale(1.0) translateY(0%);
    filter: brightness(1.1) contrast(1.05);
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
}

.animation-text-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.text-block {
    position: absolute;
    max-width: 300px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animation-text-blocks.visible .text-block {
    opacity: 1;
    transform: translateY(0);
}

.animation-text-blocks.visible .text-left.text-top {
    transition-delay: 0.1s;
}

.animation-text-blocks.visible .text-right.text-top {
    transition-delay: 0.2s;
}

.animation-text-blocks.visible .text-left.text-bottom {
    transition-delay: 0.3s;
}

.animation-text-blocks.visible .text-right.text-bottom {
    transition-delay: 0.4s;
}

.text-left {
    left: 8%;
}

.text-right {
    right: 8%;
}

.text-top {
    top: 25%;
}

.text-bottom {
    top: 65%;
}

.text-block h3 {
    font-size: 1.4rem;
    color: #C59F44;
    margin-bottom: 12px;
    font-weight: 500;
}

.text-block p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Mobile & Tablet Adjustments */
@media (max-width: 991px) {
    .scroll-animation-wrapper {
        margin-top: -10vh;
        margin-bottom: -30vh;
        background-color: transparent;
    }

    .scroll-animation-container {
        height: 80vh;
        align-items: center;
    }

    #animation-canvas {
        height: 60vh;
        object-fit: cover;
        transform: scale(1.1) translateY(0%);
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* Canvas is shrunk to 60vh and centered (flex) inside the 80vh sticky
       container, leaving genuinely empty ~10vh bands above and below it.
       Cards sit in those bands instead of overlapping the product image. */
    .text-block {
        max-width: 46%;
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 8px;
        backdrop-filter: blur(2px);
    }

    .text-left {
        left: 4%;
    }

    .text-right {
        right: 4%;
    }

    .text-top {
        top: 1%;
    }

    .text-bottom {
        top: auto;
        bottom: 1%;
    }

    .text-block h3 {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .text-block p {
        font-size: 0.62rem;
        line-height: 1.3;
    }
}