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

:root {
    --color-ink: #2C2C2C;
    --color-ink-soft: #5A5A5A;
    --color-gold: #C5A059;
    --color-gold-soft: #DECBA5;
    --color-gold-light: #F3EAD3;
    --color-cream: #FCFBF9;
    --color-rose: #F3EAD3;
    /* Mapped to gold-light */
    --color-rose-light: #FCFBF9;
    /* Mapped to cream */
    --color-sage: #9CAF88;
    --color-sage-light: #D6E0CC;
    --color-white: #FFFFFF;
    --color-grey-light: #F8F8F7;
    --color-grey: #EBEBE9;
    --color-muted: #8C8C8C;
    --color-border: #E6E6E4;

    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 112.5%;
    /* Base size ~18px, scales all rem units */
}

body {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    /* ~21.6px */
    color: var(--color-ink);
    line-height: 1.65;
    background: var(--color-grey-light);
    background-image:
        radial-gradient(circle at 15% 25%, rgba(197, 160, 89, 0.1), transparent 30%),
        radial-gradient(circle at 85% 75%, rgba(249, 240, 237, 0.2), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.05), transparent 40%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,20 Q30,10 40,20 T60,20 T80,20' stroke='%23C5A059' stroke-width='0.5' fill='none' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Typography & Form Defaults */
::placeholder {
    font-family: var(--font-serif);
    color: var(--color-muted);
    opacity: 0.8;
    font-weight: 400;
    font-style: italic;
    font-size: 1.1rem;
}

input,
textarea,
select {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-ink);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 800px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding-top: env(safe-area-inset-top);
}

.nav.scrolled {
    background: rgba(252, 251, 249, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
}

.nav-logo {
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0;
}

.nav.scrolled .nav-logo {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s, opacity 0.3s;
    letter-spacing: 0.01em;
}

.nav.scrolled .nav-menu a {
    color: var(--color-ink);
}

.nav-menu a:hover {
    color: var(--color-gold-soft);
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.6rem;
    margin-right: -0.5rem;
    transition: opacity 0.3s;
}

.nav-toggle:hover {
    opacity: 0.8;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s;
}

.nav.scrolled .nav-toggle {
    background: transparent;
    /* Remove button background on scrolled header */
}

.nav.scrolled .nav-toggle span {
    background: var(--color-gold);
    /* Gold icon on dark scrolled header */
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(252, 251, 249, 0.98) 0%,
            rgba(255, 255, 255, 0.98) 30%,
            rgba(248, 245, 238, 0.95) 60%,
            rgba(252, 251, 249, 0.95) 100%);
    position: relative;
    text-align: center;
    padding: 120px 1rem 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, rgba(243, 234, 211, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 184, 122, 0.15) 0%, rgba(243, 234, 211, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}


/* Hero Invitation Card */
.hero-invitation-card {
    position: relative;
    z-index: 3;
    background: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.25);
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.3s ease;
}

.hero-invitation-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow: 0 12px 40px rgba(44, 44, 44, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.35);
}

.invitation-wax-seal {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C9A961, #D4B87A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.invitation-wax-seal::after {
    content: '';
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}



.invitation-photo-frame {
    width: 220px;
    height: 340px;
    /* Tall elegant arch */
    margin: 1rem auto 1.5rem;
    position: relative;

    /* Vertical Arch / Window Shape */
    border-radius: 200px 200px 0 0;
    /* Full semi-circle top */
    overflow: hidden;

    /* Clean Styling */
    border: 5px solid var(--color-white);
    box-shadow:
        0 15px 35px rgba(197, 160, 89, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.05);

    transform: translateZ(0);
    z-index: 10;
    transition: all 0.5s ease;

    /* Reset mask/background from previous iterations */
    -webkit-mask: none;
    mask: none;
    background-color: var(--color-white);
    padding: 0;
    filter: none;
}

/* Remove effects from previous iterations */
.invitation-photo-frame::after,
.invitation-photo-frame::before {
    display: none;
}

.invitation-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Position hands slightly lower (showing more of the top space) */
    object-position: center 20%;
    display: block;
    transform: scale(1.0);
    transition: transform 1.2s ease;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.invitation-photo-frame:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(197, 160, 89, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.08);
}

.invitation-photo-frame:hover .invitation-photo {
    transform: scale(1.05);
}

.hero-invitation-card:hover .invitation-photo {
    transform: scale(1.05);
}

/* Adjust wax seal position if photo is present */
.hero-invitation-card:has(.invitation-photo-frame) .invitation-wax-seal {
    top: -20px;
    z-index: 10;
}

.invitation-content {
    position: relative;
}

.invitation-header,
.invitation-footer {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--color-muted);
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.invitation-footer {
    margin-top: 1rem;
    margin-bottom: 0;
}

.invitation-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 1rem auto;
    opacity: 0.6;
}

.hero-cta {
    position: relative;
    z-index: 3;
    margin-top: 1rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 500;
    margin: 0.5rem 0;
    letter-spacing: 0;
    position: relative;
    display: block;
    line-height: 1.2;
    text-shadow: none;

    /* Shimmer Effect Setup */
    background: linear-gradient(to right,
            #C5A059 20%,
            #C5A059 40%,
            #F8E4B7 50%,
            #C5A059 60%,
            #C5A059 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;

    /* Animations */
    opacity: 0;
    animation:
        monogram-fade-in 1.5s ease-out forwards,
        monogram-shimmer 6s linear infinite;
    animation-delay: 0.5s, 5s;
}

@keyframes monogram-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes monogram-shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--color-muted);
    margin: 0.5rem 0;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-style: italic;
    text-transform: uppercase;
}

.hero-date {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    color: var(--color-ink);
    margin: 0.75rem 0 0.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-time {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: var(--color-muted);
    margin: 0.25rem 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-location {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--color-ink-soft);
    font-weight: 500;
    margin: 0.5rem 0 0;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-gold);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-soft) 0%, var(--color-gold) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
    border: 1px solid rgba(197, 160, 89, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

.btn-full {
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-gold);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 4.5rem 0;
    position: relative;
    scroll-margin-top: 120px;
}

.section-alt {
    background: #FCFBF9;
    position: relative;
}


.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-ink);
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
    display: block;
    margin-top: 1rem;
    border-radius: 999px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-ink-soft);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    line-height: 1.7;
}

.section-note {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: -1.5rem;
    color: var(--color-muted);
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Info Section */
.info-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--color-ink-soft);
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
    position: relative;
}

.info-text::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-pink-soft), var(--color-gold-light), var(--color-sage-light));
    border-radius: 1.25rem 1.25rem 0 0;
}

.info-highlight {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(120deg, rgba(197, 160, 89, 0.1), rgba(249, 241, 237, 0.95));
    border-radius: 0.85rem;
    border: 1px solid rgba(201, 169, 97, 0.25);
    color: var(--color-ink);
    font-weight: 500;
    letter-spacing: 0.01em;
    font-style: italic;
}

.info-digital {
    margin-top: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(201, 169, 97, 0.08));
    border-radius: 0.85rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
    color: var(--color-ink-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

.info-digital strong {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.05em;
}

.info-text strong {
    color: var(--color-gold);
}

.info-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(249, 241, 237, 0.98));
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.25);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.info-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(145deg, var(--color-gold-light), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-ink);
}

.info-value {
    color: var(--color-muted);
}

/* Location Section */
.location-box {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
}

.location-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-pink-soft), var(--color-gold-light), var(--color-sage-light));
    border-radius: 1.25rem 1.25rem 0 0;
}

.location-box h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-box h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.location-desc {
    color: var(--color-ink-soft);
    margin: 1rem 0;
}

.gps {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin: 0.5rem 0;
}

.link {
    color: var(--color-ink);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.link::after {
    content: '→';
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.link:hover::after {
    transform: translateX(3px);
}

.map-container {
    background: var(--color-white);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map {
    width: 100%;
    border-radius: 0.5rem;
}

/* RSVP Section */
.rsvp-box {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
}

.rsvp-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-pink-soft), var(--color-gold-light), var(--color-sage-light));
    border-radius: 1.25rem 1.25rem 0 0;
}

.rsvp-box h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
}

.rsvp-desc {
    text-align: center;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

.rsvp-guest-info {
    background: linear-gradient(135deg, rgba(249, 241, 237, 0.9), rgba(255, 255, 255, 0.95));
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 169, 97, 0.25);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.1);
}

.rsvp-guest-welcome {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.rsvp-guest-name-input {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-gold);
    background: transparent;
    border: none;
    border-bottom: 2px dashed rgba(197, 160, 89, 0.2);
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.rsvp-guest-name-input:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
    background: rgba(197, 160, 89, 0.03);
}

.rsvp-guest-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
    text-align: center;
    opacity: 0.8;
}

.rsvp-capacity-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-muted);
    font-style: italic;
    padding: 0.25rem 1rem;
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
}

.rsvp-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-gray-700);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    /* Visible background */
    border: 1px solid #D1D1D1;
    /* Clearly visible border */
    border-radius: 4px;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--color-ink);
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-input-code {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-group-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-ink);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.radio-label:hover {
    color: var(--color-gold);
}

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

.radio-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid var(--color-gold-soft);
    border-radius: 50%;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-white);
    flex-shrink: 0;
    margin-top: 2px;
    /* Slight alignment adjustment */
}

.radio-label:hover .radio-custom {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.05);
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: var(--color-gold);
    background: var(--color-white);
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: scale(1);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease-out;
}

@keyframes scaleIn {
    from {
        transform: translate(-50%, -50%) scale(0);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

.conditional-field {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(197, 160, 89, 0.03);
    border-left: 3px solid var(--color-gold-soft);
    border-radius: 0 0.75rem 0.75rem 0;
    animation: slideDown 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-desc {
    font-size: 1rem;
    color: var(--color-ink-soft);
    line-height: 1.6;
    margin-top: -0.25rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.form-label-small {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-ink-soft);
    margin-bottom: 0.5rem;
}

.rsvp-details-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

#rsvp-manual-name-group .form-input {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-gold-light);
}

.rsvp-loader {
    text-align: center;
    padding: 3rem;
    background: var(--color-white);
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.2);
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-gold);
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

.wish-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
    border-radius: 1.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.wish-loader.active {
    display: flex;
}

.rsvp-loader p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-ink);
    margin: 0;
}

.vote-loader {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-gold);
    display: inline-block;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-left: 4px;
}

.wish-loading {
    text-align: center;
    padding: 2rem;
    font-family: var(--font-serif);
    color: var(--color-ink-light);
}

.wishes-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.wish-card {
    background: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 169, 97, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.wish-card:hover {
    transform: translateY(-5px);
}

.wish-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wish-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wish-content {
    padding: 1.5rem;
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.wish-name {
    font-weight: 600;
    color: var(--color-gold);
    font-family: var(--font-serif);
}

.wish-date {
    font-size: 0.8rem;
    color: var(--color-ink-light);
}

.wish-message {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-ink);
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
}

.rsvp-divider {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
    text-align: center;
}

.rsvp-divider p {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rsvp-success {
    text-align: center;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    color: white;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.alert {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* Gift Section - Envelope Design */
.gift-envelope-container {
    max-width: 700px;
    margin: 3rem auto;
    position: relative;
    perspective: 1200px;
}

.gift-envelope {
    position: relative;
    background: var(--color-white);
    border-radius: 1.5rem;
    padding: 3.5rem 2.5rem 2.5rem;
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.25);
    overflow: visible;
}

.envelope-flap {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    z-index: 10;
}

.envelope-wax-seal {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C9A961, #D4B87A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.envelope-wax-seal::after {
    content: '';
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

@keyframes sealPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.envelope-content {
    background: transparent;
}

.gift-card {
    position: relative;
}

.gift-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.gift-card-header h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.gift-card-header h4 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
    font-weight: 600;
    margin: 0;
}

.gift-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.gift-option {
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Responsive sizing */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.gift-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-gold-soft);
}

.gift-option.active {
    background: #fff;
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.15);
}

.gift-option.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gold);
}

.gift-option-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: color 0.3s;
}

.gift-option.active .gift-option-icon {
    color: var(--color-gold);
}

.gift-option-icon svg {
    width: 32px;
    height: 32px;
}

.gift-option-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-ink);
}

.gift-option-desc {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.gift-content {
    position: relative;
    min-height: auto;
}

.gift-content-item {
    display: none;
    animation: fadeIn 0.4s ease;
}

.gift-content-item.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Refined Cash Drop Animation Styles */
.box-animation-container {
    width: 180px;
    height: 140px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cash-drop-svg {
    overflow: visible;
}

.falling-cash {
    animation: cash-float-sway 5s infinite cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transform-origin: center center;
}

@keyframes cash-float-sway {
    0% {
        transform: translateY(-30px) translateX(-10px) rotate(-15deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    25% {
        transform: translateY(15px) translateX(15px) rotate(15deg);
    }

    50% {
        transform: translateY(45px) translateX(-15px) rotate(-10deg);
    }

    65% {
        transform: translateY(62px) translateX(0) rotate(0deg) scale(0.9);
        opacity: 1;
    }

    72% {
        transform: translateY(75px) translateX(0) rotate(0deg) scale(0.7);
        opacity: 0;
    }

    100% {
        transform: translateY(75px) translateX(0) rotate(0deg) scale(0.7);
        opacity: 0;
    }
}

.wedding-box {
    transform-origin: bottom center;
    animation: box-premium-pulse 5s infinite ease-out;
}

@keyframes box-premium-pulse {

    0%,
    60%,
    80%,
    100% {
        transform: scale(1);
    }

    66% {
        transform: scale(1.03, 0.97);
    }

    72% {
        transform: scale(0.98, 1.02);
    }

    78% {
        transform: scale(1);
    }
}

.qr-elegant {
    text-align: center;
}

.qr-frame {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 1rem;
    display: inline-block;
    border: 3px solid var(--color-gold-light);
    box-shadow:
        0 10px 30px rgba(201, 169, 97, 0.2),
        inset 0 0 0 8px var(--color-cream);
    position: relative;
}

.qr-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    background: var(--color-white);
    padding: 0 0.5rem;
}

.qr-hint {
    margin-top: 1.5rem;
    color: var(--color-muted);
    font-style: italic;
    font-size: 0.95rem;
}

.bank-details-elegant {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bank-item-elegant {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--color-cream), var(--color-rose-light));
    border-radius: 1rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.3s ease;
}

.bank-item-elegant:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

.bank-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-radius: 50%;
    color: var(--color-white);
}

.bank-icon svg {
    width: 20px;
    height: 20px;
}

.bank-info {
    flex: 1;
    min-width: 0;
}

.bank-item-elegant .bank-label {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.bank-item-elegant .bank-value {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-ink);
    word-break: break-all;
}

.copy-btn {
    background: var(--color-gold);
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--color-gold-soft);
    transform: scale(1.1);
}

.copy-btn svg {
    width: 18px;
    height: 18px;
}

.copy-btn:hover {
    background: var(--color-gold-soft);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.copy-btn:active {
    transform: scale(0.95);
}

.gift-message {
    margin-top: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(201, 169, 97, 0.1));
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
}

.gift-message p {
    margin: 0;
    color: var(--color-ink);
    font-size: 1rem;
    font-style: italic;
    text-align: center;
}

.goal-message {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

/* Wedding Goals */
.wedding-goals {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(201, 169, 97, 0.2);
}

.wedding-goals h5 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-align: center;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.goals-subtitle {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.goal-card {
    background: linear-gradient(135deg, var(--color-white), var(--color-cream));
    padding: 1.75rem 1.25rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(201, 169, 97, 0.2);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-pink-soft), var(--color-gold-light), var(--color-sage-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(201, 169, 97, 0.25);
    border-color: var(--color-gold);
}

.goal-card:hover::before {
    transform: scaleX(1);
}

.goal-card.active {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-color: var(--color-gold);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.35);
    color: var(--color-ink);
}

.goal-card.active::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--color-pink-soft), var(--color-gold), var(--color-sage-light));
}

.goal-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-radius: 50%;
    color: var(--color-white);
}

.goal-icon svg {
    width: 32px;
    height: 32px;
}

.goal-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-ink);
}

.goal-desc {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.goal-btn {
    background: var(--color-gold);
    color: var(--color-ink);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.goal-card.active .goal-btn {
    background: var(--color-white);
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.2);
}

.goal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(201, 169, 97, 0.4);
}

/* Wishes Book Section */
.wishes-book-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(249, 241, 237, 0.8), rgba(255, 255, 255, 0.9));
    border-radius: 1.5rem;
    border: 2px solid rgba(201, 169, 97, 0.25);
    text-align: center;
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.08);
}

.wishes-book-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.wishes-book-subtitle {
    color: var(--color-ink-soft);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wishes-book-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.wishes-on-site {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.wishes-on-site-text {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--color-white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 70px rgba(44, 44, 44, 0.3);
    border: 2px solid rgba(201, 169, 97, 0.2);
    animation: slideUp 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-muted);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-close:hover {
    background: var(--color-rose-light);
    color: var(--color-ink);
}

.modal-content h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.wish-form {
    margin-top: 1.5rem;
}

.file-label {
    display: block;
    padding: 1rem;
    background: var(--color-cream);
    border: 2px dashed rgba(201, 169, 97, 0.3);
    border-radius: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    background: var(--color-rose-light);
    border-color: var(--color-gold);
}

.file-label span:first-child {
    display: block;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

.file-name {
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
    font-style: italic;
}

.photo-preview {
    margin-top: 1rem;
    position: relative;
    text-align: center;
}

.photo-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.1);
}

.remove-photo-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.remove-photo-btn svg {
    width: 18px;
    height: 18px;
}

.remove-photo-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.wish-success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
    z-index: 5000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    pointer-events: none;
}

.wish-success-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Wishes Book Display */
.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.wish-card {
    background: var(--color-white);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 8px 25px rgba(44, 44, 44, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-pink-soft), var(--color-gold-light), var(--color-sage-light));
}

.wish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.2);
}

.wish-photo {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.wish-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.wish-content {
    position: relative;
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.wish-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-ink);
    font-family: var(--font-serif);
}

.wish-date {
    font-size: 0.8rem;
    color: var(--color-muted);
    font-style: italic;
    white-space: nowrap;
    margin-left: 1rem;
}

.wish-message {
    color: var(--color-ink-soft);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* Wedding Day Two-Column Layout */
.wedding-day-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .wedding-day-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.text-left {
    text-align: left;
    margin-bottom: 1rem;
}

.section-subtitle-left {
    text-align: left;
    font-size: 1.1rem;
    color: var(--color-ink-soft);
    margin-bottom: 3rem;
    max-width: 90%;
}

.timeline-elegant {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background: var(--color-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted);
}

.timeline-value {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-ink);
}

/* Map Card */
.map-card-elegant {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.map-preview {
    height: 300px;
    width: 100%;
}

.location-details-mini {
    padding: 1.5rem;
    text-align: left;
}

.location-details-mini h4 {
    margin: 0 0 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.location-details-mini p {
    color: var(--color-muted);
    margin: 0 0 1rem;
}

.map-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 500;
}

.map-link:hover {
    text-decoration: underline;
}

/* Mapy.cz Card Styles */
.map-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 300px;
    background: var(--color-grey-light);
    /* Fallback */
    background: radial-gradient(circle, var(--color-grey-light) 0%, var(--color-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Optional: Add a subtle pattern or image if available */
.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C5A059' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.map-placeholder-content {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-muted);
}


/* Refactored Payment Styles */
/* Voting Section Compact */
.voting-grid-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.voting-card-compact {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1rem;
    width: 140px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.voting-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--color-gold-soft);
}

.voting-card-compact.active {
    border-color: var(--color-gold);
    background: #fff;
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.15);
}

.voting-card-compact .goal-icon {
    width: 40px;
    height: 40px;
    background: var(--color-rose-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
    font-size: 1.2rem;
}

.voting-card-compact .goal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.goal-desc {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
}

.vote-count {
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: color 0.3s;
}

.heart-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.voting-card-compact.active .heart-icon {
    transform: scale(1.2);
}

.voting-card-compact.active .vote-count {
    color: var(--color-gold);
}

.payment-section-visible {
    opacity: 1;
    display: block;
    margin-bottom: 2rem;
}

.payment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--color-ink-soft);
    line-height: 1.6;
}

.digital-gift-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

/* Box/Cash Gift Styling */
.box-gift-content {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.box-gift-content::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 0.8rem;
    pointer-events: none;
}

.box-gift-content p {
    font-size: 1.1rem;
    color: var(--color-ink-soft);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.box-icon-large {
    color: var(--color-gold);
    animation: floatEnvelope 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(201, 169, 97, 0.2));
}

@keyframes floatEnvelope {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-5px) rotate(2deg);
    }
}

.qr-column {
    flex: 0 0 auto;
}

.qr-image {
    width: 100%;
    height: auto;
    max-width: 200px;
    display: block;
    border-radius: 0.5rem;
}

.bank-column {
    flex: 1;
    min-width: 300px;
}

.voting-section {
    margin-top: 5rem;
    text-align: center;
}

.voting-desc {
    margin-bottom: 2rem;
    color: var(--color-ink-soft);
}

.voting-card {
    transition: transform 0.3s ease;
    cursor: default;
}

.vote-btn {
    margin-top: 1rem;
    width: 100%;
}

.vote-btn.voted {
    background-color: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
}

/* Symbolic Gifts Styles continued... */
.goals-disclaimer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.goals-disclaimer p {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-ink-soft);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.goal-participants {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2rem;
}

.participant-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--color-rose);
    color: var(--color-ink);
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-family: var(--font-serif);
}

.participant-chip svg {
    width: 14px;
    height: 14px;
    color: var(--color-gold);
}

.general-goal-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.general-card {
    max-width: 600px;
    width: 100%;
    background: var(--color-rose-light);
    border: 1px dashed var(--color-gold);
}

.payment-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-header h4 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.gift-box-info {
    text-align: center;
    padding: 2rem;
    color: var(--color-ink-soft);
}

.box-icon {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.gift-box-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.wish-goal {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--color-ink);
    font-weight: 500;
    margin-top: 0.5rem;
}

.wish-empty,
.wish-loading {
    text-align: center;
    padding: 3rem;
    color: var(--color-muted);
    font-style: italic;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.wish-error {
    text-align: center;
    padding: 2rem;
    color: #ef4444;
    grid-column: 1 / -1;
}

/* FAQ Section */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(44, 44, 44, 0.06);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--color-rose-light);
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-gold);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--color-gray-600);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

/* Contact Section */
.section-contact {
    background: linear-gradient(135deg, var(--color-rose-light) 0%, var(--color-cream) 100%);
    color: var(--color-ink);
    position: relative;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.08), transparent);
    pointer-events: none;
}

.section-contact .section-title {
    color: var(--color-ink);
}

.contact-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
}

.contact-box h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
    font-weight: 600;
}

.contact-info {
    margin-top: 1.5rem;
}

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

.contact-item svg {
    flex-shrink: 0;
}

.contact-item a {
    color: var(--color-ink);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.contact-footer {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.25rem;
    color: var(--color-ink);
}

.contact-digital {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-muted);
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-rose-light) 100%);
    color: var(--color-ink);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer-logo {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.footer-date {
    color: var(--color-muted);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.footer-copy {
    color: var(--color-muted);
    font-size: 1rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background: rgba(252, 251, 249, 0.98);
        width: 100%;
        padding: 1rem 1.5rem;
        transition: left 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Ensure header is solid when menu is open */
    .nav.menu-open {
        background: rgba(252, 251, 249, 0.98) !important;
        border-bottom: 1px solid rgba(201, 169, 97, 0.1);
    }

    .nav.menu-open .nav-logo {
        color: var(--color-gold);
    }

    .nav.menu-open .nav-toggle span {
        background: var(--color-gold);
    }

    .nav-menu a {
        color: var(--color-ink) !important;
        font-weight: 500;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-invitation-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem 1.5rem;
    }

    /* Compact Mobile Nav */
    .nav-logo {
        font-size: 1.8rem;
    }

    .nav .container {
        padding: 0.5rem 1rem;
    }

    .invitation-photo-frame {
        width: 160px;
        height: 208px;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-date {
        font-size: 1.3rem;
    }

    .hero-flowers-top,
    .hero-flowers-bottom {
        opacity: 0.5;
    }

    .flower {
        font-size: 1.8rem;
    }

    .gift-options {
        flex-direction: column;
    }

    .gift-envelope-container {
        margin: 2rem 1rem;
    }

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

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

    .wishes-book-actions {
        flex-direction: column;
    }

    .wishes-book-actions .btn {
        width: 100%;
    }

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

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

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

    .wedding-day-container {
        display: flex;
        /* Ensure it is flex */
        flex-direction: column;
        gap: 2rem;
    }

    .wedding-story-column,
    .wedding-location-column {
        width: 100%;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline-icon {
        margin-bottom: 0.5rem;
    }

    .rsvp-box {
        padding: 1.5rem;
    }

    .rsvp-guest-name-input {
        font-size: 1.8rem;
    }

    .radio-group-horizontal {
        flex-direction: column;
        gap: 0.75rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .info-icon {
        margin-bottom: 1rem;
    }
}

/* Timeline List Styling */
.timeline-list {
    position: relative;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    border-left: 1px solid rgba(197, 160, 89, 0.3);
}

.timeline-list-item {
    position: relative;
    padding-bottom: 0.75rem;
    padding-left: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
    color: var(--color-ink);
}

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

.timeline-list-item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    /* Adjust based on padding-left + border width */
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--color-white);
}

.timeline-list-item .time {
    font-weight: 600;
    color: var(--color-gold);
    min-width: 45px;
}

.timeline-list-item.continuation {
    margin-top: -0.25rem;
}

/* Calendar Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.calendar-modal {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    text-align: center;
}

.modal-overlay.active .calendar-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-500);
    padding: 0.5rem;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--color-ink);
}

.calendar-modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.calendar-modal-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calendar-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--color-ink);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
}

.calendar-modal-btn:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}



.timeline-list-item.continuation::before {
    background: var(--color-muted);
    opacity: 0.5;
}

/* Specific fix for the marker position to align with border */
.timeline-list-item::before {
    left: -1.5rem;
    transform: translateX(-50%);
}