/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

/* Launch container */
.launch-container {
    width: 100%;
    max-width: 414px;
    height: 100%;
    position: relative;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Logo image */
.logo-image {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
    text-align: center;
}

.logo-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Hero Title */
.hero-title {
    text-align: center;
    margin: 1rem 0;
}

.hero-title h1 {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: normal;
}

.hero-title p {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

/* Taj Mahal image */
.tajmahal-image {
    width: 100%;
    max-width: 600px;
    margin: auto 0;
    text-align: center;
}

.tajmahal-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
}

/* Get Started Button */
.start-button {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: 314px;
    height: 70px;
    background: var(--background-color);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
}

.start-button-text {
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Auth Buttons */
.auth-buttons {
    width: 300px;
    max-width: 400px;
    margin-top: auto;
    padding: 20px 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 32px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.login-button {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.signup-button {
    background-color: var(--background-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.login-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color-dark);
}

.signup-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Media queries for responsive design */
@media (max-height: 700px) {
    body {
        align-items: flex-start;
    }

    .launch-container {
        min-height: 600px;
        overflow-y: auto;
    }
    
    .tajmahal-image {
        max-width: 400px;
    }
    
    .tajmahal-image img {
        max-height: 30vh;
    }
    
    .logo-image {
        max-width: 300px;
    }
}

@media (max-height: 600px) {
    .tajmahal-image {
        max-width: 300px;
    }
    
    .tajmahal-image img {
        max-height: 25vh;
    }
    
    .logo-image {
        max-width: 250px;
    }
    
    .hero-title h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: flex-start;
    }

    .launch-container {
        height: 100vh;
        padding-bottom: 140px;
    }

    .auth-buttons {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        background: var(--background-color);
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        width: 100%;
    }

    .hero-title h1 {
        font-size: 1.5rem;
    }
}

/* Media query for smaller screens (iPhone SE and similar) */
@media screen and (max-width: 375px) and (max-height: 667px) {
    .logo-image {
        padding-top: 30px;
    }
    .logo-image img {
        max-width: 240px;
    }
    
    .hero-title h1 {
        font-size: 24px;
    }
    
    .hero-title p {
        font-size: 16px;
    }
    
    .tajmahal-image {
        margin-top: 15px;
    }
    
    .auth-button {
        height: 60px;
        font-size: 16px;
    }
}

/* Desktop styles */
@media (min-width: 800px) {
    .launch-container {
        height: auto;
        min-height: 800px;
        max-height: 90vh;
        border-radius: 20px;
        margin: 2rem auto;
    }

    .logo-image img {
        max-width: 300px;
    }

    .tajmahal-image img {
        max-height: 50vh;
    }

    .auth-buttons {
        max-width: 300px;
        padding: 0;
        margin-bottom: 2rem;
        position: relative;
    }

    .auth-button {
        height: 56px;
    }
}