
.slider-container {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.slide { 
    display: none; 
    width: 100%; 
    height: 100%; 
}
.slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.slide.active { 
    display: block; 
    animation: fade 0.3s ease-in-out; }
.btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(0,0,0,0.5); 
    color: white; 
    padding: 10px 15px; 
    border: none; 
    cursor: pointer; 
    font-size: 18px; 
    border-radius: 5px; 
}
.btn:hover { 
    background: rgba(0,0,0,0.8); 
}
.prev { left: 10px; }
.next { right: 10px; }
@keyframes fade { from { opacity: 0.4; } to { opacity: 1; } }