/* Background Gradient with subtle texture */
body {
    margin: 0;
    font-family: 'Bagel Fat One', cursive;
    background: linear-gradient(to right, 
        #66FD8E,
        #9bfeb4 20%,
        #c7ffd8 35%,
        #ffd4e4 65%,
        #ffa5bc 80%,
        #FFC0CB);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Subtle background texture overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdY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ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Landing Page Container with premium elevation */
.landing-page {
    text-align: center;
    width: 90%;
    max-width: 550px;
    background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 100%);
    padding: 45px 25px;
    border-radius: 20px;
    box-shadow: 
        0 10px 25px rgba(102, 253, 142, 0.10),
        0 4px 10px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 0.8s ease-out;
    position: relative;
    z-index: 1;
}

/* Add floating animation */
@keyframes float {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Styling with enhanced glow */
.logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.landing-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(102, 253, 142, 0.6));
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        filter: drop-shadow(0 2px 5px rgba(102, 253, 142, 0.4));
    }
    50% {
        filter: drop-shadow(0 3px 8px rgba(102, 253, 142, 0.7));
    }
    100% {
        filter: drop-shadow(0 2px 5px rgba(102, 253, 142, 0.4));
    }
}

/* Title Styling with enhanced typography */
.landing-title {
    color: #2c3e50; /* Navy color to match main website */
    font-size: 2.3rem;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
    animation: fadeIn 1s ease-out 0.2s backwards;
    font-weight: normal;
}

/* Subtitle Styling */
.landing-subtitle {
    font-family: 'Bagel Fat One', cursive;
    font-size: 1.4rem;
    color: #2c3e50; /* Navy color to match main website */
    margin-bottom: 25px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Email Input Styling */
.email-input {
    width: calc(100% - 40px);
    max-width: 500px;
    padding: 16px;
    font-size: 1rem;
    border: 2px solid rgba(102, 253, 142, 0.3);
    color: #2c3e50; /* Navy color to match main website */
    border-radius: 12px;
    margin-bottom: 18px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.02);
    animation: fadeIn 1s ease-out 0.6s backwards;
}
.email-input:focus {
    border-color: #ffc0cb;
    box-shadow: 0 0 12px rgba(255, 192, 203, 0.3), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.email-input::placeholder {
    color: #94a3b8; /* Lighter shade for placeholder */
    opacity: 1;
}

/* Submit Button Styling with enhanced effects */
.submit-button {
    background-color: #66fd8e;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1.05rem;
    font-family: 'Bagel Fat One', cursive;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 253, 142, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out 0.8s backwards;
}
.submit-button:hover {
    background-color: #ffc0cb;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(255, 192, 203, 0.4);
}
.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 192, 203, 0.3);
}

/* Mobile Responsiveness with enhanced animations */
@media (max-width: 768px) {
    body {
        background: linear-gradient(to right, #e6fff2 0%, #b8ffd9 30%, #ffe0ef 100%);
        background-size: cover;
        background-attachment: fixed;
        background-repeat: no-repeat;
        min-height: 100dvh;
        height: 100vh; /* For older browsers */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: fixed; /* Prevents scrolling issues on iOS */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    .landing-page {
        position: relative;
        margin: auto; /* Center in all browsers */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        max-height: 90vh; /* Prevent overflows */
        box-shadow: 
            0 8px 16px rgba(102, 253, 142, 0.08),
            0 3px 6px rgba(0, 0, 0, 0.03),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
        width: 80%;
        padding: 35px 20px;
        animation: float 0.6s ease-out;
    }
    .landing-title {
        font-size: 1.9rem;
        margin-bottom: 10px;
        letter-spacing: 1px;
        line-height: 1.2;
        color: #2c3e50; /* Navy color to match main website */
    }
    .landing-subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: #2c3e50; /* Navy color to match main website */
    }
    .landing-logo {
        width: 160px;
        margin-bottom: 15px;
    }
    .email-input {
        width: calc(100% - 30px);
        padding: 14px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    .submit-button {
        padding: 12px 25px;
        font-size: 1rem;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .landing-page {
        padding: 30px 15px;
        margin: 10px auto;
        width: 75%;
        max-width: 300px;
    }
    .landing-title {
        font-size: 1.7rem;
        letter-spacing: 0.8px;
        color: #2c3e50; /* Navy color to match main website */
    }
    .landing-subtitle {
        font-size: 1.1rem;
        color: #2c3e50; /* Navy color to match main website */
    }
    .landing-logo {
        width: 140px;
    }
}
