/* Wedding Invitation Website Styles */
/* Elegant Cream & Black Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Playfair+Display:wght@400;600;700&family=Lora:wght@400;700&display=swap');

/* Elegant Cream & Black Color Palette */
:root {
    --cream-bg: #f5f0e8;
    --cream-light: #faf8f3;
    --cream-dark: #e8e0d5;
    --black-text: #000000;
    --black-soft: #1a1a1a;
    --gray-text: #4a4a4a;
    --gray-light: #8a8a8a;
    --border-black: #000000;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    --gradient-bg: linear-gradient(135deg, #f5f0e8 0%, #faf8f3 50%, #e8e0d5 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #faf8f3 50%, #f5f0e8 100%);
    --success-green: #8fb88f;
    --error-red: #c88a8a;
    
    /* Legacy support */
    --primary-pink: #f5f0e8;
    --secondary-beige: #faf8f3;
    --accent-rose: #000000;
    --accent-pink: #e8e0d5;
    --text-dark: #000000;
    --text-light: #4a4a4a;
    --text-muted: #8a8a8a;
    --vintage-rose: #000000;
    --vintage-pink: #e8e0d5;
    --vintage-cream: #faf8f3;
    --vintage-soft: #f5f0e8;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--cream-bg);
    border-radius: 10px;
    box-shadow: inset 0 0 5px var(--shadow-light);
}

::-webkit-scrollbar-thumb {
    background: var(--black-text);
    border-radius: 10px;
    border: 2px solid var(--cream-bg);
    box-shadow: 0 2px 5px var(--shadow-medium);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--black-soft);
    box-shadow: 0 4px 10px var(--shadow-strong);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: var(--gray-text);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--black-text) var(--cream-bg);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Scrollbar Enhancement */
body {
    scrollbar-gutter: stable;
}

/* Footer Styles */
.footer {
    background: var(--cream-bg);
    border-top: 2px solid var(--border-black);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-text {
    color: var(--black-text);
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px var(--shadow-light);
}

.footer-link {
    color: var(--black-text);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black-text);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--gray-text);
    transform: translateY(-1px);
    text-shadow: 0 2px 4px var(--shadow-medium);
}

.footer-link:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    background: var(--cream-bg);
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.08) 1px, transparent 0),
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.05) 1px, transparent 0);
    background-size: 40px 40px, 25px 25px;
    background-position: 0 0, 20px 20px;
    color: var(--black-text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    background-size: 30px 30px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}




/* Main Content Layout */
.main-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 0;
    position: relative;
    background: var(--cream-bg);
}

/* Engagement Invitation Card */
.engagement-invitation {
    width: 90%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    background: var(--cream-bg);
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.08) 1px, transparent 0),
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.05) 1px, transparent 0);
    background-size: 40px 40px, 25px 25px;
    background-position: 0 0, 20px 20px;
    position: relative;
    padding: 4rem 3rem 3rem 3rem;
    z-index: 2;
    text-align: center;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: cardFadeIn 1s ease-out;
}

.engagement-invitation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    background-size: 30px 30px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.engagement-invitation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.engagement-invitation > *:not(.wavy-border):not(.bow-decoration) {
    position: relative;
    z-index: 2;
}

/* Wavy Border */
.wavy-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.border-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

/* Bow Decoration */
.bow-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.bow-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

/* Cocktail Glasses Container */
.cocktail-glasses-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0.8rem 0;
    height: 260px;
    z-index: 2;
    animation: glassesSlideIn 1.2s ease-out 0.3s both;
}

@keyframes glassesSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cocktail-glass {
    position: absolute;
    width: 200px;
    height: 260px;
    z-index: 2;
    bottom: 0;
    transition: transform 0.3s ease;
}

.cocktail-glass:hover {
    transform: translateY(-5px) scale(1.02);
}

.glass-left {
    left: 50%;
    transform: translateX(-75%);
    z-index: 2;
    animation: cheersLeft 2.5s ease-in-out 1.5s both;
}

.glass-right {
    left: 50%;
    transform: translateX(-25%);
    z-index: 3;
    animation: cheersRight 2.5s ease-in-out 1.5s both;
}

@keyframes cheersLeft {
    0% {
        transform: translateX(-75%);
    }
    40% {
        transform: translateX(-70%) rotate(-5deg);
    }
    45% {
        transform: translateX(-70%) rotate(0deg);
    }
    50% {
        transform: translateX(-70%) rotate(-3deg);
    }
    55% {
        transform: translateX(-70%) rotate(0deg);
    }
    100% {
        transform: translateX(-75%);
    }
}

.glass-left .letter-a {
    animation: letterFadeIn 1s ease-out 1.6s both;
}

@keyframes cheersRight {
    0% {
        transform: translateX(-25%);
    }
    40% {
        transform: translateX(-30%) rotate(5deg);
    }
    45% {
        transform: translateX(-30%) rotate(0deg);
    }
    50% {
        transform: translateX(-30%) rotate(3deg);
    }
    55% {
        transform: translateX(-30%) rotate(0deg);
    }
    100% {
        transform: translateX(-25%);
    }
}

.glass-right .letter-s {
    animation: letterFadeIn 1s ease-out 1.6s both;
}

.glass-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.glass-img:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transform: scale(1.05);
}

/* Glass Letters */
.glass-letter {
    position: absolute;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--black-text);
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    animation: letterFadeIn 1s ease-out 1.6s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.letter-a {
    right: -50px;
}

.letter-s {
    left: -50px;
}

@keyframes letterFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cheers Line */
.cheers-line {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: #000;
    z-index: 3;
    border-radius: 1px;
    animation: lineExpand 1s ease-out 1.4s both;
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100px;
        opacity: 1;
    }
}

/* Typography Styles - Engagement Card */
.celebration-text {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #000;
    margin: 0.5rem 0 0.3rem 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
    animation: textFadeIn 1s ease-out 0.5s both;
}

.engagement-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #000;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
    animation: textFadeIn 1s ease-out 0.7s both;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    color: #000;
    margin: 0.5rem 0;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: namesFadeIn 1.2s ease-out 0.9s both;
}

@keyframes namesFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bride-name, .groom-name {
    display: block;
    font-weight: 600;
    margin: 0.2rem 0;
}

.and-symbol {
    font-size: 1.5rem;
    margin: 0.3rem 0;
    color: #000;
    font-weight: 400;
    font-style: italic;
}

/* Event Details */
.event-details {
    margin: 0.8rem 0;
    position: relative;
    z-index: 2;
    animation: detailsFadeIn 1s ease-out 1.1s both;
}

@keyframes detailsFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.date-info {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.date-info:hover {
    transform: scale(1.05);
}

.location {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #000;
    margin-top: 0.4rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.location:hover {
    transform: scale(1.05);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0.8rem 0;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    animation: buttonsFadeIn 1s ease-out 1.3s both;
}

@keyframes buttonsFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-btn, .rsvp-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #000;
    padding: 1rem 2rem;
    border: 2px solid #000;
    border-radius: 8px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.location-btn::before, .rsvp-btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: left 0.4s ease;
    z-index: -1;
}

.location-btn:hover::before, .rsvp-btn-main:hover::before {
    left: 0;
}

.location-btn:hover, .rsvp-btn-main:hover {
    color: #f5f0e8;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.location-icon {
    width: 18px;
    height: 18px;
}

/* Closing Message */
.closing-message {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #000;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    font-weight: 400;
    animation: closingFadeIn 1s ease-out 1.5s both;
    transition: transform 0.3s ease;
}

.closing-message:hover {
    transform: scale(1.05);
}

@keyframes closingFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RSVP Invitation Section */
.rsvp-invitation {
    margin-top: 4rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px var(--shadow-strong);
    backdrop-filter: blur(15px);
    border: 3px solid var(--border-black);
    animation: rsvpPulse 2s infinite;
    z-index: 10;
    position: relative;
}

@keyframes rsvpPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px var(--shadow-strong);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 40px var(--shadow-strong);
    }
}

.rsvp-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.rsvp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--black-text) 0%, var(--black-soft) 100%);
    color: var(--cream-light);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-medium);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.rsvp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.rsvp-button:hover::before {
    left: 100%;
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-strong);
    background: linear-gradient(135deg, var(--black-soft) 0%, var(--black-text) 100%);
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.rsvp-button:hover .button-icon {
    transform: translateY(2px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Vintage Multi-Step RSVP Modal */
.rsvp-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    overflow-y: auto;
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(12px);
    }
}

.vintage-modal {
    background: var(--cream-light);
    margin: 3% auto;
    padding: 0;
    border-radius: 25px;
    width: 95%;
    max-width: 650px;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 15px 30px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    border: 3px solid var(--border-black);
    animation: vintageSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    transform: translateY(0);
}

@keyframes vintageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-80px) scale(0.8) rotateX(15deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) scale(0.95) rotateX(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.vintage-header {
    background: var(--cream-bg);
    color: var(--black-text);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    border-bottom: 3px solid var(--border-black);
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

.vintage-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: vintageShimmer 4s ease-in-out infinite;
}

@keyframes vintageShimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(180deg); }
}

.vintage-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: var(--black-text);
}

.close-modal {
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.close-modal:hover {
    transform: scale(1.15) rotate(90deg);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--border-black);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Progress Container */
.progress-container {
    background: var(--cream-light);
    padding: 2rem 2.5rem;
    border-bottom: 2px solid var(--border-black);
    position: relative;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--cream-dark);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-black);
}

.progress-fill {
    height: 100%;
    background: var(--black-text);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 25%;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3);
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 0.8;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream-light);
    color: var(--black-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid var(--border-black);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.step.active .step-number {
    background: var(--black-text);
    color: var(--cream-light);
    transform: scale(1.15);
    border-color: var(--border-black);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.step.completed .step-number {
    background: var(--cream-dark);
    color: var(--black-text);
    border-color: var(--border-black);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-top: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Vintage Form */
.vintage-form {
    padding: 0;
    position: relative;
}

.form-step {
    display: none;
    padding: 2.5rem;
    min-height: 450px;
    animation: fadeInStep 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-step.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure inputs are visible */
.form-step.active .form-group {
    display: block !important;
    visibility: visible !important;
}

.form-step.active .form-group input,
.form-step.active .form-group textarea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
}

/* Ensure step content is visible */
.form-step.active .step-content {
    display: block !important;
    visibility: visible !important;
}

/* Make sure form groups are properly spaced */
.form-step.active .form-group {
    margin-bottom: 1.5rem;
    display: block;
}

@keyframes fadeInStep {
    0% {
        opacity: 0;
        transform: translateX(30px) translateY(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(10px) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.step-content {
    margin-bottom: 2rem;
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--black-text) 0%, var(--cream-dark) 50%, var(--cream-bg) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.vintage-btn {
    background: var(--black-text);
    color: var(--cream-light);
    padding: 1rem 2.5rem;
    border: 2px solid var(--border-black);
    border-radius: 30px;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.vintage-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.vintage-btn:hover::before {
    left: 100%;
}

.vintage-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--black-soft);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--border-black);
}

.vintage-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 15px rgba(232, 180, 184, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.prev-btn {
    background: var(--cream-dark);
    color: var(--black-text);
    border: 2px solid var(--border-black);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.prev-btn:hover {
    background: var(--cream-bg);
}

.next-btn, .submit-btn {
    background: var(--black-text);
    color: var(--cream-light);
}

.submit-btn {
    background: linear-gradient(135deg, var(--black-text) 0%, var(--black-soft) 50%, var(--gray-text) 100%);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Vintage Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.form-group label::before {
    content: '❦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--black-text);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-black);
    border-radius: 12px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--black-text);
    background: var(--cream-light);
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-black);
    box-shadow: 
        0 0 0 3px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

/* Vintage Radio Buttons */
.vintage-radio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vintage-radio input[type="radio"] {
    display: none;
}

.vintage-radio label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-black);
    border-radius: 12px;
    background: var(--cream-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vintage-radio label::before {
    display: none;
}

.vintage-radio label:hover {
    border-color: var(--border-black);
    background: var(--black-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.vintage-radio label:hover .radio-text {
    color: var(--cream-light);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-black);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--black-text);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vintage-radio input[type="radio"]:checked + label {
    border-color: var(--border-black);
    background: var(--black-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.vintage-radio input[type="radio"]:checked + label .radio-text {
    color: var(--cream-light) !important;
}

.vintage-radio input[type="radio"]:checked + label {
    color: var(--cream-light);
}

.vintage-radio input[type="radio"]:checked + label .radio-custom {
    border-color: var(--cream-light);
}

.vintage-radio input[type="radio"]:checked + label .radio-custom::after {
    opacity: 1;
    background: var(--cream-light);
}

.radio-text {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.vintage-radio input[type="radio"]:checked + label * {
    color: var(--cream-light) !important;
}

/* Confirmation Summary */
.confirmation-summary {
    background: var(--cream-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-black);
    margin-bottom: 1rem;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-black);
}

.confirmation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.confirmation-label {
    font-weight: 600;
    color: var(--text-dark);
}

.confirmation-value {
    color: var(--black-text);
    font-weight: 600;
}

/* Vintage Success Message */
.vintage-success {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 3px solid #a3d9a3;
    border-radius: 15px;
    color: #155724;
    margin: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out infinite;
}

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

.vintage-success h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #155724;
}

.vintage-success p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Vintage Multi-Step Responsive Design */
@media (max-width: 768px) {
    .vintage-modal {
        margin: 3% auto;
        width: 98%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .vintage-header {
        padding: 1.5rem;
    }
    
    .vintage-header h2 {
        font-size: 2rem;
    }
    
    .progress-container {
        padding: 1rem 1.5rem;
    }
    
    .step-indicators {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step {
        flex: 1;
        min-width: 80px;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .form-step {
        padding: 1.5rem;
        min-height: 350px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vintage-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .vintage-radio {
        gap: 0.8rem;
    }
    
    .vintage-radio label {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .confirmation-summary {
        padding: 1rem;
    }
    
    .confirmation-item {
        flex-direction: column;
        gap: 0.3rem;
        text-align: left;
    }
    
    .confirmation-label {
        font-size: 0.9rem;
    }
    
    .confirmation-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .vintage-modal {
        margin: 2% auto;
        width: 98%;
        border-radius: 12px;
    }
    
    .vintage-header {
        padding: 1rem;
    }
    
    .vintage-header h2 {
        font-size: 1.8rem;
    }
    
    .progress-container {
        padding: 1rem;
    }
    
    .step-indicators {
        gap: 0.5rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .form-step {
        padding: 1rem;
        min-height: 300px;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .vintage-radio label {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .radio-custom {
        width: 18px;
        height: 18px;
    }
    
    .radio-custom::after {
        width: 6px;
        height: 6px;
    }
    
    .vintage-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .confirmation-summary {
        padding: 0.8rem;
    }
    
    .vintage-success {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .vintage-success h3 {
        font-size: 2rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
}

.rsvp-section h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px var(--shadow-light);
}

/* Simple & Perfect Form Styling */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-black);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.form-group input[type="radio"] {
    margin-right: 0.5rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-group label {
    font-weight: normal;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: var(--cream-light);
    border: 2px solid var(--border-black);
}

.radio-group input[type="radio"]:checked + label {
    background: var(--black-text);
    color: var(--cream-light);
    border-color: var(--border-black);
}

.submit-button {
    background: var(--black-text);
    color: var(--cream-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: var(--black-soft);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1.5rem;
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.success-message {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #a3d9a3;
    border-radius: 15px;
    color: #155724;
    animation: fadeInUp 0.5s ease-out;
}

.success-message h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #155724;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Engagement Card */
@media (max-width: 1200px) {
    .engagement-invitation {
        width: 100%;
        min-height: 100vh;
        padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    }
    .couple-names {
        font-size: 4rem;
    }
    .celebration-text {
        font-size: 2.8rem;
    }
    .engagement-text {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .engagement-invitation {
        width: 100%;
        min-height: 100vh;
        padding: 3rem 2rem 2rem 2rem;
    }
    .couple-names {
        font-size: 3.5rem;
    }
    .celebration-text {
        font-size: 2.5rem;
    }
    .engagement-text {
        font-size: 1.8rem;
    }
    .cocktail-glass {
        width: 165px;
        height: 215px;
    }
    .cocktail-glasses-container {
        height: 240px;
    }
    .bow-decoration {
        width: 100%;
        height: 100%;
        top: 0;
    }
}

/* Perfect Responsive Design - Engagement Card */
@media (max-width: 768px) {
    .hero-section {
        padding: 0;
    }
    .engagement-invitation {
        margin: 0;
        padding: 2.5rem 1.5rem 2rem 1.5rem;
        width: 100%;
        min-height: 100vh;
    }
    .couple-names {
        font-size: 3rem;
    }
    .and-symbol {
        font-size: 1.5rem;
    }
    .celebration-text {
        font-size: 2rem;
    }
    .engagement-text {
        font-size: 1.5rem;
    }
    .date-info {
        font-size: 1rem;
    }
    .location {
        font-size: 0.95rem;
    }
    .cocktail-glass {
        width: 140px;
        height: 185px;
    }
    .cocktail-glasses-container {
        height: 210px;
        margin: 1.5rem 0;
    }
    .glass-left {
        left: 50%;
        transform: translateX(-75%);
    }
    .glass-right {
        left: 50%;
        transform: translateX(-25%);
    }
    .cheers-line {
        width: 80px;
        bottom: 15px;
    }
    .glass-letter {
        font-size: 2.5rem;
    }
    .letter-a {
        right: -40px;
    }
    .letter-s {
        left: -40px;
    }
    .bow-decoration {
        width: 100%;
        height: 100%;
        top: 0;
    }
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    .location-btn, .rsvp-btn-main {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    .closing-message {
        font-size: 1.3rem;
    }
    
    /* Mobile RSVP Modal */
    .rsvp-modal .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .rsvp-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .radio-group label {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .submit-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rsvp-modal .modal-content {
        margin: 3% auto;
        width: 98%;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .rsvp-form {
        padding: 1rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .radio-group label {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .submit-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0;
    }
    .engagement-invitation {
        padding: 2rem 1rem 1.5rem 1rem;
        width: 90%;
        min-height: 100vh;
    }
    .couple-names {
        font-size: 2.5rem;
    }
    .and-symbol {
        font-size: 1.3rem;
    }
    .celebration-text {
        font-size: 1.8rem;
    }
    .engagement-text {
        font-size: 1.3rem;
    }
    .date-info {
        font-size: 0.9rem;
    }
    .location {
        font-size: 0.85rem;
    }
    .cocktail-glass {
        width: 120px;
        height: 160px;
    }
    .cocktail-glasses-container {
        height: 185px;
        margin: 1.5rem 0;
    }
    .action-buttons {
        gap: 1rem;
    }
    .location-btn, .rsvp-btn-main {
        padding: 0.9rem 1.5rem;
        font-size: 1.2rem;
    }
    .closing-message {
        font-size: 1.4rem;
    }
    .glass-left {
        left: 50%;
        transform: translateX(-75%);
    }
    .glass-right {
        left: 50%;
        transform: translateX(-25%);
    }
    .cheers-line {
        width: 60px;
        bottom: 12px;
    }
    .glass-letter {
        font-size: 2rem;
    }
    .letter-a {
        right: -35px;
    }
    .letter-s {
        left: -35px;
    }
    .bow-decoration {
        width: 100%;
        height: 100%;
        top: 0;
    }
    .action-buttons {
        gap: 0.8rem;
    }
    .location-btn, .rsvp-btn-main {
        padding: 0.7rem 1.2rem;
        font-size: 1.1rem;
    }
    .closing-message {
        font-size: 1.1rem;
        margin-top: 1rem;
    }
}

/* Print Styles */
@media print {
    .clouds, .arrow-down {
        display: none;
    }
    
    .watercolor-invitation {
        box-shadow: none;
        border: 2px solid var(--accent-red);
    }
    
    .rsvp-section {
        display: none;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .cloud, .arrow-down, .ring-icon {
        animation: none;
    }
    
    .couple-names, .save-the-date, .subtitle, .wedding-details {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --black-text: #000000;
        --black-soft: #1a1a1a;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* RSVP Responsive Design */
@media (max-width: 768px) {
    .rsvp-invitation {
        margin-top: 2rem;
        padding: 1.5rem 2rem;
    }
    
    .rsvp-text {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .rsvp-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rsvp-invitation {
        margin-top: 1.5rem;
        padding: 1rem 1.5rem;
    }
    
    .rsvp-text {
        font-size: 1.1rem;
    }
    
    .rsvp-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}


#petals-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.petal {
    position: absolute;
    top: -10vh;
    background-image: url("2.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2 !important;
    width: 40px !important;
    height: 40px !important;
    filter: brightness(0.9) !important;
    transform: translateX(0) rotate(var(--rot, 0deg));
    animation: petal-fall 8s linear forwards !important;
    will-change: transform, opacity;
}

@keyframes petal-fall {
    0%   { transform: translate3d(0, -10vh, 0) rotate(var(--rot, 0deg)); }
    25%  { transform: translate3d(10px, 25vh, 0) rotate(calc(var(--rot, 0deg) + 90deg)); }
    50%  { transform: translate3d(-10px, 55vh, 0) rotate(calc(var(--rot, 0deg) + 180deg)); }
    75%  { transform: translate3d(12px, 85vh, 0) rotate(calc(var(--rot, 0deg) + 270deg)); }
    100% { transform: translate3d(-8px, 110vh, 0) rotate(calc(var(--rot, 0deg) + 360deg)); opacity: 0; }
}