/* --- 404 Page --- */
.error-404-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.error-404-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.error-404-number {
    font-size: clamp(8rem, 20vw, 20rem);
    font-weight: 500;
    line-height: 0.8;
    margin-bottom: 2rem;
    color: var(--color-bg-dark);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.05em;
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;

    /* Hidden initially for GSAP */
}

.error-404-digit {
    display: inline-block;
    position: relative;
}

.error-404-title {
    /* font-size: var(--display-size-md) */
    /* font-weight: 500 */
    /* letter-spacing: -0.02em */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.error-404-desc {
    font-size: var(--text-size-base);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 3rem;
}

.error-404-divider {
    width: 60px;
    height: var(--line-thickness);
    background-color: var(--color-bg-dark);
    margin: 0 auto 2.5rem;
}

/* Background Decoration */
.error-404-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40vw;
    font-weight: 700;
    color: var(--color-bg-dark);
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
}