@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

:root {
    --glow-color: #00ff41;
}

body {
    background-color: #000;
    color: var(--glow-color);
    font-family: 'Space Mono', monospace;
    margin: 0;
    overflow-x: hidden;
    /* Necessary for the 3D feel */
    perspective: 1000px;
}

.header-text {
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Hero Section Container */
#hero-section {
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

/* Glitch Effect */
.glitch {
    position: relative;
    font-weight: 700;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: black;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 9999px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    100% { clip: rect(10px, 9999px, 85px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    100% { clip: rect(10px, 9999px, 50px, 0); }
}

/* Content Reveal Classes */
.hidden-reveal {
    opacity: 0;
    transform: scale(0.9) translateY(50px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}
#corner-access-badge {
    box-shadow: 10px 0px 15px -5px rgba(0, 255, 65, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
    border-right: 2px solid var(--glow-color);
}
/* Special glow for the Overseer name */
.text-red-500 {
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.7);
    letter-spacing: 0.2em;
}

/* --- FIX FOR ENDLESS SCROLL --- */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Stops side scrolling */
}

/* Force the hero container to never grow bigger than the screen */
#hero-section {
    position: fixed; /* Locks it in place */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* CRITICAL: Cuts off the zoomed-in text edges */
    z-index: -1; /* Keeps it behind your content */
    pointer-events: none; /* Lets you scroll "through" it */
}

/* Ensure the page actually has an end */
#main-content {
    position: relative;
    z-index: 10;
    margin-top: 100vh; /* Pushes content below the hero */
    background: black; /* Covers the hero when you scroll down */
    min-height: 100vh;
}