/* ===================================
   TIGERSMILE USA LLC - Loading Screen Styles
   =================================== */

/* Main Loading Screen Container */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease-out;
}

/* Fade Out Animation Class */
#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Main Loader Container */
.loader-container {
    text-align: center;
    position: relative;
}

/* Logo Icon Animation */
.tiger-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tiger-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: logoAnimation 3s infinite;
    filter: drop-shadow(0 0 20px rgba(247, 68, 78, 0.5));
}

/* Company Name Styling */
.company-name {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
}

.company-name h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #f7444e, #ff6b6b, #f7444e);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.company-name .subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 5px;
    animation: fadeInUp 1s ease-out;
}

/* Loading Progress Bar */
.loading-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #f7444e, #ff6b6b);
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
}

/* Loading Dots Animation */
.loading-dots {
    margin-top: 20px;
    font-size: 2rem;
    color: #f7444e;
}

.loading-dots span {
    display: inline-block;
    animation: dotPulse 1.5s infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ===================================
   KEYFRAME ANIMATIONS
   =================================== */

/* Logo Animation */
@keyframes logoAnimation {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(10deg);
    }
    50% {
        transform: scale(1) rotate(0deg);
    }
    75% {
        transform: scale(1.2) rotate(-10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Alternative Logo Animations - Choose one by changing animation name in .tiger-icon img */

/* Smooth Rotation */
@keyframes logoRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Pulse Effect */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(247, 68, 78, 0.3));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 30px rgba(247, 68, 78, 0.8));
    }
}

/* Bounce Effect */
@keyframes logoBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-10px) scale(1.05);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(-5px) scale(1.02);
    }
}

/* Text Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Loading Bar Progress */
@keyframes loadingProgress {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
        transform: translateX(0);
    }
}

/* Dot Pulse Animation */
@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet Devices */
@media (max-width: 768px) {
    .company-name h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .company-name .subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }
    
    .loading-bar-container {
        width: 200px;
    }
    
    .tiger-icon {
        width: 80px;
        height: 80px;
    }
    
    .tiger-icon img {
        width: 60px;
        height: 60px;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .company-name h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .company-name .subtitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .loading-bar-container {
        width: 150px;
    }
    
    .tiger-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .tiger-icon img {
        width: 50px;
        height: 50px;
    }
    
    .loading-dots {
        font-size: 1.5rem;
    }
}

/* ===================================
   OPTIONAL ALTERNATIVE THEMES
   =================================== */

/* Dark Theme (Default is already dark) */

/* Light Theme - Uncomment to use */
/*
#loading-screen.light-theme {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

#loading-screen.light-theme .company-name .subtitle {
    color: #666;
}

#loading-screen.light-theme .loading-bar-container {
    background: rgba(0, 0, 0, 0.1);
}
*/

/* Orange Theme - Uncomment to use */
/*
#loading-screen.orange-theme {
    background: linear-gradient(135deg, #ff6b35 0%, #f77b71 100%);
}

#loading-screen.orange-theme .company-name h1 {
    background: linear-gradient(90deg, #fff, #ffe5d9, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#loading-screen.orange-theme .loading-dots {
    color: #fff;
}
*/