:root {
    --glow-color: #00ff41;
    --bg-color: #050505;
}

body, html {
    height: 100%;
    margin: 0;
    background-color: var(--bg-color);
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-transform: uppercase;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* --- CANVAS SISTEM SOLAR --- */
#spaceCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- CRT & VIGNETTE OVERLAY --- */
.container::before {
    content: " "; display: block; position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 4; background-size: 100% 2px, 3px 100%; pointer-events: none;
}
.container::after {
    content: " "; display: block; position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: radial-gradient(circle, rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 4; pointer-events: none;
}

/* --- IMAGINE SUS --- */
.top-image {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 225px;
    width: 40%;
    filter: grayscale(100%) brightness(0.9) contrast(1.3);
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

/* --- TEXT JOS --- */
.bottom-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    animation: flicker 0.15s infinite;
}

/* --- EFECT GLITCH --- */
h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 10px;
    color: #fff;
    text-shadow: 0 0 10px var(--glow-color);
    position: relative;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 3px;
    text-shadow: -3px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -3px;
    text-shadow: -3px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 42px, 0); }
    40% { clip: rect(16px, 9999px, 78px, 0); }
    60% { clip: rect(89px, 9999px, 13px, 0); }
    80% { clip: rect(54px, 9999px, 33px, 0); }
    100% { clip: rect(2px, 9999px, 91px, 0); }
}

p { font-size: 1.2rem; letter-spacing: 4px; opacity: 0.8; color: var(--glow-color); text-shadow: 0 0 5px var(--glow-color); }

@keyframes flicker { 0% { opacity: 0.98; } 100% { opacity: 1; } }

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; letter-spacing: 5px; }
}