/* style2.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a40e5;
    --text-color: #333;
    --background: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(108, 99, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 75% 75%, rgba(255, 101, 132, 0.1) 0%, transparent 20%);
}

header {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

h1 {
    font-family: 'Syne Mono', monospace;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Animation for the 404 text */
h1 {
    animation: glitch 1s linear 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);
    }
}

/* Media queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
}