@charset "UTF-8";

/* --- 404 ERROR CONTENT --- */
.error-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.6s ease;
    min-height: 60vh;
}

.error-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    text-shadow: 4px 4px 0px rgba(30, 126, 52, 0.1);
    animation: bounce 1s ease;
}

.error-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin: 20px 0;
    color: var(--text-dark);
    font-weight: 600;
}

.error-desc {
    max-width: 600px;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.7;
    padding: 0 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .error-container {
        padding: 40px 20px;
    }

    .error-code {
        font-size: 6rem;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .error-code {
        text-shadow: none;
    }
}