/* Loading Screen Styles - Modern Redesign */
:root {
    --primary-color: #6c63ff;
    --gradient-color: #8a84ff;
    --dark-color: #0c0c0c;
    --light-color: #ffffff;
    --accent-color: #6c63ff;
}

/* Import additional bold font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

/* Remove body styling to avoid conflicts */

.loader-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-color);
    z-index: 9999;
    transition: opacity 1s ease;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.loader-container.fade-out {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    display: none;
    z-index: -1;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    animation: content-entry 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    width: 320px;
}

/* Modern Logo Design */
.logo-container {
    margin-bottom: 40px;
    position: relative;
}

.modern-logo {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s infinite ease-in-out;
}

.logo-circle-outer {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(108, 99, 255, 0.2);
    border-radius: 50%;
    animation: rotate 12s infinite linear;
}

.logo-circle-middle {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    animation: rotate 8s infinite linear reverse;
}

.logo-circle-inner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(108, 99, 255, 0.6);
    border-radius: 50%;
    animation: rotate 6s infinite linear;
}

.logo-core {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-color));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.logo-core::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.loading-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 30px;
    color: var(--light-color);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.loading-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Modern Loading Bar */
.loading-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--gradient-color));
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.6);
}

.loading-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.loading-percent-container {
    display: flex;
    align-items: center;
}

.loading-percent {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--light-color);
    margin-right: 3px;
}

.loading-message {
    margin: 0;
    text-align: right;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* Background Elements */
.bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

/* Modern grid lines */
.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.07;
}

.horizontal-lines, .vertical-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.h-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--light-color);
    left: 0;
}

.v-line {
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: var(--light-color);
    top: 0;
}

/* Accent Elements */
.accent-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), rgba(255, 126, 95, 0.4));
    filter: blur(30px);
    opacity: 0.4;
    z-index: 0;
}

.accent-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 15%;
    animation: pulse 8s infinite alternate;
}

.accent-2 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    right: 15%;
    animation: pulse 12s infinite alternate-reverse;
}

/* Particle styles */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 5s infinite ease-in-out;
}

/* Animations */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

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

@keyframes content-entry {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(10px, -10px) scale(1.2);
    }
    50% {
        transform: translate(20px, 0) scale(0.8);
    }
    75% {
        transform: translate(10px, 10px) scale(1.1);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .loader-content {
        width: 280px;
    }
    
    .loading-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .loader-content {
        width: 260px;
    }
    
    .modern-logo {
        width: 100px;
        height: 100px;
    }
    
    .logo-circle-outer {
        width: 100px;
        height: 100px;
    }
    
    .logo-circle-middle {
        width: 75px;
        height: 75px;
    }
    
    .logo-circle-inner {
        width: 50px;
        height: 50px;
    }
    
    .logo-core {
        width: 30px;
        height: 30px;
    }
    
    .loading-title {
        font-size: 1.4rem;
    }
} 
