/* 404 Not Found Page Styles */
.not-found-page {
    padding: 0;
    background: radial-gradient(circle at 0% 0%, #f5fbff, #ffffff 55%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-page .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.not-found-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.not-found-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.not-found-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.not-found-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: #111217;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    flex-shrink: 0;
}

.not-found-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #111827;
}

.not-found-description {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.not-found-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.not-found-link {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 15px;
    transition: color 0.2s ease;
}

.not-found-link:hover {
    color: #0369a1;
}

.not-found-graphic {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.not-found-orbit {
    position: absolute;
    inset: 10% 8%;
    border-radius: 999px;
    border: 1px dashed rgba(143, 211, 255, 0.4);
    opacity: 0.9;
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.not-found-orbit-inner {
    position: absolute;
    inset: 15%;
    border-radius: inherit;
    border: 1px dashed rgba(143, 211, 255, 0.25);
    animation: rotate 18s linear infinite reverse;
}

.not-found-orbit-inner::before {
    content: "";
    position: absolute;
    inset: 20%;
    border-radius: inherit;
    border: 1px dashed rgba(143, 211, 255, 0.15);
    animation: rotate 22s linear infinite;
}

.not-found-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff, #aeb9c6);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.not-found-circle-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(143, 211, 255, 0.5);
}

.not-found-circle-orbit-inner {
    inset: 20%;
    animation: rotate 18s linear infinite reverse;
}

.not-found-circle-orbit-outer {
    inset: 10%;
    opacity: 0.4;
    animation: rotate 22s linear infinite;
}

.not-found-image {
    position: absolute;
    width: 130%;
    max-width: none;
    transform: translate(-50%, -50%);
    display: block;
    z-index: 2;
    animation: fadeIn 1s ease-out 0.7s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.not-found-decorative-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.not-found-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px rgba(143, 211, 255, 0.6);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.not-found-dot-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.not-found-dot-2 {
    top: 25%;
    right: 15%;
    animation-delay: 0.5s;
}

.not-found-dot-3 {
    bottom: 20%;
    left: 12%;
    animation-delay: 1s;
}

.not-found-dot-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 1.5s;
}

@media (max-width: 960px) {
    .not-found-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .not-found-text {
        order: 2;
    }

    .not-found-header {
        justify-content: center;
        flex-wrap: wrap;
    }

    .not-found-graphic {
        order: 1;
        max-width: 400px;
        height: 400px;
        margin: 0 auto;
    }

    .not-found-circle {
        width: 300px;
        height: 300px;
    }

    .not-found-description {
        max-width: 100%;
    }

    .not-found-actions {
        align-items: center;
    }
}

@media (max-width: 720px) {
    .not-found-header {
        gap: 16px;
    }

    .not-found-title {
        font-size: 32px;
    }

    .not-found-badge {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .not-found-graphic {
        max-width: 320px;
        height: 320px;
    }

    .not-found-circle {
        width: 260px;
        height: 260px;
    }

    .not-found-dot {
        width: 10px;
        height: 10px;
    }
}

