.notfound404-page {
    background: linear-gradient(135deg, #00519b 0%, #ffffff 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    position: relative;
    overflow: hidden;
}

.notfound404-page::before,
.notfound404-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.notfound404-page::before {
    width: 220px;
    height: 220px;
    top: 40px;
    left: 8%;
}

.notfound404-page::after {
    width: 160px;
    height: 160px;
    bottom: 60px;
    right: 10%;
}

.notfound404-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    width: 100%;
}

.notfound404-deco {
    position: absolute;
    color: rgba(255, 255, 255, 0.25);
    font-size: 18px;
    font-weight: 700;
    user-select: none;
}

.notfound404-deco-1 { top: 8%; left: 12%; }
.notfound404-deco-2 { top: 18%; right: 14%; }
.notfound404-deco-3 { bottom: 22%; left: 18%; }
.notfound404-deco-4 { bottom: 12%; right: 16%; }

.notfound404-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    position: relative;
}

.notfound404-digit {
    font-size: 120px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.notfound404-zero-wrap {
    position: relative;
    width: 92px;
    height: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notfound404-lens {
    width: 78px;
    height: 78px;
    border: 10px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
}

.notfound404-handle {
    position: absolute;
    width: 34px;
    height: 12px;
    background: #4a5568;
    border-radius: 6px;
    transform: rotate(42deg);
    bottom: 8px;
    right: -6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.notfound404-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 16px;
    font-family: "Montserrat", sans-serif;
}

.notfound404-message {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 520px;
}

.notfound404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.notfound404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: "Montserrat", sans-serif;
}

.notfound404-btn-primary {
    background: #ffffff;
    color: #00519b;
    border: 2px solid #ffffff;
}

.notfound404-btn-primary:hover {
    background: #f0f7ff;
    color: #003d75;
    transform: translateY(-2px);
}

.notfound404-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.notfound404-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .notfound404-digit {
        font-size: 72px;
    }

    .notfound404-zero-wrap {
        width: 58px;
        height: 72px;
    }

    .notfound404-lens {
        width: 48px;
        height: 48px;
        border-width: 7px;
    }

    .notfound404-handle {
        width: 22px;
        height: 8px;
        bottom: 4px;
        right: -4px;
    }

    .notfound404-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .notfound404-message {
        font-size: 15px;
    }

    .notfound404-btn {
        min-width: 140px;
        width: 100%;
        max-width: 260px;
    }
}
