:root {
    --primary: #9b0808;
    --primary-light: #d61c1c;
    --secondary: #f6f5df;
    --dark-bg: #000000;
    --text-main: #f6f5df;
    --text-muted: rgba(246, 245, 223, 0.7);
    --glass-bg: rgba(246, 245, 223, 0.04);
    --glass-border: rgba(246, 245, 223, 0.1);
}

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

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

/* Animated Background */
.background-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        -45deg, 
        #000000, 
        #1a0202, 
        #330404, 
        #660505,
        #9b0808
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -2;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Moving Orbs Effect */
.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.background-animation::before {
    background: rgba(155, 8, 8, 0.4); /* Dark Red */
    top: 20%;
    left: 10%;
}

.background-animation::after {
    background: rgba(246, 245, 223, 0.05); /* Subtle Cream */
    bottom: 0%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.2); }
}

/* Texture Overlay */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Container & Glassmorphism */
.container {
    width: 90%;
    max-width: 800px;
    padding: 3rem;
    z-index: 10;
    text-align: center;
    position: relative;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.logo {
    font-size: 2.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--secondary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

/* Content */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(155, 8, 8, 0.2);
    border: 1px solid rgba(155, 8, 8, 0.4);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

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

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem;
    min-width: 100px;
    transition: transform 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: rgba(246, 245, 223, 0.25);
}

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

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

/* Form */
.notify-section {
    max-width: 500px;
    margin: 0 auto 3rem;
    position: relative;
}

.notify-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

#email-input {
    flex: 1;
    background: rgba(246, 245, 223, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

#email-input::placeholder {
    color: rgba(246, 245, 223, 0.4);
}

#email-input:focus {
    background: rgba(246, 245, 223, 0.1);
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(155, 8, 8, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #570404);
    color: var(--secondary);
    border: none;
    border-radius: 12px;
    padding: 0 1.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 8, 8, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 8, 8, 0.6);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.success-message {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 1rem;
    color: #4ade80;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.success-message.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 1rem;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(246, 245, 223, 0.05);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(155, 8, 8, 0.4);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem;
        width: 95%;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .countdown-container {
        gap: 0.8rem;
    }
    
    .time-box {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }
    
    .time-value {
        font-size: 1.8rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .btn-primary {
        padding: 1rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .countdown-container {
        flex-wrap: wrap;
    }
    
    .time-box {
        width: calc(50% - 0.4rem);
    }
}
