body {
    background: linear-gradient(to bottom, #000000, #001a33);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    text-align: center;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 2s;
}

h1 {
    font-size: 3em;
    text-shadow: 0 0 10px #00ffff;
    margin: 0;
    position: relative;
    display: inline-block;
}

h1::before, h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #00ffff;
    opacity: 0.5;
    animation: glitch 2s infinite;
}

h1::before {
    clip: rect(0, 900px, 0, 0);
    animation-delay: 0.5s;
}

h1::after {
    clip: rect(0, 900px, 0, 0);
    animation-delay: 1s;
}

p {
    font-size: 1.2em;
    margin: 10px 0 0;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    animation: scan 5s linear infinite;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #00ffff;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

@keyframes glitch {
    0% { clip: rect(0, 900px, 0, 0); }
    10% { clip: rect(10px, 900px, 20px, 0); }
    20% { clip: rect(20px, 900px, 30px, 0); }
    30% { clip: rect(30px, 900px, 40px, 0); }
    40% { clip: rect(40px, 900px, 50px, 0); }
    50% { clip: rect(50px, 900px, 60px, 0); }
    60% { clip: rect(60px, 900px, 70px, 0); }
    70% { clip: rect(70px, 900px, 80px, 0); }
    80% { clip: rect(80px, 900px, 90px, 0); }
    90% { clip: rect(90px, 900px, 100px, 0); }
    100% { clip: rect(0, 900px, 0, 0); }
}

@media (max-width: 600px) {
    h1 { font-size: 2em; }
    p { font-size: 1em; }
}