/* Landing Page Specific Styles */
body.landing-mode {
    background: #EBE6FF !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    /* Use dvh for better mobile support */
    min-height: 100dvh;
    overflow-y: auto;
    /* Allow scrolling on small screens */
    padding-bottom: 20px;
}

/* Ensure global container adapts */
#quiz-container.landing-container {
    background: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    padding: 10px 20px;
    max-width: 450px;
    width: 100%;
    margin: 0;
    flex: 1;
    /* Take all available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    /* Spread elements */
}

/* Ensure inner card is full height for flex distribution */
#quiz-container.landing-container>.step-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.landing-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    /* Reduced from 1.4rem */
    color: #000;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 10px;
    /* Reduced from 15px */
    margin-top: 10px;
}

.landing-title .highlight {
    color: #6A1B9A;
}

.landing-image-container {
    width: 100%;
    margin: 0 auto 15px auto;
    /* Reduced margin */
    display: flex;
    justify-content: center;
}

.landing-image {
    width: 100%;
    max-width: 210px;
    /* Reduced from 230px to mimic 90% zoom */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(106, 27, 154, 0.15);
    object-fit: cover;
    object-position: top;
}

.landing-subtext {
    font-size: 0.85rem;
    /* Reduced from 0.9rem */
    color: #5E35B1;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
    margin-top: auto;
    max-width: 100%;
}

.landing-subtext .highlight-bold {
    font-weight: 700;
    color: #4A148C;
}

.btn-landing {
    background-color: #6A1B9A !important;
    color: white !important;
    font-size: 0.95rem;
    /* Slightly smaller text */
    padding: 12px 15px;
    /* Reduced vertical padding */
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.3);
    margin: 5px auto 0 auto;
    /* Reduced margin */
    animation: pulse-purple 2s infinite;
}

@keyframes pulse-purple {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 27, 154, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(106, 27, 154, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(106, 27, 154, 0);
    }
}

.btn-landing:hover {
    background-color: #4A148C !important;
    transform: translateY(-2px);
}

/* Mobile adjustments to ensure it fits small screens */
/* Mobile adjustments to ensure it fits small screens */
@media (max-width: 480px) {
    .landing-image {
        max-width: 60%;
        /* Responsive width for mobile */
        max-height: 35vh;
        /* Prevent it from being too tall */
    }

    .landing-title {
        margin-top: 5px;
        font-size: 1.2rem;
    }

    #quiz-container.landing-container>.step-card {
        justify-content: center;
        gap: 15px;
        /* Use gap instead of space-evenly for better control */
    }
}