#gift {
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--pastel);
    padding: 2rem;
}

#gift h1 {
    font-family: "Italianno", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    word-spacing: 0.5rem;
    line-height: 3rem;
    margin-bottom: 2rem;
}

#gift p {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

#gift a {
    text-decoration: none;
    color: var(--blue);
    background-color: var(--gold);
    padding: 0.5rem;
    font-size: 1.1rem;
    transition: background-color 0.5s ease, color 0.5s ease;
}

#gift a:hover {
    background-color: var(--blue) ;
    color: var(--gold);
    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(--pastel);
    color: var(--blue);
    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: "Italianno", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    word-spacing: 0.5rem;
    line-height: 3rem;
    margin-bottom: 3rem;
}

#giftModal .gift-card {
    background-color: var(--gold);
    box-shadow: 1px 1px 5px var(--blue);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
}

#giftModal .gift-card img {
    max-width: 5rem;
    width: 100%;
}

#giftModal .gift-card i {
    color: var(--blue);
    margin-left: 0.5rem;
    transition: text-shadow 0.5s ease, color 0.5s ease;
}

#giftModal .gift-card i:hover {
    text-shadow: 1px 1px 1px var(--blue);
    color: var(--gold);
    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(--gold);
    color: var(--blue);
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.5rem;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}