/* Per-slide text reveal styles — paired with .ap-euro-reel-slide--text-anim-{key} */

.ap-euro-reel-slide:not(.ap-euro-reel-slide--in-view) .ap-euro-reel-slide-head .ap-euro-reel-badge,
.ap-euro-reel-slide:not(.ap-euro-reel-slide--in-view) .ap-euro-reel-slide-head .ap-euro-reel-slide-title {
    opacity: 0;
    transform: translateY(12px);
}

.ap-euro-reel-slide--in-view .ap-euro-reel-slide-head .ap-euro-reel-badge {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.ap-euro-reel-slide--in-view .ap-euro-reel-slide-head .ap-euro-reel-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.48s ease 0.07s, transform 0.48s ease 0.07s;
}

/* --- body + hint: hidden until .is-revealed on text scene --- */
.ap-euro-reel-slide--text-anim-fade .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-fade .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
}

.ap-euro-reel-slide--text-anim-fade .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-fade .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    transition: opacity 0.55s ease;
}

.ap-euro-reel-slide--text-anim-fade .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.1s;
}

.ap-euro-reel-slide--text-anim-rise .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-rise .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
    transform: translateY(18px);
}

.ap-euro-reel-slide--text-anim-rise .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-rise .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1), transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-euro-reel-slide--text-anim-rise .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.1s;
}

.ap-euro-reel-slide--text-anim-blur .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-blur .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
    filter: blur(10px);
}

.ap-euro-reel-slide--text-anim-blur .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-blur .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.55s ease, filter 0.6s ease;
}

.ap-euro-reel-slide--text-anim-blur .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.09s;
}

.ap-euro-reel-slide--text-anim-slide-left .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-slide-left .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
    transform: translateX(-28px);
}

.ap-euro-reel-slide--text-anim-slide-left .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-slide-left .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-euro-reel-slide--text-anim-slide-left .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.1s;
}

.ap-euro-reel-slide--text-anim-scale .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-scale .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
    transform: scale(0.92);
}

.ap-euro-reel-slide--text-anim-scale .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-scale .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.52s ease, transform 0.52s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ap-euro-reel-slide--text-anim-scale .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.1s;
}

.ap-euro-reel-slide--text-anim-tilt .ap-euro-reel-text-scene {
    perspective: 560px;
}

.ap-euro-reel-slide--text-anim-tilt .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-tilt .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
    transform: perspective(560px) rotateX(10deg) translateY(12px);
}

.ap-euro-reel-slide--text-anim-tilt .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-tilt .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    transform: perspective(560px) rotateX(0deg) translateY(0);
    transition: opacity 0.52s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-euro-reel-slide--text-anim-tilt .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.1s;
}

.ap-euro-reel-slide--text-anim-skew .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-skew .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
    transform: skewX(-5deg) translateX(-6px);
}

.ap-euro-reel-slide--text-anim-skew .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-skew .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    transform: skewX(0deg) translateX(0);
    transition: opacity 0.5s ease, transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-euro-reel-slide--text-anim-skew .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.1s;
}

.ap-euro-reel-slide--text-anim-glow .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-glow .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
    opacity: 0;
    text-shadow: 0 0 0 rgba(241, 245, 249, 0);
}

.ap-euro-reel-slide--text-anim-glow .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
.ap-euro-reel-slide--text-anim-glow .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    opacity: 1;
    text-shadow: 0 0 24px rgba(226, 232, 240, 0.35);
    transition: opacity 0.55s ease, text-shadow 0.75s ease;
}

.ap-euro-reel-slide--text-anim-glow .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
    transition-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
    .ap-euro-reel-slide:not(.ap-euro-reel-slide--in-view) .ap-euro-reel-slide-head .ap-euro-reel-badge,
    .ap-euro-reel-slide:not(.ap-euro-reel-slide--in-view) .ap-euro-reel-slide-head .ap-euro-reel-slide-title {
        opacity: 1;
        transform: none;
    }

    .ap-euro-reel-slide--in-view .ap-euro-reel-slide-head .ap-euro-reel-badge,
    .ap-euro-reel-slide--in-view .ap-euro-reel-slide-head .ap-euro-reel-slide-title {
        transition: none;
    }

    .ap-euro-reel-slide[class*='--text-anim-'] .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-scene-read,
    .ap-euro-reel-slide[class*='--text-anim-'] .ap-euro-reel-text-scene:not(.is-revealed) .ap-euro-reel-hint {
        opacity: 1;
        transform: none;
        filter: none;
        text-shadow: none;
    }

    .ap-euro-reel-slide[class*='--text-anim-'] .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-scene-read,
    .ap-euro-reel-slide[class*='--text-anim-'] .ap-euro-reel-text-scene.is-revealed .ap-euro-reel-hint {
        transition: none;
    }
}
