/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    background-color: #D1C8C2;
}

/* Container */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D1C8C2;
}

/* Background Layer */
.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: brightness(0.9) contrast(1.1);
    display: block;
}

/* Content Layer */
.content-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 40px;
}

/* Prem Text Positioning */
.prem-text {
    position: relative;
    z-index: 3;
    text-align: center;
}

.prem-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    animation: fadeInLeft 1.5s ease-out;
}

/* Meet You Soon Text Positioning */
.meet-text {
    position: relative;
    z-index: 3;
    text-align: center;
}

.meet-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    animation: fadeInRight 1.5s ease-out 0.5s both;
}

/* Loading Animation */
.loading-dots {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    animation: bounce 1.4s infinite ease-in-out both;
}

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

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

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .content-layer {
        gap: 30px;
    }
    
    .prem-logo {
        max-width: 280px;
    }
    
    .meet-logo {
        max-width: 220px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .content-layer {
        flex-direction: column;
        gap: 20px;
    }
    
    .prem-logo {
        max-width: 250px;
    }
    
    .meet-logo {
        max-width: 200px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .content-layer {
        gap: 15px;
    }
    
    .prem-logo {
        max-width: 200px;
    }
    
    .meet-logo {
        max-width: 160px;
    }
}

/* Very Small Mobile Styles */
@media screen and (max-width: 320px) {
    .content-layer {
        gap: 10px;
    }
    
    .prem-logo {
        max-width: 160px;
    }
    
    .meet-logo {
        max-width: 130px;
    }
}

/* Landscape Mobile Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .content-layer {
        flex-direction: row;
        gap: 25px;
    }
    
    .prem-logo {
        max-width: 180px;
    }
    
    .meet-logo {
        max-width: 160px;
    }
}

/* High Resolution Displays */
@media screen and (min-width: 1440px) {
    .content-layer {
        gap: 50px;
    }
    
    .prem-logo {
        max-width: 450px;
    }
    
    .meet-logo {
        max-width: 350px;
    }
}
