:root {
    --bg-color: #000000;
    --nav-bg: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #00f3ff;
    --font-primary: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    overflow: hidden;
    /* For full screen effect */
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

nav {
    background-color: var(--nav-bg);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 2px 10px rgba(0, 243, 255, 0.1);
    border-bottom: 1px solid #333;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #888;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 10px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5),
        0 0 20px rgba(0, 243, 255, 0.3);
    margin-bottom: 1rem;
    position: relative;
}

.flavor-text {
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: #888;
    text-transform: uppercase;
}

/* Glitch Effect Implementation - Simple CSS based */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(20px, 9999px, 50px, 0);
    }

    15% {
        clip: rect(5px, 9999px, 80px, 0);
    }

    100% {
        clip: rect(0, 0, 0, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    10% {
        clip: rect(70px, 9999px, 40px, 0);
    }

    15% {
        clip: rect(90px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(0, 0, 0, 0);
    }
}

.site-footer {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background-color: var(--nav-bg);
    border-top: 1px solid #333;
    position: relative;
    z-index: 10;
}

.site-footer p {
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 2px;
}