* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    height: 100vh;
    overflow: hidden;
    /* Mobile-first approach */
    font-size: 16px;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: black; /* Default background */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure images don't overflow */
    text-align: center; /* Ensure text is centered */
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Transparent background as requested */
    backdrop-filter: blur(2px); /* Reduced blur effect as requested */
    -webkit-backdrop-filter: blur(2px); /* For Safari */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 2rem; /* Mobile-first size */
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for extra pop */
}

h2 {
    font-size: 1.2rem; /* Mobile-first size */
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9; /* Slightly reduced opacity for hierarchy */
}

.countdown-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
    width: 100%;
    align-self: center;
}

.countdown-item {
    margin: 0 10px;
    min-width: 60px; /* Smaller for mobile */
}

.countdown-item span {
    display: block;
}

.countdown-item span:first-child {
    font-size: 2.5rem; /* Mobile-first size */
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.label {
    font-size: 0.8rem; /* Mobile-first size */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.message {
    font-size: 1.2rem; /* Mobile-first size */
    margin-top: 30px;
    font-weight: 300;
    font-style: italic;
}

/* Tablet and larger screens */
@media (min-width: 481px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .countdown-item {
        margin: 0 15px;
        min-width: 70px;
    }
    
    .countdown-item span:first-child {
        font-size: 3rem;
    }
    
    .label {
        font-size: 0.9rem;
    }
}

/* Desktop screens - still maintaining portrait focus */
@media (min-width: 769px) {
    .content {
        max-width: 600px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .countdown-item {
        margin: 0 20px;
        min-width: 80px;
    }
    
    .countdown-item span:first-child {
        font-size: 3.5rem;
    }
    
    .label {
        font-size: 1rem;
    }
    
    .message {
        font-size: 1.4rem;
    }
}
