.app-frame {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.app-frame:hover {
    transform: scale(1.05) translateZ(20px);
}

.screenshot-img {
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.screenshot-scroller {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(280px * 12 + 8rem * 11);
}

.screenshot-container {
    display: flex;
    gap: 2rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 6 - 8rem * 5));
    }
}

.screenshot-scroller:hover {
    animation-play-state: paused;
}