/* ===================================================
   AKASH & SELINA — Catholic Wedding Website
   Premium Mobile-First Design
   =================================================== */

/* ----- CSS Custom Properties ----- */
:root {
    --gold: #D4A853;
    --gold-light: #F0D48A;
    --gold-dark: #B8892F;
    --burgundy: #5A1A2A;
    --burgundy-deep: #3A0E1A;
    --ivory: #FFF8F0;
    --ivory-dark: #F5EADE;
    --cream: #FAF3E8;
    --charcoal: #1A1215;
    --text-dark: #2C1B22;
    --text-light: #F5EADE;
    --text-muted: rgba(245, 234, 222, 0.65);
    --bg-dark: #0E0A0C;
    --bg-section: #110D0F;
    --card-bg: rgba(30, 18, 24, 0.85);
    --glass: rgba(255, 248, 240, 0.04);
    --shadow-gold: 0 0 40px rgba(212, 168, 83, 0.15);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
}

::selection {
    background: rgba(212, 168, 83, 0.3);
    color: var(--ivory);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- Preloader ----- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-envelope {
    position: relative;
    width: 600px;
    height: 400px;
    max-width: 90vw;
    background: #111;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

@media (max-width: 768px) {
    .preloader-envelope {
        width: 90vw;
        height: 60vw; /* Keep 3:2 ratio */
    }
}

.envelope-back {
    position: absolute;
    inset: 0;
    background: #111;
    z-index: 1;
    border-radius: 4px;
}

.envelope-content {
    position: absolute;
    inset: 10px;
    background: #161616;
    border: 1px solid rgba(212, 168, 83, 0.4);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wax-seal-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #F0D48A, #D4A853 60%, #9e7b3c);
    border-radius: 50%;
    border: none;
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6), inset 0 2px 4px rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.2);
    color: #33240e;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wax-seal-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4), inset 0 2px 4px rgba(255,255,255,0.5);
}

.seal-text {
    border: 1px solid rgba(51, 36, 14, 0.3);
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-cross {
    width: 50px;
    height: 66px;
    margin: 0 auto 20px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.preloader-text {
    font-family: 'Alex Brush', cursive;
    font-size: 2.3rem;
    color: var(--gold);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.preloader-text span {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    margin: 0 6px;
}

.preloader-bar {
    width: 180px;
    height: 2px;
    background: rgba(212, 168, 83, 0.15);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
    border-radius: 2px;
}

.preloader-action {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.preloader-action.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.preloader-enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.22), rgba(212, 168, 83, 0.08));
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.25);
    transition: all 0.3s ease;
    animation: enterBtnPulse 2s ease-in-out infinite;
}

.preloader-enter-btn:hover {
    background: var(--gold);
    color: #1a1517;
    box-shadow: 0 6px 25px rgba(212, 168, 83, 0.45);
    transform: translateY(-2px) scale(1.03);
}

.preloader-hint {
    font-family: 'EB Garamond', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin: 0;
}

@keyframes enterBtnPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.35);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 168, 83, 0);
    }
}

/* ----- Particles Canvas ----- */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ----- Navigation ----- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.5s ease;
    backdrop-filter: blur(0px);
}

#main-nav.scrolled {
    background: rgba(14, 10, 12, 0.92);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 168, 83, 0.12);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Alex Brush', cursive;
    font-size: 1.85rem;
    color: var(--gold) !important;
    letter-spacing: 2px;
}

.nav-amp {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1rem;
    margin: 0 4px;
    opacity: 0.7;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(30, 18, 24, 0.98), rgba(14, 10, 12, 0.99));
    backdrop-filter: blur(30px);
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid rgba(212, 168, 83, 0.1);
}

.nav-links.open {
    right: 0;
}

.nav-links li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    position: relative;
    padding: 6px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* ----- Hero Section ----- */
#hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(165deg, #1a0e14 0%, #0e0a0c 30%, #150c11 60%, #0e0a0c 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(90, 26, 42, 0.25), transparent),
        radial-gradient(ellipse 40% 40% at 30% 70%, rgba(212, 168, 83, 0.06), transparent),
        radial-gradient(ellipse 50% 50% at 70% 60%, rgba(90, 26, 42, 0.1), transparent);
    z-index: 1;
}

.hero-stained-glass {
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 600px;
    opacity: 0.35;
    z-index: 1;
}

.stained-glass-svg {
    width: 100%;
    height: 100%;
}

.light-ray {
    animation: lightRayPulse 6s ease-in-out infinite alternate;
}

.light-ray:nth-child(2) { animation-delay: 2s; }
.light-ray:nth-child(3) { animation-delay: 4s; }

@keyframes lightRayPulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px 40px;
    max-width: 500px;
}

.hero-top-ornament,
.hero-bottom-ornament {
    margin: 0 auto;
    width: 160px;
    opacity: 0;
}

.ornament-svg {
    width: 100%;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 16px 0 30px;
    opacity: 0;
}

.hero-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
}

.name {
    font-family: 'Alex Brush', cursive;
    font-size: 4.4rem;
    line-height: 1.15;
    color: var(--ivory);
    opacity: 0;
    text-shadow: 0 0 60px rgba(212, 168, 83, 0.2);
}

.hero-and {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.6rem;
    color: var(--gold);
    opacity: 0;
    margin: 4px 0;
    letter-spacing: 4px;
}

.hero-tagline {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 380px;
    margin: 0 auto 30px;
    opacity: 0;
}

.hero-date-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
}

.hero-date-badge span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-scroll-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted) !important;
    margin-top: 10px;
    opacity: 0;
    animation: scrollBounce 2s ease-in-out infinite;
    animation-delay: 3s;
}

.hero-scroll-btn span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Petals */
.petals-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50% 0 50% 50%;
    opacity: 0;
    pointer-events: none;
}

/* ----- Section Divider ----- */
.section-divider {
    text-align: center;
    padding: 10px 0;
    background: var(--bg-dark);
}

.divider-svg {
    width: 260px;
    max-width: 80%;
    height: auto;
}

/* ----- Section Headers ----- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--ivory);
    margin-bottom: 14px;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(212, 168, 83, 0.1);
}

.section-ornament {
    width: 100px;
    height: auto;
}

/* ----- Our Story Section ----- */
#story {
    position: relative;
    padding: 80px 0 60px;
    background: var(--bg-section);
    overflow: hidden;
}

.story-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 168, 83, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(90, 26, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.story-verse {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 20px;
    position: relative;
}

.verse-cross {
    width: 24px;
    height: 30px;
    margin: 0 auto 16px;
    opacity: 0.6;
}

.story-verse blockquote {
    font-family: 'EB Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.9;
    max-width: 500px;
    margin: 0 auto 10px;
}

.story-verse cite {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--gold);
    font-style: normal;
}

/* Timeline */
.story-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212, 168, 83, 0.3) 10%, rgba(212, 168, 83, 0.3) 90%, transparent);
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-dot {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid rgba(212, 168, 83, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.1);
}

.timeline-content {
    padding-top: 6px;
}

.timeline-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.timeline-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 8px;
}

.timeline-content p {
    font-family: 'EB Garamond', serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ----- Ceremony Section ----- */
#ceremony {
    position: relative;
    padding: 80px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.ceremony-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(90, 26, 42, 0.12), transparent),
        radial-gradient(ellipse 50% 40% at 20% 0%, rgba(212, 168, 83, 0.04), transparent);
    pointer-events: none;
}

.ceremony-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.ceremony-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.12);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(40px);
}

.ceremony-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 85px;
}

.church-icon,
.reception-icon {
    width: 100%;
    height: 100%;
}

.ceremony-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ivory);
    margin-bottom: 20px;
}

.card-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'EB Garamond', serif;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-address {
    font-family: 'EB Garamond', serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

.card-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 24px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.card-map-btn:hover {
    background: var(--gold);
    color: var(--bg-dark) !important;
    box-shadow: var(--shadow-gold);
}

.card-dress-code {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 168, 83, 0.1);
}

.dress-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.dress-value {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    color: var(--text-light);
}

/* ----- Countdown Section ----- */
#countdown {
    position: relative;
    padding: 80px 0 100px;
    background: var(--bg-section);
    overflow: visible;
}

.countdown-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(90, 26, 42, 0.15), transparent);
    pointer-events: none;
}

.countdown-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 85%, rgba(212, 168, 83, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(212, 168, 83, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
}

.countdown-box {
    text-align: center;
    position: relative;
    padding: 8px 0;
    opacity: 0;
    transform: scale(0.8);
}

.countdown-ring {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 6px;
}

.countdown-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-progress {
    transition: stroke-dashoffset 1s ease;
}

.countdown-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0;
    white-space: nowrap;
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ----- Bible Verse / Blessings ----- */
#verse {
    position: relative;
    padding: 80px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.verse-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(212, 168, 83, 0.06), transparent);
    pointer-events: none;
}

.verse-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: var(--radius);
    padding: 50px 28px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
}

.verse-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1), transparent 70%);
    pointer-events: none;
}

.verse-cross-icon {
    width: 40px;
    height: 55px;
    margin: 0 auto 20px;
}

.verse-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
}

.verse-text {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 16px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.verse-cite {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--gold);
    font-style: normal;
}

.verse-rosary {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.rosary-bead {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.3);
    border: 1px solid rgba(212, 168, 83, 0.4);
}

/* Blessings Grid */
.blessings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.blessing-item {
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.08);
    border-radius: var(--radius-sm);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.blessing-item:hover {
    border-color: rgba(212, 168, 83, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.blessing-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.blessing-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 6px;
}

.blessing-item p {
    font-family: 'EB Garamond', serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ----- Gallery Section ----- */
#gallery {
    padding: 80px 0;
    background: var(--bg-section);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.gallery-item {
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    opacity: 0;
}

.gallery-large {
    grid-column: span 2;
    aspect-ratio: 16/10;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-placeholder span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.gallery-note {
    text-align: center;
    font-family: 'EB Garamond', serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ----- RSVP Section ----- */
#rsvp {
    position: relative;
    padding: 80px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.rsvp-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(90, 26, 42, 0.1), transparent),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(212, 168, 83, 0.04), transparent);
    pointer-events: none;
}

.rsvp-card {
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.rsvp-card-inner {
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.12);
    border-radius: var(--radius);
    padding: 36px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.rsvp-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.rsvp-intro {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 248, 240, 0.04);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
    background: rgba(255, 248, 240, 0.06);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23D4A853'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'EB Garamond', serif !important;
    font-size: 0.95rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--text-light) !important;
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(212, 168, 83, 0.4);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

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

.rsvp-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.rsvp-submit:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.rsvp-submit:active {
    transform: translateY(0);
}

.rsvp-success {
    display: none;
    text-align: center;
    padding: 30px 0;
}

.rsvp-success.show {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

.rsvp-success h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--gold);
    margin: 16px 0 10px;
}

.rsvp-success p {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.rsvp-blessing {
    margin-top: 16px;
    font-size: 1.1rem !important;
    color: var(--text-light) !important;
}

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

/* ----- RSVP Direct Contact Info ----- */
.rsvp-contact-info {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px dashed rgba(212, 168, 83, 0.22);
    text-align: center;
}

.rsvp-contact-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.rsvp-contact-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rsvp-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.28);
    border-radius: 30px;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsvp-contact-pill:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.rsvp-contact-pill svg {
    flex-shrink: 0;
}

.rsvp-whatsapp-pill:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

/* ----- Footer ----- */
#footer {
    padding: 50px 20px;
    text-align: center;
    background: var(--bg-section);
    border-top: 1px solid rgba(212, 168, 83, 0.08);
}

.footer-ornament {
    margin-bottom: 24px;
}

.footer-ornament-svg {
    width: 200px;
    height: auto;
    margin: 0 auto;
}

.footer-names {
    margin-bottom: 14px;
}

.footer-groom,
.footer-bride {
    font-family: 'Alex Brush', cursive;
    font-size: 2.6rem;
    color: var(--ivory);
}

.footer-amp {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--gold);
    margin: 0 10px;
}

.footer-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-verse {
    font-family: 'EB Garamond', serif;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.footer-credit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: rgba(245, 234, 222, 0.3);
}

/* ----- Back to Top ----- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 900;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

/* ----- Responsive — Mobile Small (max 400px) ----- */
@media (max-width: 400px) {
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 260px;
        padding: 0;
    }

    .countdown-ring {
        width: 100px;
        height: 100px;
        margin-bottom: 8px;
    }

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

    .countdown-label {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .rings-svg {
        width: 120px;
    }
}

/* ----- Responsive — Tablet ----- */
@media (min-width: 640px) {
    .name {
        font-size: 5rem;
    }

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

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

    .countdown-grid {
        gap: 12px;
        max-width: 480px;
        padding: 0;
    }

    .countdown-ring {
        width: 110px;
        height: 110px;
    }

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

    .blessings-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .verse-text {
        font-size: 1.25rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }
}

/* ----- Responsive — Desktop ----- */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        gap: 30px;
        border: none;
    }

    .nav-links li a {
        font-size: 0.72rem;
    }

    .name {
        font-size: 5.5rem;
    }

    .hero-names {
        flex-direction: row;
        gap: 20px;
    }

    .hero-and {
        font-size: 2rem;
        margin: 0;
        align-self: center;
    }

    .countdown-grid {
        max-width: 560px;
        gap: 24px;
    }

    .countdown-ring {
        width: 120px;
        height: 120px;
    }
}

/* ----- Utility Animations ----- */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

/* ----- Custom scrollbar ----- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 83, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 83, 0.5);
}

/* Mobile touch optimizations */
@media (hover: none) {
    .blessing-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .card-map-btn:hover {
        background: transparent;
        color: var(--gold) !important;
        box-shadow: none;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ----- Wedding Rings Divider ----- */
.rings-divider {
    text-align: center;
    padding: 40px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.rings-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 20px;
}

.rings-line {
    flex: 1;
    height: 1px;
    max-width: 80px;
    background: linear-gradient(to right, transparent, rgba(212, 168, 83, 0.5));
}

.rings-line-right {
    background: linear-gradient(to left, transparent, rgba(212, 168, 83, 0.5));
}

.rings-svg {
    width: clamp(160px, 55vw, 240px);
    height: auto;
    display: block;
    flex-shrink: 0;
    overflow: visible;
}

/* The inner ring hole colour must match the section background */
.rings-divider circle[r="24"] {
    fill: var(--bg-dark);
}

@keyframes ringShimmer {
    0%, 100% { filter: url(#ringGlow) drop-shadow(0 0 4px rgba(212, 168, 83, 0.2)); }
    50%       { filter: url(#ringGlow) drop-shadow(0 0 14px rgba(212, 168, 83, 0.55)); }
}

@keyframes diamondTwinkle {
    0%, 100% { opacity: 0.85; }
    50%       { opacity: 1; filter: drop-shadow(0 0 4px #fff); }
}

.rings-divider.animated .ring-left {
    animation: ringShimmer 3.5s ease-in-out infinite;
}

.rings-divider.animated .ring-right {
    animation: ringShimmer 3.5s ease-in-out infinite;
    animation-delay: 1.75s;
}

.rings-divider.animated .ring-diamond {
    animation: diamondTwinkle 2s ease-in-out infinite;
}

.rings-divider.animated .ring-sparkle-star {
    animation: diamondTwinkle 1.5s ease-in-out infinite alternate;
}

/* ----- Add to Calendar Button ----- */
.calendar-actions {
    text-align: center;
    margin-top: 36px;
}

.calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.calendar-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    border-radius: 50px;
}

.calendar-btn:hover::before {
    transform: scaleX(1);
}

.calendar-btn:hover {
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

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

/* ----- Music Toggle & Pill Label ----- */
.music-toggle-wrap {
    position: fixed;
    bottom: 24px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 900;
}

.music-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--transition);
    flex-shrink: 0;
}

.music-toggle:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.08);
}

.music-toggle.playing {
    border-color: var(--gold);
    animation: musicPulse 2s ease-in-out infinite;
}

.music-pill-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(26, 21, 23, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--gold);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
}

.music-pill-label:hover {
    border-color: var(--gold);
    transform: translateX(2px);
    box-shadow: var(--shadow-gold);
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(212, 168, 83, 0); }
}

/* Light mode overrides for new elements */
[data-theme="light"] .rings-divider {
    background: var(--bg-dark);
}

[data-theme="light"] .ring-left,
[data-theme="light"] .ring-right {
    filter: drop-shadow(0 0 6px rgba(196, 133, 122, 0.2));
}

[data-theme="light"] .calendar-btn {
    border-color: var(--gold);
    color: var(--gold);
}

[data-theme="light"] .calendar-btn::before {
    background: var(--gold);
}

[data-theme="light"] .calendar-btn:hover {
    color: #fff;
}

[data-theme="light"] .music-toggle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 133, 122, 0.2);
    color: var(--gold);
    box-shadow: 0 4px 20px rgba(60, 30, 40, 0.08);
}

[data-theme="light"] .music-toggle:hover {
    border-color: var(--gold);
}

[data-theme="light"] .music-pill-label {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(196, 133, 122, 0.3);
    color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(196, 133, 122, 0.15);
}

[data-theme="light"] .music-pill-label:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ----- Theme Toggle Button ----- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    background: none;
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    transition: all 0.4s ease;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(212, 168, 83, 0.2);
    transform: rotate(20deg);
}

.theme-icon {
    position: absolute;
    transition: all 0.4s ease;
}

/* Dark mode active: show sun icon (to switch to light) */
.theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-light {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Smooth body transition for theme switch */
body {
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* =====================================================
   LIGHT MODE — Blush Pink & Rose Gold
   ===================================================== */
[data-theme="light"] {
    --gold: #C4857A;
    --gold-light: #E8A99E;
    --gold-dark: #A66B60;
    --burgundy: #F5E6E3;
    --burgundy-deep: #EDD5D0;
    --ivory: #2C1B22;
    --ivory-dark: #3A2630;
    --cream: #FFF9F8;
    --charcoal: #FAF3F1;
    --text-dark: #2C1B22;
    --text-light: #3A2630;
    --text-muted: rgba(44, 27, 34, 0.55);
    --bg-dark: #FFFBFA;
    --bg-section: #FFF5F3;
    --card-bg: rgba(255, 255, 255, 0.85);
    --glass: rgba(196, 133, 122, 0.04);
    --shadow-gold: 0 0 40px rgba(196, 133, 122, 0.18);
    --shadow-card: 0 8px 40px rgba(60, 30, 40, 0.06);
    --radius: 16px;
    --radius-sm: 8px;
}

/* --- Light: Theme toggle icons swap --- */
[data-theme="light"] .theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle {
    border-color: rgba(196, 133, 122, 0.3);
    color: var(--gold);
}

/* --- Light: Body & general --- */
[data-theme="light"] body {
    background: var(--bg-dark);
    color: var(--text-dark);
}

[data-theme="light"] ::selection {
    background: rgba(196, 133, 122, 0.25);
    color: var(--text-dark);
}

/* --- Light: Scrollbar --- */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #FFF5F3;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(196, 133, 122, 0.3);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 133, 122, 0.5);
}

/* --- Light: Preloader --- */
[data-theme="light"] #preloader {
    background: #FFFBFA;
}

[data-theme="light"] .preloader-text {
    color: var(--gold);
}

[data-theme="light"] .preloader-bar {
    background: rgba(196, 133, 122, 0.12);
}

[data-theme="light"] .preloader-fill {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
}

[data-theme="light"] .preloader-cross rect {
    fill: url(#goldGrad);
}

[data-theme="light"] .preloader-enter-btn {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
    border-color: var(--gold);
    color: var(--gold-dark);
}

[data-theme="light"] .preloader-enter-btn:hover {
    background: var(--gold);
    color: #ffffff;
}

[data-theme="light"] .preloader-hint {
    color: #8c736e;
}

/* --- Light: Navigation --- */
[data-theme="light"] #main-nav.scrolled {
    background: rgba(255, 251, 250, 0.92);
    border-bottom-color: rgba(196, 133, 122, 0.12);
}

[data-theme="light"] .nav-toggle span {
    background: var(--gold);
}

[data-theme="light"] .nav-links {
    background: linear-gradient(180deg, rgba(255, 249, 248, 0.98), rgba(255, 245, 243, 0.99));
    border-left-color: rgba(196, 133, 122, 0.1);
}

[data-theme="light"] .nav-links li a {
    color: var(--text-dark);
}

[data-theme="light"] .nav-links li a::after {
    background: var(--gold);
}

/* --- Light: Hero --- */
[data-theme="light"] #hero {
    background: linear-gradient(165deg, #FFF5F3 0%, #FFFBFA 30%, #FFF0ED 60%, #FFFBFA 100%);
}

[data-theme="light"] .hero-overlay {
    background:
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(196, 133, 122, 0.12), transparent),
        radial-gradient(ellipse 40% 40% at 30% 70%, rgba(196, 133, 122, 0.06), transparent),
        radial-gradient(ellipse 50% 50% at 70% 60%, rgba(232, 169, 158, 0.08), transparent);
}

[data-theme="light"] .hero-stained-glass {
    opacity: 0.15;
}

[data-theme="light"] .arch-outline {
    stroke: rgba(196, 133, 122, 0.25);
}

[data-theme="light"] .arch-fill {
    fill: rgba(196, 133, 122, 0.08);
}

[data-theme="light"] .name {
    color: var(--text-dark);
    text-shadow: 0 0 60px rgba(196, 133, 122, 0.15);
}

[data-theme="light"] .hero-and {
    color: var(--gold);
}

[data-theme="light"] .hero-subtitle {
    color: rgba(44, 27, 34, 0.45);
}

[data-theme="light"] .hero-tagline {
    color: rgba(44, 27, 34, 0.5);
}

[data-theme="light"] .hero-scroll-btn {
    color: rgba(44, 27, 34, 0.4) !important;
}

[data-theme="light"] .hero-scroll-btn svg path {
    stroke: var(--gold);
}

[data-theme="light"] .badge-line {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Light: Stained glass SVG recolor */
[data-theme="light"] .stained-glass-svg line,
[data-theme="light"] .stained-glass-svg .light-ray {
    stroke: rgba(196, 133, 122, 0.08);
}

/* --- Light: Section Divider --- */
[data-theme="light"] .section-divider {
    background: var(--bg-dark);
}

[data-theme="light"] .divider-svg line {
    stroke: rgba(196, 133, 122, 0.25);
}

[data-theme="light"] .divider-svg circle {
    stroke: var(--gold);
}

[data-theme="light"] .divider-svg text {
    fill: var(--gold);
}

/* --- Light: Section Headers --- */
[data-theme="light"] .section-label {
    color: var(--gold);
}

[data-theme="light"] .section-title {
    color: var(--text-dark);
    text-shadow: none;
}

[data-theme="light"] .section-ornament line {
    stroke: var(--gold);
}

[data-theme="light"] .section-ornament circle {
    stroke: var(--gold);
}

/* --- Light: Story Section --- */
[data-theme="light"] #story {
    background: var(--bg-section);
}

[data-theme="light"] .story-bg-pattern {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(196, 133, 122, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 169, 158, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .verse-cross rect {
    fill: var(--gold);
}

[data-theme="light"] .story-verse blockquote {
    color: rgba(44, 27, 34, 0.55);
}

[data-theme="light"] .story-verse cite {
    color: var(--gold);
}

/* Light: Timeline */
[data-theme="light"] .timeline-line {
    background: linear-gradient(180deg, transparent, rgba(196, 133, 122, 0.25) 10%, rgba(196, 133, 122, 0.25) 90%, transparent);
}

[data-theme="light"] .timeline-dot {
    background: #FFFBFA;
    border-color: rgba(196, 133, 122, 0.3);
    box-shadow: 0 0 16px rgba(196, 133, 122, 0.1);
}

[data-theme="light"] .timeline-dot svg path,
[data-theme="light"] .timeline-dot svg circle,
[data-theme="light"] .timeline-dot svg rect {
    fill: var(--gold);
    stroke: var(--gold);
}

[data-theme="light"] .timeline-date {
    color: var(--gold);
}

[data-theme="light"] .timeline-content h3 {
    color: var(--text-dark);
}

[data-theme="light"] .timeline-content p {
    color: rgba(44, 27, 34, 0.55);
}

/* --- Light: Ceremony Section --- */
[data-theme="light"] #ceremony {
    background: var(--bg-dark);
}

[data-theme="light"] .ceremony-bg {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(196, 133, 122, 0.06), transparent),
        radial-gradient(ellipse 50% 40% at 20% 0%, rgba(232, 169, 158, 0.04), transparent);
}

[data-theme="light"] .ceremony-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 133, 122, 0.12);
    box-shadow: 0 8px 40px rgba(60, 30, 40, 0.06);
}

[data-theme="light"] .ceremony-card::before {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

[data-theme="light"] .ceremony-card h3 {
    color: var(--text-dark);
}

[data-theme="light"] .card-detail {
    color: rgba(44, 27, 34, 0.55);
}

[data-theme="light"] .card-detail svg path,
[data-theme="light"] .card-detail svg rect,
[data-theme="light"] .card-detail svg circle,
[data-theme="light"] .card-detail svg line {
    stroke: var(--gold);
}

[data-theme="light"] .church-icon path,
[data-theme="light"] .church-icon line,
[data-theme="light"] .church-icon rect,
[data-theme="light"] .church-icon circle,
[data-theme="light"] .reception-icon path,
[data-theme="light"] .reception-icon ellipse,
[data-theme="light"] .reception-icon circle {
    stroke: var(--gold);
}

[data-theme="light"] .card-address {
    color: rgba(44, 27, 34, 0.5);
}

[data-theme="light"] .card-map-btn {
    border-color: var(--gold);
    color: var(--gold) !important;
}

[data-theme="light"] .card-map-btn:hover {
    background: var(--gold);
    color: #fff !important;
}

[data-theme="light"] .card-dress-code {
    border-top-color: rgba(196, 133, 122, 0.12);
}

[data-theme="light"] .dress-value {
    color: var(--text-dark);
}

/* --- Light: Countdown --- */
[data-theme="light"] #countdown {
    background: var(--bg-section);
}

[data-theme="light"] .countdown-bg-overlay {
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(196, 133, 122, 0.08), transparent);
}

[data-theme="light"] .countdown-pattern {
    background-image:
        radial-gradient(circle at 15% 85%, rgba(196, 133, 122, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(232, 169, 158, 0.03) 0%, transparent 30%);
}

[data-theme="light"] .countdown-ring svg circle:first-child {
    stroke: rgba(196, 133, 122, 0.12);
}

[data-theme="light"] .ring-progress {
    stroke: var(--gold) !important;
}

[data-theme="light"] .countdown-number {
    color: var(--gold);
}

[data-theme="light"] .countdown-label {
    color: rgba(44, 27, 34, 0.45);
}

/* --- Light: Wedding Rings inner hole --- */
[data-theme="light"] .rings-divider circle[r="24"] {
    fill: var(--bg-dark);
}

[data-theme="light"] .rings-divider {
    background: var(--bg-dark);
}

/* --- Light: Verse / Blessings --- */
[data-theme="light"] #verse {
    background: var(--bg-dark);
}

[data-theme="light"] .verse-bg {
    background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(196, 133, 122, 0.06), transparent);
}

[data-theme="light"] .verse-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 133, 122, 0.1);
    box-shadow: 0 8px 40px rgba(60, 30, 40, 0.06);
}

[data-theme="light"] .verse-glow {
    background: radial-gradient(circle, rgba(196, 133, 122, 0.08), transparent 70%);
}

[data-theme="light"] .verse-cross-icon rect {
    fill: rgba(196, 133, 122, 0.12);
    stroke: var(--gold);
}

[data-theme="light"] .verse-label {
    color: var(--gold);
}

[data-theme="light"] .verse-text {
    color: var(--text-dark);
}

[data-theme="light"] .verse-cite {
    color: var(--gold);
}

[data-theme="light"] .rosary-bead {
    background: rgba(196, 133, 122, 0.25);
    border-color: rgba(196, 133, 122, 0.35);
}

[data-theme="light"] .blessing-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 133, 122, 0.08);
}

[data-theme="light"] .blessing-item:hover {
    border-color: rgba(196, 133, 122, 0.25);
    box-shadow: 0 4px 20px rgba(196, 133, 122, 0.12);
}

[data-theme="light"] .blessing-item h4 {
    color: var(--gold);
}

[data-theme="light"] .blessing-item p {
    color: rgba(44, 27, 34, 0.5);
}

/* --- Light: Gallery --- */
[data-theme="light"] #gallery {
    background: var(--bg-section);
}

[data-theme="light"] .gallery-placeholder {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(196, 133, 122, 0.1);
}

[data-theme="light"] .gallery-placeholder svg path,
[data-theme="light"] .gallery-placeholder svg rect,
[data-theme="light"] .gallery-placeholder svg circle {
    stroke: var(--gold);
}

[data-theme="light"] .gallery-placeholder span {
    color: rgba(44, 27, 34, 0.45);
}

[data-theme="light"] .gallery-note {
    color: rgba(44, 27, 34, 0.45);
}

/* --- Light: RSVP --- */
[data-theme="light"] #rsvp {
    background: var(--bg-dark);
}

[data-theme="light"] .rsvp-bg {
    background:
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(196, 133, 122, 0.06), transparent),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(232, 169, 158, 0.04), transparent);
}

[data-theme="light"] .rsvp-card-inner {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(196, 133, 122, 0.1);
    box-shadow: 0 8px 40px rgba(60, 30, 40, 0.06);
}

[data-theme="light"] .rsvp-card-inner::before {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

[data-theme="light"] .rsvp-intro {
    color: rgba(44, 27, 34, 0.5);
}

[data-theme="light"] .form-group label {
    color: var(--gold);
}

[data-theme="light"] .form-group input[type="text"],
[data-theme="light"] .form-group input[type="email"],
[data-theme="light"] .form-group input[type="tel"],
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(196, 133, 122, 0.04);
    border-color: rgba(196, 133, 122, 0.18);
    color: var(--text-dark);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: rgba(44, 27, 34, 0.3);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 133, 122, 0.1);
    background: rgba(196, 133, 122, 0.06);
}

[data-theme="light"] .form-group select option {
    background: #FFFBFA;
    color: var(--text-dark);
}

[data-theme="light"] .radio-label {
    color: var(--text-dark) !important;
}

[data-theme="light"] .radio-custom {
    border-color: rgba(196, 133, 122, 0.35);
}

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

[data-theme="light"] .radio-label input[type="radio"]:checked + .radio-custom::after {
    background: var(--gold);
}

[data-theme="light"] .rsvp-submit {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
    color: #fff;
}

[data-theme="light"] .rsvp-success h3 {
    color: var(--gold);
}

[data-theme="light"] .rsvp-success p {
    color: rgba(44, 27, 34, 0.55);
}

[data-theme="light"] .rsvp-blessing {
    color: var(--text-dark) !important;
}

[data-theme="light"] .rsvp-contact-info {
    border-top-color: rgba(196, 133, 122, 0.2);
}

[data-theme="light"] .rsvp-contact-label {
    color: rgba(44, 27, 34, 0.55);
}

[data-theme="light"] .rsvp-contact-pill {
    background: rgba(196, 133, 122, 0.08);
    border-color: rgba(196, 133, 122, 0.28);
    color: var(--text-dark);
}

[data-theme="light"] .rsvp-contact-pill:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

[data-theme="light"] .rsvp-whatsapp-pill:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

/* --- Light: Footer --- */
[data-theme="light"] #footer {
    background: var(--bg-section);
    border-top-color: rgba(196, 133, 122, 0.1);
}

[data-theme="light"] .footer-ornament-svg line {
    stroke: rgba(196, 133, 122, 0.2);
}

[data-theme="light"] .footer-ornament-svg path {
    stroke: var(--gold);
}

[data-theme="light"] .footer-ornament-svg text {
    fill: var(--gold);
}

[data-theme="light"] .footer-groom,
[data-theme="light"] .footer-bride {
    color: var(--text-dark);
}

[data-theme="light"] .footer-amp {
    color: var(--gold);
}

[data-theme="light"] .footer-date {
    color: rgba(44, 27, 34, 0.4);
}

[data-theme="light"] .footer-verse {
    color: rgba(44, 27, 34, 0.45);
}

[data-theme="light"] .footer-credit {
    color: rgba(44, 27, 34, 0.2);
}

/* --- Light: Back to Top --- */
[data-theme="light"] .back-to-top {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 133, 122, 0.2);
    box-shadow: 0 4px 20px rgba(60, 30, 40, 0.08);
}

[data-theme="light"] .back-to-top svg path {
    stroke: var(--gold);
}

[data-theme="light"] .back-to-top:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(196, 133, 122, 0.2);
}

/* --- Light: Petals softer --- */
[data-theme="light"] .petal {
    opacity: 0.5;
}

/* --- Light: Ornament SVGs --- */
[data-theme="light"] .ornament-svg path {
    stroke: rgba(196, 133, 122, 0.5);
}

[data-theme="light"] .ornament-svg circle {
    fill: var(--gold);
}

/* --- Light: Preloader gradient update --- */
[data-theme="light"] .preloader-cross rect {
    fill: var(--gold);
}

/* ===================================================
   ADDITIONAL GSAP ENHANCEMENTS & COMPONENTS
   =================================================== */

/* --- Calendar Dropdown Menu --- */
.calendar-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.calendar-chevron {
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.calendar-btn.menu-open .calendar-chevron {
    transform: rotate(180deg);
}

.calendar-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(22, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 270px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 168, 83, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
}

.calendar-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.calendar-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-menu-item svg {
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.calendar-menu-item:hover {
    background: rgba(212, 168, 83, 0.12);
    color: var(--gold-light);
    transform: translateX(4px);
}

.calendar-menu-item:hover svg {
    transform: scale(1.15);
}

/* --- Gallery Interactive Elements --- */
.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item:hover {
    z-index: 2;
}

.gallery-item:hover .gallery-photo {
    transform: scale(1.06);
}

.gallery-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(18, 9, 13, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 20px;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-zoom-badge {
    opacity: 1;
    transform: translateY(0);
}

/* --- Gallery Lightbox Modal --- */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 8, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.lightbox-dialog {
    position: relative;
    max-width: 520px;
    width: 100%;
    z-index: 10;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-lightbox.active .lightbox-dialog {
    transform: scale(1) translateY(0);
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 168, 83, 0.35);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 168, 83, 0.15);
}

.lightbox-frame {
    background: radial-gradient(circle at center, rgba(212, 168, 83, 0.08) 0%, rgba(20, 10, 15, 0.95) 100%);
    padding: 40px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

.lightbox-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.lightbox-illustration svg {
    max-width: 180px;
    max-height: 180px;
    filter: drop-shadow(0 0 15px rgba(212, 168, 83, 0.3));
}

.lightbox-caption {
    padding: 24px 28px 28px;
    text-align: center;
}

.lightbox-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.lightbox-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.lightbox-desc {
    font-family: 'EB Garamond', serif;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.lightbox-ornament {
    color: var(--gold);
    opacity: 0.6;
}

/* --- Floating Blessing Button --- */
.floating-blessing-btn {
    position: fixed;
    bottom: 24px;
    right: 80px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: rgba(26, 14, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 168, 83, 0.4);
    border-radius: 50px;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 850;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 168, 83, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-blessing-btn:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px) scale(1.04);
}

.blessing-heart-icon {
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-blessing-btn:hover .blessing-heart-icon {
    transform: scale(1.3) rotate(-10deg);
}

/* Floating particle elements (hearts, doves, crosses) */
.floating-heart-particle {
    position: fixed;
    pointer-events: none;
    z-index: 3000;
    user-select: none;
    filter: drop-shadow(0 2px 8px rgba(212, 168, 83, 0.4));
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 3500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-bubble {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(22, 12, 16, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 168, 83, 0.2);
    transform: translateX(100px);
    opacity: 0;
}

.toast-bubble .toast-icon {
    font-size: 1.2rem;
    color: var(--gold);
}

/* --- Interactive 3D Tilt Glare Sheen --- */
.ceremony-card,
.verse-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: box-shadow 0.3s ease;
}

.tilt-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.ceremony-card:hover .tilt-glare,
.verse-card:hover .tilt-glare {
    opacity: 1;
}

/* --- Fairy Dust Cursor Particles (Desktop) --- */
.fairy-dust {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    box-shadow: 0 0 8px currentColor;
}

/* --- Divine Cathedral Light Rays Sway --- */
@keyframes cathedralRayDrift {
    0%, 100% {
        opacity: 0.07;
        transform: rotate(0deg) skewX(0deg);
    }
    50% {
        opacity: 0.16;
        transform: rotate(1.5deg) skewX(2deg);
    }
}

.light-ray {
    transform-origin: 200px 200px;
    animation: cathedralRayDrift 8s ease-in-out infinite;
}

.light-ray:nth-child(even) {
    animation-duration: 11s;
    animation-delay: -3s;
}

/* --- Timeline Pulse Rings --- */
.timeline-dot {
    position: relative;
}

.timeline-dot-ping {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    opacity: 0;
    pointer-events: none;
}

/* --- Responsive Adjustments for Mobile --- */
@media (max-width: 768px) {
    .music-toggle-wrap {
        left: 14px;
        bottom: 16px;
        gap: 8px;
    }
    
    .music-toggle {
        width: 40px;
        height: 40px;
    }
    
    .music-pill-label {
        font-size: 0.74rem;
        padding: 6px 11px;
    }

    .floating-blessing-btn {
        right: 14px;
        bottom: 16px;
        padding: 9px 14px;
        font-size: 0.68rem;
    }
    
    .calendar-menu {
        left: 50%;
        min-width: 250px;
    }
    
    .toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
    }
    
    .toast-bubble {
        width: 100%;
        justify-content: center;
    }
    
    .lightbox-card {
        margin: 10px;
    }
    
    .lightbox-close {
        top: -12px;
        right: -12px;
        width: 34px;
        height: 34px;
    }
}

/* ===================================================
   LIGHT MODE OVERRIDES FOR NEW COMPONENTS
   =================================================== */

[data-theme="light"] .calendar-menu {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(196, 133, 122, 0.3);
    box-shadow: 0 16px 40px rgba(60, 30, 40, 0.12), 0 0 25px rgba(196, 133, 122, 0.15);
}

[data-theme="light"] .calendar-menu-item {
    color: var(--text-dark);
}

[data-theme="light"] .calendar-menu-item:hover {
    background: rgba(196, 133, 122, 0.1);
    color: var(--gold);
}

[data-theme="light"] .gallery-zoom-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(196, 133, 122, 0.3);
    color: var(--gold);
}

[data-theme="light"] .lightbox-backdrop {
    background: rgba(248, 240, 242, 0.85);
}

[data-theme="light"] .lightbox-card {
    background: #ffffff;
    border-color: rgba(196, 133, 122, 0.3);
    box-shadow: 0 25px 60px rgba(60, 30, 40, 0.15), 0 0 35px rgba(196, 133, 122, 0.1);
}

[data-theme="light"] .lightbox-frame {
    background: radial-gradient(circle at center, rgba(196, 133, 122, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(196, 133, 122, 0.15);
}

[data-theme="light"] .lightbox-title {
    color: var(--text-dark);
}

[data-theme="light"] .lightbox-desc {
    color: var(--text-muted);
}

[data-theme="light"] .lightbox-close {
    background: #ffffff;
    border-color: var(--gold);
    color: var(--gold);
}

[data-theme="light"] .lightbox-close:hover {
    background: var(--gold);
    color: #ffffff;
}

[data-theme="light"] .floating-blessing-btn {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(196, 133, 122, 0.3);
    color: var(--gold);
    box-shadow: 0 6px 25px rgba(60, 30, 40, 0.1), 0 0 15px rgba(196, 133, 122, 0.15);
}

[data-theme="light"] .floating-blessing-btn:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(196, 133, 122, 0.25);
}

[data-theme="light"] .toast-bubble {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 12px 35px rgba(60, 30, 40, 0.12), 0 0 20px rgba(196, 133, 122, 0.15);
}

[data-theme="light"] .tilt-glare {
    background: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(196, 133, 122, 0.15) 0%, transparent 80%);
}

/* ----- RSVP Section ----- */
.rsvp-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background: transparent;
}

.rsvp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rsvp-contact {
    margin-top: 20px;
}

.contact-card {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(212, 168, 83, 0.2);
    padding: 30px 50px;
    border-radius: 16px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.contact-card:hover {
    border-color: rgba(212, 168, 83, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.contact-name {
    font-family: 'Montserrat', sans-serif;
    color: var(--ivory);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.contact-number {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-number:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(212, 168, 83, 0.5);
}

[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(212, 168, 83, 0.3);
}

[data-theme="light"] .contact-name {
    color: var(--text-dark);
}
