* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    overflow: hidden;
    /* Kaydırmayı engeller */
}

#maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    z-index: 9999;
}

.glitch {
    color: #00ff41;
    /* Matrix yeşili */
    font-size: 5rem;
    font-weight: bold;
    position: relative;
    text-transform: uppercase;
}

/* Glitch Efekti Katmanları */
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
}

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

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

.sub-text {
    color: #00ff41;
    font-size: 1.2rem;
    letter-spacing: 7px;
    margin-top: 20px;
    opacity: 0.7;
    animation: blink 0.8s infinite;
}

/* Eski TV Tarama Çizgisi Efekti */
.scanline {
    width: 100%;
    height: 100px;
    z-index: 10000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.2) 10%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.1;
    position: absolute;
    bottom: 100%;
    animation: scanline 10s linear infinite;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }

    20% {
        clip: rect(62px, 9999px, 42px, 0);
    }

    100% {
        clip: rect(89px, 9999px, 98px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 85px, 0);
    }

    100% {
        clip: rect(18px, 9999px, 54px, 0);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes scanline {
    0% {
        bottom: 100%;
    }

    80% {
        bottom: 100%;
    }

    100% {
        bottom: 0%;
    }
}