/* ========================================
   WEDDING WEBSITE — Dr. Bibin & Sini
   Design: Soft white, sage green, dusty blue, gold accents
   ======================================== */

/* ====== CSS VARIABLES ====== */
:root {
    --bg-primary: #FDFAF6;
    --bg-secondary: #F7F3ED;
    --bg-card: #FFFFFF;
    --text-primary: #2C3E2D;
    --text-secondary: #5A6B5C;
    --text-muted: #8B9A8D;
    --accent-gold: #D4A574;
    --accent-gold-light: #E8C9A0;
    --accent-gold-dark: #B8894E;
    --accent-green: #B8D4C8;
    --accent-green-dark: #87A084;
    --accent-blue: #A8C5D6;
    --accent-blue-light: #C4D9E7;
    --accent-rose: #F5CAC3;
    --border-gold: rgba(212, 165, 116, 0.3);
    --shadow-soft: 0 4px 20px rgba(44, 62, 45, 0.06);
    --shadow-card: 0 8px 32px rgba(44, 62, 45, 0.08);
    --shadow-hover: 0 12px 40px rgba(44, 62, 45, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ====== PRELOADER ====== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader-content {
    text-align: center;
}

.preloader-rings {
    margin-bottom: 20px;
    animation: preloaderFloat 2s ease-in-out infinite;
}

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

.preloader-text {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.preloader-bar {
    width: 120px;
    height: 2px;
    background: var(--border-gold);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-green));
    border-radius: 2px;
    animation: preloaderBar 1.8s ease-in-out forwards;
}

@keyframes preloaderBar {
    0% { width: 0%; }
    60% { width: 80%; }
    100% { width: 100%; }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== SECTION DEFAULTS ====== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-divider {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.section-divider img,
.section-divider svg,
.floral-divider-svg {
    width: 200px;
    height: auto;
    opacity: 0.6;
}

.footer-floral img,
.footer-floral svg,
.footer-floral .floral-divider-svg {
    width: 180px;
    margin: 0 auto;
    filter: brightness(2);
    opacity: 0.3;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.5);
}

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

.btn-outline:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ====== NAVIGATION ====== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 250, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    transition: var(--transition);
}

#main-nav.scrolled {
    background: rgba(253, 250, 246, 0.95);
    box-shadow: 0 2px 20px rgba(44, 62, 45, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-logo span {
    font-family: var(--font-script);
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin: 0 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold-dark);
    background: rgba(212, 165, 116, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ====== MUSIC TOGGLE ====== */
.music-btn {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(253, 250, 246, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.music-btn:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: scale(1.1);
}

.music-btn.playing {
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(212, 165, 116, 0); }
}

/* ====== HERO SECTION ====== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --hero-mx: 0px;
    --hero-my: 0px;
}

/* Cinematic entry: full-page fade in */
.hero-section {
    animation: heroEntryFade 2s ease-out forwards;
}

@keyframes heroEntryFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Hero particles canvas */
.hero-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Gold vignette overlay */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(212, 165, 116, 0.06) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
    animation: auraFloat 10s ease-in-out infinite;
}

.hero-aura-1 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(184, 212, 200, 0.35) 0%, rgba(184, 212, 200, 0) 70%);
    top: 10%;
    left: 8%;
    transform: translate3d(calc(var(--hero-mx) * -0.03), calc(var(--hero-my) * -0.02), 0);
}

.hero-aura-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(168, 197, 214, 0.28) 0%, rgba(168, 197, 214, 0) 72%);
    right: 2%;
    bottom: 4%;
    transform: translate3d(calc(var(--hero-mx) * 0.03), calc(var(--hero-my) * 0.02), 0);
    animation-delay: 1.6s;
}

.hero-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.55);
    box-shadow: 0 0 12px rgba(212, 165, 116, 0.6);
    animation: sparkleDrift 8s ease-in-out infinite;
}

.hero-sparkles span:nth-child(1) { top: 20%; left: 18%; animation-delay: 0s; }
.hero-sparkles span:nth-child(2) { top: 28%; right: 16%; animation-delay: 1.2s; }
.hero-sparkles span:nth-child(3) { top: 60%; left: 14%; animation-delay: 2.3s; }
.hero-sparkles span:nth-child(4) { top: 66%; right: 12%; animation-delay: 0.8s; }
.hero-sparkles span:nth-child(5) { top: 44%; right: 28%; animation-delay: 3s; }

@keyframes auraFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -12px; }
}

@keyframes sparkleDrift {
    0%, 100% { opacity: 0.15; transform: translateY(0) scale(0.9); }
    45% { opacity: 0.7; transform: translateY(-8px) scale(1.05); }
    70% { opacity: 0.4; transform: translateY(-3px) scale(0.95); }
}

/* Floating floral elements for layered depth parallax */
.hero-floating-florals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-floral {
    position: absolute;
    animation: floralFloat 12s ease-in-out infinite;
    will-change: transform;
}

.ff-1 { top: 12%; left: 6%; animation-delay: 0s; animation-duration: 14s; transform: translate3d(calc(var(--hero-mx) * -0.06), calc(var(--hero-my) * -0.04), 0); }
.ff-2 { top: 25%; right: 8%; animation-delay: 1.5s; animation-duration: 11s; transform: translate3d(calc(var(--hero-mx) * 0.05), calc(var(--hero-my) * -0.03), 0); }
.ff-3 { top: 55%; left: 5%; animation-delay: 3s; animation-duration: 16s; transform: translate3d(calc(var(--hero-mx) * -0.04), calc(var(--hero-my) * 0.05), 0); }
.ff-4 { bottom: 20%; right: 10%; animation-delay: 0.8s; animation-duration: 13s; transform: translate3d(calc(var(--hero-mx) * 0.06), calc(var(--hero-my) * 0.04), 0); }
.ff-5 { top: 40%; left: 15%; animation-delay: 2s; animation-duration: 15s; transform: translate3d(calc(var(--hero-mx) * -0.03), calc(var(--hero-my) * -0.06), 0); }
.ff-6 { bottom: 30%; right: 20%; animation-delay: 4s; animation-duration: 12s; transform: translate3d(calc(var(--hero-mx) * 0.04), calc(var(--hero-my) * 0.03), 0); }

@keyframes floralFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(5deg); }
    66% { transform: translateY(8px) rotate(-3deg); }
}

.hero-floral {
    position: absolute;
    width: 280px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    animation: floralDrift 9s ease-in-out infinite;
}

.hero-floral-tl {
    top: 0;
    left: 0;
    transform: translate3d(calc(var(--hero-mx) * -0.04), calc(var(--hero-my) * -0.03), 0) rotate(0deg);
}

.hero-floral-br {
    bottom: 0;
    right: 0;
    transform: translate3d(calc(var(--hero-mx) * 0.04), calc(var(--hero-my) * 0.03), 0) rotate(180deg);
    animation-delay: 1.3s;
}

@keyframes floralDrift {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -10px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* Bible verse: line-by-line cinematic reveal */
.hero-verse {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(16px);
    animation: verseReveal 1.2s ease-out 0.6s forwards;
}

.hero-verse-ref {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(10px);
    animation: verseReveal 1s ease-out 1s forwards;
}

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

/* Hero photo: blur-to-sharp + gold ring glow */
.hero-photo-frame {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: 0 auto 40px;
    padding: 6px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.3);
    overflow: hidden;
    position: relative;
    animation: photoReveal 1.8s ease-out 0.3s both;
}

.hero-photo-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(212, 165, 116, 0.5), rgba(184, 212, 200, 0.3), rgba(168, 197, 214, 0.3), rgba(212, 165, 116, 0.5));
    animation: photoGlowSpin 6s linear infinite;
    z-index: 0;
}

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

.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
    animation: photoBlurReveal 2s ease-out 0.4s both;
}

@keyframes photoReveal {
    0% { transform: scale(0.6); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes photoBlurReveal {
    0% { filter: blur(12px); opacity: 0; }
    60% { filter: blur(2px); opacity: 0.8; }
    100% { filter: blur(0); opacity: 1; }
}

/* Micro-interaction: photo hover glow & scale */
.hero-photo-frame:hover {
    box-shadow: 0 12px 48px rgba(212, 165, 116, 0.5);
    transform: scale(1.04);
    transition: all 0.4s ease;
}

.hero-photo-frame:hover .hero-photo {
    transform: scale(1.06);
}

/* Names: simple, always-visible golden script */
.hero-names {
    font-family: var(--font-script);
    font-size: 3.8rem;
    color: #6e3f1c;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 3px 14px rgba(110, 63, 28, 0.2);
}

.name-script {
    display: inline-block;
    color: #6e3f1c;
}

.name-and {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: #9a6a3a;
    margin: 0 14px;
    font-style: italic;
    display: inline-block;
}

/* Tagline & date cinematic entry */
.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(15px);
    animation: contentSlideUp 0.8s ease-out 2.4s forwards;
}

.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--accent-gold-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(15px);
    animation: contentSlideUp 0.8s ease-out 2.6s forwards;
}

.hero-date span:not(.date-line) {
    font-weight: 500;
}

.date-line {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.5;
    animation: dateLineGrow 1s ease-out 2.8s both;
}

@keyframes dateLineGrow {
    0% { width: 0; opacity: 0; }
    100% { width: 60px; opacity: 0.5; }
}

.hero-welcome {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(15px);
    animation: contentSlideUp 0.8s ease-out 2.8s forwards;
}

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

/* CTA micro-interaction: glow on hover */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.4);
    transition: var(--transition);
    overflow: hidden;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 165, 116, 0.5);
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: -120%;
    left: -40%;
    width: 30%;
    height: 300%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    transform: rotate(20deg);
    animation: ctaShimmer 4.8s ease-in-out infinite;
}

@keyframes ctaShimmer {
    0%, 65% { left: -50%; }
    100% { left: 130%; }
}

/* Scroll-down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: scrollIndicatorIn 1s ease-out 3.2s forwards;
    transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.scroll-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.scroll-arrow {
    color: var(--accent-gold);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollIndicatorIn {
    to { opacity: 1; }
}

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

/* Hero wave divider for smooth hero → countdown transition */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ====== COUNTDOWN ====== */
.countdown-section {
    background: var(--bg-secondary);
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-card);
    width: 100px;           /* overridden to 100% on mobile */
    min-width: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.countdown-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-green));
}

.countdown-number.flip {
    animation: flipNumber 0.6s ease-in-out;
}

@keyframes flipNumber {
    0% { transform: perspective(400px) rotateX(0); }
    50% { transform: perspective(400px) rotateX(-10deg); opacity: 0.7; }
    100% { transform: perspective(400px) rotateX(0); }
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 600;
}

.countdown-separator {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-gold);
    padding-bottom: 28px;
}

.save-date-actions {
    text-align: center;
}

/* ====== COUPLE SECTION ====== */
.couple-section {
    background: var(--bg-primary);
}

.couple-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.couple-card {
    flex: 1;
    max-width: 340px;
    text-align: center;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.couple-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.couple-card-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 20px;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-green));
    overflow: hidden;
}

.couple-card-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.couple-card-name {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.couple-card-parents {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 4px;
}

.couple-card-place {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.couple-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.couple-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartBeat 2s ease-in-out infinite;
}

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

.heart-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== BLESSING SECTION ====== */
.blessing-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(184, 212, 200, 0.15) 100%);
    padding: 80px 0;
}

.blessing-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    padding: 60px 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-gold);
    position: relative;
}

.blessing-cross {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.blessing-quote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.blessing-cite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-gold-dark);
    font-style: normal;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.blessing-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ====== EVENTS SECTION ====== */
.events-section {
    background: var(--bg-primary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.event-card {
    text-align: center;
    background: var(--bg-card);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

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

.event-icon {
    margin-bottom: 20px;
    opacity: 0.8;
}

.event-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.event-day {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold-dark);
    line-height: 1.1;
}

.event-month {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-time {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.event-venue {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.event-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ====== TIMELINE ====== */
.timeline-section {
    background: linear-gradient(180deg, #fdfbf8 0%, #f7f3ed 100%);
    overflow: hidden;
}

.timeline-section::before,
.timeline-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.timeline-section::before {
    width: 260px;
    height: 260px;
    top: -80px;
    left: -80px;
    background: radial-gradient(circle, rgba(184, 212, 200, 0.24) 0%, rgba(184, 212, 200, 0) 72%);
}

.timeline-section::after {
    width: 280px;
    height: 280px;
    bottom: -110px;
    right: -90px;
    background: radial-gradient(circle, rgba(168, 197, 214, 0.2) 0%, rgba(168, 197, 214, 0) 74%);
}

.timeline {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(212, 165, 116, 0.95) 0%, rgba(184, 212, 200, 0.9) 55%, rgba(168, 197, 214, 0.9) 100%);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.08);
}

.timeline-item {
    position: relative;
    padding-left: 54px;
    margin-bottom: 22px;
}

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

.timeline-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 8px;
    min-width: max-content;
    box-shadow: 0 8px 16px rgba(184, 137, 78, 0.24);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    position: absolute;
    left: 13px;
    top: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.28);
    z-index: 1;
}

.timeline-content {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px 18px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(44, 62, 45, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.26);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(184, 212, 200, 0.7);
    top: 12px;
    right: 12px;
}

.timeline-content h4 {
    font-family: var(--font-serif);
    font-size: 1.04rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (min-width: 900px) {
    .timeline {
        max-width: 980px;
        padding: 4px 0;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: calc(50% - 34px);
        padding-left: 0;
        margin-bottom: 28px;
    }

    .timeline-item:nth-child(odd) {
        margin-right: auto;
    }

    .timeline-item:nth-child(even) {
        margin-left: auto;
    }

    .timeline-dot {
        left: auto;
        right: -42px;
        top: 20px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        right: auto;
        left: -42px;
    }

    .timeline-time {
        margin-bottom: 10px;
    }

    .timeline-content {
        padding: 22px 24px;
    }

    .timeline-content h4 {
        font-size: 1.16rem;
    }

    .timeline-content p {
        font-size: 0.92rem;
    }
}

/* ====== LOCATION ====== */
.location-section {
    background: var(--bg-primary);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.location-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-gold);
    text-align: center;
}

.location-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.location-venue {
    font-weight: 600;
    color: var(--accent-gold-dark);
    margin-bottom: 4px;
}

.location-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-gold);
}

.map-container iframe {
    display: block;
}

/* ====== GALLERY ====== */
.gallery-section {
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 45, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 2px solid #fff;
    border-radius: 50px;
}

/* ====== LIGHTBOX ====== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ====== INVITATION SECTION ====== */
.invitation-section {
    background: var(--bg-primary);
}

.invitation-frame {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 2px solid var(--accent-gold-light);
}

.invitation-frame img {
    border-radius: var(--radius-md);
    width: 100%;
}

/* ====== RSVP ====== */
.rsvp-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(168, 197, 214, 0.1) 100%);
}

.rsvp-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-gold);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.required {
    color: var(--accent-rose);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1.5px solid rgba(44, 62, 45, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

.form-group input.error,
.form-group select.error {
    border-color: #E74C3C;
}

.error-msg {
    font-size: 0.78rem;
    color: #E74C3C;
    min-height: 18px;
}

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

#rsvp-submit {
    align-self: center;
    margin-top: 8px;
}

.rsvp-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.6s ease;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.rsvp-success h3 {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.rsvp-success p {
    color: var(--text-secondary);
}

/* ====== CONFETTI CANVAS ====== */
#confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

/* ====== WISHES ====== */
.wishes-section {
    background: var(--bg-primary);
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.wish-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
    position: relative;
}

.wish-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--accent-gold-light);
    line-height: 1;
    opacity: 0.5;
}

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

.wish-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
    padding-top: 20px;
}

.wish-author {
    font-size: 0.85rem;
    color: var(--accent-gold-dark);
    font-weight: 600;
}

/* ====== DRESS CODE ====== */
.dresscode-section {
    background: var(--bg-secondary);
}

.dresscode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.dresscode-card {
    text-align: center;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

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

.dresscode-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.dresscode-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.dresscode-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(44, 62, 45, 0.1);
    transition: var(--transition);
}

.swatch:hover {
    transform: scale(1.2);
}

/* ====== TRAVEL ====== */
.travel-section {
    background: var(--bg-primary);
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.travel-card {
    text-align: center;
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

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

.travel-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.travel-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.travel-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ====== FAQ ====== */
.faq-section {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gold);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold-dark);
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--accent-gold);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ====== CONTACT ====== */
.contact-section {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    background: var(--bg-card);
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

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

.contact-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--accent-gold-dark);
    margin-bottom: 12px;
}

.contact-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-place {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-phone {
    display: inline-block;
    color: var(--accent-gold-dark);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(212, 165, 116, 0.1);
    transition: var(--transition);
}

.contact-phone:hover {
    background: var(--accent-gold);
    color: #fff;
}

/* ====== SHARE ====== */
.share-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.share-whatsapp {
    background: #25D366;
}

.share-facebook {
    background: #1877F2;
}

.share-copy {
    background: var(--accent-gold);
}

.share-copied {
    text-align: center;
    color: var(--accent-green-dark);
    font-weight: 600;
    margin-top: 16px;
    animation: fadeIn 0.3s ease;
}

/* ====== FOOTER ====== */
.footer-section {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 32px;
    text-align: center;
}

.footer-floral {
    margin-bottom: 30px;
    opacity: 0.3;
    display: flex;
    justify-content: center;
}

.footer-floral .floral-divider-svg {
    width: 180px;
    margin: 0 auto;
    filter: brightness(2);
}

.footer-names {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-script {
    display: inline-block;
}

.footer-and {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--accent-gold-light);
    margin: 0 12px;
    font-style: italic;
}

.footer-blessing {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-thankyou {
    font-size: 0.9rem;
    color: var(--accent-gold-light);
    margin-bottom: 24px;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 24px;
    z-index: 998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.5);
}

/* ====== FLOATING PETALS ====== */
#floating-petals {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    opacity: 0.15;
    border-radius: 50% 0 50% 0;
    animation: petalFall linear infinite;
}

.petal:nth-child(even) {
    background: var(--accent-blue);
    border-radius: 0 50% 0 50%;
}

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

/* ====== GLOBAL WEDDING PARTICLE SYSTEM ====== */
/* Unified particle animation across all sections */

#global-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* CSS Particle Layer - Decorative floating elements */
.particle-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Sparkle particles - small glowing dots */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkleFloat var(--sparkle-duration, 20s) ease-in-out infinite;
    animation-delay: var(--sparkle-delay, 0s);
    opacity: 0;
}

.sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparklePulse 2s ease-in-out infinite;
}

/* Floral particles - soft petal shapes */
.floral-particle {
    position: absolute;
    width: var(--floral-size, 12px);
    height: var(--floral-size, 12px);
    opacity: 0;
    animation: floralDrift var(--floral-duration, 25s) linear infinite;
    animation-delay: var(--floral-delay, 0s);
}

.floral-particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--floral-color, var(--accent-rose));
    border-radius: 50% 0 50% 0;
    opacity: 0.12;
    transform: rotate(45deg);
}

.floral-particle::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50% 0 50% 0;
    transform: rotate(45deg);
}

/* Leaf particles - gentle floating leaves */
.leaf-particle {
    position: absolute;
    width: var(--leaf-size, 16px);
    height: calc(var(--leaf-size, 16px) * 0.6);
    opacity: 0;
    animation: leafFloat var(--leaf-duration, 30s) ease-in-out infinite;
    animation-delay: var(--leaf-delay, 0s);
}

.leaf-particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    border-radius: 0 80% 0 80%;
    opacity: 0.08;
}

.leaf-particle::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 80%;
    top: 10%;
    left: 50%;
    background: rgba(135, 160, 132, 0.2);
    transform: translateX(-50%);
}

/* Glow orbs - soft ambient glows */
.glow-orb {
    position: absolute;
    width: var(--orb-size, 80px);
    height: var(--orb-size, 80px);
    border-radius: 50%;
    background: radial-gradient(circle, var(--orb-color, rgba(212, 165, 116, 0.06)) 0%, transparent 70%);
    animation: orbFloat var(--orb-duration, 40s) ease-in-out infinite;
    animation-delay: var(--orb-delay, 0s);
    filter: blur(20px);
    opacity: 0.5;
}

/* ---- Particle Keyframe Animations ---- */
@keyframes sparkleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateY(45vh) translateX(-20px) scale(1.2);
    }
    95% {
        opacity: 0.8;
        transform: translateY(5vh) translateX(15px) scale(1);
    }
    100% {
        transform: translateY(-5vh) translateX(0) scale(0);
        opacity: 0;
    }
}

@keyframes sparklePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

@keyframes floralDrift {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    50% {
        transform: translateY(50vh) translateX(50px) rotate(180deg);
        opacity: 0.12;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) translateX(-30px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes leafFloat {
    0% {
        transform: translateY(-30px) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    25% {
        transform: translateY(25vh) translateX(30px) rotate(45deg) scale(1.1);
    }
    50% {
        transform: translateY(50vh) translateX(-20px) rotate(90deg) scale(1);
        opacity: 0.08;
    }
    75% {
        transform: translateY(75vh) translateX(40px) rotate(135deg) scale(1.1);
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(calc(100vh + 30px)) translateX(10px) rotate(180deg) scale(1);
        opacity: 0;
    }
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, 50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 100px) scale(0.95);
    }
    75% {
        transform: translate(40px, 50px) scale(1.05);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Reduced motion - disable particle animations */
@media (prefers-reduced-motion: reduce) {
    .sparkle,
    .floral-particle,
    .leaf-particle,
    .glow-orb,
    #global-particles-canvas,
    .particle-layer {
        display: none !important;
    }
}

/* ====== SCROLL ANIMATIONS ====== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}

/* ---- Animation Variants ---- */
.animate-on-scroll.reveal-left {
    transform: translateX(-30px);
}

.animate-on-scroll.reveal-right {
    transform: translateX(30px);
}

.animate-on-scroll.reveal-zoom {
    transform: scale(0.92);
}

.animate-on-scroll.reveal-fade {
    transform: none;
}

/* All variants resolve to same visible state */
.animate-on-scroll.reveal-left.visible,
.animate-on-scroll.reveal-right.visible,
.animate-on-scroll.reveal-zoom.visible,
.animate-on-scroll.reveal-fade.visible {
    opacity: 1;
    transform: none;
}

/* ---- Stagger children inside a parent .stagger-group ---- */
.stagger-group > .animate-on-scroll:nth-child(1) { --reveal-delay: 0ms; }
.stagger-group > .animate-on-scroll:nth-child(2) { --reveal-delay: 100ms; }
.stagger-group > .animate-on-scroll:nth-child(3) { --reveal-delay: 200ms; }
.stagger-group > .animate-on-scroll:nth-child(4) { --reveal-delay: 300ms; }
.stagger-group > .animate-on-scroll:nth-child(5) { --reveal-delay: 400ms; }
.stagger-group > .animate-on-scroll:nth-child(6) { --reveal-delay: 500ms; }
.stagger-group > .animate-on-scroll:nth-child(7) { --reveal-delay: 600ms; }
.stagger-group > .animate-on-scroll:nth-child(8) { --reveal-delay: 700ms; }
.stagger-group > .animate-on-scroll:nth-child(9) { --reveal-delay: 800ms; }

/* ---- Hero staggered entry ---- */
.hero-content .hero-verse       { animation-delay: 0.6s; }
.hero-content .hero-verse-ref   { animation-delay: 1.0s; }
.hero-content .hero-photo-frame { animation-delay: 0.3s; }
.hero-content .hero-names       { opacity: 0; animation: heroElFadeUp 0.9s ease-out 1.4s forwards; }
.hero-content .hero-tagline     { animation-delay: 2.0s; }
.hero-content .hero-date        { animation-delay: 2.3s; }
.hero-content .hero-welcome     { animation-delay: 2.5s; }
.hero-content .hero-cta         { opacity: 0; transform: translateY(15px); animation: heroElFadeUp 0.8s ease-out 2.8s forwards; }

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

/* ---- RSVP submit loading state ---- */
#rsvp-submit {
    position: relative;
    transition: var(--transition);
}

#rsvp-submit.loading {
    color: transparent;
    pointer-events: none;
}

#rsvp-submit.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
}

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

/* ---- RSVP success animation ---- */
.rsvp-success {
    animation: rsvpSuccessIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Page-wide micro interactions */
.event-card,
.dresscode-card,
.travel-card,
.location-card,
.contact-card,
.gallery-item,
.wish-card,
.timeline-content,
.rsvp-card,
.blessing-card {
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.event-card:hover,
.dresscode-card:hover,
.travel-card:hover,
.location-card:hover,
.contact-card:hover,
.gallery-item:hover,
.wish-card:hover,
.timeline-content:hover,
.rsvp-card:hover,
.blessing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Offscreen content optimization */
.section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.hero-section {
    content-visibility: visible;
}

/* ====== PREMIUM TEXT SHIMMER (for hero names) ====== */
/* Letter-by-letter handled by JS + .letter class + nameShimmer in hero section */

/* ====== BUTTON GLOW EFFECT ====== */
.hero-cta::before,
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-green), var(--accent-gold));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.hero-cta:hover::before,
.btn-primary:hover::before {
    opacity: 0.5;
}

.hero-cta,
.btn-primary {
    position: relative;
    z-index: 1;
}

/* ====== SPARKLE ON INTERACTION ====== */
@keyframes sparkle {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    100% { transform: scale(1.5) rotate(180deg); opacity: 0; }
}

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

/* ============================================================
   RESPONSIVE — Mobile-first comprehensive overhaul
   Breakpoints: 1024px (tablet) · 768px (large mobile) · 480px (mobile) · 375px (small mobile)
   ============================================================ */

/* ---- TABLET (≤ 1024px) ---- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

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

    .hero-names {
        font-size: 3rem;
    }

    .couple-content {
        gap: 24px;
    }

    .couple-card {
        padding: 32px 24px;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- LARGE MOBILE / SMALL TABLET (≤ 768px) ---- */
@media (max-width: 768px) {

    /* ---- PARTICLE OPTIMIZATION ---- */
    .sparkle { width: 3px; height: 3px; }
    .floral-particle { --floral-size: 10px; }
    .leaf-particle { --leaf-size: 12px; }
    .glow-orb { --orb-size: 60px; filter: blur(15px); opacity: 0.4; }

    /* ---- GLOBALS ---- */
    html { font-size: 15px; }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

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

    .section-subtitle {
        font-size: 1.4rem;
    }

    /* Touch-friendly buttons */
    .btn {
        min-height: 48px;
        padding: 13px 28px;
        font-size: 0.9rem;
    }

    .btn-sm {
        min-height: 42px;
        padding: 10px 20px;
    }

    /* ---- NAV ---- */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100dvh;          /* dynamic viewport height for iOS */
        background: var(--bg-primary);
        flex-direction: column;
        padding: 80px 20px 32px;
        gap: 2px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-links a {
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
    }

    /* ---- HERO ---- */
    .hero-section {
        padding: 90px 16px 60px;
        min-height: 100svh;      /* small viewport height — iOS Safari safe */
        text-align: center;
    }

    .hero-content {
        padding: 0 4px;
    }

    .hero-names {
        font-size: 2.5rem;
        line-height: 1.25;
    }

    .name-and {
        font-size: 1.5rem;
        display: inline-block;
        margin: 0 10px;
    }

    .hero-photo-frame {
        width: 180px;
        height: 180px;
        margin: 0 auto 24px;
    }

    .hero-verse {
        font-size: 0.95rem;
        padding: 0 8px;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .hero-date {
        font-size: 0.9rem;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .date-line {
        width: 28px;
    }

    .hero-welcome {
        font-size: 0.9rem;
        padding: 0 8px;
    }

    .hero-cta {
        padding: 15px 36px;
        font-size: 0.9rem;
    }

    /* Hide heavy decorations on mobile for perf */
    .hero-floral {
        width: 130px;
        opacity: 0.18;
    }

    .hero-floating-florals {
        display: none;
    }

    .hero-aura-1 {
        width: 200px;
        height: 200px;
    }

    .hero-aura-2 {
        width: 230px;
        height: 230px;
    }

    .hero-sparkles span {
        width: 3px;
        height: 3px;
    }

    .hero-wave svg {
        height: 44px;
    }

    .scroll-indicator {
        bottom: 72px;
    }

    /* ---- COUNTDOWN ---- */
    .countdown-timer {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .countdown-item {
        flex: 1;
    }

    .countdown-number {
        width: 100%;
        height: 72px;
        font-size: 2rem;
        border-radius: var(--radius-sm);
    }

    .countdown-separator {
        font-size: 1.6rem;
        padding-bottom: 22px;
    }

    .countdown-label {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .save-date-actions {
        margin-top: 16px;
    }

    /* ---- COUPLE ---- */
    .couple-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .couple-card {
        max-width: 100%;
        width: 100%;
        padding: 28px 20px;
    }

    .couple-heart {
        order: -1;
    }

    .couple-card-photo {
        width: 130px;
        height: 130px;
    }

    /* ---- BLESSING ---- */
    .blessing-card {
        padding: 36px 22px;
    }

    .blessing-quote {
        font-size: 1.15rem;
    }

    /* ---- EVENTS ---- */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-card {
        padding: 28px 20px;
    }

    /* ---- TIMELINE ---- */
    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 16px;
        width: 2px;
    }

    .timeline-item {
        padding-left: 42px;
        margin-bottom: 20px;
    }

    .timeline-dot {
        left: 8px;
        top: 5px;
        width: 14px;
        height: 14px;
    }

    .timeline-time {
        font-size: 0.72rem;
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .timeline-content {
        padding: 14px 14px;
        border-radius: 14px;
    }

    /* ---- LOCATION / MAP ---- */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-container iframe {
        height: 220px;
    }

    /* ---- GALLERY ---- */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* ---- INVITATION ---- */
    .invitation-frame {
        padding: 10px;
    }

    /* ---- RSVP ---- */
    .rsvp-card {
        padding: 28px 18px;
        border-radius: var(--radius-md);
    }

    .rsvp-form input,
    .rsvp-form select,
    .rsvp-form textarea {
        font-size: 16px;  /* prevents iOS zoom-in on focus */
        padding: 13px 14px;
        min-height: 48px;
    }

    .rsvp-form textarea {
        min-height: 100px;
    }

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

    #rsvp-submit {
        width: 100%;
        justify-content: center;
        min-height: 52px;
    }

    /* ---- WISHES ---- */
    .wishes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ---- DRESS CODE ---- */
    .dresscode-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ---- TRAVEL ---- */
    .travel-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .travel-card {
        padding: 24px 16px;
    }

    /* ---- CONTACT ---- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 24px 18px;
    }

    .contact-phone {
        font-size: 1rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* ---- SHARE ---- */
    .share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .share-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        min-height: 52px;
    }

    /* ---- FOOTER ---- */
    .footer-section {
        padding: 48px 0 32px;
    }

    .footer-names {
        font-size: 1.8rem;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

    .footer-blessing {
        font-size: 0.9rem;
        padding: 0 16px;
    }

    /* ---- FLOATING BTNS ---- */
    .music-btn {
        bottom: 76px;
        right: 14px;
        width: 44px;
        height: 44px;
    }

    .back-to-top {
        right: 14px;
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* ---- STANDARD MOBILE (≤ 480px) ---- */
@media (max-width: 480px) {

    /* ---- PARTICLE OPTIMIZATION ---- */
    .sparkle { width: 2px; height: 2px; }
    .floral-particle { --floral-size: 8px; }
    .leaf-particle { --leaf-size: 10px; }
    .glow-orb { --orb-size: 50px; filter: blur(12px); opacity: 0.35; }

    html { font-size: 14px; }

    .container {
        padding: 0 14px;
    }

    .section {
        padding: 50px 0;
    }

    /* HERO */
    .hero-section {
        padding: 80px 14px 50px;
    }

    .hero-names {
        font-size: 2.1rem;
    }

    .hero-photo-frame {
        width: 155px;
        height: 155px;
    }

    .hero-floral {
        display: none;       /* fully hide on small phones */
    }

    .hero-aura-1,
    .hero-aura-2 {
        opacity: 0.4;
    }

    /* COUNTDOWN */
    .countdown-timer {
        gap: 5px;
    }

    .countdown-number {
        height: 62px;
        font-size: 1.7rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
        padding-bottom: 18px;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.82rem;
    }

    /* SECTION HEADINGS */
    .section-title {
        font-size: 1.65rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    /* GALLERY — 2 col stays but smaller gap */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* TRAVEL — go single col */
    .travel-grid {
        grid-template-columns: 1fr;
    }

    /* RSVP */
    .rsvp-card {
        padding: 22px 14px;
    }

    /* BUTTONS */
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.9rem;
        padding: 14px 16px;
    }

    /* FOOTER */
    .footer-names {
        font-size: 1.5rem;
    }
}

/* ---- SMALL MOBILE (≤ 375px — iPhone SE etc.) ---- */
@media (max-width: 375px) {

    html { font-size: 13px; }

    .hero-names {
        font-size: 1.9rem;
    }

    .name-and {
        font-size: 1.3rem;
    }

    .hero-photo-frame {
        width: 135px;
        height: 135px;
    }

    .countdown-number {
        height: 54px;
        font-size: 1.55rem;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .event-card,
    .travel-card,
    .contact-card,
    .dresscode-card {
        padding: 20px 14px;
    }

    .rsvp-card {
        padding: 18px 12px;
    }
}

/* ---- EXTRA SMALL (≤ 320px — Galaxy Fold, very small phones) ---- */
@media (max-width: 320px) {

    /* ---- PARTICLE OPTIMIZATION (minimal for performance) ---- */
    .sparkle { width: 2px; height: 2px; }
    .sparkle::after { display: none; } /* Disable glow effect */
    .floral-particle { --floral-size: 6px; }
    .leaf-particle { --leaf-size: 8px; }
    .glow-orb { display: none; } /* Disable for performance */

    html { font-size: 12px; }

    .container {
        padding: 0 10px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    /* HERO */
    .hero-section {
        padding: 72px 10px 44px;
    }

    .hero-names {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .name-and {
        font-size: 1.1rem;
        margin: 0 6px;
    }

    .hero-photo-frame {
        width: 110px;
        height: 110px;
        margin: 0 auto 18px;
    }

    .hero-verse {
        font-size: 0.82rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .hero-date {
        font-size: 0.78rem;
        gap: 6px;
    }

    .date-line {
        width: 18px;
    }

    .hero-welcome {
        font-size: 0.82rem;
    }

    .hero-cta {
        padding: 12px 28px;
        font-size: 0.82rem;
    }

    .scroll-indicator {
        bottom: 52px;
    }

    .scroll-text {
        font-size: 0.6rem;
    }

    /* NAV */
    .nav-container {
        height: 52px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-links {
        width: 100vw;
        padding: 64px 16px 24px;
    }

    /* COUNTDOWN */
    .countdown-timer {
        gap: 3px;
    }

    .countdown-number {
        height: 48px;
        font-size: 1.35rem;
        border-radius: 6px;
    }

    .countdown-separator {
        font-size: 1rem;
        padding-bottom: 14px;
    }

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

    /* SECTION HEADINGS */
    .section-title {
        font-size: 1.35rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .section-divider svg,
    .floral-divider-svg {
        width: 140px;
    }

    /* COUPLE */
    .couple-card {
        padding: 20px 12px;
    }

    .couple-card-photo {
        width: 100px;
        height: 100px;
    }

    .couple-card-name {
        font-size: 1.6rem;
    }

    .couple-card-desc {
        font-size: 0.82rem;
    }

    .heart-icon svg {
        width: 40px;
        height: 40px;
    }

    /* BLESSING */
    .blessing-card {
        padding: 24px 14px;
    }

    .blessing-quote {
        font-size: 1rem;
    }

    .blessing-text {
        font-size: 0.82rem;
    }

    /* EVENTS */
    .event-card {
        padding: 18px 12px;
    }

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

    .event-number {
        font-size: 2.5rem;
    }

    /* TIMELINE */
    .timeline-item {
        padding-left: 36px;
        margin-bottom: 16px;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-dot {
        left: 6px;
        width: 12px;
        height: 12px;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.78rem;
    }

    /* LOCATION */
    .location-card {
        padding: 18px 12px;
    }

    .map-container iframe {
        height: 180px;
    }

    /* GALLERY */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

    .gallery-item {
        border-radius: 6px;
    }

    /* INVITATION */
    .invitation-frame {
        padding: 6px;
    }

    /* RSVP */
    .rsvp-card {
        padding: 14px 10px;
        border-radius: var(--radius-sm);
    }

    .form-group label {
        font-size: 0.78rem;
    }

    .rsvp-form input,
    .rsvp-form select,
    .rsvp-form textarea {
        padding: 11px 10px;
        font-size: 16px;
    }

    #rsvp-submit {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* WISHES */
    .wish-card {
        padding: 20px 14px;
    }

    .wish-text {
        font-size: 0.88rem;
    }

    /* DRESS CODE */
    .dresscode-card {
        padding: 18px 12px;
    }

    .dresscode-icon {
        font-size: 2.2rem;
    }

    .swatch {
        width: 22px;
        height: 22px;
    }

    /* TRAVEL */
    .travel-card {
        padding: 18px 12px;
    }

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

    /* FAQ */
    .faq-question {
        font-size: 0.82rem;
        padding: 12px 12px;
    }

    .faq-answer p {
        font-size: 0.82rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 12px 14px;
    }

    /* CONTACT */
    .contact-card {
        padding: 18px 12px;
    }

    .contact-phone {
        font-size: 0.88rem;
    }

    /* SHARE */
    .share-btn {
        padding: 12px 20px;
        font-size: 0.82rem;
        max-width: 100%;
    }

    /* FOOTER */
    .footer-section {
        padding: 36px 0 24px;
    }

    .footer-names {
        font-size: 1.3rem;
    }

    .footer-blessing {
        font-size: 0.82rem;
    }

    /* FLOATING BTNS */
    .music-btn {
        width: 40px;
        height: 40px;
        bottom: 64px;
        right: 10px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 10px;
        bottom: 14px;
    }

    /* LIGHTBOX */
    .lightbox {
        padding: 12px;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}

/* ====== PREFERS REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .animate-on-scroll.reveal-left,
    .animate-on-scroll.reveal-right,
    .animate-on-scroll.reveal-zoom,
    .animate-on-scroll.reveal-fade {
        opacity: 1;
        transform: none;
    }

    .petal {
        display: none;
    }

    .hero-aura,
    .hero-floral,
    .hero-sparkles span,
    .hero-cta::after,
    .hero-photo-glow,
    .floating-floral,
    .scroll-arrow {
        animation: none !important;
    }

    .hero-verse,
    .hero-verse-ref,
    .hero-tagline,
    .hero-date,
    .hero-welcome,
    .hero-names,
    .hero-cta,
    .name-script,
    .name-and,
    .scroll-indicator {
        opacity: 1 !important;
        transform: none !important;
    }
}
