.screenshots {
    padding: 5rem 0;
    background: #f8fafc;
}

.screenshots-header {
    text-align: center;
    margin-bottom: 4rem;
}

.screenshots-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    will-change: transform;

}

.slide {
    min-width: 100%;
    position: relative;
    flex-shrink: 0;
}

.screenshot {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.screenshot-caption {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    color: #333;
}

.prev-btn .arrow-icon {
    transform: scaleX(-1);
}

.next-btn .arrow-icon {
    transform: scaleX(-1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #667eea;
}
