/* RESET & CORE VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --royal-purple: #1a0033;
    --deep-bg: #0d001a;
    --neon-pink: #ff007f;
    --neon-purple: #9d00ff;
    --neon-cyan: #00f0ff;
    --text-white: #ffffff;
}

body {
    background-color: var(--deep-bg);
    color: var(--text-white);
    overflow-x: hidden;
    width: 100%;
}

/* RESPONSIVE NAVIGATION HEADER */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(13, 0, 26, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(157, 0, 255, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    text-shadow: 0 0 10px var(--neon-purple);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

/* Login & Signup Buttons */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-buttons button {
    background: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    border: 1px solid var(--neon-purple);
    padding: 8px 18px;
    border-radius: 5px;
}

.btn-signup {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    padding: 8px 18px;
    border-radius: 5px;
    color: white !important;
    border: none;
}

.menu-toggle {
    display: none;
}

/* VIDEO HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 0, 26, 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    margin-top: 60px;
}

/* ANIMATED GRADIENT HEADLINE */
.animated-gradient-text {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s linear infinite;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* NEON COUNTDOWN LAYOUT */
.countdown-container h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--neon-pink);
    margin-bottom: 20px;
}

#countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(26, 0, 51, 0.75);
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.4);
    border-radius: 10px;
    padding: 15px;
    min-width: 100px;
}

.time-box span {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    display: block;
}

.time-box p {
    font-size: 0.8rem;
    color: #bbb;
    text-transform: uppercase;
    margin-top: 5px;
}

/* CONTENT BELOW HERO */
.info-section {
    padding: 100px 10%;
    text-align: center;
    background-color: var(--royal-purple);
    position: relative;
    z-index: 2;
}

.info-section h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--neon-cyan);
}

.info-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0d0f0;
}

/* FOOTER SYSTEM */
footer {
    background-color: #05000a;
    padding: 40px 5% 20px 5%;
    border-top: 1px solid rgba(157, 0, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon-pink);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #111;
    padding-top: 20px;
}

/* POPUP MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 0, 10, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--royal-purple);
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 25px rgba(157, 0, 255, 0.5);
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    padding: 35px 25px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--neon-pink);
}

.form-container h2 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 5px;
    text-shadow: 0 0 8px var(--neon-purple);
}

.form-subtitle {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
    text-align: left;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    background: rgba(13, 0, 26, 0.6);
    border: 1px solid rgba(157, 0, 255, 0.4);
    padding: 12px;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.form-footer a {
    color: var(--neon-cyan);
    text-decoration: none;
}

.form-footer p {
    color: #888;
}

.hidden {
    display: none !important;
}

.user-welcome {
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-weight: bold;
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.05);
}

.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(157, 0, 255, 0.2);
    z-index: 1;
}

.divider span {
    background: var(--royal-purple);
    padding: 0 10px;
    position: relative;
    z-index: 2;
    color: #666;
    font-size: 0.8rem;
}

.btn-google {
    width: 100%;
    background: #ffffff;
    color: #333333;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google i {
    color: #4285F4;
    font-size: 1.1rem;
}

/* MOBILE RESPONSIVENESS & HAMBURGER SYSTEM OVERHAUL */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--text-white);
        transition: all 0.3s ease-in-out;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(13, 0, 26, 0.98);
        backdrop-filter: blur(15px);
        width: 75%;
        height: 100vh;
        text-align: center;
        padding: 100px 0 40px 0;
        transition: 0.3s right ease-in-out;
        box-shadow: -10px 0 20px rgba(0,0,0,0.6);
        gap: 25px;
    }

    .nav-links.active {
        right: 0;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 20px;
    }
    
    .auth-buttons a, .auth-buttons button {
        width: 80%;
    }

    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .animated-gradient-text { 
        font-size: 2.3rem; 
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    #countdown { gap: 10px; }
    .time-box { min-width: 70px; padding: 10px; }
    .time-box span { font-size: 1.6rem; }
}