/* ============================================
   WEDDING WEBSITE STYLES
   Modern, Beautiful, & Showcasing Tech Skills
   ============================================ */

/* CSS Custom Properties (Variables) */
:root {
    /* Bridgerton Regency Color Palette - Soft Pastels & Light Blue */
    --primary: #7eb8da;           /* Soft Regency Blue */
    --primary-dark: #5a9bc4;      /* Deeper Blue */
    --primary-light: #b8d9ed;     /* Pale Blue */
    --secondary: #f4e8dc;         /* Warm Cream */
    --secondary-light: #faf5f0;   /* Soft Ivory */
    --accent: #d4a5a5;            /* Dusty Rose */
    --accent-secondary: #c8b8d4;  /* Soft Lavender */
    --sage: #b8c9b8;              /* Muted Sage */
    --blush: #f2d7d5;             /* Pale Blush Pink */
    --white: #ffffff;
    --off-white: #fdfbf9;
    --cream: #faf8f5;
    --text-dark: #3d3d3d;
    --text-medium: #5a5a5a;
    --text-light: #8a8a8a;
    --border-light: rgba(126, 184, 218, 0.25);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #7eb8da 0%, #c8b8d4 50%, #d4a5a5 100%);
    --gradient-dark: linear-gradient(135deg, #4a6670 0%, #5a7a8a 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(126, 184, 218, 0.1) 0%, rgba(212, 165, 165, 0.15) 100%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    --font-script: 'Great Vibes', cursive;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(126, 184, 218, 0.12);
    --shadow-md: 0 4px 20px rgba(126, 184, 218, 0.18);
    --shadow-lg: 0 8px 40px rgba(126, 184, 218, 0.22);
    --shadow-glow: 0 0 40px rgba(126, 184, 218, 0.3);
}

/* ============================================
   PASSWORD GATE
   ============================================ */
#passwordGate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0eb 0%, #e8ddd4 50%, #f0e6de 100%);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#passwordGate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-content {
    text-align: center;
    padding: 2rem;
}

.gate-flourish {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.gate-title {
    font-family: var(--font-script);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.gate-title span {
    color: var(--primary);
}

.gate-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.gate-input-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 320px;
    margin: 0 auto;
}

.gate-input-wrap input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    transition: border-color 0.3s ease;
}

.gate-input-wrap input:focus {
    border-color: var(--primary);
}

.gate-input-wrap button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-input-wrap button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.gate-error {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 1rem;
    min-height: 1.2em;
    transition: opacity 0.3s ease;
}

/* ============================================
   COMING SOON PAGE
   ============================================ */
#comingSoonPage {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--gradient-dark);
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#comingSoonPage.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cs-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.cs-eyebrow {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cs-title {
    font-family: var(--font-script);
    font-size: clamp(4rem, 12vw, 8rem);
    color: var(--white);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cs-title span {
    color: var(--primary);
}

.cs-heading {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    color: var(--primary-light);
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

#comingSoonPage .wedding-date {
    animation: fadeInUp 1s ease-out 0.5s both;
}

#comingSoonPage .countdown-container {
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   PARTICLE CANVAS BACKGROUND
   ============================================ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 4%;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 4%;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-rsvp {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 30px;
    transition: var(--transition-medium) !important;
}

.nav-rsvp:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-rsvp::after {
    display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-medium);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--text-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.mobile-menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active li:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active li:nth-child(8) { transition-delay: 0.45s; }

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    display: inline-block;
    padding: 0.5rem 1rem;
    position: relative;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-medium);
}

.mobile-menu a:hover::after {
    width: 80%;
}

/* ============================================
   HERO STEM FLOWERS
   ============================================ */
.hero-stem-flowers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-flower {
    position: absolute;
    width: 55px;
    height: 120px;
    animation: heroFlowerSway var(--dur, 10s) ease-in-out var(--delay, 0s) infinite;
    opacity: 0.8;
}

@keyframes heroFlowerSway {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    25%       { transform: rotate(3deg)  translateY(-6px); }
    50%       { transform: rotate(-2deg) translateY(-3px); }
    75%       { transform: rotate(4deg)  translateY(-8px); }
}

@media (max-width: 768px) {
    .hero-flower:nth-child(3),
    .hero-flower:nth-child(6) { display: none; }
    .hero-flower { width: 40px; height: 88px; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: var(--gradient-dark);
    padding: 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(126, 184, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(200, 184, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(212, 165, 165, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Floral decorative elements */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.08'%3E%3Ccircle cx='50' cy='50' r='3' fill='white'/%3E%3Ccircle cx='50' cy='40' r='5' fill='white'/%3E%3Ccircle cx='40' cy='50' r='5' fill='white'/%3E%3Ccircle cx='60' cy='50' r='5' fill='white'/%3E%3Ccircle cx='50' cy='60' r='5' fill='white'/%3E%3Ccircle cx='43' cy='43' r='4' fill='white'/%3E%3Ccircle cx='57' cy='43' r='4' fill='white'/%3E%3Ccircle cx='43' cy='57' r='4' fill='white'/%3E%3Ccircle cx='57' cy='57' r='4' fill='white'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' opacity='0.05'%3E%3Cpath d='M30 5 Q35 15 30 25 Q25 15 30 5' fill='white'/%3E%3Cpath d='M30 5 Q35 15 30 25 Q25 15 30 5' fill='white' transform='rotate(72 30 30)'/%3E%3Cpath d='M30 5 Q35 15 30 25 Q25 15 30 5' fill='white' transform='rotate(144 30 30)'/%3E%3Cpath d='M30 5 Q35 15 30 25 Q25 15 30 5' fill='white' transform='rotate(216 30 30)'/%3E%3Cpath d='M30 5 Q35 15 30 25 Q25 15 30 5' fill='white' transform='rotate(288 30 30)'/%3E%3C/svg%3E");
    background-size: 150px 150px, 100px 100px;
    background-position: 10% 20%, 85% 75%;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.6;
}

/* Floating Florals */
.floating-florals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floral {
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    animation: floatFloral linear infinite;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.floral:nth-child(1) { left: 5%; top: 10%; animation-duration: 12s; font-size: 1rem; }
.floral:nth-child(2) { left: 15%; top: 60%; animation-duration: 16s; animation-delay: -2s; font-size: 1.4rem; }
.floral:nth-child(3) { left: 25%; top: 30%; animation-duration: 14s; animation-delay: -4s; font-size: 1.1rem; }
.floral:nth-child(4) { left: 35%; top: 80%; animation-duration: 18s; animation-delay: -1s; font-size: 1.2rem; }
.floral:nth-child(5) { left: 45%; top: 15%; animation-duration: 13s; animation-delay: -3s; font-size: 1.3rem; }
.floral:nth-child(6) { left: 55%; top: 70%; animation-duration: 15s; animation-delay: -5s; font-size: 0.9rem; }
.floral:nth-child(7) { left: 65%; top: 25%; animation-duration: 17s; animation-delay: -2s; font-size: 1.2rem; }
.floral:nth-child(8) { left: 75%; top: 55%; animation-duration: 12s; animation-delay: -4s; font-size: 1.5rem; }
.floral:nth-child(9) { left: 85%; top: 40%; animation-duration: 14s; animation-delay: -1s; font-size: 1rem; }
.floral:nth-child(10) { left: 92%; top: 75%; animation-duration: 16s; animation-delay: -3s; font-size: 1.2rem; }
.floral:nth-child(11) { left: 10%; top: 85%; animation-duration: 19s; animation-delay: -6s; font-size: 1.1rem; }
.floral:nth-child(12) { left: 50%; top: 45%; animation-duration: 13s; animation-delay: -2s; font-size: 1.3rem; }

@keyframes floatFloral {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-15px) rotate(15deg) scale(1.05);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-8px) rotate(-10deg) scale(1);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) rotate(20deg) scale(1.1);
        opacity: 0.7;
    }
}

/* Blue Florals for White Sections */
.floating-florals-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floral-blue {
    position: absolute;
    color: rgba(126, 184, 218, 0.5);
    font-size: 1.4rem;
    animation: floatFloralBlue linear infinite;
    text-shadow: 0 0 10px rgba(126, 184, 218, 0.3);
}

@keyframes floatFloralBlue {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) rotate(15deg) scale(1.05);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-8px) rotate(-10deg) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-20px) rotate(20deg) scale(1.1);
        opacity: 0.8;
    }
}

.floral-blue:nth-child(1) { left: 3%; top: 15%; animation-duration: 14s; font-size: 1.1rem; }
.floral-blue:nth-child(2) { left: 12%; top: 65%; animation-duration: 18s; animation-delay: -3s; font-size: 1.5rem; }
.floral-blue:nth-child(3) { left: 22%; top: 35%; animation-duration: 16s; animation-delay: -5s; font-size: 1.2rem; }
.floral-blue:nth-child(4) { left: 38%; top: 85%; animation-duration: 20s; animation-delay: -2s; font-size: 1.3rem; }
.floral-blue:nth-child(5) { left: 48%; top: 20%; animation-duration: 15s; animation-delay: -4s; font-size: 1.4rem; }
.floral-blue:nth-child(6) { left: 58%; top: 75%; animation-duration: 17s; animation-delay: -6s; font-size: 1rem; }
.floral-blue:nth-child(7) { left: 68%; top: 30%; animation-duration: 19s; animation-delay: -3s; font-size: 1.3rem; }
.floral-blue:nth-child(8) { left: 78%; top: 60%; animation-duration: 14s; animation-delay: -5s; font-size: 1.6rem; }
.floral-blue:nth-child(9) { left: 88%; top: 45%; animation-duration: 16s; animation-delay: -2s; font-size: 1.1rem; }
.floral-blue:nth-child(10) { left: 95%; top: 80%; animation-duration: 18s; animation-delay: -4s; font-size: 1.3rem; }

/* Corner floral accents */
.hero .floral-corner {
    position: absolute;
    width: 200px;
    height: 200px;
    pointer-events: none;
    opacity: 0.15;
}

.hero .floral-corner.top-left {
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at top left, rgba(255,255,255,0.3) 0%, transparent 70%);
}

.hero .floral-corner.top-right {
    top: 0;
    right: 0;
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.25) 0%, transparent 70%);
}

.hero .floral-corner.bottom-left {
    bottom: 0;
    left: 0;
    background: radial-gradient(ellipse at bottom left, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.hero .floral-corner.bottom-right {
    bottom: 0;
    right: 0;
    background: radial-gradient(ellipse at bottom right, rgba(255,255,255,0.25) 0%, transparent 70%);
}

/* Decorative floral vines on edges */
.hero .floral-vine-left,
.hero .floral-vine-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 400px;
    pointer-events: none;
    opacity: 0.12;
}

.hero .floral-vine-left {
    left: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 300'%3E%3Cpath d='M25 0 Q30 50 20 100 Q10 150 25 200 Q40 250 25 300' stroke='white' stroke-width='2' fill='none'/%3E%3Ccircle cx='20' cy='50' r='8' fill='white' opacity='0.6'/%3E%3Ccircle cx='30' cy='100' r='6' fill='white' opacity='0.5'/%3E%3Ccircle cx='15' cy='150' r='10' fill='white' opacity='0.6'/%3E%3Ccircle cx='35' cy='200' r='7' fill='white' opacity='0.5'/%3E%3Ccircle cx='20' cy='250' r='9' fill='white' opacity='0.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.hero .floral-vine-right {
    right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 300'%3E%3Cpath d='M25 0 Q20 50 30 100 Q40 150 25 200 Q10 250 25 300' stroke='white' stroke-width='2' fill='none'/%3E%3Ccircle cx='30' cy='50' r='8' fill='white' opacity='0.6'/%3E%3Ccircle cx='20' cy='100' r='6' fill='white' opacity='0.5'/%3E%3Ccircle cx='35' cy='150' r='10' fill='white' opacity='0.6'/%3E%3Ccircle cx='15' cy='200' r='7' fill='white' opacity='0.5'/%3E%3Ccircle cx='30' cy='250' r='9' fill='white' opacity='0.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

@media (max-width: 768px) {
    .hero .floral-vine-left,
    .hero .floral-vine-right {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 80px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-intro {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-names .name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.ampersand-large {
    font-family: var(--font-script);
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--primary);
    line-height: 0.8;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--primary-light);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.wedding-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.wedding-date span {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--white);
    letter-spacing: 0.1em;
}

.date-ornament {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Primary RSVP Button */
.rsvp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition-medium);
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
}

.rsvp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-medium);
}

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

.rsvp-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(126, 184, 218, 0.4);
}

.rsvp-btn .btn-icon svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.rsvp-btn:hover .btn-icon svg {
    transform: translateX(4px);
}

/* Countdown Timer */
.countdown-container {
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.countdown-title {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 184, 218, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 90px;
    transition: var(--transition-medium);
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.countdown-number {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-top: 0.5rem;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 1s both;
    margin-top: 4rem;
}

.scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-light);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(126, 184, 218, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

/* ============================================
   WEDDING DAY SECTION
   ============================================ */
.wedding-day {
    background: var(--cream);
    padding: var(--section-padding) 5%;
    position: relative;
    overflow: hidden;
}

.venue-info {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.venue-card {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    max-width: 400px;
    padding-bottom: 1.5rem;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.venue-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
}

.venue-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.venue-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.venue-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.venue-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.venue-link:hover {
    color: var(--primary-dark);
}

/* Day Timeline */
.day-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary), var(--primary-light));
    transform: translateX(-50%);
}

.timeline-event {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.timeline-event.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-event:nth-child(even) {
    flex-direction: row-reverse;
}

.event-time {
    flex: 1;
    text-align: right;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-dark);
    padding-right: 2rem;
}

.timeline-event:nth-child(even) .event-time {
    text-align: left;
    padding-right: 0;
    padding-left: 2rem;
}

.event-node {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: var(--transition-medium);
}

.event-node .node-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-medium);
}

.timeline-event:hover .event-node {
    transform: scale(1.3);
    box-shadow: var(--shadow-glow);
}

.timeline-event:hover .node-inner {
    opacity: 1;
}

.event-card {
    flex: 1;
    background: var(--white);
    padding: 0;
    border-radius: 16px;
    margin-left: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    min-height: 100px;
}

.timeline-event:nth-child(even) .event-card {
    margin-left: 0;
    margin-right: 0;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.event-icon {
    font-size: 2rem;
}

.event-card h4 {
    padding: 0 2rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.event-card p {
    padding: 0 2rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.event-details {
    padding: 1.5rem 2rem;
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.our-story {
    background: #f0f0f0;
    padding: var(--section-padding) 5%;
    overflow: hidden;
}

.story-timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.story-timeline {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 3rem;
    position: relative;
    padding-top: 20px;
    padding-bottom: 50px;
    align-items: flex-start;
}

.story-timeline::-webkit-scrollbar {
    display: none;
}

.story-timeline::before,
.story-timeline::after {
    content: '';
    flex: 0 0 calc(50% - 150px - 1.5rem);
}


.story-line {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
}

.story-moment {
    flex: 0 0 340px;
    scroll-snap-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-medium);
    filter: blur(2px);
    opacity: 0.6;
    height: auto;
    min-height: 520px;
    flex-shrink: 0;
    overflow: visible;
}

.story-moment.active {
    filter: blur(0);
    opacity: 1;
}

.moment-year {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 2px solid var(--primary-dark);
    transition: var(--transition-medium);
    z-index: 3;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.story-moment:hover .moment-year,
.story-moment.active .moment-year {
    background: var(--primary);
    color: var(--white);
}

.moment-content {
    background: var(--cream);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    height: auto;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.story-moment:hover .moment-content,
.story-moment.active .moment-content {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.moment-photo-wrapper {
    padding: 1rem 1rem 0;
    perspective: 1000px;
}

.moment-photo {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-slow);
    transform-style: preserve-3d;
    object-fit: cover;
}

.moment-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.photo-placeholder {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* Spinning photo effect on hover */
.story-moment:hover .moment-photo {
    animation: photoSpin 0.8s ease-out;
}

@keyframes photoSpin {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.story-moment.active .moment-photo {
    animation: photoSpinActive 1s ease-out;
}

@keyframes photoSpinActive {
    0% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.05); }
    100% { transform: rotateY(360deg) scale(1); }
}

.moment-photo.engagement {
    background: linear-gradient(135deg, #ffd700, #ffb347);
}

.moment-photo.wedding {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 20px rgba(126, 184, 218, 0.3); }
    50% { box-shadow: 0 0 40px rgba(126, 184, 218, 0.6); }
}

.moment-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.moment-details h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.moment-details p {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Perspective Links */
.perspective-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.perspective-link {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.perspective-link.monica-link {
    background: linear-gradient(135deg, var(--accent) 0%, #e8b4b4 100%);
    color: var(--white);
}

.perspective-link.monica-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.4);
}

.perspective-link.danny-link {
    background: linear-gradient(135deg, var(--primary) 0%, #a5cfe8 100%);
    color: var(--white);
}

.perspective-link.danny-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 184, 218, 0.4);
}

/* Perspective Modal */
.perspective-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.perspective-modal.active {
    display: flex;
}

.perspective-modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.perspective-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    color: var(--white);
    z-index: 1;
}

.perspective-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.perspective-modal-header {
    padding: 2rem;
    text-align: center;
}

.perspective-modal-header.monica {
    background: linear-gradient(135deg, var(--accent) 0%, #e8b4b4 100%);
}

.perspective-modal-header.danny {
    background: linear-gradient(135deg, var(--primary) 0%, #a5cfe8 100%);
}

.perspective-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.perspective-modal-body {
    padding: 2rem;
}

.perspective-modal-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    font-style: italic;
}

/* Story Version Toggle */
.story-version-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.version-toggle-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.version-toggle-btn.active {
    background: var(--primary);
    color: var(--white);
}

.version-toggle-btn:hover:not(.active) {
    background: var(--primary-light);
}

/* Header Perspective Links (Version B) */
.header-perspective-links {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.header-perspective-links.active {
    display: flex;
}

.header-perspective-link {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.header-perspective-link.monica-link {
    background: linear-gradient(135deg, var(--accent) 0%, #e8b4b4 100%);
    color: var(--white);
}

.header-perspective-link.danny-link {
    background: linear-gradient(135deg, var(--primary) 0%, #a5cfe8 100%);
    color: var(--white);
}

.header-perspective-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hide card links in Version B and C */
.story-version-b .perspective-links,
.story-version-c .perspective-links {
    display: none;
}

/* Version C: Link buttons to separate page */
.header-perspective-links-c {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.header-perspective-links-c.active {
    display: flex;
}

.header-perspective-links-c a {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-perspective-links-c .stories-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
}

.header-perspective-links-c a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.story-moment.future .moment-content {
    border: 2px dashed var(--primary);
    background: transparent;
}

/* Timeline Navigation */
.timeline-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.timeline-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.timeline-nav-btn:hover {
    background: var(--primary);
}

.timeline-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    transition: var(--transition-fast);
}

.timeline-nav-btn:hover svg {
    stroke: var(--white);
}

.timeline-dots {
    display: flex;
    gap: 0.5rem;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition-medium);
}

.timeline-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}


/* ============================================
   PHOTOS SECTION
   ============================================ */
.photos-section {
    background: var(--cream);
    padding: var(--section-padding) 5%;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    cursor: pointer;
    transition: var(--transition-medium);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
}

.gallery-item.placeholder .gallery-placeholder {
    opacity: 1;
}

.gallery-item.placeholder img {
    display: none;
}

@media (max-width: 1024px) {
    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Photo Lightbox */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ============================================
   WEDDING PARTY SECTION
   ============================================ */
.wedding-party {
    background: var(--cream);
    padding: var(--section-padding) 5%;
    position: relative;
    overflow: hidden;
}

.party-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.party-side {
    text-align: center;
}

.side-title {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.party-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    margin-bottom: 1.5rem;
}

.party-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.party-member.featured {
    border: 2px solid var(--primary);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.member-photo-container {
    position: relative;
    padding: 1.5rem 1.5rem 0;
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-medium);
}

.party-member.featured .member-photo {
    width: 180px;
    height: 180px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.party-member:hover .member-photo {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.member-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-top: 1rem;
}

.member-info {
    padding: 1.5rem;
}

.member-info h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.member-relation {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.member-bio {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.party-grid .member-photo {
    width: 120px;
    height: 120px;
}

.party-grid .member-info {
    padding: 1rem;
}

.party-grid .member-info h4 {
    font-size: 1rem;
}

.party-grid .member-bio {
    font-size: 0.8rem;
}


/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--cream);
    padding: var(--section-padding) 5%;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 1.5rem 2rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   RSVP SECTION
   ============================================ */
.rsvp-section {
    position: relative;
    padding: var(--section-padding) 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
}

.rsvp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(126, 184, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(126, 184, 218, 0.1) 0%, transparent 50%);
}

.rsvp-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.06'%3E%3Ccircle cx='50' cy='50' r='3' fill='white'/%3E%3Ccircle cx='50' cy='40' r='5' fill='white'/%3E%3Ccircle cx='40' cy='50' r='5' fill='white'/%3E%3Ccircle cx='60' cy='50' r='5' fill='white'/%3E%3Ccircle cx='50' cy='60' r='5' fill='white'/%3E%3Ccircle cx='43' cy='43' r='4' fill='white'/%3E%3Ccircle cx='57' cy='43' r='4' fill='white'/%3E%3Ccircle cx='43' cy='57' r='4' fill='white'/%3E%3Ccircle cx='57' cy='57' r='4' fill='white'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    background-position: 5% 90%, 95% 10%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.rsvp-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.rsvp-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition-medium);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(126, 184, 218, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a86c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.form-group select option {
    background: var(--secondary);
    color: var(--white);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-medium);
    border-radius: 1px;
}

.form-group input:focus ~ .input-highlight,
.form-group textarea:focus ~ .input-highlight {
    width: calc(100% - 2rem);
}

/* Attendance Options */
.attendance-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.radio-option input {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-medium);
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    transition: var(--transition-medium);
}

.radio-option input:checked ~ .radio-custom {
    border-color: var(--primary);
}

.radio-option input:checked ~ .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-label {
    font-size: 0.9rem;
    color: var(--white);
}

/* RSVP Steps */
.rsvp-step {
    display: none;
}

.rsvp-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Search Results */
.search-results {
    max-height: 250px;
    overflow-y: auto;
    margin-top: 0.5rem;
    border-radius: 12px;
}

.search-result-item {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition-medium);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

.search-result-item .result-name {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.search-result-item .result-party {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-top: 0.25rem;
}

.search-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
    text-align: center;
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Invitation Card */
.invitation-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.invitation-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.invitation-names {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Guest Responses */
.guest-responses {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.guest-response-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.guest-response-item .guest-name {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.guest-response-item .attendance-options {
    display: flex;
    gap: 1rem;
}

.guest-response-item .guest-preference {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guest-response-item .guest-preference label {
    display: block;
    font-size: 0.85rem;
    color: var(--white) !important;
    margin-bottom: 0.5rem;
}

.guest-response-item .guest-dob {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.guest-response-item .guest-dob label {
    display: block;
    font-size: 0.85rem;
    color: var(--white) !important;
    margin-bottom: 0.5rem;
}

.guest-response-item .guest-dob input,
.guest-response-item .guest-dob input.flatpickr-input {
    width: 100%;
    padding: 0.5rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    -webkit-text-fill-color: #ffffff !important;
}

.guest-response-item .guest-dob input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.guest-response-item .guest-dob input:focus,
.guest-response-item .guest-dob input.flatpickr-input:focus {
    outline: none !important;
    border-color: var(--primary) !important;
}

.guest-response-item .guest-preference input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
}

.guest-response-item .guest-preference input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.guest-response-item .guest-preference input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.back-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-medium);
}

.back-btn:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.form-buttons .submit-btn {
    flex: 1;
    margin-top: 0;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(126, 184, 218, 0.3);
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.btn-loader {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    opacity: 0;
    animation: none;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.rsvp-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.rsvp-success h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.rsvp-success p {
    color: var(--primary-light);
    max-width: 300px;
    margin-bottom: 2rem;
}

.rsvp-success .back-btn {
    margin-top: 1rem;
}

.rsvp-deadline {
    text-align: center;
    margin-top: 2rem;
    color: var(--primary-light);
    font-size: 0.9rem;
}

.rsvp-deadline strong {
    color: var(--primary);
}

.dob-note {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Bailey Modal */
.bailey-modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.bailey-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
}

#bailey-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
}

/* Flatpickr custom styling to match theme */
.flatpickr-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    color: var(--white) !important;
    transition: var(--transition-medium) !important;
}

.flatpickr-input:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 20px rgba(126, 184, 218, 0.2) !important;
}

.flatpickr-calendar {
    background: var(--secondary) !important; /* Cream background */
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: 12px !important;
    color: var(--white) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange,
.flatpickr-day.endRange:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.flatpickr-day.today.selected {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.flatpickr-day.inRange {
    background: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
    color: var(--text-dark) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: var(--text-light) !important;
    opacity: 0.5;
}

.flatpickr-day:hover {
    background: var(--blush) !important;
    color: var(--text-dark) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-month,
.flatpickr-current-month .flatpickr-year,
.flatpickr-weekday {
    color: var(--white) !important;
}

.numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--white) !important;
}
.numInputWrapper span.arrowDown:after {
    border-top-color: var(--white) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #2a3a4a;
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-names {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.footer-ampersand {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--primary);
}

.footer-date {
    font-size: 1rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-hashtag {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.footer-made-with {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-made-with p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-made-with .heart {
    color: var(--accent);
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
    font-size: 1.1rem;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.tech-stack {
    font-size: 0.75rem;
    font-family: 'Monaco', 'Consolas', monospace;
    color: var(--primary);
    letter-spacing: 0.1em;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .party-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero-names {
        gap: 0.25rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .countdown-separator {
        display: none;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.75rem 1rem;
    }

    /* Wedding Day Timeline */
    .timeline-track {
        left: 20px;
    }

    .timeline-event {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 50px;
    }

    .event-time {
        text-align: left !important;
        padding: 0 0 0.5rem 0 !important;
    }

    .event-node {
        position: absolute;
        left: 10px;
    }

    .event-card {
        margin: 0 !important;
        width: 100%;
    }

    /* Story Timeline */
    .story-moment {
        flex: 0 0 300px;
        min-height: 480px;
    }

    /* RSVP */
    .form-row {
        grid-template-columns: 1fr;
    }

    .rsvp-form-container {
        padding: 2rem;
    }

    .attendance-options {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-names .name {
        font-size: 2rem;
    }

    .ampersand-large {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.3rem;
    }

    .party-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-form-container {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Smooth reveal animation for sections */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Secret Slider */
.secret-slider-container {
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
}

.secret-text {
    font-size: 0.6rem;
    color: #666;
    opacity: 0.6;
    font-style: italic;
}

.secret-slider {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #333;
    border-radius: 2px;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s;
}

.secret-slider:hover {
    opacity: 0.5;
}

.secret-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
}

.secret-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* TEMPORARILY HIDDEN - Remove this section to show RSVP again */
.rsvp-section,
a[href="#rsvp"],
.nav-rsvp,
.rsvp-btn {
    display: none !important;
}

/* ==========================================
   FLAPPY RING GAME
   ========================================== */

.game-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.85rem 1.75rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(126, 184, 218, 0.4);
    animation: gentlePulse 2s ease-in-out infinite;
}

.game-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(126, 184, 218, 0.6);
}

.game-btn-icon {
    font-size: 1.3rem;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(126, 184, 218, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(126, 184, 218, 0.6);
    }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.game-modal.active {
    display: flex;
}

.game-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.game-close-btn:hover {
    opacity: 1;
}

.game-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.game-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.game-scores {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1rem;
}

.game-scores span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

#gameCanvas {
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
    max-width: 100%;
}

.game-over-screen {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    padding: 2rem 3rem;
    border-radius: 16px;
    color: white;
    z-index: 10;
}

.game-over-screen.active {
    display: block;
}

.game-over-screen h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.game-over-screen p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.game-restart-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.game-restart-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.game-instructions {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .game-modal-content {
        padding: 1rem;
    }
    
    #gameCanvas {
        width: 100%;
        height: auto;
    }
    
    .game-title {
        font-size: 1.5rem;
    }
}
