/* Wapu Scenes — CSS del slider clásico */
.wapu-scene-classic {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    min-height: 280px;
    overflow: clip;
    background: #111;
    --wsc-c1: #7c3aed;
    --wsc-c2: #f5f3ff;
}

/* Fondo degradado sutil del kit */
.wapu-scene-classic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--wsc-c1) 18%, transparent), transparent 60%),
                radial-gradient(ellipse at 80% 50%, color-mix(in srgb, var(--wsc-c2) 14%, transparent), transparent 60%);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

/* Línea shimmer del kit en el borde inferior */
.wapu-scene-classic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wsc-c1), var(--wsc-c2), var(--wsc-c1));
    background-size: 200% 100%;
    animation: wsc-shimmer 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes wsc-shimmer {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}
.wsc-track { position: absolute; inset: 0; }
.wsc-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s ease;
    display: flex;
}
.wsc-slide.is-active { opacity: 1; }
.wsc-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 48px;
}
.wsc-title {
    font-family: -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(24px, 4vw, 56px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 2px 16px rgba(0,0,0,.4);
    max-width: 16ch;
}
.wsc-desc {
    font-size: clamp(13px, 1.4vw, 18px);
    color: rgba(255,255,255,.85);
    margin: 0 0 24px;
    max-width: 40ch;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.wsc-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    width: fit-content;
    transition: transform .2s;
}
.wsc-btn:hover { transform: translateY(-2px); }
/* Dots */
.wsc-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.wsc-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all .2s;
}
.wsc-dot.is-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}
/* Arrows */
.wsc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s;
    display: flex; align-items: center; justify-content: center;
}
.wsc-arrow:hover { background: rgba(255,255,255,.3); }
.wsc-prev { left: 16px; }
.wsc-next { right: 16px; }

@media (max-width: 600px) {
    .wsc-text { padding: 24px; }
}

/* Video en slides */
.wsc-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.wsc-iframe {
    object-fit: unset;
    pointer-events: none;
}
/* Overlay para que el texto se lea sobre video — teñido con el kit */
.wsc-slide:has(.wsc-video)::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,  rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--wsc-c1) 22%, transparent) 0%,
            color-mix(in srgb, var(--wsc-c2) 12%, transparent) 100%
        );
    z-index: 1;
}
.wsc-text { z-index: 2; }
