:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --background-start: #1e1e2e;
    --background-end: #2d2d44;
    --text-color: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--background-start), var(--background-end));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    padding: 2rem;
}

.container {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.error-message {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    opacity: 0.9;
}

.error-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    line-height: 1.6;
}

.timer-animation {
    width: 150px;
    height: 150px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-color);
    border-right: 4px solid var(--secondary-color);
    border-radius: 50%;
    margin: 2rem auto;
    animation: spin 2s linear infinite;
}

.home-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .error-code {
        font-size: 6rem;
    }

    .error-message {
        font-size: 1.2rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .timer-animation {
        width: 100px;
        height: 100px;
    }
} 