#gift {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

#gift h1 {
    font-family: var(--font-kaligrafi);
    font-size: 4rem;
    word-spacing: 0.5rem;
    line-height: 3rem;
    margin-bottom: 2rem;
}

#gift p {
    font-family: var(--font-biasa);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

#gift a {
    text-decoration: none;
    background-color: var(--button);
    color: black;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.5s ease, color 0.5s ease;
}

#gift a:hover {
    color: white;
    background-color: black;
    cursor: pointer;
}

#giftModal .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

#giftModal .modal-content {
    background-color: var(--button);
    color: black;
    border-radius: 2rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: zoomInGift 1s ease;
}

#giftModal .modal-content h2 {
    font-family: var(--font-kaligrafi);
    font-size: 3rem;
    word-spacing: 0.5rem;
    line-height: 3rem;
    margin-bottom: 1rem;
}

#giftModal .gift-card {
    margin: 1rem;
    text-align: center;
    font-family: var(--font-biasa);
    font-size: 1rem;
}

#giftModal .gift-card img {
    max-width: 5rem;
    width: 100%;
}

#giftModal .gift-card i {
    color: black;
    margin-left: 0.5rem;
    transition: text-shadow 0.5s ease, color 0.5s ease;
}

#giftModal .gift-card i:hover {
    color: white;
    cursor: pointer;
}

.close {
    position: absolute;
    top: 10px; 
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Animasi */
@keyframes zoomInGift {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.toast {
    visibility: hidden;
    width: 5rem;
    background-color: var(--button);
    color: black;
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.5rem;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}