:root {
    --primary: #7c4dff;
    --secondary: #00e5ff;
    --dark: #0a0b1e;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #b0b0b0;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.8;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--dark) 100%);
}

.container {
    width: 90%;
    max-width: 800px;
    padding: 3rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out;
}

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

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(124, 77, 255, 0.5));
}

.title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    min-width: 90px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

.time-box span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.time-box label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.subscribe-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

input[type="email"]:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 10px 20px -5px rgba(124, 77, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(124, 77, 255, 0.6);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer {
    margin-top: 3rem;
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: 0.3s;
}

.social-icon:hover {
    color: var(--secondary);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .container {
        padding: 2rem 1.5rem;
    }
    .title {
        font-size: 2rem;
    }
    .countdown {
        gap: 0.5rem;
    }
    .time-box {
        min-width: 70px;
        padding: 0.5rem;
    }
    .time-box span {
        font-size: 1.5rem;
    }
    .subscribe-form {
        flex-direction: column;
    }
}
