/* Основной контейнер с тенью */
.error-box {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    border: 1px solid #e8e8e8;
    margin: 30px auto;
    overflow: hidden;
}

/* Тонированная верхняя полоса */
.error-top-strip {
    width: 100%;
    background: #f3f3f3; /* лёгкий сероватый фон */
    padding: 26px 24px;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    color: #444;
}

/* Область контента */
.error-content {
    padding: 40px 50px 46px;
    text-align: center;
}

/* Крупные оранжевые цифры */
.error-title {
    font-size: 96px;
    font-weight: 800;
    color: #ff7a21;
    margin: 0 0 10px;
    line-height: 1;
}

/* Описание */
.error-text {
    font-size: 19px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Кнопка */
.error-btn {
    display: inline-block;
    padding: 14px 26px;
    background: #ff7a21;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.2s;
    margin-bottom: 32px;
}

.error-btn:hover {
    background: #ff8c40;
}

.error-socials {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.error-socials img {
    width: 94px;
    height: 94px;
    transition: 0.25s;
}

.error-socials img:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

/* Разделитель между кнопкой и соцсетями */
.error-divider {
    width: 100%;
    max-width: 340px;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.18), rgba(0,0,0,0));
    margin: 26px auto 34px;
}

/* Адаптив */
@media (max-width: 767.98px) {
    .error-content {
        padding: 34px 30px 40px;
    }
    .error-title {
        font-size: 86px;
    }
    .error-top-strip {
        font-size: 19px;
        padding: 20px 14px;
    }
}

@media (max-width: 575.98px) {
    .error-socials img {
        width: 74px;
        height: 74px;
    }
    .error-divider {
        max-width: 260px;
        margin: 22px auto 30px;
    }
}

@media (max-width: 375px) {
    .error-btn {
        width: 100%;
    }
    .error-title {
        font-size: 82px;
    }
    .error-socials img {
        width: 64px;
        height: 64px;
    }
}