/* ============================================================================
   COTTON PAPER COLOR PALETTE - CSS Variables
   ============================================================================ */
:root {
    /* Base cotton paper colors - warm cream/beige tones */
    --paper-light: #f5f1e8;
    --paper-base: #e8e0d3;
    --paper-medium: #d4c5b0;
    --paper-dark: #c4b29f;
    --paper-darker: #b8a68f;

    /* Text colors - dark browns/charcoals for contrast */
    --text-primary: #3d3526;
    --text-secondary: #5a4f3f;
    --text-tertiary: #6b5f4f;
    --text-dark: #2a2418;
    --text-light: rgba(61, 53, 38, 0.8);
    --text-lighter: rgba(61, 53, 38, 0.6);

    /* Accent colors - warm browns */
    --accent-warm: #8b7355;
    --accent-medium: #a68b6f;
    --accent-light: rgba(139, 115, 85, 0.2);

    /* Overlay colors for depth */
    --overlay-light: rgba(245, 241, 232, 0.95);
    --overlay-medium: rgba(232, 224, 211, 0.9);
    --overlay-dark: rgba(212, 197, 176, 0.85);

    /* Border colors */
    --border-light: rgba(61, 53, 38, 0.2);
    --border-medium: rgba(61, 53, 38, 0.4);
    --border-dark: rgba(61, 53, 38, 0.6);

    /* Background gradients */
    --gradient-primary: linear-gradient(135deg, #f5f1e8 0%, #e8e0d3 50%, #d4c5b0 100%);
    --gradient-secondary: linear-gradient(180deg, #e8e0d3 0%, #d4c5b0 50%, #c4b29f 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(245, 241, 232, 0.95) 0%, rgba(232, 224, 211, 0.9) 50%, rgba(212, 197, 176, 0.85) 100%);
}

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-primary);
    overflow-x: hidden;
    /* Base cotton paper texture background */
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body:not(.accommodations-page-body) {
    overflow: hidden;
}

.hero-container {
    width: 100%;
    min-height: 100vh;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    min-height: 100vh;
    max-width: 100vw;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* Prevent image from exceeding viewport */
    overflow: hidden;
    /* Add subtle paper texture overlay */
    background-blend-mode: overlay;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* Navigation Styles */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Home page nav bar - make it stand out like registry page */
.hero-container .top-nav {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.nav-left {
    display: flex;
    flex: 1;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-center a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.nav-center a:hover {
    color: var(--text-dark);
    border-color: var(--border-medium);
    background: var(--overlay-light);
    transform: scale(1.05);
}

.initials {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.initials:hover {
    color: var(--text-dark);
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(61, 53, 38, 0.3);
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* .rsvp-button { */
/*     background-color: var(--overlay-medium); */
/*     border: 1px solid var(--border-medium); */
/*     color: var(--text-primary); */
/*     padding: 0.6rem 1.5rem; */
/*     text-decoration: none; */
/*     font-size: 0.9rem; */
/*     letter-spacing: 1px; */
/*     transition: all 0.3s ease; */
/*     border-radius: 2px; */
/*     backdrop-filter: blur(10px); */
/* } */

/* .rsvp-button:hover { */
/*     background-color: var(--overlay-dark); */
/*     border-color: var(--border-dark); */
/*     transform: scale(1.05); */
/* } */
/* 5/18: Done in order to decomission the rsvp page */
.rsvp-deadline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: default;
}

.login-link {
    background-color: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 2px;
    margin-left: 1rem;
    backdrop-filter: blur(10px);
}

.login-link:hover {
    background-color: var(--overlay-dark);
    border-color: var(--border-dark);
    transform: scale(1.05);
}

.logout-button {
    background-color: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-left: 1rem;
    backdrop-filter: blur(10px);
}

.logout-button:hover {
    background-color: var(--overlay-dark);
    border-color: var(--border-dark);
    transform: scale(1.05);
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.top-nav.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.top-nav.nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
}

.top-nav.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile logout inside dropdown — hidden until JS confirms auth */
.nav-mobile-auth {
    display: none;
}

.nav-mobile-logout {
    width: 100%;
    text-align: left;
    margin-left: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border-light);
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    backdrop-filter: none;
}

/* Hero Content Styles */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2rem;
    padding-top: 13%;
    position: relative;
    z-index: 5;
}

.announcement {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 1), 0 4px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.names {
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 2px 6px rgba(255, 255, 255, 1), 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.6);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.date {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 1), 0 4px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Compact single-row top bar */
    .top-nav {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
        align-items: center;
        position: relative;
        z-index: 9999;
    }

    .nav-left {
        flex: 1;
    }

    .nav-right {
        flex: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* /\* Shrink RSVP button for mobile *\/ */
    /* .rsvp-button { */
    /*     padding: 0.5rem 0.75rem; */
    /*     font-size: 0.8rem; */
    /*     letter-spacing: 0.5px; */
    /* } */
    /* RSVP deadline text on mobile */
    .rsvp-deadline {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    /* Show hamburger */
    .nav-hamburger {
        display: flex;
    }

    /* Hide desktop logout */
    .nav-desktop-auth {
        display: none;
    }

    /* Nav links: hidden by default, shown as dropdown when open */
    .nav-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary, #f5f0eb);
        border-bottom: 1px solid var(--border-medium);
        z-index: 100;
        padding: 0.25rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .top-nav.nav-open .nav-center {
        display: flex;
    }

    .nav-center a {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        justify-content: flex-start;
        border: none;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
        white-space: nowrap;
        width: 100%;
    }

    .nav-center a:hover {
        transform: none;
        background: var(--overlay-light);
    }

    /* Show mobile auth section when open */
    .top-nav.nav-open .nav-mobile-auth {
        display: block;
    }

    .names {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .announcement {
        font-size: 1.3rem;
    }

    .date {
        font-size: 1.2rem;
    }
}

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

    .announcement {
        font-size: 1.1rem;
    }

    .date {
        font-size: 1rem;
    }
}

/* Accommodations Page Styles */
.accommodations-page {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--text-primary);
    overflow-y: auto;
    position: relative;
}

.accommodations-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.accommodations-page > * {
    position: relative;
    z-index: 1;
}

.accommodations-page .top-nav {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.accommodations-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

.accommodations-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.accommodations-header h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.accommodations-header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.map-container {
    position: relative;
    margin-bottom: 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.map {
    width: 100%;
    height: 600px;
    border-radius: 12px;
}

.map-legend {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--overlay-light);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(61, 53, 38, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.legend-pin {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.venue-pin {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid #ff6b6b;
}

.hotel-pin {
    background: rgba(77, 171, 247, 0.2);
    border: 2px solid #4dabf7;
}

.airbnb-pin {
    background: rgba(81, 207, 102, 0.2);
    border: 2px solid #51cf66;
}

/* Custom Marker Styles */
.custom-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-marker:hover {
    transform: scale(1.1);
}

.venue-marker-icon {
    background: #ff6b6b;
}

.hotel-marker-icon {
    background: #4dabf7;
}

.airbnb-marker-icon {
    background: #51cf66;
}

/* Leaflet Popup Styles */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.popup-content {
    padding: 0.5rem;
}

.popup-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.popup-content p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.popup-booking-link {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--accent-warm);
    color: var(--paper-light);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.popup-booking-link:hover {
    background: var(--accent-medium);
}

.accommodations-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.info-section h2 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-medium);
    padding-bottom: 1rem;
}

.accommodation-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accommodation-card {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.accommodation-card:hover {
    background: var(--overlay-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 53, 38, 0.2);
    border-color: var(--border-medium);
}

.accommodation-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.accommodation-card .location {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.accommodation-card .distance,
.accommodation-card .capacity {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.booking-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.booking-link:hover {
    background: var(--overlay-dark);
    border-color: var(--border-dark);
}

/* Responsive Design for Accommodations Page */
@media (max-width: 1024px) {
    .accommodations-info {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .map {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .accommodations-container {
        padding: 1.5rem 1.5rem;
    }

    .accommodations-header h1 {
        font-size: 2rem;
    }

    .accommodations-header .subtitle {
        font-size: 1rem;
    }

    .map {
        height: 400px;
    }

    .map-legend {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .info-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .accommodations-container {
        padding: 1rem;
    }

    .accommodations-header {
        margin-bottom: 2rem;
        padding-top: 1rem;
    }

    .accommodations-header h1 {
        font-size: 1.75rem;
    }

    .map {
        height: 350px;
    }
}

/* Timeline Page Styles */
.timeline-page {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--text-primary);
    overflow-y: auto;
    position: relative;
}

.timeline-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.timeline-page > * {
    position: relative;
    z-index: 1;
}

.timeline-page .top-nav {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 3rem 4rem;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.timeline-header h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.timeline-header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
        var(--border-light) 0%,
        var(--border-medium) 50%,
        var(--border-light) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 3px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    background: var(--overlay-medium);
    border-color: var(--border-dark);
    transform: translateX(-50%) scale(1.1);
}

.timeline-icon .icon {
    font-size: 1.8rem;
    line-height: 1;
}

.timeline-content {
    width: calc(50% - 60px);
    padding: 1.5rem 2rem;
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: var(--overlay-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 53, 38, 0.2);
    border-color: var(--border-medium);
}

.timeline-content.left {
    margin-right: auto;
    margin-left: 0;
}

.timeline-content.right {
    margin-left: auto;
    margin-right: 0;
}

.timeline-time {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Responsive Design for Timeline Page */
@media (max-width: 768px) {
    .timeline-container {
        padding: 1.5rem 1.5rem 3rem;
    }

    .timeline-header h1 {
        font-size: 2rem;
    }

    .timeline-header .subtitle {
        font-size: 1rem;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
        margin-bottom: 3rem;
    }

    .timeline-icon {
        left: 30px;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
    }

    .timeline-icon:hover {
        transform: translateX(-50%) scale(1.1);
    }

    .timeline-icon .icon {
        font-size: 1.5rem;
    }

    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .timeline-container {
        padding: 1rem 1rem 2rem;
    }

    .timeline-header {
        margin-bottom: 3rem;
        padding-top: 1rem;
    }

    .timeline-header h1 {
        font-size: 1.75rem;
    }

    .timeline-item {
        padding-left: 70px;
        margin-bottom: 2.5rem;
    }

    .timeline-line {
        left: 25px;
    }

    .timeline-icon {
        width: 45px;
        height: 45px;
        left: 25px;
    }

    .timeline-icon .icon {
        font-size: 1.3rem;
    }

    .timeline-content {
        padding: 1.25rem 1.5rem;
    }

    .timeline-title {
        font-size: 1.2rem;
    }

    .timeline-description {
        font-size: 0.9rem;
    }
}

/* Our Story Page Styles */
.our-story-page {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--text-primary);
    overflow: hidden;
    position: relative;
}

.our-story-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.our-story-page > * {
    position: relative;
    z-index: 1;
}

.our-story-page .top-nav {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.story-scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-top: 100px; /* Account for fixed nav height */
    scroll-padding-top: 100px; /* Ensure scroll snap accounts for padding when using scrollIntoView */
}

.story-slide {
    height: calc(100vh - 100px);
    min-height: calc(100vh - 100px);
    display: flex;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

.story-content-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--overlay-light);
    backdrop-filter: blur(5px);
}

.story-content-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    padding: 1.5rem;
    box-sizing: border-box;
}

.story-text {
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-image-wrapper {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.story-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(61, 53, 38, 0.3);
    transition: transform 0.3s ease;
}

.story-image:hover {
    transform: scale(1.02);
}

/* Story Navigation Arrows */
.story-nav-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-medium);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(61, 53, 38, 0.15);
    padding: 0;
    margin: 0;
}

.story-nav-arrow:hover {
    background: var(--overlay-medium);
    border-color: var(--border-dark);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(61, 53, 38, 0.25);
    color: var(--text-dark);
}

.story-nav-arrow:active {
    transform: translateX(-50%) scale(0.95);
}

.story-nav-arrow:focus {
    outline: 2px solid var(--accent-warm);
    outline-offset: 3px;
}

.story-nav-arrow:focus:not(:focus-visible) {
    outline: none;
}

.story-nav-arrow:focus-visible {
    outline: 2px solid var(--accent-warm);
    outline-offset: 3px;
}

.story-nav-arrow svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.story-nav-arrow:hover svg {
    transform: scale(1.1);
}

.story-nav-arrow-up {
    top: 20px;
}

.story-nav-arrow-down {
    bottom: 20px;
}

/* Hide arrows when not needed (first/last slide) */
.story-slide:first-child .story-nav-arrow-up,
.story-slide:last-child .story-nav-arrow-down {
    display: none;
}

/* Responsive Design for Our Story Page */
@media (max-width: 1024px) {
    .story-content-left {
        padding: 2rem;
    }

    .story-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .story-scroll-container {
        padding-top: 140px; /* More space for mobile nav */
        scroll-padding-top: 140px; /* Match padding for scroll snap */
    }

    .story-slide {
        height: calc(100vh - 140px);
        min-height: calc(100vh - 140px);
        flex-direction: column;
    }

    .story-content-left {
        width: 100%;
        height: 40%;
        padding: 1.5rem;
    }

    .story-content-right {
        width: 100%;
        height: 60%;
        padding: 1rem;
    }

    .story-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .story-image-wrapper {
        padding: 0.75rem;
    }

    /* Larger touch targets for mobile */
    .story-nav-arrow {
        width: 64px;
        height: 64px;
    }

    .story-nav-arrow svg {
        width: 28px;
        height: 28px;
    }

    .story-nav-arrow-up {
        top: 15px;
    }

    .story-nav-arrow-down {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .story-scroll-container {
        padding-top: 160px;
        scroll-padding-top: 160px; /* Match padding for scroll snap */
    }

    .story-slide {
        height: calc(100vh - 160px);
        min-height: calc(100vh - 160px);
    }

    .story-content-left {
        padding: 1rem;
        height: 35%;
    }

    .story-content-right {
        height: 65%;
        padding: 0.75rem;
    }

    .story-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .story-image-wrapper {
        padding: 0.5rem;
    }
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.login-content {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(61, 53, 38, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-wedding-title {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-shadow: 0 2px 15px rgba(245, 241, 232, 0.5);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.login-subtitle-main {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(245, 241, 232, 0.4);
}

.login-subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-top: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.form-input {
    padding: 0.75rem 1rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-lighter);
}

.form-input:focus {
    background: var(--overlay-light);
    border-color: var(--border-dark);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.login-button {
    padding: 0.85rem 2rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
}

.login-button:hover {
    background: var(--overlay-dark);
    border-color: var(--border-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 53, 38, 0.2);
}

.login-button:active {
    transform: translateY(0);
}

/* Responsive Design for Login Page */
@media (max-width: 768px) {
    .login-content {
        padding: 2rem 1.5rem;
    }

    .login-wedding-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .login-subtitle-main {
        font-size: 1.3rem;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 1rem;
    }

    .login-content {
        padding: 1.5rem 1rem;
    }

    .login-wedding-title {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .login-subtitle-main {
        font-size: 1.1rem;
    }
}

/* RSVP Page Styles */
.rsvp-page {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--text-primary);
    overflow-y: auto;
    padding-bottom: 2rem;
    position: relative;
}

.rsvp-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.rsvp-page > * {
    position: relative;
    z-index: 1;
}

.rsvp-page .top-nav {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.rsvp-header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.rsvp-header .subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.wedding-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 1px;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 1rem;
}

.progress-indicator {
    position: relative;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(to bottom,
        var(--border-light) 0%,
        var(--border-medium) 50%,
        var(--border-light) 100%);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-lighter);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    background: var(--overlay-light);
    /* Fix number centering: line-height removes font baseline offset */
    line-height: 1;
    text-align: center;
    /* Add pseudo-element to occlude only the interior portion of the line */
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--paper-base);
    z-index: -1;
}

.progress-step.active .step-number {
    background: var(--overlay-medium);
    border-color: var(--accent-warm);
    color: var(--accent-warm);
    transform: scale(1.1);
    /* Add glow effect to make active step clearly visible */
    box-shadow: 0 0 0 3px var(--accent-light), 0 0 15px rgba(139, 115, 85, 0.3);
}

.progress-step.active .step-number::before {
    width: 50px;
    height: 50px;
}

.progress-step.completed .step-number {
    background: var(--accent-light);
    border-color: var(--accent-warm);
    color: var(--accent-warm);
}

.progress-step.completed .step-number::before {
    width: 46px;
    height: 46px;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-lighter);
    text-align: center;
    letter-spacing: 0.5px;
}

.progress-step.active .step-label {
    color: var(--accent-warm);
    font-weight: 500;
}

.progress-step.completed .step-label {
    color: var(--accent-medium);
}

/* Clickable completed steps - styling to indicate interactivity */
.progress-step.completed {
    cursor: pointer;
}

.progress-step.completed:hover .step-number {
    background: var(--accent-medium);
    border-color: var(--accent-warm);
    transform: scale(1.08);
    box-shadow: 0 0 0 3px var(--accent-light), 0 0 15px rgba(139, 115, 85, 0.4);
}

.progress-step.completed:hover .step-label {
    color: var(--accent-warm);
}

.progress-step.completed .step-number {
    transition: all 0.2s ease;
}

.progress-step.completed .step-label {
    transition: color 0.2s ease;
}

/* Form Steps */
.rsvp-form-wrapper {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(61, 53, 38, 0.2);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.form-step h2 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.required {
    color: #ff6b6b;
    margin-left: 0.25rem;
}

.radio-group-label {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: var(--overlay-light);
    border-color: var(--border-medium);
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-right: 0.25rem;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-warm);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-warm);
    border-radius: 50%;
}

.radio-label {
    flex: 1;
    font-size: 1rem;
    color: var(--text-primary);
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-lighter);
}

.form-input:focus {
    background: var(--overlay-light);
    border-color: var(--border-dark);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input.error {
    border-color: #c85a5a;
    background: rgba(200, 90, 90, 0.1);
}

.field-error {
    display: block;
    color: #c85a5a;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-lighter);
    margin-top: 0.25rem;
}

/* Guest Cards */
.guest-card {
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.guest-card:hover {
    background: var(--overlay-light);
    border-color: var(--border-medium);
}

.guest-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.guest-card-header h3 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin: 0;
}

.btn-remove-guest {
    padding: 0.5rem 1rem;
    background: rgba(200, 90, 90, 0.2);
    border: 1px solid rgba(200, 90, 90, 0.5);
    color: #c85a5a;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.btn-remove-guest:hover {
    background: rgba(200, 90, 90, 0.3);
    border-color: rgba(200, 90, 90, 0.7);
}

/* Guest Selection (Step 1 - Combined Attendance + Guest Details) */
.guest-selection-row {
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.guest-selection-row:hover {
    background: var(--overlay-light);
    border-color: var(--border-medium);
}

.guest-selection-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.attendance-labels {
    display: flex;
    gap: 1.5rem;
    padding-left: 0;
}

.attendance-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 40px;
    text-align: center;
}

.guest-selection-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.attendance-radios {
    display: flex;
    gap: 1.5rem;
}

.attendance-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 40px;
}

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

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

.attendance-radio:hover .radio-custom {
    border-color: var(--border-dark);
    background: var(--overlay-light);
}

.attendance-radio input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-warm);
    background: var(--accent-light);
}

.attendance-radio input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-warm);
    border-radius: 50%;
}

/* Different color for "No" selections */
.attendance-radio input[type="radio"][value="no"]:checked + .radio-custom {
    border-color: #c85a5a;
    background: rgba(200, 90, 90, 0.2);
}

.attendance-radio input[type="radio"][value="no"]:checked + .radio-custom::after {
    background: #c85a5a;
}

.guest-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

/* No guests message */
.no-guests-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Meal Choice Cards */
.meal-choice-card {
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.meal-choice-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Entree Cards Container - Side by Side Layout */
.entree-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

/* Individual Entree Card */
.entree-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--overlay-medium);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.entree-card:hover {
    background: var(--overlay-light);
    border-color: var(--border-medium);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 53, 38, 0.2);
}

.entree-card.selected {
    background: var(--accent-light);
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 3px var(--accent-light), 0 8px 25px rgba(61, 53, 38, 0.2);
}

.entree-card.selected:hover {
    background: rgba(139, 115, 85, 0.25);
}

/* Hide the actual radio input */
.entree-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Entree Card Content */
.entree-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.entree-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.entree-card:hover .entree-emoji {
    transform: scale(1.15);
}

.entree-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.entree-subtitle {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.entree-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

/* Selected Check Indicator */
.entree-check-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    background: var(--accent-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--paper-light);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.entree-card.selected .entree-check-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Allergy Input Group within Meal Card */
.allergy-input-group {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.allergy-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.allergy-input {
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
}

/* Responsive Entree Cards */
@media (max-width: 600px) {
    .entree-cards-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .entree-card {
        padding: 1rem;
    }

    .entree-emoji {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .entree-title {
        font-size: 1rem;
    }

    .entree-description {
        font-size: 0.8rem;
    }
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent-light);
    border-color: var(--accent-warm);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-warm);
    font-size: 14px;
    font-weight: bold;
}

/* Toggle Button */
.btn-toggle {
    width: 100%;
    padding: 1rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-toggle:hover {
    background: var(--overlay-light);
    border-color: var(--border-medium);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.collapsible-content {
    margin-top: 1rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    border: none;
    min-height: 44px; /* Mobile touch target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-primary:hover:not(:disabled) {
    background: var(--overlay-dark);
    border-color: var(--border-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 53, 38, 0.2);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--overlay-light);
    border-color: var(--border-medium);
}

.btn-secondary#add-guest-btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Confirmation Summary */
.confirmation-summary {
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
}

.summary-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-section h3 {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.summary-section p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.summary-guest {
    background: var(--overlay-light);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-guest strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.summary-guest p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.success-message.show-confetti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(76, 175, 80, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 40% 50%, rgba(255, 193, 7, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(33, 150, 243, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 10% 80%, rgba(156, 39, 176, 0.8) 2px, transparent 2px);
    background-size: 50px 50px, 60px 60px, 40px 40px, 55px 55px, 45px 45px;
    animation: confetti 3s ease-out forwards;
    pointer-events: none;
}

@keyframes confetti {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

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

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 3px solid var(--accent-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-warm);
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h2 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.success-details {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Deadline Passed Message */
.deadline-passed-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    max-width: 600px;
    margin: 2rem auto;
}

.deadline-content h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.deadline-date {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.deadline-info {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-options {
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-options p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-options p:last-child {
    margin-bottom: 0;
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-tertiary);
}

/* Responsive Design for Deadline Message */
@media (max-width: 768px) {
    .deadline-passed-message {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }

    .deadline-content h1 {
        font-size: 1.6rem;
    }

    .deadline-date {
        font-size: 1.1rem;
    }

    .deadline-info {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .deadline-passed-message {
        padding: 1.5rem 1rem;
        margin: 1rem;
    }

    .deadline-content h1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .deadline-date {
        font-size: 1rem;
    }

    .deadline-info {
        font-size: 0.95rem;
    }

    .contact-options {
        padding: 1rem;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 53, 38, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: var(--text-primary);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-light);
    border-top-color: var(--accent-warm);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.loading-overlay p {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rsvp-container {
        padding: 1.5rem 1rem;
    }

    .rsvp-header h1 {
        font-size: 2rem;
    }

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

    .form-step h2 {
        font-size: 1.5rem;
    }

    .progress-indicator {
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .guest-card,
    .meal-choice-card {
        padding: 1rem;
    }

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

    /* Guest Selection responsive */
    .guest-selection-row {
        padding: 0.75rem 1rem;
    }

    .attendance-label {
        font-size: 0.75rem;
        width: 35px;
    }

    .attendance-radios {
        gap: 1rem;
    }

    .attendance-radio {
        width: 35px;
    }

    .attendance-radio .radio-custom {
        width: 22px;
        height: 22px;
    }

    .guest-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rsvp-container {
        padding: 1rem 0.75rem;
    }

    .rsvp-form-wrapper {
        padding: 1rem;
    }

    .rsvp-header {
        margin-bottom: 2rem;
        padding-top: 1rem;
    }

    .rsvp-header h1 {
        font-size: 1.75rem;
    }

    .form-step h2 {
        font-size: 1.3rem;
    }

    .progress-indicator::before {
        display: none;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    /* Guest Selection responsive - extra small */
    .guest-selection-row {
        padding: 0.5rem 0.75rem;
    }

    .attendance-labels {
        gap: 0.75rem;
    }

    .attendance-label {
        font-size: 0.7rem;
        width: 30px;
    }

    .attendance-radios {
        gap: 0.75rem;
    }

    .attendance-radio {
        width: 30px;
    }

    .attendance-radio .radio-custom {
        width: 20px;
        height: 20px;
    }

    .attendance-radio input[type="radio"]:checked + .radio-custom::after {
        width: 10px;
        height: 10px;
    }

    .guest-name {
        font-size: 0.9rem;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(61, 53, 38, 0.3);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-left: 4px solid var(--accent-warm);
}

.toast-error {
    border-left: 4px solid #c85a5a;
}

/* Form Error Message */
.form-error-message {
    background: rgba(200, 90, 90, 0.2);
    border: 1px solid rgba(200, 90, 90, 0.5);
    border-left: 4px solid #c85a5a;
    color: #c85a5a;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease;
}

.form-error-message.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Confirmation Modal */
.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 53, 38, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.confirmation-modal {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(61, 53, 38, 0.3);
    animation: scaleIn 0.3s ease;
}

.confirmation-modal h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.confirmation-modal p {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.modal-question {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Auto-save Indicator */
.auto-save-indicator {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.5rem 1rem;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-medium);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.85rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.auto-save-indicator.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Confetti Particles */
.confetti-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: confettiFall linear forwards;
    pointer-events: none;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Mobile Responsive for Modals and Toasts */
@media (max-width: 768px) {
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .confirmation-modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .confirmation-modal h3 {
        font-size: 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

/* ============================================================================
   DETAILS PAGE STYLES
   ============================================================================ */

.details-page {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--text-primary);
    overflow-y: auto;
    position: relative;
}

.details-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.details-page > * {
    position: relative;
    z-index: 1;
}

.details-page .top-nav {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 3rem 4rem;
}

.details-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.details-header h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.details-header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Events Wrapper - Controls layout for one or two cards */
.events-wrapper {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.events-wrapper.two-events {
    justify-content: center;
}

.events-wrapper.single-event {
    justify-content: center;
}

.events-wrapper.single-event .event-card {
    max-width: 600px;
}

/* Event Card Base Styles */
.event-card {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(61, 53, 38, 0.2);
}

.event-card:hover {
    background: var(--overlay-medium);
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(61, 53, 38, 0.3);
    border-color: var(--border-medium);
}

/* Event Icon */
.event-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--overlay-light);
    border: 2px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.event-card:hover .event-icon {
    background: var(--overlay-medium);
    border-color: var(--border-dark);
    transform: scale(1.05);
}

.event-icon .icon {
    font-size: 2.5rem;
    line-height: 1;
}

.event-icon .icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Event Title */
.event-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* Event Date */
.event-date {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-style: italic;
}

/* Event Details (Time & Location) */
.event-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.detail-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.detail-text strong {
    color: var(--text-dark);
    font-weight: 500;
}

/* Event Info Sections */
.event-info {
    flex: 1;
    margin-bottom: 1.5rem;
}

.info-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--overlay-medium);
    border-radius: 8px;
    border-left: 3px solid var(--border-medium);
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h3 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.info-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.info-hint {
    font-size: 0.85rem !important;
    font-style: italic;
    color: var(--text-tertiary) !important;
    margin-top: 0.5rem !important;
}

/* Dress Code Details */
.dress-code-details {
    margin-top: 0.75rem;
}

.dress-code-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.dress-code-item:last-child {
    margin-bottom: 0;
}

.dress-label {
    font-weight: 500;
    color: var(--text-primary);
    flex-shrink: 0;
    min-width: 60px;
}

/* Map Link */
.event-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
    backdrop-filter: blur(10px);
}

.event-map-link:hover {
    background: var(--overlay-dark);
    border-color: var(--border-dark);
    transform: translateY(-2px);
}

/* Details Footer */
.details-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.details-footer p {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Responsive Design for Details Page */
@media (max-width: 1024px) {
    .events-wrapper {
        gap: 2rem;
    }

    .event-card {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .details-container {
        padding: 1.5rem 1.5rem 3rem;
    }

    .details-header h1 {
        font-size: 2rem;
    }

    .details-header .subtitle {
        font-size: 1rem;
    }

    .details-header {
        margin-bottom: 3rem;
    }

    .events-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .event-card {
        max-width: 100%;
        padding: 2rem;
    }

    .event-title {
        font-size: 1.5rem;
    }

    .event-icon {
        width: 70px;
        height: 70px;
    }

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

    .event-icon .icon-image {
        width: 50px;
        height: 50px;
    }

    .dress-code-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .dress-label {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .details-container {
        padding: 1rem 1rem 2rem;
    }

    .details-header {
        margin-bottom: 2rem;
        padding-top: 1rem;
    }

    .details-header h1 {
        font-size: 1.75rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .event-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .event-date {
        font-size: 1rem;
    }

    .event-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

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

    .event-icon .icon-image {
        width: 40px;
        height: 40px;
    }

    .info-section {
        padding: 0.75rem;
    }

    .detail-text {
        font-size: 0.9rem;
    }
}

/* ============================================================================
   REGISTRY PAGE STYLES - Honeymoon Fund
   ============================================================================ */

.registry-page {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

.registry-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cotton-paper-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.registry-page > * {
    position: relative;
    z-index: 1;
}

.registry-page .top-nav {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

/* ============================================================================
   HERO SECTION - Parallax & Animations
   ============================================================================ */

.registry-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/background.jpeg');
    background-size: cover;
    background-position: center 80%;
    background-attachment: fixed;
    transform: translateZ(0);
    will-change: transform;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: -1;
}

.registry-hero .hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.registry-hero .hero-title {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 4px 20px rgba(245, 241, 232, 0.5);
}

.registry-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(245, 241, 232, 0.4);
}

/* Animated Fund Counter */
.fund-counter {
    background: var(--overlay-light);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem 3rem;
    margin-bottom: 2.5rem;
    display: inline-block;
    box-shadow: 0 10px 40px rgba(61, 53, 38, 0.2);
}

.counter-label {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.counter-amount {
    font-size: 4rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.counter-amount .currency {
    font-size: 2.5rem;
    opacity: 0.9;
}

.counter-amount .amount-value {
    font-variant-numeric: tabular-nums;
    transition: all 0.5s ease;
}

.counter-contributors {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--overlay-medium);
    border: 2px solid var(--border-medium);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
    position: relative;
}

.cta-button:hover {
    background: var(--overlay-dark);
    border-color: var(--border-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(61, 53, 38, 0.3);
}

.cta-icon {
    font-size: 1.3rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 0 auto;
    border-right: 2px solid var(--border-medium);
    border-bottom: 2px solid var(--border-medium);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

/* ============================================================================
   HERO ANIMATIONS
   ============================================================================ */

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: registryScaleIn 0.8s ease 0.6s forwards;
}

.animate-bounce-in {
    opacity: 0;
    transform: translateY(20px);
    animation: bounceIn 0.8s ease 1s forwards;
}

/* Ensure CTA button is always visible - override animation opacity */
.cta-button.animate-bounce-in {
    animation: bounceIn 0.8s ease 1s forwards;
    /* Force visibility after animation completes (1s delay + 0.8s duration = 1.8s total) */
    animation-fill-mode: forwards;
}

@keyframes registryScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(20px); }
    60% { opacity: 1; transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* ============================================================================
   SECTION COMMON STYLES
   ============================================================================ */

.registry-page .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.registry-page .section-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.registry-page .section-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================================
   MILESTONES SECTION
   ============================================================================ */

.milestones-section {
    background: var(--gradient-secondary);
    position: relative;
}

/* Progress Bar */
.progress-container {
    position: relative;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.progress-track {
    height: 12px;
    background: var(--overlay-medium);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-warm) 0%, var(--accent-medium) 50%, var(--paper-dark) 100%);
    border-radius: 6px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 20px rgba(139, 115, 85, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Milestone Markers on Progress Bar */
.milestone-markers {
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 12px;
    pointer-events: none;
}

.milestone-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--overlay-light);
    border: 2px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: all;
}

.milestone-marker.reached {
    background: var(--accent-warm);
    border-color: var(--accent-medium);
    box-shadow: 0 0 15px rgba(139, 115, 85, 0.5);
    animation: milestoneReached 0.5s ease;
}

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

.milestone-marker .marker-icon {
    font-size: 12px;
}

/* Milestone Grid */
.milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.milestone-card {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.milestone-card:hover {
    background: var(--overlay-medium);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(61, 53, 38, 0.2);
    border-color: var(--border-medium);
}

.milestone-card.reached {
    border-color: var(--accent-warm);
    background: var(--accent-light);
}

.milestone-card.reached::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background: var(--accent-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--paper-light);
}

.milestone-amount {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.milestone-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.milestone-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.milestone-progress-bar {
    margin-top: 1rem;
    height: 6px;
    background: var(--overlay-medium);
    border-radius: 3px;
    overflow: hidden;
}

.milestone-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-medium));
    border-radius: 3px;
    transition: width 1s ease;
}

/* ============================================================================
   ITINERARY SECTION
   ============================================================================ */

.itinerary-section {
    background: var(--gradient-secondary);
}

.itinerary-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.itinerary-stop {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.itinerary-stop.visible {
    opacity: 1;
    transform: translateY(0);
}

.itinerary-stop:nth-child(even) {
    flex-direction: row-reverse;
}

.stop-image {
    flex: 1;
    min-height: 300px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.stop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.stop-image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--text-tertiary);
}

.stop-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.stop-badge {
    display: inline-block;
    background: var(--overlay-light);
    border: 1px solid var(--border-medium);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 1rem;
    width: fit-content;
}

.stop-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.stop-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stop-experiences {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.itinerary-section .experience-tag {
    background: var(--overlay-medium);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.itinerary-section .experience-tag:hover {
    background: var(--overlay-light);
    transform: translateY(-2px);
    border-color: var(--border-medium);
}

/* ============================================================================
   CONTRIBUTE SECTION
   ============================================================================ */

.contribute-section {
    background: var(--gradient-secondary);
}

/* Experience Cards Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.experience-card {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-medium));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover {
    background: var(--overlay-medium);
    border-color: var(--border-medium);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(61, 53, 38, 0.3);
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-card.selected {
    border-color: var(--accent-warm);
    background: var(--accent-light);
}

.experience-card.selected::before {
    opacity: 1;
}

.experience-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.experience-card:hover .experience-emoji {
    transform: scale(1.2) rotate(5deg);
}

.experience-card-amount {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.experience-card-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.experience-card-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Custom Contribution Form */
.custom-contribution {
    background: var(--overlay-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.custom-title {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contribution-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contribution-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.contribution-form .amount-group {
    flex: 0 0 140px;
}

.contribution-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.contribution-form .currency-symbol {
    position: absolute;
    left: 1rem;
    font-size: 1.2rem;
    color: var(--text-tertiary);
}

.contribution-form .amount-input {
    padding-left: 2rem !important;
    font-size: 1.3rem;
    text-align: center;
}

.message-group {
    margin-bottom: 1.5rem;
}

.message-input {
    resize: vertical;
    min-height: 100px;
}

/* Quick Amount Buttons */
.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.quick-amount-btn {
    padding: 0.6rem 1.2rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border-medium);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.quick-amount-btn:hover {
    background: var(--overlay-light);
    border-color: var(--border-dark);
    transform: translateY(-2px);
}

.quick-amount-btn.active {
    background: var(--accent-light);
    border-color: var(--accent-warm);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-medium) 100%);
    border: none;
    border-radius: 30px;
    color: var(--paper-light);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.3rem;
}

.secure-notice {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lock-icon {
    font-size: 1rem;
}

/* ============================================================================
   CONTRIBUTORS SECTION
   ============================================================================ */

.contributors-section {
    background: var(--gradient-secondary);
    padding-bottom: 6rem;
}

.contributors-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    min-height: 200px;
}

.contributor-card {
    background: var(--overlay-medium);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease both;
}

.contributor-card:hover {
    background: var(--overlay-light);
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.contributor-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contributor-message {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.no-contributors {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-tertiary);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ============================================================================
   EASTER EGG STYLING
   ============================================================================ */

.easter-egg-trigger {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
    color: rgba(61, 53, 38, 0.08);
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
    font-style: italic;
}

.easter-egg-trigger:hover {
    color: rgba(61, 53, 38, 0.15);
}

.easter-egg-hidden {
    display: none !important;
}

.easter-egg-revealed {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* ============================================================================
   SUCCESS MODAL
   ============================================================================ */

.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 53, 38, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.success-modal {
    background: var(--overlay-light);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: registryScaleIn 0.5s ease;
}

.success-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.registry-page .success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: successBounce 0.8s ease;
}

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

.success-modal h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.success-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.success-amount {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.success-message-display {
    font-style: italic;
    color: var(--text-tertiary);
    margin-top: 1rem;
    padding: 1rem;
    background: var(--overlay-medium);
    border-radius: 8px;
}

.success-close-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-medium) 100%);
    border: none;
    border-radius: 30px;
    color: var(--paper-light);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.success-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.5);
}

/* ============================================================================
   MILESTONE CELEBRATION
   ============================================================================ */

.milestone-celebration {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.95) 0%, rgba(166, 139, 111, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem 4rem;
    text-align: center;
    z-index: 10001;
    animation: celebrationPop 0.5s ease;
    box-shadow: 0 20px 60px rgba(139, 115, 85, 0.5);
}

@keyframes celebrationPop {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    60% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.celebration-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: celebrationSpin 1s ease;
}

@keyframes celebrationSpin {
    0% { transform: rotate(0deg) scale(0); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.celebration-content h3 {
    font-size: 1.5rem;
    color: var(--paper-light);
    margin-bottom: 0.5rem;
}

.celebration-content p {
    font-size: 1.2rem;
    color: var(--paper-light);
}

/* ============================================================================
   FLOATING PARTICLES (Ambient Animation)
   ============================================================================ */

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Confetti particles for success */
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: registryConfettiFall 3s ease-out forwards;
}

@keyframes registryConfettiFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================================================
   RESPONSIVE DESIGN - Registry Page
   ============================================================================ */

@media (max-width: 1024px) {
    .registry-hero .hero-title {
        font-size: 3rem;
    }

    .counter-amount {
        font-size: 3rem;
    }

    .itinerary-stop {
        flex-direction: column !important;
        gap: 2rem;
    }

    .stop-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .registry-hero {
        padding: 140px 1.5rem 3rem;
    }

    .registry-hero .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .registry-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .fund-counter {
        padding: 1.5rem 2rem;
    }

    .counter-amount {
        font-size: 2.5rem;
    }

    .counter-amount .currency {
        font-size: 1.8rem;
    }

    .registry-page .section-container {
        padding: 4rem 1.5rem;
    }

    .registry-page .section-title {
        font-size: 2rem;
    }

    .custom-contribution {
        padding: 2rem 1.5rem;
    }

    .contribution-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .contribution-form .amount-group {
        flex: 1;
    }

    .quick-amounts {
        gap: 0.5rem;
    }

    .quick-amount-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .experience-card {
        padding: 1.25rem;
    }

    .experience-emoji {
        font-size: 2rem;
    }

    .experience-card-amount {
        font-size: 1.4rem;
    }

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

    .contributors-wall {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .registry-hero {
        padding: 120px 1rem 2rem;
    }

    .registry-hero .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .registry-hero .hero-subtitle {
        font-size: 1rem;
    }

    .fund-counter {
        padding: 1.25rem 1.5rem;
        margin-bottom: 2rem;
    }

    .counter-amount {
        font-size: 2rem;
    }

    .counter-amount .currency {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .registry-page .section-container {
        padding: 3rem 1rem;
    }

    .registry-page .section-title {
        font-size: 1.75rem;
    }

    .registry-page .section-subtitle {
        font-size: 1rem;
    }

    .experience-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .experience-card {
        padding: 1rem;
    }

    .experience-emoji {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .experience-card-amount {
        font-size: 1.2rem;
    }

    .experience-card-title {
        font-size: 0.9rem;
    }

    .experience-card-description {
        display: none;
    }

    .custom-contribution {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .custom-title {
        font-size: 1.25rem;
    }

    .stop-image {
        min-height: 200px;
    }

    .stop-title {
        font-size: 1.5rem;
    }

    .stop-description {
        font-size: 0.95rem;
    }

    .contributors-wall {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .contributor-card {
        padding: 1rem;
    }

    .contributor-name {
        font-size: 0.95rem;
    }

    .success-modal {
        padding: 2rem 1.5rem;
    }

    .registry-page .success-icon {
        font-size: 3rem;
    }

    .success-modal h2 {
        font-size: 2rem;
    }
}
