/* Hypnotic Loading Screen styles */
.loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000; /* fall-back if var not available yet */
    background: var(--black-void, #000000);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.hypnotic-spiral {
    width: 200px;
    height: 200px;
    position: relative;
    margin-bottom: 3rem;
}

.spiral-ring {
    position: absolute;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-gold, #FFD700);
    border-radius: 50%;
    animation: spiral-rotate 3s linear infinite;
}

.spiral-ring:nth-child(1) {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 10px;
    animation-delay: 0s;
}

.spiral-ring:nth-child(2) {
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
    animation-delay: 0.2s;
    border-top-color: var(--secondary-gold, #D4AF37);
}

.spiral-ring:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    animation-delay: 0.4s;
    border-top-color: var(--dark-gold, #B8860B);
}

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

.loading-text {
    font-size: 1.2rem;
    color: var(--primary-gold, #FFD700);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: text-pulse 2s infinite alternate;
    text-align: center;
    padding: 0 20px;
}

@keyframes text-pulse {
    0% { opacity: 0.3; text-shadow: 0 0 5px var(--primary-gold, #FFD700); }
    100% { opacity: 1; text-shadow: 0 0 20px var(--primary-gold, #FFD700), 0 0 30px var(--primary-gold, #FFD700); }
}
