/* ReachABLE Animated Video Player styles */
.rc-video {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(20, 40, 63, 0.14);
    max-width: 720px;
    margin: 0 auto;
}
.rc-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #F1E9D9;
    overflow: hidden;
}
.rc-svg {
    width: 100%; height: 100%; display: block;
}
.rc-caption {
    position: absolute;
    left: 20px; right: 20px; bottom: 42px;
    background: rgba(20, 40, 63, 0.88);
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-family: 'Public Sans', -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    backdrop-filter: blur(4px);
    max-width: 88%;
    margin: 0 auto;
    pointer-events: none;
}
.rc-caption:empty { display: none; }
@media (max-width: 620px) {
    .rc-caption { font-size: 13.5px; padding: 8px 12px; bottom: 36px; }
}

.rc-progress {
    position: absolute;
    left: 12px; right: 12px; bottom: 8px;
    height: 22px;
    display: flex; align-items: center; gap: 10px;
}
.rc-progress-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: rgba(194, 65, 12, 0.30);
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease;
}
.rc-progress-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: #C2410C;
    border-radius: 2px;
    width: 100%;
}
.rc-progress-dots {
    display: flex; justify-content: center; gap: 6px;
    width: 100%; margin-bottom: 8px;
}
.rc-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 1.5px solid rgba(20, 40, 63, 0.30);
    padding: 0; cursor: pointer;
}
.rc-dot.done { background: #C2410C; border-color: #C2410C; }
.rc-dot.active {
    background: #C2410C; border-color: #14283F;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.24);
}

.rc-controls {
    background: #F8F4EC;
    padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
    border-top: 1px solid rgba(30, 58, 95, 0.08);
}
.rc-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none; cursor: pointer;
    background: white;
    color: #1E3A5F;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.15s;
    padding: 0;
}
.rc-btn:hover { background: #C2410C; color: white; }
.rc-btn.rc-play {
    background: #C2410C; color: white;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.28);
}
.rc-btn.rc-play:hover { background: #9A3308; }
.rc-btn svg { width: 18px; height: 18px; }
.rc-scene-count {
    margin-left: auto;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #4A4645;
}

/* Scene animations */
.rc-anim { opacity: 0; }
.rc-anim-in { animation: rc-fade-in 0.6s ease-out 0.15s forwards; }
.rc-anim-pop { animation: rc-pop 0.5s ease-out 0.3s forwards; }
.rc-anim-float { animation: rc-fade-in 0.6s ease-out 0.15s forwards, rc-float 3.6s ease-in-out infinite; }
.rc-anim-bounce { animation: rc-fade-in 0.6s ease-out 0.15s forwards, rc-bounce 2s ease-in-out infinite; }
.rc-anim-wave { animation: rc-fade-in 0.6s ease-out 0.15s forwards, rc-wave 1.8s ease-in-out infinite; }
.rc-anim-shake { animation: rc-fade-in 0.6s ease-out 0.15s forwards, rc-shake 0.6s ease-in-out 1.4s; }
.rc-anim-slide-l { animation: rc-slide-l 0.7s ease-out 0.2s forwards; }
.rc-anim-slide-r { animation: rc-slide-r 0.7s ease-out 0.2s forwards; }

@keyframes rc-fade-in { to { opacity: 1; } }
@keyframes rc-pop {
    0% { opacity: 0; transform: scale(0.4); }
    60% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes rc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes rc-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}
@keyframes rc-wave {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-4deg); }
    75% { transform: rotate(4deg); }
}
@keyframes rc-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
@keyframes rc-slide-l {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes rc-slide-r {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
