/* Remodel Wow 404 Page */
.rw-error-page {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f7f4f1 100%);
    position: relative;
    overflow: hidden;
}

.rw-error-page::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(90, 63, 52, 0.08);
    top: -180px;
    right: -120px;
}

.rw-error-page::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(31, 31, 31, 0.05);
    bottom: -120px;
    left: -90px;
}

.rw-error-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 34px;
    padding: 70px 60px;
    text-align: center;
    border: 1px solid rgba(90, 63, 52, 0.12);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.08);
}

.rw-error-code {
    font-size: 120px;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #5a3f34;
    margin-bottom: 25px;
}

.rw-error-content .section-sub-title {
    display: inline-block;
    margin-bottom: 16px;
}

.rw-error-content h1 {
    max-width: 850px;
    margin: 0 auto 22px;
    font-size: 52px;
    line-height: 1.12;
}

.rw-error-content p {
    max-width: 760px;
    margin: 0 auto;
    color: #666666;
    line-height: 1.8;
}

.rw-error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.rw-error-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1f1f1f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: all 0.3s ease;
}

.rw-error-link:hover {
    color: #5a3f34;
}

.rw-error-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 35px;
    border-top: 1px solid rgba(90, 63, 52, 0.12);
}

.rw-error-links a {
    display: inline-flex;
    padding: 11px 18px;
    border-radius: 100px;
    background: #f7f4f1;
    color: #1f1f1f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(90, 63, 52, 0.1);
    transition: all 0.3s ease;
}

.rw-error-links a:hover {
    background: #5a3f34;
    color: #ffffff;
    border-color: #5a3f34;
    transform: translateY(-2px);
}

.rw-error-note {
    max-width: 720px;
    margin: 34px auto 0;
    padding: 24px 28px;
    border-radius: 22px;
    background: #1f1f1f;
}

.rw-error-note p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 10px;
}

.rw-error-note a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.rw-error-note a:hover {
    color: #d8c5b7;
}

@media (max-width: 991px) {
    .rw-error-page {
        padding: 90px 0;
    }

    .rw-error-card {
        padding: 55px 35px;
        border-radius: 28px;
    }

    .rw-error-code {
        font-size: 96px;
    }

    .rw-error-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .rw-error-page {
        padding: 70px 0;
    }

    .rw-error-card {
        padding: 42px 22px;
        border-radius: 24px;
    }

    .rw-error-code {
        font-size: 78px;
    }

    .rw-error-content h1 {
        font-size: 31px;
    }

    .rw-error-content p {
        font-size: 15px;
    }

    .rw-error-actions {
        flex-direction: column;
        gap: 14px;
    }

    .rw-error-links {
        gap: 9px;
    }

    .rw-error-links a {
        font-size: 13px;
        padding: 10px 14px;
    }

    .rw-error-note {
        padding: 22px 18px;
    }
}