
* {
    box-sizing: border-box;
}
html {
    background: #110b08;
    color: #fff3e7;
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
}
.error-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 35%, #442317 0%, #21130e 40%, #110b08 80%);
}
.error-page::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 125, 35, 0.15), transparent 70%);
    pointer-events: none;
}
.error-container {
    position: relative;
    z-index: 1;
    width: min(600px, 100%);
    text-align: center;
}
.error-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    color: #fff3e7;
    font-size: 28px;
    font-weight: 900;
    text-decoration: none;
}
.error-brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}
.error-card {
    padding: 45px 35px;
    background: rgba(29, 18, 13, 0.9);
    border: 1px solid #704525;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.error-label {
    color: #ffb347;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}
.error-card h1 {
    margin: 10px 0;
    font-size: clamp(100px, 20vw, 160px);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(180deg, #ffe29a, #ffad3f 55%, #d96921);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(255, 135, 30, 0.15));
}
.error-card h2 {
    margin: 0 0 15px;
    color: #fff3e7;
    font-size: clamp(24px, 5vw, 32px);
}
.error-card p {
    max-width: 430px;
    margin: 0 auto 30px;
    color: #cbb8a8;
    font-size: 15px;
    line-height: 1.7;
}
.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.error-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    padding: 12px 22px;
    border: 1px solid #a56832;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.error-button-primary {
    background: linear-gradient(180deg, #ffc16a, #ed9635);
    color: #241409;
}
.error-button-primary:hover {
    background: #ffd18b;
    box-shadow: 0 4px 20px rgba(255, 150, 40, 0.25);
}
.error-button-outline {
    background: #2b1b12;
    color: #ffbd64;
}
.error-button-outline:hover {
    background: #422818;
}
.error-button:focus-visible,
.error-brand:focus-visible {
    outline: 2px solid #ffc16a;
    outline-offset: 4px;
}
.error-footer {
    margin-top: 30px;
    color: #a78a75;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}
@media (max-width: 600px) {
    .error-page {
        padding: 25px 15px;
    }
    .error-card {
        padding: 35px 20px;
    }
    .error-actions {
        flex-direction: column;
    }
    .error-button {
        width: 100%;
    }
    .error-footer {
        letter-spacing: 2px;
    }
}

.error-actions form {
    margin: 0;
}
.error-actions button {
    font-family: inherit;
    cursor: pointer;
}
@media (max-width: 600px) {
    .error-actions form {
        width: 100%;
    }
}
