.status-page {
    position: relative;
    min-height: calc(100vh - 400px); /* Adjust based on header/footer height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(244, 245, 247);
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate;
}

/* Background Decorations */
.status-page::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.status-page::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.status-card {
    position: relative;
    max-width: 620px;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 20px 40px -4px rgba(0, 0, 0, 0.04);
    animation: statusFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes statusFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-card__icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.status-card__icon-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 32px;
    animation: statusPulse 2s infinite ease-out;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.2);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(0, 102, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

.status-card__icon {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h-color-blue);
}

.status-card__icon svg {
    width: 60px;
    height: 60px;
}

/* Drawing checkmark animation */
.status-card__icon svg path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: statusCheck 0.6s ease-in-out forwards;
    animation-delay: 0.4s;
}

@keyframes statusCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* 404 Code Style */
.status-card__code {
    font-size: 80px;
    font-weight: 700;
    color: var(--h-color-blue);
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.05em;
    animation: statusFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.status-card__title {
    font-family: var(--h-font);
    font-size: 2.25rem;
    line-height: 1.12;
    letter-spacing: -0.05em;
    font-weight: 500;
    color: #111827;
    margin: 0 0 16px;
}

.status-card__text {
    font-family: var(--h-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--h-color-muted);
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

.status-card__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.status-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 40px;
    background: var(--h-color-blue);
    color: #ffffff !important;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 12px 24px rgba(0, 102, 255, 0.2);
}

.status-card__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 102, 255, 0.3);
    background: #005ce6;
}

.status-card__btn:active {
    transform: translateY(-1px);
}

.status-card__secondary-link {
    font-size: 14px;
    color: var(--h-color-muted);
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.status-card__secondary-link:hover {
    color: var(--h-color-blue);
    border-bottom-color: currentColor;
}

@media (max-width: 768px) {
    .status-page {
        padding: 48px 0;
        min-height: auto;
    }
    
    .status-page .projects-container {
        padding-inline: 16px;
    }
    
    .status-card {
        padding: 50px 24px;
        border-radius: 32px;
    }
    
    .status-card__title {
        font-size: 30px;
    }
    
    .status-card__text {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .status-card__code {
        font-size: 60px;
        margin-bottom: 24px;
    }
}
