body {
    background-color: white;
    box-sizing: border-box;
}

.music-disc {
    animation: spin 3s linear infinite;
    animation-play-state: paused;
}

.music-disc.playing {
    animation-play-state: running;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.gradient-bg {
    background: url('GIF.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.cake-animation {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.wish-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.menu-container {
    position: fixed;
    top: 60%;
    left: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    z-index: 30;
}

.menu-item > div {
    width: 200px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: black(50px);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-item > div:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .menu-container {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        margin-top: 50px;
    }
    }  
@keyframes candleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.bounce {
  display: inline-block; /* penting biar transform bisa bekerja */
  animation: candleBounce 1.4s ease-in-out infinite;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }


#calendar {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: none;
}

#calendar .calendar-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

#calendar .calendar-content {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}


.calendar-day {
    background-color: #111;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.calendar-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

#calendar .max-w-4xl {
  margin-top: 3rem;
}

.menu-box,
.menu-item > div,
.calendar-day {
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.menu-box:hover,
.calendar-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}



















