:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --accent-glow: #6366f1;
    --accent-glow-secondary: #ec4899;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Hide overflow for background blobs */
    position: relative;
}

/* Dynamic Background Elements */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow-secondary) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-glow);
}

.badge {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

/* Main Content area */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 4rem 0;
}

.title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    min-width: 110px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.time-block:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.time-value {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.separator {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--border-color);
    align-self: flex-start;
    padding-top: 1.5rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Form */
.notify-form {
    width: 100%;
    max-width: 450px;
}

.input-group {
    display: flex;
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.35rem;
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

button {
    background: white;
    color: black;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

button:hover {
    opacity: 0.9;
    transform: scale(0.98);
}

button:active {
    transform: scale(0.95);
}

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

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

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    padding: 0.5rem;
    background: var(--card-bg);
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown {
        gap: 0.8rem;
    }
    
    .time-block {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }
    
    .time-value {
        font-size: 2.5rem;
    }
    
    .separator {
        font-size: 2.5rem;
        padding-top: 1rem;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .input-group {
        flex-direction: column;
        border-radius: 16px;
        background: transparent;
        border: none;
    }
    
    input[type="email"] {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }
    
    button {
        width: 100%;
        border-radius: 12px;
        padding: 1rem;
    }

    .time-block {
        min-width: 70px;
    }
    
    .time-value {
        font-size: 2rem;
    }
}
