/* Loading screen container */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

/* Loading content wrapper */
.loading-content {
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1.5s ease-out forwards;
}

/* Logo container */
.logo-container {
    margin-bottom: 20px;
    position: relative;
}

/* Main logo text */
.logo-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #d4af37, #f4e5aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: textReveal 1s ease-out 0.5s forwards;
}

/* Secondary logo text */
.logo-accent {
    display: block;
    font-size: 2rem;
    background: linear-gradient(45deg, #ffffff, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: textReveal 1s ease-out 1s forwards;
}

/* Loading line animation */
.loading-line {
    width: 200px;
    height: 2px;
    background: #333;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.loading-line::after {
    content: '';
    position: absolute;
    left: -50%;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: loading 1.5s infinite;
}

/* Main content initial state */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

/* Keyframe Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .logo-text {
        font-size: 2.5rem;
    }
    
    .logo-accent {
        font-size: 1.5rem;
    }
    
    .loading-line {
        width: 150px;
    }
}

@media screen and (max-width: 480px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .logo-accent {
        font-size: 1.2rem;
    }
    
    .loading-line {
        width: 120px;
    }
}