:root {
    --primary: #00f2ff;
    --secondary: #bc13fe;
    --dark: #05070a;
    --glass: rgba(5, 7, 10, 0.6);
    --glass-border: 1px solid rgba(0, 242, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.landing-page {
    background-color: var(--dark);
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    overflow: hidden;
    /* No scrolling for this impactful view */
    background-image: url('https://imgur.com/upload/fallback-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* --- Video Background --- */
#video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -10;
    pointer-events: none;
    opacity: 0.4;
    filter: contrast(1.2) saturate(1.1);
}

@media (min-aspect-ratio: 16/9) {
    #video-background {
        width: 100vw;
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    #video-background {
        height: 100vh;
        width: 177.78vh;
    }
}

/* --- Overlay Scanlines --- */
.overlay-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center, transparent, #000 120%),
        linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 50%);
    background-size: 100% 100%, 100% 4px;
    z-index: -5;
    pointer-events: none;
}

/* --- Navbar (Glass) --- */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 100;
    backdrop-filter: blur(5px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.nav-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--primary);
    font-size: 2rem;
}

.text-highlight {
    color: var(--primary);
}

.btn-nav {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn-nav:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}

/* --- Center Hero --- */
.hero-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-center {
    position: relative;
    z-index: 20;
    animation: fadeIn 2s ease-out;
}

.hero-glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 2px 2px var(--primary), -2px -2px var(--secondary);
    animation: glitch 3s infinite alternate;
}

.hero-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 15px;
    color: var(--primary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 2rem 0;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #0f0;
    border-radius: 50%;
    box-shadow: 0 0 10px #0f0;
}

.pulse {
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* --- Epic Buttons --- */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 3rem;
    justify-content: center;
}

.btn-epic-login {
    position: relative;
    background: var(--primary);
    border: none;
    padding: 1.2rem 3rem;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    cursor: pointer;
    transition: transform 0.2s;
    overflow: hidden;
}

.btn-epic-login:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary);
}

.btn-epic-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem 3rem;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn-epic-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Bottom Bar --- */
.bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-val {
    display: block;
    font-family: 'Bebas Neue';
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}

.stat-lbl {
    display: block;
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 2px;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Epic Modal --- */
.glass-card {
    background: rgba(10, 18, 25, 0.95);
    border: 1px solid var(--primary);
    box-shadow: 0 0 100px rgba(0, 242, 255, 0.15);
    border-radius: 4px;
    /* Industrial look */
}

.modal-title {
    font-family: 'Orbitron';
    letter-spacing: 2px;
    color: var(--primary);
}

.btn-close-white {
    filter: invert(1);
}

.input-group-epic {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #333;
    transition: 0.3s;
}

.input-group-epic:focus-within {
    border-color: var(--primary);
}

.input-icon {
    font-size: 1.5rem;
    color: #666;
    margin-right: 15px;
    transition: 0.3s;
}

.input-group-epic:focus-within .input-icon {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.form-control-epic {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    padding: 15px 0;
    font-family: 'Rajdhani';
    font-size: 1.2rem;
}

.form-control-epic:focus {
    outline: none;
}

.form-control-epic::placeholder {
    color: #444;
}

.btn-epic-submit {
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.1), transparent);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1rem;
    font-family: 'Orbitron';
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 2rem;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-epic-submit:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 30px var(--primary);
}

.text-muted-cyan {
    color: rgba(0, 242, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 2px 2px var(--primary), -2px -2px var(--secondary);
    }

    25% {
        text-shadow: -2px 2px var(--secondary), 2px -2px var(--primary);
    }

    50% {
        text-shadow: 2px -2px var(--primary), -2px 2px var(--secondary);
    }

    75% {
        text-shadow: -2px -2px var(--secondary), 2px 2px var(--primary);
    }

    100% {
        text-shadow: 2px 2px var(--primary), -2px -2px var(--secondary);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .navbar-glass {
        padding: 1rem;
    }

    .hero-glitch {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }

    .bottom-bar {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }

    .btn-epic-login,
    .btn-epic-outline {
        width: 100%;
    }
}