
/* ========== BUTTON HOVER COLORS - CHANGE FROM HERE ========== */
:root {
    --button-hover-bg: rgba(0, 125, 251, 0.886);
    --button-hover-border: rgba(0, 125, 251, 1);
}
/* ============================================================== */

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

body {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
    font-family: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    text-decoration: none;
}

/* Logo text styling */
.logo-text {
    font-family: 'Baloo 2', sans-serif;
    font-size: 100px;
    font-weight: 300;
    color: var(--primary-black);
    margin: 0;
}

.logo img:hover {
    opacity: 0.8;
}


.login-btn {
    position: absolute;
    right: 40px;
    top: 30px;  /* ← CHANGE THIS NUMBER to move up/down */
    color:  var(--nav-color);
    background: transparent;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 300;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn:hover {
    border: 1.5px solid #007dfb !important;
    background: rgba(0, 125, 251, 0.1);
}

.login-btn {
    color: var(--nav-color);;
    text-decoration: none;
    padding: 5px 10px;
    border: 1.5px solid transparent !important;
    border-radius: 15px;
    transition: none;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn:hover {
    border: 1.5px solid #007dfb !important;
    background: rgba(0, 125, 251, 0.1);
}

/* Main container styling moved to line 223 */

.hero-text {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 70px;
    color: #333;
}

/* Prevent flash before JS animation on hero/choice */
.hero-text, .choice-container {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

/* Update hero title to use Baloo 2 */
.hero-title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.9;
}

.choice-container {
    display: flex;
    flex-direction: column;
    gap: 16px !important;
    margin-bottom: 60px;
    align-items: center;
}

/* Make buttons smaller - Updated for Figma match */
.choice-card {
    border-radius: 20px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.2) !important;
    padding: 12px 32px !important;
    width: 180px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: none;
    text-decoration: none;
    color: #333;
    position: relative;
    overflow: hidden;
    background: white !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.choice-card h2 {
    font-size: 16px !important;
    font-weight: 400;
    color: #333;
    position: relative;
    z-index: 1;
    text-decoration: none;
    margin: 0 !important;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(173, 216, 230, 0.05) 100%);
    border-radius: 30px;
    pointer-events: none;
}

.choice-card:hover {
    border: 1.5px solid #007dfb !important;
    background: rgba(0, 125, 251, 0.1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}



/* Story section */
/* Make story section stick to bottom with peeking title */
/* Remove the fixed positioning and use normal document flow */
.story-section {
    background: #222;
    color: white;
    min-height: 100vh;
    padding: 20px 20px 80px 20px;
    position: relative;
    margin-top: -90px; /* Just peek the title */
}


.story-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.story-title {
    font-family: 'Baloo 2', sans-serif;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    padding-top: 10px; /* Add some padding above title */
}

.story-text {
    font-family: 'Baloo 2', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #e0e0e0;
}

/* Remove the margin-bottom from main-container */

/* Make the main container take full viewport height so story peeks */
body {
    margin: 0;
    padding: 0;
}


/* Add some bottom margin to main content so it's not hidden behind story section */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px 20px 20px;
    min-height: calc(100vh - 40px); /* Leave space for story title to peek */
}

.story-text {
    font-family: 'Baloo 2', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 60px !important;
    }
    
    .hero-title {
        font-size: 20px !important;
    }
    
    .choice-container {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        padding: 0 20px;
    }
    
    .choice-card {
        padding: 12px 28px;
        width: 100%;
        max-width: 250px;
        height: 50px;
        min-width: 200px;
    }
    
    .choice-card h2 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 45px !important;
    }
    
    .hero-title {
        font-size: 18px !important;
    }
    
    .main-container {
        padding: 40px 20px 20px 20px !important;
    }
    
    .choice-container {
        padding: 0 15px;
        gap: 12px;
    }
    
    .choice-card {
        padding: 14px 24px;
        max-width: 220px;
        height: 48px;
    }
    
    .choice-card h2 {
        font-size: 15px;
        line-height: 1.2;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 32px !important;
    }
    
    .hero-title {
        font-size: 16px !important;
    }
    
    .main-container {
        padding: 30px 15px 20px 15px !important;
    }
    
    .choice-container {
        padding: 0 10px;
        gap: 10px;
    }
    
    .choice-card {
        padding: 12px 20px;
        max-width: 200px;
        height: 45px;
    }
    
    .choice-card h2 {
        font-size: 14px;
    }
}

.footer {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 14px;
}

.terms-link {
    color: #0964ff;
    text-decoration: underline;
}

.terms-link:hover {
    color: #0964ff;
}

.main-logo {
    text-align: center;
    margin-bottom: 0px !important;
    /* opacity: 0; */
    transform: translateY(20px);
    will-change: opacity, transform;
}

.main-logo img {
    height: 60px; /* Desktop size */
    width: auto;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        position: relative;
        min-height: 50px; /* Ensure minimum height */
    }
    
    .back-btn, .login-btn {
        font-size: 14px;
        padding: 6px 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .back-btn {
        left: 20px;
    }
    
    .login-btn {
        right: 20px;
    }
    
    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 120px; /* Add padding to prevent overlap */
    }

    .main-logo {
        margin-bottom: 30px;
    }
    
    .main-logo img {
        height: 45px; /* Smaller on tablets */
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .back-btn, .login-btn {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .back-btn {
        left: 15px;
    }
    
    .login-btn {
        right: 15px;
    }
    
    .logo {
        padding: 0 100px; /* Adjust for smaller buttons */
    }
    
    .logo img {
        max-height: 12px; /* Make logo slightly smaller on tiny screens */
    }

    .main-logo {
        margin-bottom: 25px;
    }
    
    .main-logo img {
        height: 35px; /* Even smaller on phones */
    }
}

/* Ultra-small screens - stack elements vertically if needed */
@media (max-width: 360px) {
    .header {
        flex-direction: column;
        gap: 10px;
        padding: 15px 10px;
    }
    
    .back-btn, .login-btn {
        position: static;
        transform: none;
        align-self: flex-start;
    }
    
    .login-btn {
        align-self: flex-end;
    }
    
    .logo {
        order: -1; /* Put logo first */
        padding: 0;
        margin-bottom: 10px;
    }

    .main-logo {
        margin-bottom: 20px;
    }
    
    .main-logo img {
        height: 30px; /* Smallest on very small screens */
    }
}
