@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Great+Vibes&family=Lato:wght@300;400&display=swap');

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

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #030612 0%, #070d24 20%, #0a1035 50%, #070d24 80%, #030612 100%);
    font-family: 'Lato', sans-serif;
    color: #b8962e;
    overflow-x: hidden;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Crescent Moon */
.moon {
    position: fixed;
    top: 60px;
    right: 60px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 
        15px 5px 0 0 rgba(212, 175, 55, 0.8),
        15px 5px 20px 5px rgba(212, 175, 55, 0.3),
        15px 5px 40px 10px rgba(212, 175, 55, 0.1);
    z-index: 1;
    pointer-events: none;
    animation: moonGlow 4s ease-in-out infinite;
}

.overlay {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    padding-top: 160px;
}

.container {
    max-width: 720px;
    width: 100%;
    text-align: center;
}

/* Header */
.wedding-header {
    margin-bottom: 50px;
    animation: fadeIn 2s ease-in;
}

.invitation-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(184, 150, 46, 0.9);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(184, 150, 46, 0.3);
}

.von {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(184, 150, 46, 0.7);
    margin-bottom: 15px;
}

.names {
    margin-bottom: 20px;
}

.name {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #b8962e;
    text-shadow: 
        0 0 20px rgba(184, 150, 46, 0.5),
        0 0 40px rgba(184, 150, 46, 0.2);
    letter-spacing: 0.05em;
}

.date-info {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(184, 150, 46, 0.8);
    margin-bottom: 5px;
}

.date {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(184, 150, 46, 0.9);
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(184, 150, 46, 0.2);
}

.time {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: rgba(184, 150, 46, 0.8);
    margin-bottom: 15px;
}

.location-label {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(184, 150, 46, 0.7);
    margin-bottom: 5px;
}

.location {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(184, 150, 46, 0.85);
    margin-bottom: 5px;
}

.location-address {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(184, 150, 46, 0.6);
    line-height: 1.6;
}

.ornament {
    font-size: 1rem;
    color: rgba(184, 150, 46, 0.5);
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(184, 150, 46, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

/* RSVP Section */
.rsvp-section {
    animation: fadeIn 2.5s ease-in;
    margin-bottom: 50px;
}

.rsvp-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(184, 150, 46, 0.9);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(184, 150, 46, 0.3);
}

.section-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(184, 150, 46, 0.7);
    margin-bottom: 25px;
}

.form-wrapper {
    position: relative;
    background: rgba(5, 10, 26, 0.6);
    border: 1px solid rgba(184, 150, 46, 0.2);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 30px rgba(184, 150, 46, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.4);
}

.form-wrapper iframe {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Footer */
.wedding-footer {
    margin-top: 30px;
    animation: fadeIn 3s ease-in;
}

.wedding-footer p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(184, 150, 46, 0.6);
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes moonGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .moon {
        top: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        box-shadow: 
            10px 3px 0 0 rgba(212, 175, 55, 0.8),
            10px 3px 15px 3px rgba(212, 175, 55, 0.3),
            10px 3px 30px 6px rgba(212, 175, 55, 0.1);
    }

    .moon::before {
        top: -3px;
        left: 10px;
        width: 45px;
        height: 45px;
    }

    .overlay {
        padding: 40px 20px;
        padding-top: 100px;
    }

    .invitation-title {
        font-size: 1.1rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .date {
        font-size: 1.1rem;
    }

    .form-wrapper {
        padding: 12px;
    }

    .form-wrapper iframe {
        width: 100%;
        height: 520px;
    }

}
