/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Baloo 2', cursive;
    background: linear-gradient(135deg, 
        #E8F5E8 0%,     /* Soft mint */
        #FFF8E1 25%,    /* Soft peach */
        #F0F8FF 50%,    /* Baby blue */
        #F5F0FF 75%,    /* Soft lavender */
        #E8F5E8 100%    /* Back to soft mint */
    );
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    position: relative;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Main container */
.landing-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Logo wrapper */
.logo-wrapper {
    text-align: center;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: fadeInBounce 1.2s ease-out 0.3s forwards;
    margin-top: -80px;
}

/* Main logo text */
.logo-text {
    font-size: clamp(2.5rem, 12vw, 12rem);
    font-weight: 700;
    color: #2D3748;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: baseline;
    letter-spacing: -10px;
}

/* Individual letter styling for curve effect */
.letter {
    display: inline-block;
    transform-origin: center bottom;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.letter.space {
    width: 0.3em;
}

/* Smile curve - each letter rotated to create arc */
.letter:nth-child(1) { transform: rotate(-12deg); }  /* G */
.letter:nth-child(2) { transform: rotate(-6deg); }   /* o */
.letter:nth-child(3) { transform: rotate(0deg); }    /* space */
.letter:nth-child(4) { transform: rotate(-3deg); }   /* B */
.letter:nth-child(5) { transform: rotate(0deg); }    /* a */
.letter:nth-child(6) { transform: rotate(3deg); }    /* b */
.letter:nth-child(7) { transform: rotate(6deg); }    /* y */
.letter:nth-child(8) { transform: rotate(0deg); }    /* space */
.letter:nth-child(9) { transform: rotate(6deg); }    /* G */
.letter:nth-child(10) { transform: rotate(12deg); }  /* o */

/* Hover effect for individual letters - each with vibrant color */
.letter:nth-child(1):hover { transform: scale(1.1) rotate(-12deg); color: #FF6B8A; } /* G - Vibrant pink */
.letter:nth-child(2):hover { transform: scale(1.1) rotate(-6deg); color: #FF8A65; }  /* o - Bright coral */
.letter:nth-child(4):hover { transform: scale(1.1) rotate(-3deg); color: #FFB74D; }  /* B - Golden orange */
.letter:nth-child(5):hover { transform: scale(1.1) rotate(0deg); color: #AED581; }   /* a - Fresh lime */
.letter:nth-child(6):hover { transform: scale(1.1) rotate(3deg); color: #4DB6AC; }   /* b - Teal green */
.letter:nth-child(7):hover { transform: scale(1.1) rotate(6deg); color: #9C88FF; }   /* y - Bright lavender */
.letter:nth-child(9):hover { transform: scale(1.1) rotate(6deg); color: #42A5F5; }   /* G - Bright blue */
.letter:nth-child(10):hover { transform: scale(1.1) rotate(12deg); color: #AB47BC; } /* o - Rich purple */

/* Animated underline - now at bottom of page */
.logo-underline {
    height: 240px;
    background: linear-gradient(65deg, 
        #81C784 0%,     /* Soft green */
        #64B5F6 20%,    /* Light blue */
        #F06292 40%,    /* Soft pink */
        #BA68C8 60%,    /* Light purple */
        #81C784 80%,    /* Back to green */
        #64B5F6 100%    /* End with blue */
    );
    background-size: 300% 100%;
    border-radius: 0;
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    z-index: 1000;
    opacity: 0;
    animation: barAppear 1s ease-out 0.8s forwards,
               horizontalFlow 12s ease-in-out infinite,
               gentlePulse 6s ease-in-out infinite alternate;
    overflow: hidden;
    mask: linear-gradient(to top, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.8) 30%, 
        rgba(0,0,0,0.4) 60%, 
        rgba(0,0,0,0.1) 80%, 
        rgba(0,0,0,0) 100%
    );
    -webkit-mask: linear-gradient(to top, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.8) 30%, 
        rgba(0,0,0,0.4) 60%, 
        rgba(0,0,0,0.1) 80%, 
        rgba(0,0,0,0) 100%
    );
    filter: blur(1px);
}

/* Subtle highlight overlay */
.logo-underline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(65deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: horizontalGlow 8s ease-in-out infinite;
    pointer-events: none;
}

/* Horizontal highlight animation */
@keyframes horizontalGlow {
    0% {
        background-position: -100% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: -100% 0%;
    }
}

/* Coming Soon text */
.coming-soon {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 400;
    color: #6B7280;
    margin-top: 1rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlide 1s ease-out 1.8s forwards;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

/* Coming soon fade-in animation */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Coming soon hover effect */
.coming-soon:hover {
    color: #4F46E5;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Specific margin adjustments for coming soon */
p.coming-soon {
    margin-top: -30px;
    margin-bottom: 15px;
}

/* Main fade-in bounce animation */
@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.02);
    }
    80% {
        transform: translateY(2px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Bar appear animation */
@keyframes barAppear {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }
    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Horizontal flowing effect */
@keyframes horizontalFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Gentle pulsing */
@keyframes gentlePulse {
    0% {
        filter: brightness(1) saturate(1.2);
    }
    100% {
        filter: brightness(1.3) saturate(1.5);
    }
}

/* Hover effects */
.logo-text:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo-text {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .logo-wrapper {
        padding: 0 1rem;
    }
    
    .coming-soon {
        font-size: clamp(0.7rem, 3vw, 1rem);
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .logo-underline {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: clamp(2rem, 15vw, 3rem);
        margin-bottom: 0.3rem;
    }
    
    .logo-underline {
        height: 160px;
    }
    
    .coming-soon {
        font-size: clamp(0.6rem, 4vw, 0.9rem);
        margin-top: 0.7rem;
        margin-bottom: 0.7rem;
        letter-spacing: 0.08em;
    }
}

/* Subtle floating particles effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 178, 178, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(129, 199, 132, 0.1) 0%, transparent 50%);
    animation: floatParticles 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
} 