.Loading {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.20), rgba(13, 13, 26, 0.96)), radial-gradient(circle at 80% 80%, rgba(0, 153, 255, 0.15), rgba(13, 13, 26, 0.96));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.LoadingContent {
    text-align: center;
    padding: 24px;
    background: linear-gradient(145deg, rgba(20, 18, 30, 0.96), rgba(13, 13, 26, 0.96));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 212, 255, 0.12), 0 0 50px rgba(0, 212, 255, 0.25);
    backdrop-filter: blur(16px);
}

.LoadingTitle {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    color: #dbeafe;
    filter: none;
}

.LoadingSpinnerLarge {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 16px auto;
    display: grid;
    place-items: center;
}

.LoadingSpinnerLarge::before,
.LoadingSpinnerLarge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.LoadingSpinnerLarge::before {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.35) 0%, rgba(0, 212, 255, 0.15) 40%, transparent 60%);
    filter: blur(14px);
    animation: pulseCore 2s ease-in-out infinite;
}

.LoadingSpinnerLarge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ffffff 0%, #e0e0ff 50%, #a0a0ff 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(99, 102, 241, 0.6);
    z-index: 2;
}

.LoadingSpinnerLarge svg {
    width: 64px;
    height: 64px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

.LoadingSpinnerLarge circle {
    fill: none;
    stroke: url(#loadingGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 276;
    stroke-dashoffset: calc(276 - (var(--load-progress, 0) / 100) * 276);
    transition: stroke-dashoffset 0.35s ease, stroke 0.35s ease;
}

.LoadingProgress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 12px;
}

.LoadingProgressBar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: width 0.3s ease;
}

@keyframes pulseCore {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes dotPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
    }
}

.settings-btn {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.65);
    padding: 7px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(143, 31, 255, 0.6);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 12px rgba(143, 31, 255, 0.3);
}

.settings-btn.active {
    background: rgba(143, 31, 255, 0.2);
    color: #bc79ff;
    border-color: rgba(143, 31, 255, 0.5);
}