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


body {
    font-family: 'Poppins', sans-serif;
    background: #000; 
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start; 
    width: 100%; 
    height: 100vh;
    overflow: hidden;
    position: relative;
    padding: 0; 
    margin: 0; 
}


h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8ecae6;
    opacity: 0;
    animation: fadeInOut 4s infinite;
    margin-top: 20px;
    text-align: left; 
    margin-left: 20px; 
}


.garden {
    display: flex;
    gap: 30px; 
    align-items: flex-start; 
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 50px; 
}


.plant {
    position: relative;
    width: 250px;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 2s ease-in-out forwards;
}


#firefly-petunia { animation-delay: 0.5s; }
#bioluminescent-algae { animation-delay: 1s; }


.plant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%) saturate(120%);
    transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
}


.plant:hover img {
    filter: brightness(150%) hue-rotate(50deg) contrast(120%);
}


.info {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.plant:hover .info {
    opacity: 1;
}


.floating-plants {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}


.floating {
    position: absolute;
    width: 30px;
    opacity: 0.5;
    filter: drop-shadow(0 0 10px rgba(50, 150, 255, 0.5)) invert(20%);
    animation: glow 4s infinite alternate;
}


.floating:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating:nth-child(2) { top: 30%; right: 15%; animation-delay: 2s; }
.floating:nth-child(3) { bottom: 5%; left: 40%; animation-delay: 4s; }
.floating:nth-child(4) { bottom: 10%; right: 25%; animation-delay: 6s; }


@keyframes glow {
    0% { opacity: 0.4; transform: scale(1); filter: blur(2px); }
    100% { opacity: 1; transform: scale(1.1); filter: blur(0px); }
}


@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}


@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}


