.page-transition {
    position: fixed;
    inset: 0;
    background: rgba(10, 0, 31, 0.96);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.transition-content {
    text-align: center;
    color: #ffffff;
}

.transition-content p {
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 20px;
    letter-spacing: 1px;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top: 6px solid #00f0ff; /* cyan accent matching your theme */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}