/* style.css */
:root {
    --bg-gradient-1: #0f2027;
    --bg-gradient-2: #203a43;
    --bg-gradient-3: #2c5364;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: #ffffff;
    --text-muted: #cfcfcf;
    --accent-color: #00d2ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, var(--bg-gradient-1), var(--bg-gradient-2), var(--bg-gradient-3), #240b36);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    overflow: hidden;
}

/* Background Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism Card */
.container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span.number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.time-box span.label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group {
    display: flex;
    gap: 10px;
}

input[type="email"] {
    flex-grow: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.5);
}

button {
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    background: var(--accent-color);
    color: #0f2027;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.message {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
}

.message.success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.message.error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time-box span.number {
        font-size: 1.5rem;
    }
}
