.glider-contain {
    max-width: 100%;
    padding: 20px;
    margin: auto;
    position: relative;
}
.glider {
    display: flex;
    overflow: hidden;
}
.birthday-card {
    flex: 0 0 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
    padding: 30px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}
.birthday-info {
    text-align: right;
    color: white;
}
.birthday-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-bottom: 10px;
    float: right;

}
.birthday-info h3 {
    font-size: 1.8rem;
    margin: 10px 0 5px;
}
.birthday-info p {
    font-size: 1.2rem;
    margin: 4px 0;
}
.glider-prev, .glider-next {
    position: absolute;
    top: 50%;
    background: #00000088;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
}
.glider-prev { left: 10px; }
.glider-next { right: 10px; }

.floating-emoji {
    position: absolute;
    width: 30px;
    height: 30px;
    animation: floatY 4s ease-in-out infinite;
    opacity: 0.8;
    z-index: 0;
}
.floating-emoji img { width: 100%; }
.emoji1 { top: 10%; left: 10%; animation-delay: 0s; }
.emoji2 { bottom: 10%; right: 10%; animation-delay: 1.5s; }

@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .birthday-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .birthday-info {
        text-align: center;
    }
}
