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

body {
    font-family: Arial, sans-serif;
    background: #fff5f7;
    color: #49343c;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Gift screen */
#gift-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #fff0f5, #ffe0eb);
}

#gift-screen h1 {
    font-size: 34px;
}

#gift-screen p {
    color: #876b77;
}

.gift-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: float 2s ease-in-out infinite;
}

.gift-button span {
    font-size: 110px;
}

.gift-button small {
    color: #9b6178;
    font-size: 15px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Main page */
header {
    padding: 22px;
    background: #ffe1e9;
}

.hero {
    padding: 60px 20px;
}

.gallery {
    padding: 35px 20px;
}

.photos {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.photos img {
    width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
}

footer {
    padding: 30px;
    background: #ffe1e9;
    margin-top: 40px;
}

/* Welcome popup */
#welcome-popup {
    position: fixed;
    inset: 0;
    background: rgba(45, 25, 35, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 10;
    animation: backdropFade 0.65s ease both;
}

.popup-card {
    background: white;
    border-radius: 30px;
   opacity: 0;
transform: scale(0.85) translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 35px 25px;
    width: 92%;
    max-width: 480px;
    min-height: 520px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.popup-card .hero-image {
    display: block;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 5px solid #ffe1e9;
}

.popup-card h1 {
    font-size: 30px;
    width: 100%;
    text-align: center;
    margin: 0;
}

.popup-card p {
    width: 100%;
    text-align: center;
    margin: 0;
}

.popup-card button:not(.close-button) {
    background: #e98da8;
    color: white;
    border: none;
    padding: 13px 28px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.close-button {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: #876b77;
    cursor: pointer;
}
.popup-card.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}
