/* CSS/preparing.css */

/* Import Fonts if not already in main.css (Main.css has Poppins) */

body {
    overflow: hidden; /* Prevent scrolling on the landing page */
    background: #0f2027; /* Fallback */
    background: linear-gradient(to right, #2c5364, #203a43, #0f2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color, #ffffff);
}

.preparing-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05); /* Ultra transparent white */
    backdrop-filter: blur(15px); /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    max-width: 600px;
    width: 90%;
    animation: fadeInUp 1s ease-out forwards;
}

.brand-logo {
    font-size: 3rem;
    color: var(--primary-color, #007bff);
    margin-bottom: 1rem;
    display: inline-block;
}

.brand-logo i {
    animation: rotateCube 4s infinite linear;
}

.preparing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preparing-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.progress-loader {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 50%;
    background: var(--primary-color, #007bff);
    border-radius: 3px;
    position: absolute;
    left: -50%;
    animation: loading 2s infinite ease-in-out;
}

.social-icons-prep {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons-prep a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons-prep a:hover {
    color: var(--primary-color, #007bff);
    transform: translateY(-3px);
}

/* Background Particles (Simple pure CSS version) */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 15s infinite linear;
}

.particle:nth-child(1) { width: 80px; height: 80px; left: 10%; bottom: -80px; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { width: 120px; height: 120px; left: 70%; bottom: -120px; animation-duration: 18s; animation-delay: 2s; }
.particle:nth-child(3) { width: 50px; height: 50px; left: 40%; bottom: -50px; animation-duration: 9s; animation-delay: 4s; }
.particle:nth-child(4) { width: 90px; height: 90px; left: 25%; bottom: -90px; animation-duration: 14s; animation-delay: 1s; }
.particle:nth-child(5) { width: 60px; height: 60px; left: 85%; bottom: -60px; animation-duration: 11s; animation-delay: 3s; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateCube {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(180deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

@keyframes loading {
    0% { left: -50%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .preparing-container {
        padding: 2rem;
        width: 85%;
    }
    .brand-logo { font-size: 2.5rem; }
    .preparing-title { font-size: 2rem; }
}
