.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: linear-gradient(135deg, #0a0a15 0%, #1a0a2e 50%, #0b0b1f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}


.loading-screen::before,
.loading-screen::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}

.loading-screen::before {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(192, 0, 255, 0.4), transparent);
    top: -200px;
    right: -200px;
    animation: orbitPrimary 15s ease-in-out infinite;
}

.loading-screen::after {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.3), transparent);
    bottom: -250px;
    left: -250px;
    animation: orbitSecondary 18s ease-in-out infinite;
}

@keyframes orbitPrimary {
    0%, 100% {
        opacity: 0.15;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.35;
        transform: translate(-150px, 150px) scale(1.15);
    }
}

@keyframes orbitSecondary {
    0%, 100% {
        opacity: 0.12;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(150px, -150px) scale(1.2);
    }
}

.logo-container {
    position: relative;
    margin-bottom: 3.5rem;
    animation: containerSlideIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes containerSlideIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

.outer-ring {
    width: 10rem;
    height: 10rem;
    border: 3px solid transparent;
    border-top-color: #c000ff;
    border-right-color: #0078ff;
    border-bottom-color: rgba(192, 0, 255, 0.2);
    border-left-color: rgba(0, 120, 255, 0.2);
    border-radius: 50%;
    animation: spinRing 2.8s linear infinite;
    box-shadow: 
        0 0 40px rgba(192, 0, 255, 0.4),
        inset 0 0 40px rgba(0, 120, 255, 0.15),
        0 0 80px rgba(192, 0, 255, 0.2);
}

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

.logo-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5.5rem;
    height: 5.5rem;
    background: linear-gradient(135deg, rgba(192, 0, 255, 0.2), rgba(0, 120, 255, 0.1));
    border: 1px solid rgba(192, 0, 255, 0.4);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    animation: pulseBox 2.2s ease-in-out infinite, glowBox 2.2s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(192, 0, 255, 0.3),
        inset 0 1px 10px rgba(255, 255, 255, 0.1);
}

@keyframes pulseBox {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.12);
    }
}

@keyframes glowBox {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(192, 0, 255, 0.3),
            inset 0 1px 10px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(192, 0, 255, 0.6),
            inset 0 1px 10px rgba(255, 255, 255, 0.2);
    }
}

.brand-text {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: textFadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

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

.brand-name {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(120deg, #c000ff 0%, #ffffff 40%, #0078ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin: 0 0 0.75rem 0;
    line-height: 1.1;
    filter: drop-shadow(0 0 30px rgba(192, 0, 255, 0.25));
}

.brand-tagline {
    font-size: 0.8rem;
    color: #a0adc7;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.progress-bar {
    width: 22rem;
    height: 0.45rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(192, 0, 255, 0.2);
    box-shadow: 0 0 20px rgba(192, 0, 255, 0.1);
    animation: barSlideIn 0.8s ease-out 0.4s both;
}

@keyframes barSlideIn {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 22rem;
    }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c000ff 0%, #0078ff 50%, #00d4ff 100%);
    border-radius: 50px;
    position: relative;
    transition: width 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
    box-shadow: 0 0 20px rgba(192, 0, 255, 0.6);
}

.progress-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmerMove 2s infinite;
}

@keyframes shimmerMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

.progress-text {
    font-size: 0.875rem;
    color: #a0adc7;
    font-weight: 600;
    letter-spacing: 1px;
    animation: numberFadeIn 0.6s ease-out 0.5s both;
}

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

.loading-dots {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.dot {
    width: 0.6rem;
    height: 0.6rem;
    background: linear-gradient(135deg, #c000ff, #0078ff);
    border-radius: 50%;
    animation: dotBounce 1.6s infinite;
    box-shadow: 0 0 15px rgba(192, 0, 255, 0.5);
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.25s;
}

.dot:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes dotBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-12px) scale(1.3);
        opacity: 1;
    }
}


.section-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
}

.loader-spinner {
    position: relative;
    width: 4rem;
    height: 4rem;
}

.loader-ring-outer {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: #c000ff;
    border-right-color: #0078ff;
    border-radius: 50%;
    animation: spinOuter 1.8s linear infinite;
    box-shadow: 0 0 20px rgba(192, 0, 255, 0.4);
}

.loader-ring-inner {
    position: absolute;
    inset: 0.5rem;
    border: 3px solid transparent;
    border-bottom-color: #0078ff;
    border-left-color: #c000ff;
    border-radius: 50%;
    animation: spinInner 1.2s linear infinite;
}

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

@keyframes spinInner {
    to {
        transform: rotate(-360deg);
    }
}

.loader-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.2rem;
    height: 1.2rem;
    background: linear-gradient(135deg, #c000ff, #0078ff);
    border-radius: 50%;
    animation: pulseLoader 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 20px rgba(192, 0, 255, 0.6);
}

@keyframes pulseLoader {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 1;
    }
}

.fade-out {
    animation: screenFadeOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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


@media (max-width: 768px) {
    .brand-name {
        font-size: 2.5rem;
    }

    .brand-tagline {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .outer-ring {
        width: 8rem;
        height: 8rem;
    }

    .progress-bar {
        width: 18rem;
    }

    .loading-dots {
        gap: 0.5rem;
    }

    .dot {
        width: 0.5rem;
        height: 0.5rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }

    .logo-container {
        margin-bottom: 2.5rem;
    }

    .outer-ring {
        width: 6.5rem;
        height: 6.5rem;
    }

    .progress-bar {
        width: 16rem;
    }
}

