/* D-order screensaver slideshow styles */
.ipad-frame {
    position: relative;
    padding: 18px;
    border-radius: 34px;
    background: linear-gradient(145deg, #111827, #020617);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255,255,255,0.08);
}

.ipad-screen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    background: #000;
}

.screensaver-slideshow,
.screensaver-slide {
    position: absolute;
    inset: 0;
}

.screensaver-slide {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.screensaver-slide.active {
    opacity: 1;
}

.screensaver-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slideshow-indicators {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slideshow-indicators .indicator {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.slideshow-indicators .indicator.active {
    width: 24px;
    background: #f8d56b;
}

@media (max-width: 640px) {
    .ipad-frame {
        padding: 10px;
        border-radius: 24px;
    }

    .ipad-screen {
        border-radius: 16px;
    }
}
