@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --danger: #ff003c;
    --danger-dim: #990024;
    --bg: #050505;
    --terminal-green: #00ff41;
}

body {
    background-color: var(--bg);
    color: var(--danger);
    font-family: 'JetBrains Mono', monospace;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 10px var(--danger);
}

.scanline {
    width: 100%;
    height: 100px;
    z-index: 10;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 0, 60, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
    position: absolute;
    bottom: 100%;
    animation: scanline 10s linear infinite;
}

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

    100% {
        bottom: -100px;
    }
}

.alert-box {
    border: 3px solid var(--danger);
    padding: 40px;
    background: rgba(255, 0, 60, 0.05);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.2), inset 0 0 30px rgba(255, 0, 60, 0.2);
    max-width: 800px;
    text-align: center;
    position: relative;
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

h1 {
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.ip-addr {
    font-size: 2rem;
    color: white;
    margin: 20px 0;
}

#countdown {
    font-size: 6rem;
    font-weight: 700;
    color: white;
    margin: 20px 0;
}

.warning-text {
    color: var(--danger);
    font-weight: bold;
    animation: blink 0.5s step-end infinite;
}

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

.footer-link {
    margin-top: 40px;
    color: #444;
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--danger);
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}