* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #001f39;
    color: #e9f4ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.error-container {
    text-align: center;
    padding: 50px 30px;
    max-width: 800px;
    width: 90%;
}

.error-card {
    background: #001124;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #003761;
    border-left: 8px solid #0062a7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0,0,0,0.3);
}

.error-header {
    background: url(../imgs/header_new.png);
    background-size: cover;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #006ab0;
    margin-bottom: 40px;
}

.error-header-content {
    background: hsl(0deg 0% 0% / 60%);
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
}

.error-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    color: #00aaff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 170, 255, 0.3);
}

.error-subtitle {
    font-size: clamp(18px, 4vw, 24px);
    color: #8ca8cc;
    margin-bottom: 30px;
    line-height: 1.4;
}

.error-description {
    background: #04192a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #00416f;
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.6;
}

.error-timer {
    font-size: 18px;
    color: #00ff4f;
    margin: 25px 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.timer-circle {
    width: 40px;
    height: 40px;
    border: 3px solid #00ff4f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.error-btn {
    position: relative;
    padding: 16px 35px;
    color: #fff;
    background: linear-gradient(to bottom, #00b033 0%, #00b034 50%, #008926 50%, #008926 100%);
    border: 2px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.error-btn:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid #00ff4f;
    border-radius: 4px;
    pointer-events: none;
}

.error-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.error-btn-secondary {
    background: linear-gradient(to bottom, #0572b9 0%, #0572bb 50%, #004b7c 50%, #004c7d 100%);
}

.error-btn-secondary:before {
    border-color: #45b6ff;
}

.icon-header-1 {
    width: 24px;
    height: 24px;
    background: url(../imgs/sprites.png);
    background-position: -9px -10px;
    margin-right: 0;
}

.icon-header-2 {
    width: 24px;
    height: 24px;
    background: url(../imgs/sprites.png);
    background-position: -9px -57px;
    margin-right: 0;
}

.error-footer {
    margin-top: 40px;
    color: #6c8bb5;
    font-size: 14px;
}

.error-code {
    font-family: monospace;
    background: #00294a;
    padding: 5px 15px;
    border-radius: 4px;
    border: 1px solid #003158;
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .error-card {
        padding: 30px 20px;
    }
    
    .error-title {
        font-size: 36px;
    }
    
    .error-subtitle {
        font-size: 20px;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .error-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .error-container {
        padding: 20px 15px;
    }
    
    .error-card {
        padding: 25px 15px;
    }
    
    .error-header {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .error-title {
        font-size: 28px;
    }
    
    .error-subtitle {
        font-size: 18px;
    }
    
    .error-description {
        padding: 20px;
        font-size: 14px;
    }
}