* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    background-image: url('/assets/backg.png');
    background-color: #021259;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
    color: white;
}

/* Hide desktop elements on mobile */
.desktop-only {
    display: block;
}

/* Mobile Layout */
.mobile-layout {
    display: none;
    flex-direction: column;
    min-height: 100vh;
    padding: 30px 20px;
    background-color: #021259;
    justify-content: space-between;
}

.mobile-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    flex-shrink: 0;
}

.mobile-logo {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.mobile-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 20px 0;
}

.mobile-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
}

.mobile-info-text {
    text-align: center;
    width: 100%;
    padding: 30px 0;
    flex-shrink: 0;
}

.mobile-info-text .info-line-1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mobile-info-text .info-line-2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mobile-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    flex-shrink: 0;
}

/* Top Left - Brand Identity */
.brand-container {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
}

.logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    color: white;
}

.brand-main {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
}

/* Top Right - Call to Action */
.desktop-message {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1rem;
    text-align: right;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* Bottom Section - Download Button and Info Text */
.bottom-section {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.legal-disclaimer.desktop-only {
    margin-top: 10px;
}

.mobile-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.download-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.download-btn:active {
    transform: translateY(0);
}

/* Bottom - Informational Text */
.info-text {
    text-align: center;
    width: 100%;
}

.info-line-1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info-line-2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Legal Disclaimer */
.legal-disclaimer {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    margin-top: 20px;
}

.legal-disclaimer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.legal-disclaimer.mobile-only {
    padding: 20px 15px;
    margin-top: 30px;
}

.hidden {
    display: none !important;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.language-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.language-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.language-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.language-btn:active {
    transform: translateY(0);
}

.flag {
    font-size: 2rem;
}

.close-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.close-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    color: white;
}

.loading-overlay p {
    margin-top: 20px;
    font-size: 1.2rem;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 480px) {
    /* Hide background image on mobile */
    body {
        background-image: none;
    }
    
    /* Hide desktop layout on mobile */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile layout */
    .mobile-layout {
        display: flex !important;
        padding: 20px 15px;
    }
    
    .mobile-logo-container {
        padding: 20px 0;
    }
    
    .mobile-logo {
        width: 150px;
    }
    
    .mobile-image-container {
        padding: 15px 0;
    }
    
    .mobile-info-text {
        padding: 25px 0;
    }
    
    .mobile-info-text .info-line-1 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .mobile-info-text .info-line-2 {
        font-size: 0.85rem;
    }
    
    .mobile-button-container {
        padding: 20px 0;
    }
    
    .download-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .legal-disclaimer.mobile-only {
        padding: 15px 10px;
        margin-top: 20px;
    }
    
    .legal-disclaimer.mobile-only p {
        font-size: 0.7rem;
    }
    
    .language-options {
        grid-template-columns: 1fr;
    }
}

