:root {
    --text-color: #ffffff;
    --math-color: #00ff41;
    /* Matrix Green */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
    overflow: hidden;
    background: #000;
    height: 100vh;
    width: 100vw;
}

#glCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

#math-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.math-item {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    color: var(--math-color);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    /* Essential for typewriter effect */
    border-right: 2px solid var(--math-color);
    /* The cursor */
    text-shadow: 0 0 4px var(--math-color);
    opacity: 0.8;
}

/* Typewriter and Blink Animations */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--math-color)
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.center-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
}

.brand {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    animation: pulse 3s infinite ease-in-out;
}

.status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    opacity: 0.8;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brand {
        font-size: 3rem;
    }

    .status {
        font-size: 1rem;
    }
}