:root {
    --primary-color: #717fe0;
    --text-white: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.5);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: transparent; /* Changed from black to prevent masking background-container */
}

/* Background Slideshow */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000; /* Fallback black behind images */
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
}

/* Main Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    text-align: center;
    color: var(--text-white);
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1.2s ease-out;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-weight: 400;
    opacity: 0.9;
}

/* Countdown Container */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease;
}

.circle:hover {
    transform: scale(1.05);
    border-color: var(--text-white);
}

.number {
    font-family: var(--font-body);
    font-size: 2.8rem;
    font-weight: 700;
}

.label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Subscription Form */
.subscribe-form {
    display: flex;
    background: #fff;
    border-radius: 40px;
    padding: 5px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 50px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subscribe-form input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    border-radius: 40px 0 0 40px;
    font-size: 1rem;
    outline: none;
    color: #333;
}

.subscribe-form button {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.subscribe-form button:hover {
    background: #5c6bc0;
    transform: translateX(2px);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: var(--text-white);
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .countdown-container {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .circle {
        width: 100px;
        height: 100px;
    }
    
    .number {
        font-size: 2rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
    }
    
    .subscribe-form input {
        border-radius: 40px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .subscribe-form button {
        border-radius: 40px;
    }
}
