/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Styling */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -3;
}

.mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to right, #2c3e50, #3498db, #2c3e50);
    clip-path: polygon(0% 100%, 0% 80%, 10% 60%, 20% 70%, 30% 50%, 40% 60%, 50% 40%, 60% 55%, 70% 35%, 80% 50%, 90% 30%, 100% 45%, 100% 100%);
    opacity: 0.8;
}

/* Cloud Animation */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    opacity: 0.6;
}

.cloud:before,
.cloud:after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation: drift 20s infinite linear;
}

.cloud1:before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud1:after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

.cloud2 {
    width: 80px;
    height: 30px;
    top: 30%;
    left: 70%;
    animation: drift 25s infinite linear reverse;
}

.cloud2:before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 10px;
}

.cloud2:after {
    width: 50px;
    height: 30px;
    top: -10px;
    right: 15px;
}

.cloud3 {
    width: 120px;
    height: 50px;
    top: 15%;
    left: 50%;
    animation: drift 30s infinite linear;
}

.cloud3:before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud3:after {
    width: 70px;
    height: 50px;
    top: -20px;
    right: 10px;
}

@keyframes drift {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

/* Particles Animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 90%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 60%; animation-delay: 4s; }
.particle:nth-child(6) { top: 70%; left: 40%; animation-delay: 5s; }
.particle:nth-child(7) { top: 40%; left: 15%; animation-delay: 2.5s; }
.particle:nth-child(8) { top: 50%; left: 85%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.5; }
}

/* Main Content */
.content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Header */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo i {
    font-size: 3rem;
    color: #ffd700;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.countdown-item label {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Email Subscription */
.subscription {
    margin-bottom: 2rem;
}

.subscription h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.email-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    outline: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.email-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-form input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.email-form button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.show {
    opacity: 1;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .logo i {
        font-size: 2.5rem;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem 0.5rem;
        min-width: 60px;
    }

    .countdown-item span {
        font-size: 2rem;
    }

    .email-form {
        flex-direction: column;
        align-items: center;
    }

    .email-form input {
        min-width: 100%;
        margin-bottom: 1rem;
    }

    .email-form button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content {
        margin: 0.5rem;
        padding: 1rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.8rem 0.3rem;
        min-width: 50px;
    }

    .countdown-item span {
        font-size: 1.5rem;
    }

    .countdown-item label {
        font-size: 0.8rem;
    }
}
