@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
    --bg-color: #050505;
    --text-main: #00ff00;
    --text-dim: #00aa00;
    --highlight: #ffffff;
    --scanline-color: rgba(0, 255, 0, 0.05);
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'VT323', 'Courier New', Courier, monospace;
    overflow-x: hidden;
    line-height: 1.2;
}

/* CRT Scanline effect */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            var(--scanline-color) 50%,
            var(--scanline-color));
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
}

#scanline {
    width: 100vw;
    height: 100px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(32, 194, 14, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
    position: fixed;
    top: 0;
    left: 0;
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 1000;
}

@keyframes scanline {
    0% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(100vh);
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    border-bottom: 2px solid var(--text-dim);
    margin-bottom: 20px;
    padding-bottom: 5px;
}

marquee {
    font-size: 24px;
    text-shadow: 0 0 5px var(--text-main);
    letter-spacing: 2px;
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.ascii-art {
    white-space: pre;
    text-align: center;
    font-size: 14px;
    margin: 30px 0;
    color: var(--text-dim);
    text-shadow: 0 0 2px var(--text-dim);
}

.terminal {
    background: #000;
    border: 1px solid var(--text-dim);
    padding: 15px;
    margin: 20px 0;
    font-size: 18px;
    box-shadow: inset 0 0 10px #003300;
}

.log-output {
    margin-bottom: 10px;
    color: var(--text-dim);
}

.input-line {
    display: flex;
}

.prompt {
    margin-right: 10px;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hyperstition {
    margin: 40px 0;
    border-left: 4px solid var(--text-main);
    padding-left: 20px;
}

.hyperstition h1 {
    font-size: 28px;
    margin-top: 0;
    text-shadow: 0 0 8px var(--text-main);
}

.hyperstition p {
    font-size: 20px;
    max-width: 600px;
}

.highlight {
    color: var(--highlight);
    background-color: var(--text-main);
    padding: 0 5px;
    text-shadow: none;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.menu li {
    margin-bottom: 10px;
}

.menu a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 22px;
}

.menu a:hover {
    color: #000;
    background-color: var(--text-main);
    text-decoration: blink;
}

footer {
    margin-top: 50px;
    border-top: 1px dashed var(--text-dim);
    padding-top: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
}

.visitor-counter {
    margin-bottom: 5px;
}

::selection {
    background: var(--text-main);
    color: #000;
}

/* Matrix Button Specifics */
.matrix-link {
    margin: 30px 0;
    text-align: center;
}

.matrix-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--text-main);
    color: var(--text-main);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 10px var(--text-main);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2), inset 0 0 10px rgba(0, 255, 0, 0.2);
    transition: all 0.1s;
}

.matrix-btn:hover {
    background: var(--text-main);
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 20px var(--text-main);
}