.slideshow-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: calc(100vh - 150px);
    padding: 0;
    margin-top: 0;
}

.slide {
    display: none;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    will-change: opacity;
    transform: translateZ(0);
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 2;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.top-banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: auto;
    min-height: 100px;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.countdown-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2c3e50;
}

.slide.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

@media only screen and (max-width: 767px) {
    .slideshow-container {
        height: calc(100vh - 100px);
    }
    
    .slide-img {
        object-fit: contain;
        object-position: center;
    }
    
    .prev-btn, .next-btn {
        padding: 8px;
        font-size: 14px;
    }
    
    .top-banner {
        padding: 10px 0;
        min-height: 80px;
    }
    
    .countdown-text {
        font-size: 1.2rem;
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Add star animation styles */
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, gold, #ffd700);
    border-radius: 50%;
    filter: drop-shadow(0 0 6px gold);
    animation: fall 3s linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    20% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}