/**
 * 2PEAS IN LOVE — Precious & Peter Wedding Design System
 * Royal Chocolate, Warm Ivory & Radiant Gold Luxury Styling
 */

:root {
    --bg-primary: #fcf9f5;
    --bg-card: #ffffff;
    --bg-dark: #1e120b;
    --bg-dark-surface: #27170e;
    --bg-dark-accent: #352115;
    --text-main: #27170e;
    --text-muted: #735e50;
    --text-light: #f5efe9;
    --text-light-muted: #c9b9ad;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #9c6c19;
    --gold-subtle: rgba(212, 175, 55, 0.15);
    --border-light: #ece3d8;
    --border-gold: rgba(212, 175, 55, 0.35);
    --shadow-subtle: 0 4px 20px rgba(39, 23, 14, 0.06);
    --shadow-hover: 0 10px 30px rgba(39, 23, 14, 0.12);
    --radius-card: 16px;
    --radius-pill: 9999px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utility */
h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #d4af37 0%, #f9f1d2 50%, #c49925 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(30, 18, 11, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-monogram {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    background: rgba(212, 175, 55, 0.08);
}

.brand-title {
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 2px;
    display: block;
}

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

.nav-link {
    color: var(--text-light-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: var(--bg-dark);
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--gold);
}

.nav-cta:hover {
    background: #e5be42;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 20%, #3a2215 0%, #170d07 100%);
    color: #ffffff;
    padding: 4.5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

/* Style A: Royal Split Majesty (Default) */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

/* Style B: Grand Centerpiece */
.hero-layout-grand-center .hero-center-wrapper {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-layout-grand-center .hero-actions {
    justify-content: center;
}
.hero-layout-grand-center .hero-center-slideshow {
    width: 100%;
    max-width: 620px;
    margin: 2.2rem auto 2.5rem;
}

/* Style C: Cinematic Full-Bleed Overlay */
.hero-layout-cinematic {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 5rem;
}
.hero-cinematic-bg-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-cinematic-overlay-veil {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(20, 10, 6, 0.72) 0%, rgba(14, 7, 4, 0.92) 80%);
    z-index: 1;
}
.hero-cinematic-floating-card {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    background: rgba(30, 16, 10, 0.65);
    border: 1.5px solid rgba(212, 175, 55, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem 3.5rem;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.hero-cinematic-floating-card .hero-actions {
    justify-content: center;
}

/* Style D: Vogue Editorial Magazine */
.hero-layout-editorial .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
}
.hero-layout-editorial .hero-names {
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-editorial-badge {
    border-left: 3px solid var(--gold);
    padding-left: 12px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Style E: Royal Cathedral Arch Elegance */
.hero-layout-arch .hero-arch-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}
.hero-arch-showcase {
    position: relative;
    padding: 16px;
    text-align: center;
}
.hero-arch-crest {
    display: inline-block;
    background: #1f110a;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: -18px;
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}
.hero-arch-outer-frame {
    position: relative;
    border: 2.5px solid var(--gold);
    border-radius: 260px 260px 24px 24px;
    padding: 14px;
    background: radial-gradient(circle at 50% 30%, #3a2215 0%, #170d07 90%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.2);
}
.hero-arch-inner-frame {
    border-radius: 245px 245px 18px 18px;
    overflow: hidden;
    position: relative;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
}
.hero-arch-slideshow .hero-slideshow-container {
    aspect-ratio: 4 / 5.2;
    border-radius: 245px 245px 18px 18px;
    border: none;
    box-shadow: none;
}

/* Style F: Royal Photo Mosaic & Luxe Showcase */
.hero-layout-mosaic .hero-mosaic-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}
.hero-mosaic-showcase {
    position: relative;
    padding: 18px;
}
.hero-mosaic-accent-card {
    position: absolute;
    inset: 4px -6px -8px 16px;
    background: #1b1008;
    border: 2px solid var(--gold);
    border-radius: 26px;
    transform: rotate(3deg);
    opacity: 0.65;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}
.hero-mosaic-main {
    position: relative;
    z-index: 2;
}
.hero-mosaic-slideshow .hero-slideshow-container {
    border-radius: 24px;
    border: 2px solid var(--gold);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7);
}

/* Expanded, Bold, High-Visibility Welcome to the Celebration Container Box */
.hero-welcome-box {
    background: rgba(22, 12, 7, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(212, 175, 55, 0.75);
    border-radius: 26px;
    padding: 2.6rem 2.8rem;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}
.hero-welcome-box-expanded {
    padding: 2.8rem 3rem;
    border-color: rgba(212, 175, 55, 0.85);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(212, 175, 55, 0.25);
}
.hero-welcome-box:hover {
    border-color: rgba(212, 175, 55, 0.95);
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.3);
}
.hero-welcome-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.2);
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    padding: 0.45rem 1.3rem;
    border-radius: var(--radius-pill);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-welcome-text-box {
    font-size: clamp(1.22rem, 1.55vw, 1.42rem);
    line-height: 1.9;
    color: #ffffff;
    font-weight: 600;
    margin: 1.3rem 0 1.8rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
    border-left: 5px solid var(--gold);
    padding: 1.25rem 1.85rem;
    background: rgba(32, 17, 10, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 18px 18px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-left: 5.5px solid #d4af37;
}
.hero-welcome-text-box-bold {
    font-weight: 600;
    color: #ffffff;
    font-size: clamp(1.25rem, 1.6vw, 1.45rem);
    background: rgba(30, 15, 8, 0.72);
    border-left: 6px solid #d4af37;
    padding: 1.3rem 1.95rem;
}
.hero-welcome-text-box p {
    margin: 0;
    color: #ffffff;
    font-weight: 600;
}

.hero-names {
    font-size: 3.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.2rem;
    color: #f7eee4;
    font-style: italic;
    font-family: var(--font-serif);
    margin-bottom: 1.4rem;
    line-height: 1.4;
}

.hero-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.14);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    padding: 0.55rem 1.35rem;
    border-radius: var(--radius-pill);
    color: var(--gold);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(6px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-dark);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid var(--gold);
    cursor: pointer;
}

.btn-primary:hover {
    background: #e6c148;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1.5px solid rgba(212, 175, 55, 0.75);
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-secondary span {
    color: #ffffff !important;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--gold);
    color: #fdf6d8 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover span {
    color: #fdf6d8 !important;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(212, 175, 55, 0.85) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn-secondary span {
    color: #ffffff !important;
    font-weight: 600;
}

.hero-actions .btn-secondary:hover {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: #e6c148 !important;
    color: #fff9e6 !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.hero-actions .btn-secondary:hover span {
    color: #fff9e6 !important;
}

/* Countdown Timer */
.countdown-box {
    display: flex;
    gap: 12px;
}

.countdown-unit {
    background: rgba(39, 23, 14, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    min-width: 72px;
}

.countdown-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.countdown-lbl {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light-muted);
    margin-top: 4px;
}

/* Hero Portrait & Multi-Image Continuous Slideshow Frame */
.hero-image-wrapper {
    position: relative;
    padding: 14px;
}

.hero-image-border {
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--gold);
    border-radius: 24px;
    transform: rotate(2deg);
    opacity: 0.6;
    pointer-events: none;
}

.hero-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
    border: 3px solid #2e1c12;
}

/* Multi-Image Continuous Hero Slideshow */
.hero-slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
    border: 3px solid #2e1c12;
    background: #180e08;
    z-index: 1;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 1. Crossfade Transition */
.transition-crossfade .hero-slide-item {
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Ken Burns Cinematic Zoom & Fade */
.transition-kenburns .hero-slide-item {
    transition: opacity 1.4s ease-in-out, transform 8s ease-out;
    transform: scale(1.0);
}
.transition-kenburns .hero-slide-item.active {
    transform: scale(1.08);
}

/* 3. Horizontal Glide Slide */
.transition-slide .hero-slide-item {
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
    opacity: 0;
}
.transition-slide .hero-slide-item.active {
    transform: translateX(0);
    opacity: 1;
}
.transition-slide .hero-slide-item.prev-slide {
    transform: translateX(-100%);
    opacity: 0;
}

/* 4. Soft Dreamy Glow Dissolve */
.transition-dissolve .hero-slide-item {
    transition: opacity 1.2s ease, filter 1.2s ease;
    filter: brightness(1.2) contrast(1.05) blur(1px);
}
.transition-dissolve .hero-slide-item.active {
    filter: brightness(1) contrast(1) blur(0);
}

/* Slideshow Navigation Dots */
.hero-slide-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(20, 12, 7, 0.7);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(212, 175, 55, 0.45);
    backdrop-filter: blur(8px);
}

.hero-slide-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-slide-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Slide Nav Buttons */
.hero-slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(20, 12, 7, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    opacity: 0;
}

.hero-slideshow-container:hover .hero-slide-nav-btn {
    opacity: 1;
}

.hero-slide-nav-btn:hover {
    background: var(--gold);
    color: #1a0f08;
    transform: translateY(-50%) scale(1.1);
}

.hero-slide-prev { left: 12px; }
.hero-slide-next { right: 12px; }

/* Section Common */
.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: inherit;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.section-dark .section-subtitle {
    color: var(--text-light-muted);
}

/* Love Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.story-lead {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    border-left: 3px solid var(--gold);
    padding-left: 1.25rem;
}

.story-body {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.story-body p {
    margin-bottom: 1.2rem;
}

/* Event Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

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

/* Event Ceremony Top Banner Image */
.event-card-banner {
    position: relative;
    width: 100%;
    height: 220px;
    background: #180e08;
    overflow: hidden;
    border-bottom: 2px solid var(--gold);
}

.event-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-banner-img {
    transform: scale(1.06);
}

.event-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 12, 7, 0.8) 0%, rgba(20, 12, 7, 0.15) 60%, transparent 100%);
    pointer-events: none;
}

.event-banner-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(39, 23, 14, 0.88);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(6px);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event-card-header {
    background: #27170e;
    color: #ffffff;
    padding: 1.8rem 2rem;
    border-bottom: 2px solid var(--gold);
}

.event-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.event-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.event-meta-icon {
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.event-meta-content h5 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.event-meta-content p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Interactive RSVP Portal */
.rsvp-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 40px rgba(39, 23, 14, 0.08);
    overflow: hidden;
}

.rsvp-header-banner {
    background: #27170e;
    padding: 2.2rem;
    color: #ffffff;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

.rsvp-body {
    padding: 2.5rem;
}

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

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #faf8f5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--gold-subtle);
}

.search-bar-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

#rsvp-search-input {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    padding: 1rem 1.4rem;
    min-height: 54px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #d4af37;
    color: var(--text-main);
    box-shadow: 0 4px 14px rgba(39, 23, 14, 0.05);
}

#rsvp-search-btn {
    min-height: 54px;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Entourage Section */
.entourage-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.tab-btn {
    background: #f2ebe1;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    padding: 0.65rem 1.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

.entourage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.8rem;
}

.entourage-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entourage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.entourage-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    background: #27170e;
    overflow: hidden;
}

.entourage-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entourage-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.entourage-role {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--gold-dark);
    font-weight: 600;
    text-transform: uppercase;
}

/* Photo Gallery & Switchable Album Tabs */
.gallery-tabs-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2.5rem;
    max-width: 100%;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px;
    background: rgba(39, 23, 14, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    max-width: 100%;
}

.gallery-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid transparent;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    user-select: none;
    font-family: inherit;
}

.gallery-tab-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--bg-dark);
}

.gallery-tab-btn.active {
    background: var(--gold);
    color: var(--bg-dark) !important;
    border-color: var(--gold);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.gallery-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    transition: background 0.2s;
}

.gallery-tab-btn.active .gallery-tab-count {
    background: var(--bg-dark);
    color: var(--gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    transition: opacity 0.25s ease;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
    background: #27170e;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid transparent;
}

.gallery-item.hidden-by-tab {
    display: none !important;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    border-color: var(--gold);
}

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

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

.gallery-tag-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    top: auto;
    z-index: 2;
    background: rgba(39, 23, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-overlay {
    display: none !important;
}

.gallery-item:hover .gallery-overlay {
    display: none !important;
}

/* Gallery Bottom Descriptions Layout */
.gallery-item.gallery-item-has-desc,
.gallery-with-descriptions .gallery-item.gallery-item-has-desc {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1.5px solid #ebd9c8;
    box-shadow: 0 4px 18px rgba(39, 23, 14, 0.08);
    border-radius: 16px;
}
.gallery-item.gallery-item-has-desc .gallery-photo-frame,
.gallery-with-descriptions .gallery-item.gallery-item-has-desc .gallery-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #27170e;
}
.gallery-item.gallery-item-has-desc .gallery-photo-frame img,
.gallery-with-descriptions .gallery-item.gallery-item-has-desc .gallery-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.gallery-item.gallery-item-has-desc:hover .gallery-photo-frame img,
.gallery-with-descriptions .gallery-item.gallery-item-has-desc:hover .gallery-photo-frame img {
    transform: scale(1.06);
}
.gallery-item-bottom-bar {
    padding: 14px 16px;
    background: #ffffff;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid #f2ebe1;
}
.gallery-item-bottom-title {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.25;
}
.gallery-item-bottom-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.gallery-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #ffffff;
    border: 1.5px dashed var(--gold);
    border-radius: var(--radius-card);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .gallery-tabs {
        border-radius: 16px;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .gallery-tabs::-webkit-scrollbar {
        display: none;
    }
    .gallery-tab-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gallery-tag-pill {
        font-size: 0.65rem;
        padding: 3px 9px;
        top: auto;
        bottom: 8px;
        left: 8px;
    }
    .gallery-overlay {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gallery-item {
        aspect-ratio: 4 / 3;
    }
}

/* Registry & Gifts */
.registry-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.bank-account-box {
    background: #faf7f2;
    border: 1.5px dashed var(--gold);
    border-radius: 12px;
    padding: 1.8rem;
    margin: 1.5rem 0;
    text-align: left;
}

.copy-btn {
    background: #27170e;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--gold);
    color: #27170e;
}

/* Wishes Guestbook */
.wishes-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.wish-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wish-message {
    font-style: italic;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

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

/* Audio Player Widget */
.floating-audio-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #27170e;
    color: #ffffff;
    border: 1.5px solid var(--gold);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* ==========================================================================
   ROYAL WEDDING INVITATION ENVELOPE PRELOADER
   ========================================================================== */
.invite-preloader-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 35%, #3a1e12 0%, #27170e 55%, #140803 100%);
    color: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.invite-preloader-overlay.is-dismissed {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
}

.invite-preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 520px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Preloader Top Crest */
.preloader-crest {
    margin-bottom: 20px;
    animation: preloaderFadeIn 1s ease-out;
}

.preloader-crest-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    background: rgba(39, 23, 14, 0.9);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.preloader-crest-initials {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.preloader-crest-tagline {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.preloader-crest-names {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    color: #ffffff;
    margin: 4px 0 2px;
    letter-spacing: 1px;
}

.preloader-crest-hashtag {
    font-size: 0.82rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* 3D Envelope Container */
.envelope-stage {
    perspective: 1200px;
    width: 100%;
    max-width: 440px;
    height: 270px;
    position: relative;
    cursor: pointer;
    margin: 10px 0 22px;
    touch-action: manipulation;
}

.envelope-pocket {
    width: 100%;
    height: 100%;
    position: relative;
    background: #33190d;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.2);
    border: 1.5px solid var(--gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.envelope-stage:hover .envelope-pocket {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.3);
}

/* Authentic Luxury Envelope Interior Lining */
.envelope-interior-lining {
    position: absolute;
    inset: 10px;
    background: radial-gradient(circle at 50% 30%, #4a2818 0%, #2a150b 100%);
    border-radius: 8px;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 6px 18px rgba(0, 0, 0, 0.6);
}

.envelope-lining-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(#d4af37 1px, transparent 1px);
    background-size: 16px 16px;
}

.envelope-interior-seal {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 23, 14, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.envelope-interior-monogram {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.45);
    letter-spacing: 2px;
}

/* Scattered Ribbons Celebration Canvas */
.envelope-ribbons-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999999;
}

/* Envelope Front Side/Bottom Folds */
.envelope-front-fold {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-bottom: 135px solid #231209;
    border-left: 220px solid #2b160b;
    border-right: 220px solid #28140a;
    border-top: 135px solid transparent;
    border-radius: 0 0 12px 12px;
}

/* Envelope Top Flap */
.envelope-top-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    z-index: 4;
    transform-origin: top center;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.envelope-flap-triangle {
    width: 0;
    height: 0;
    border-left: 220px solid transparent;
    border-right: 220px solid transparent;
    border-top: 140px solid #3d1f10;
    position: absolute;
    top: 0;
    left: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Wax Seal */
.envelope-wax-seal {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd978 0%, #d4af37 60%, #8c6a1b 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border: 1.5px solid #fff2bd;
}

.wax-monogram {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b220c;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* ANIMATION ON CLICK / OPENED STATE */
.envelope-stage.is-opened .envelope-top-flap {
    transform: rotateX(180deg);
    z-index: 1;
    filter: drop-shadow(0 -8px 16px rgba(0, 0, 0, 0.5));
}

.envelope-stage.is-opened .envelope-wax-seal {
    opacity: 0;
    transform: translateX(-50%) scale(1.5);
    filter: blur(2px);
}

.envelope-stage.is-opened .envelope-pocket {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(212, 175, 55, 0.4);
}

/* Prompt and Skip Button */
.preloader-action-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: preloaderPulse 1.8s infinite ease-in-out;
    cursor: pointer;
}

.preloader-skip-btn {
    margin-top: 14px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: underline;
    cursor: pointer;
    padding: 6px 12px;
    transition: color 0.2s ease;
    display: none;
}

.preloader-skip-btn:hover {
    color: var(--gold);
}

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

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

@media (max-width: 480px) {
    .envelope-stage {
        max-width: 320px;
        height: 220px;
    }
    .envelope-flap-triangle {
        border-left-width: 160px;
        border-right-width: 160px;
        border-top-width: 110px;
    }
    .envelope-front-fold {
        border-bottom-width: 110px;
        border-left-width: 160px;
        border-right-width: 160px;
        border-top-width: 110px;
    }
    .envelope-wax-seal {
        top: 85px;
        width: 44px;
        height: 44px;
    }
    .envelope-interior-lining {
        inset: 8px;
    }
}

.floating-audio-widget:hover {
    transform: scale(1.03);
    background: #362014;
}

.soundwave-bar {
    width: 3px;
    height: 12px;
    background: var(--gold);
    border-radius: 3px;
    animation: wave 1.2s infinite ease-in-out;
}

.soundwave-bar:nth-child(2) { animation-delay: 0.2s; height: 18px; }
.soundwave-bar:nth-child(3) { animation-delay: 0.4s; height: 14px; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1.2); }
}

/* Footer */
.site-footer {
    background: #150b06;
    color: var(--text-light-muted);
    padding: 4.5rem 0 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-monogram {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .hero-grid, .story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-names {
        font-size: clamp(2.4rem, 6vw, 3.2rem);
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-nav-active .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #21140e;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-gold);
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .mobile-nav-active .nav-menu li {
        width: 100%;
    }
    .mobile-nav-active .nav-menu .nav-link,
    .mobile-nav-active .nav-menu .nav-cta {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 14px;
        font-size: 1rem;
    }
}

/* Tablet & Mobile Phone Optimizations (<= 768px) */
@media (max-width: 768px) {
    /* Page & Section Spacing */
    .container {
        padding: 0 16px;
    }
    .container-narrow {
        padding: 0 14px;
        max-width: 100%;
    }
    .section {
        padding: 3.5rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: clamp(1.9rem, 7vw, 2.4rem);
        line-height: 1.18;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Frontend RSVP Search Input — Prominent, Easy Tap, Full-Width */
    .search-bar-row {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    #rsvp-search-input {
        width: 100% !important;
        min-height: 54px !important;
        font-size: 16px !important; /* 16px prevents iOS Safari from auto-zooming */
        padding: 14px 18px !important;
        border-radius: 12px !important;
        border: 2px solid #d4af37 !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    }
    #rsvp-search-input::placeholder {
        font-size: 0.88rem;
        color: #9c8979;
    }
    #rsvp-search-btn {
        width: 100% !important;
        min-height: 52px !important;
        font-size: 1rem !important;
        padding: 14px 20px !important;
        border-radius: 12px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35) !important;
    }
    .rsvp-card {
        border-radius: 16px !important;
        margin: 0 !important;
    }
    .rsvp-header-banner {
        padding: 1.5rem 1.2rem !important;
    }
    .rsvp-header-banner h3 {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }
    .rsvp-body {
        padding: 1.4rem 1.1rem !important;
    }

    /* Hero Section Phone View */
    .hero-section {
        padding: 24px 0 48px;
    }
    .hero-grid {
        gap: 2rem;
        text-align: center;
    }
    .hero-names {
        font-size: clamp(2.2rem, 9.5vw, 3rem);
        line-height: 1.12;
        margin: 8px 0;
    }
    .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
    }
    .hero-date-badge {
        margin: 0 auto 1.5rem;
        font-size: 0.82rem;
        padding: 6px 14px;
        display: inline-flex;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 1.8rem;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    .countdown-box {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        width: 100%;
        margin-top: 1rem;
    }
    .countdown-unit {
        min-width: 0;
        padding: 10px 4px;
        border-radius: 10px;
    }
    .countdown-num {
        font-size: 1.5rem;
    }
    .countdown-lbl {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    .hero-image-wrapper {
        padding: 6px;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Love Story Section */
    .story-grid {
        gap: 1.8rem;
    }
    .story-lead {
        font-size: 1.25rem;
        padding-left: 1rem;
        margin-bottom: 1rem;
    }
    .story-body {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* Event Cards Grid */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .event-card-banner {
        height: 190px;
    }
    .event-card-header {
        padding: 1.4rem 1.2rem;
    }
    .event-card-body {
        padding: 1.4rem 1.2rem;
        gap: 1rem;
    }

    /* Hero Welcome Box on Mobile */
    .hero-welcome-box {
        padding: 1.5rem 1.2rem;
        border-radius: 18px;
        margin-bottom: 1.5rem;
    }
    .hero-welcome-text-box {
        font-size: 1.05rem;
        line-height: 1.7;
        padding: 0.6rem 0.9rem;
    }
    .hero-cinematic-floating-card {
        padding: 2rem 1.2rem;
        border-radius: 20px;
    }

    /* Entourage Section */
    .entourage-tabs {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-bottom: 1.8rem;
    }
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 11px 16px;
        font-size: 0.85rem;
        white-space: normal;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .entourage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .entourage-card {
        padding: 1.2rem 0.8rem;
    }
    .entourage-avatar {
        width: 68px;
        height: 68px;
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    .entourage-name {
        font-size: 0.92rem;
    }
    .entourage-role {
        font-size: 0.68rem;
    }

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

    /* Registry & Bank Accounts */
    .registry-card {
        padding: 1.6rem 1.2rem;
        border-radius: 14px;
    }
    .bank-account-box {
        padding: 1.2rem 1rem;
        margin: 1.2rem 0;
    }

    /* Wishes Feed */
    .wishes-feed {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .wish-card {
        padding: 1.2rem;
    }

    /* Floating Audio Widget */
    .floating-audio-widget {
        bottom: 16px;
        right: 16px;
        padding: 6px 12px;
        font-size: 0.75rem;
        gap: 6px;
    }

    /* Digital Pass & Entourage Bio Modals */
    .pass-modal-content,
    .modal-dialog {
        width: 94% !important;
        max-width: 94% !important;
        margin: 20px auto !important;
        padding: 20px 14px !important;
        border-radius: 16px !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .countdown-box {
        gap: 4px;
    }
    .countdown-unit {
        padding: 8px 2px;
    }
    .countdown-num {
        font-size: 1.3rem;
    }
    .entourage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* Dynamic RSVP Results on Mobile */
    #quick-register-form div[style*="grid-template-columns"],
    .rsvp-body div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    #rsvp-results-container .btn-primary,
    #rsvp-results-container .btn-secondary,
    #rsvp-results-container a.btn-primary,
    #rsvp-results-container button.btn-primary,
    #rsvp-results-container button.btn-secondary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

