:root {
    --bg-color: #050505; /* Deep black from image */
    --text-color: #ffffff;
    --accent-green: #ccff00; /* Keeping for Logo */
    --accent-pink: #ff2a6d; /* "Ultimate Bonus" pink */
    --accent-purple: #7c3aed; /* Card glow purple */
    --gradient-primary: linear-gradient(to right, #c084fc, #ec4899, #ef4444); /* User provided gradient */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Cyber Grid Background */
.cyber-grid-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #050505;
    overflow: hidden;
    perspective: 1000px;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(192, 132, 252, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 132, 252, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg);
    transform-origin: center top;
    animation: grid-move 20s linear infinite;
    box-shadow: 0 0 100px rgba(192, 132, 252, 0.2);
}

.cyber-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #050505 80%);
    pointer-events: none;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 500px; } /* 10 * 50px */
}

/* Container */
.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 
        0 0 40px rgba(124, 58, 237, 0.1),
        inset 0 0 20px rgba(124, 58, 237, 0.05);
    overflow: hidden;
}

/* Neon Border Accent */
.content-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px var(--accent-pink);
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

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

/* Logo Styles (From User) */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    line-height: 1;
}

.logo-main {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0px;
}

.logo-sub {
    font-size: 1rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Hero Text */
.hero-text {
    margin-bottom: 3rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-unit .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    font-variant-numeric: tabular-nums;
}

.time-unit .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

.separator {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

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

.input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 50px; /* Pill shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(192, 132, 252, 0);
}

.input-group:focus-within {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-family: var(--font-family);
    font-size: 1rem;
    outline: none;
}

.input-group button {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
    filter: brightness(1.1);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

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

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-green);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-main {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }

    .countdown-container {
        gap: 0.5rem;
    }

    .time-unit {
        min-width: 60px;
    }

    .time-unit .number {
        font-size: 1.8rem;
    }

    .separator {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .input-group input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        margin-bottom: 1rem;
        width: 100%;
    }

    .input-group button {
        width: 100%;
        justify-content: center;
    }
}
