

@font-face { font-family: nunito; src: url(../fonts/nunito-600.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: nunito; src: url(../fonts/nunito-600.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: nunito; src: url(../fonts/nunito-900.woff2) format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

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



html, body {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}
.err-page {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    background: #2e2f31;
    font-family: nunito, sans-serif;
    font-size: 15px;
    color: #eeeeee;
    -webkit-text-size-adjust: 100%;
}
.err-page * { box-sizing: border-box; }
.err-card {
    width: 100%;
    max-width: 520px;
    max-height: 100%;
    overflow: hidden;
    background: #242425;
    border: 1px solid #111111;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    padding: 40px 30px;
    text-align: center;
}
.err-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(34, 166, 179, 0.12);
    color: #22a6b3;
    font-size: 28px;
    font-weight: 900;
}
.err-icon--error { background: rgba(235, 77, 75, 0.12); color: #eb4d4b; }
.err-code {
    font-size: 52px;
    font-weight: 900;
    color: #22a6b3;
    line-height: 1.1;
    letter-spacing: 2px;
}
.err-title { margin: 10px 0 8px; font-size: 22px; font-weight: 600; color: #eeeeee; text-transform: uppercase; }
.err-msg { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: #999999; word-break: break-word; }
.err-msg a { color: #22a6b3; text-decoration: underline; }
.err-count { font-weight: 600; color: #22a6b3; }
.err-countdown { color: #eeeeee; }
.err-actions { margin-top: 22px; }
.err-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 26px;
    margin: 0 6px 8px;
    border-radius: 0;
    background: #22a6b3;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background .3s ease;
}
.err-btn:hover { background: #1c8f99; color: #ffffff; }
.err-btn--ghost { background: transparent; color: #22a6b3; border: 1px solid #22a6b3; }
.err-btn--ghost:hover { background: rgba(34, 166, 179, 0.1); }
.err-footer { margin-top: 24px; font-size: 12px; color: #757575; }
 
@media (max-width: 480px) {
    .err-page { padding: 16px; }
    .err-card { padding: 28px 18px; }
    .err-code { font-size: 44px; }
    .err-icon { width: 56px; height: 56px; line-height: 56px; }
    .err-title { font-size: 18px; }
    .err-msg { font-size: 13px; }
    .err-btn { padding: 0 20px; }
}

 
@media (max-height: 560px) {
    .err-page { padding: 10px; }
    .err-card { padding: 14px 18px; }
    .err-icon { width: 44px; height: 44px; line-height: 44px; font-size: 20px; margin-bottom: 8px; }
    .err-code { font-size: 34px; }
    .err-title { font-size: 16px; margin: 6px 0 4px; }
    .err-msg { font-size: 13px; margin-bottom: 8px; }
    .err-actions { margin-top: 10px; }
    .err-btn { height: 34px; padding: 0 18px; }
    .err-footer { margin-top: 10px; }
}
@media (max-height: 400px) {
    .err-page { padding: 6px; }
    .err-card { padding: 8px 14px; }
    .err-icon { width: 32px; height: 32px; line-height: 32px; font-size: 15px; margin-bottom: 4px; }
    .err-code { font-size: 26px; }
    .err-title { font-size: 14px; margin: 4px 0 2px; }
    .err-msg { font-size: 12px; margin-bottom: 4px; }
    .err-actions { margin-top: 6px; }
    .err-btn { height: 28px; padding: 0 14px; font-size: 12px; }
    .err-footer { margin-top: 6px; }
}