/* ==========================================================================
   ANVAR & XURSHIDA — BRIGHT LUXURY SILK & GOLD WEDDING INVITATION
   ========================================================================== */

/* CSS RESET & COLOR PALETTE */
:root {
    --gold-primary: #d4af37;
    --gold-light: #f7e7b4;
    --gold-bright: #e6b800;
    --gold-dark: #8c620e;
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --gold-text-gradient: linear-gradient(135deg, #996515 0%, #d4af37 50%, #734800 100%);
    
    /* Bright Luxury Colors */
    --bg-bright-ivory: #faf6f0;
    --bg-cream-gold: #f3e9db;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    
    --text-primary: #2c221e;
    --text-gold: #996515;
    --text-muted: #665449;
    
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-full: 999px;
    
    --shadow-gold: 0 12px 35px rgba(212, 175, 55, 0.35);
    --shadow-soft: 0 15px 35px rgba(130, 100, 70, 0.12);
    --border-gold: 1.5px solid rgba(212, 175, 55, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    background-color: var(--bg-bright-ivory);
    background-image: 
        radial-gradient(circle at 50% 0%, #fdf8f0 0%, #f4eae0 50%, #ebdccb 100%),
        radial-gradient(circle at 100% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 0% 100%, rgba(243, 229, 219, 0.5) 0%, transparent 60%);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

/* BACKGROUND CANVAS */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* TYPOGRAPHY HELPERS */
.glow-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.gold-divider-line {
    display: inline-block;
    width: 70px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

/* FLOATING AUDIO CONTROL */
.audio-control-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border: var(--border-gold);
    padding: 8px 16px 8px 8px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    text-align: left;
}

.audio-control-floating:hover {
    transform: scale(1.05);
    border-color: var(--gold-bright);
}

.audio-control-floating:focus-visible,
.lightbox-close:focus-visible,
.action-sm-btn:focus-visible {
    outline: 3px solid rgba(140, 98, 14, 0.55);
    outline-offset: 4px;
}

#weddingAudio {
    display: none;
}

.vinyl-disc {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #8c620e 30%, #3d2a06 80%);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 16px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.audio-playing .vinyl-disc {
    animation: spinVinyl 4s linear infinite;
}

@keyframes spinVinyl {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sound-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.sound-wave span {
    width: 3px;
    height: 100%;
    background: var(--gold-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.audio-playing .sound-wave span:nth-child(1) { animation: wave 1.2s ease-in-out infinite alternate; }
.audio-playing .sound-wave span:nth-child(2) { animation: wave 0.8s ease-in-out infinite alternate 0.2s; }
.audio-playing .sound-wave span:nth-child(3) { animation: wave 1.5s ease-in-out infinite alternate 0.4s; }
.audio-playing .sound-wave span:nth-child(4) { animation: wave 1.0s ease-in-out infinite alternate 0.1s; }

@keyframes wave {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* ==========================================================================
   BRIGHT LUXURY ENVELOPE UNBOXING
   ========================================================================== */
.envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(248, 243, 235, 0.96);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.envelope-overlay.overlay-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-container {
    position: relative;
    width: 360px;
    height: 270px;
    perspective: 1000px;
}

.envelope-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f7efe4, #eae0d0);
    border: 2px solid var(--gold-primary);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(160, 120, 80, 0.25), 0 0 30px rgba(212, 175, 55, 0.3);
}

.envelope-letter {
    position: absolute;
    bottom: 12px;
    left: 4%;
    width: 92%;
    height: 250px;
    background: #ffffff;
    background-image: radial-gradient(#d4af37 0.5px, transparent 0.5px);
    background-size: 18px 18px;
    border-radius: 12px;
    padding: 16px 18px 18px 18px;
    color: #2c221e;
    text-align: center;
    box-shadow: 0 -8px 20px rgba(120, 90, 60, 0.15);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    border: 1px solid var(--gold-primary);
}

.letter-top-spacer {
    height: 18px;
    width: 100%;
}

.letter-greeting {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #3b281c;
    margin-top: 0;
}

.letter-sub {
    font-size: 0.85rem;
    color: #665243;
}

.couple-mini-names {
    font-family: var(--font-heading);
    font-size: 2.05rem;
    font-style: italic;
    color: #7d5208;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 3px 8px rgba(110, 72, 5, 0.2);
    margin: -2px 0;
}

.letter-date {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #554336;
}

.open-invitation-btn {
    background: var(--gold-gradient);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    color: #111;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.open-invitation-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.7);
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125px;
    background: linear-gradient(180deg, #f0e4d2, #e5d5c0);
    border-top: 2px solid var(--gold-light);
    border-left: 2px solid var(--gold-primary);
    border-right: 2px solid var(--gold-primary);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: top center;
    transition: transform 0.8s ease;
    z-index: 3;
}

.wax-seal {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    background: radial-gradient(circle at 30% 30%, #c41a1a, #7a0000);
    border: 2.5px solid var(--gold-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(120, 40, 20, 0.45), 0 0 12px rgba(212, 175, 55, 0.3);
}

.seal-initials {
    font-family: var(--font-script);
    color: var(--gold-light);
    font-size: 1.15rem;
    font-weight: bold;
}

.tap-hint {
    margin-top: 45px;
    color: var(--gold-dark);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

/* ENVELOPE OPENING ANIMATION STATE */
.envelope-container.open .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.envelope-container.open .envelope-letter {
    transform: translateY(-135px);
    z-index: 4;
}

/* ==========================================================================
   MAIN LAYOUT & SECTIONS
   ========================================================================== */
.main-wrapper {
    position: relative;
    z-index: 10;
    max-width: 840px;
    margin: 0 auto;
    padding: 20px 16px 80px 16px;
    opacity: 1;
    transition: opacity 1s ease;
}

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

/* BRIGHT GLASS CARD UTILITY */
.glass-card {
    background: var(--bg-card);
    border: var(--border-gold);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold), var(--shadow-soft);
}

/* HEADER BADGE */
.top-personalized-header {
    text-align: center;
    margin: 20px 0 30px 0;
}

.guest-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gold-primary);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    color: var(--gold-dark);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    margin-bottom: 50px;
}

.luxury-frame-container {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.92) 0%, rgba(246, 237, 226, 0.95) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    padding: 45px 25px;
    text-align: center;
    box-shadow: var(--shadow-soft), 0 0 25px rgba(212, 175, 55, 0.2);
}

.gold-ornament {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--gold-bright);
    border-style: solid;
    pointer-events: none;
}

.gold-ornament.top-left {
    top: 10px;
    left: 10px;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 8px;
}

.gold-ornament.top-right {
    top: 10px;
    right: 10px;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 8px;
}

.gold-ornament.bottom-left {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 8px;
}

.gold-ornament.bottom-right {
    bottom: 10px;
    right: 10px;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 8px;
}

.wedding-title-badge {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.couple-names {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 4.2rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.couple-names.glow-text {
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #8c620e;
    color: #8c620e;
    filter: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 3px 10px rgba(140, 98, 14, 0.24);
}

.romantic-verse {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* 3D HERO CARD WITH LUXURY ARCH */
.hero-card-3d {
    perspective: 1000px;
    margin: 0 auto 30px auto;
    max-width: 440px;
}

.arch-frame-wrap {
    position: relative;
    border-radius: 160px 160px 24px 24px;
    padding: 6px;
    background: var(--gold-gradient);
    box-shadow: 0 20px 40px rgba(140, 100, 60, 0.25), 0 0 30px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease-out;
}

.arch-gold-border {
    position: relative;
    border-radius: 154px 154px 18px 18px;
    overflow: hidden;
    background: #fff;
}

.arch-gold-border img {
    width: 100%;
    height: auto;
    display: block;
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    animation: shinePass 6s infinite;
}

@keyframes shinePass {
    0%, 70% { left: -100%; }
    100% { left: 150%; }
}

.sub-invitation {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold-dark);
    font-weight: 700;
}

/* ==========================================================================
   SECTION HEADERS & COUNTDOWN
   ========================================================================== */
.section-container {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 2px;
    color: var(--gold-dark);
    font-weight: 700;
}

/* BRIGHT COUNTDOWN BOXES */
.countdown-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.time-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    min-width: 78px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(160, 120, 80, 0.15);
}

.time-val {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.time-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.time-separator {
    font-size: 1.8rem;
    color: var(--gold-primary);
    font-weight: bold;
}

.target-date-subtitle {
    text-align: center;
    color: var(--gold-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================================================
   DETAILS & BUTTONS
   ========================================================================== */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.detail-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.detail-icon {
    width: 52px;
    height: 52px;
    background: rgba(212, 175, 55, 0.18);
    border: 1.5px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.detail-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.action-sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-dark);
    padding: 11px 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-sm-btn:hover, .action-sm-btn.gold-glow {
    background: var(--gold-gradient);
    color: #111;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.map-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================================
   BRIGHT LUXURY ARTISTIC GALLERY
   ========================================================================== */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

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

.art-photo-card {
    position: relative;
    cursor: pointer;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.art-photo-card:focus-visible {
    outline: 3px solid rgba(140, 98, 14, 0.55);
    outline-offset: 7px;
    border-radius: var(--radius-md);
}

.art-photo-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.art-frame {
    position: relative;
    padding: 6px;
    background: var(--gold-gradient);
    box-shadow: 0 18px 40px rgba(140, 100, 60, 0.3), 0 0 25px rgba(212, 175, 55, 0.3);
    overflow: visible;
}

/* 1. ROYAL ARCH TOP FRAME (Card 1) */
.art-photo-card.arch-top .art-frame {
    border-radius: 140px 140px 18px 18px;
    overflow: hidden;
}

.art-photo-card.arch-top .photo-inner {
    border-radius: 134px 134px 12px 12px;
}

/* 2. ROMANTIC OVAL FRAME (Card 2) */
.art-photo-card.oval-frame .art-frame {
    border-radius: 50% / 40%;
    padding: 7px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8c76a 0%, #fffad4 30%, #d4a017 60%, #ffeaa0 80%, #b8860b 100%);
    box-shadow: 0 20px 50px rgba(180, 130, 60, 0.4), 0 0 40px rgba(212, 175, 55, 0.4);
}

.art-photo-card.oval-frame .photo-inner {
    border-radius: 50% / 40%;
    background: linear-gradient(135deg, #fde8c0 0%, #ffd4a0 100%);
}

.glow-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50% / 40%;
    box-shadow: inset 0 0 20px rgba(255, 220, 100, 0.6);
    pointer-events: none;
    z-index: 3;
}

/* 3. LUXURY DOME ARCH FRAME (Card 3) */
.art-photo-card.dome-arch .art-frame {
    border-radius: 160px 160px 24px 24px;
    overflow: hidden;
}

.art-photo-card.dome-arch .photo-inner {
    border-radius: 154px 154px 20px 20px;
}

.gold-ribbon-tag {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: #111;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 5;
}

/* 4. FILIGREE CROWN FRAME (Card 4) */
.art-photo-card.crown-frame .art-frame {
    border-radius: 24px;
    overflow: hidden;
}

.art-photo-card.crown-frame .photo-inner {
    border-radius: 18px;
}

.gold-corner-filigree {
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--gold-bright);
    border-style: solid;
    z-index: 5;
}

.gold-corner-filigree.top-l { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.gold-corner-filigree.top-r { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.gold-corner-filigree.bot-l { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.gold-corner-filigree.bot-r { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.photo-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #fff8f0, #fde8d0);
}

.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.art-photo-card:hover .photo-inner img {
    transform: scale(1.08);
}

.art-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(120, 90, 60, 0.2);
}

.photo-caption-title {
    margin-top: 14px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold-dark);
    font-weight: 600;
}

/* ==========================================================================
   POEM SECTION
   ========================================================================== */
.poem-card {
    text-align: center;
    position: relative;
    padding: 45px 25px;
}

.quote-icon {
    font-size: 2.2rem;
    color: var(--gold-primary);
    opacity: 0.6;
    margin-bottom: 15px;
}

.poem-header-title {
    font-family: var(--font-heading);
    color: var(--gold-dark);
    letter-spacing: 2px;
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.poem-body {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.signature {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--gold-dark);
}

/* ==========================================================================
   FOOTER & LIGHTBOX MODAL
   ========================================================================== */
.main-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
}

.footer-gold-line {
    width: 90px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0 auto 20px auto;
}

.footer-couple {
    font-family: var(--font-script);
    font-size: 2.6rem;
    color: var(--gold-dark);
}

.footer-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(102, 84, 73, 0.6);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 30, 20, 0.92);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    border: 0;
    background: transparent;
    color: var(--gold-light);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-content-wrap {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content-wrap img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    border: 2.5px solid var(--gold-primary);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.5);
}

.lightbox-caption {
    margin-top: 15px;
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-size: 1.15rem;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 600px) {
    .audio-control-floating {
        right: 12px;
        bottom: 12px;
        gap: 7px;
        padding: 6px 11px 6px 6px;
    }

    .vinyl-disc {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .main-wrapper {
        width: 100%;
        padding: 12px 12px 60px;
    }

    .top-personalized-header {
        margin: 10px 0 18px;
    }

    .guest-badge {
        max-width: 100%;
        padding: 7px 14px;
        font-size: 0.78rem;
        letter-spacing: 0.5px;
    }

    .luxury-frame-container {
        padding: 34px 14px 30px;
    }

    .couple-names {
        font-size: clamp(2.25rem, 11vw, 3rem);
        margin-bottom: 16px;
    }
    
    .romantic-verse {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 24px;
    }
    
    .countdown-boxes {
        gap: 4px;
        width: 100%;
    }
    
    .time-card {
        min-width: 0;
        width: clamp(54px, 18vw, 66px);
        padding: 12px 5px;
    }
    
    .time-val {
        font-size: clamp(1.4rem, 7vw, 1.7rem);
    }

    .time-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .time-separator {
        font-size: 1.35rem;
    }

    .target-date-subtitle {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .section-header {
        gap: 8px;
        margin-bottom: 22px;
    }

    .section-header h2 {
        font-size: 1.05rem;
        letter-spacing: 1px;
    }

    .gold-divider-line {
        width: 34px;
    }

    .details-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-card {
        padding: 26px 16px;
    }

    .map-actions {
        width: 100%;
    }

    .map-actions .action-sm-btn {
        flex: 1 1 135px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .section-subtitle {
        font-size: 0.82rem;
        margin-bottom: 24px;
    }
    
    .artistic-gallery-container {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    
    .envelope-container {
        width: min(360px, calc(100vw - 28px));
        height: 240px;
    }

    .envelope-letter {
        height: 220px;
        padding: 12px 12px 14px;
    }

    .letter-top-spacer {
        height: 12px;
    }

    .couple-mini-names {
        font-size: clamp(1.55rem, 8vw, 1.95rem);
    }

    .open-invitation-btn {
        max-width: 100%;
        padding: 11px 14px;
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .tap-hint {
        max-width: 300px;
        margin-top: 28px;
        font-size: 0.76rem;
        text-align: center;
    }

    .lightbox-modal {
        padding: 60px 12px 20px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        font-size: 2.2rem;
    }

    .lightbox-content-wrap {
        max-width: 100%;
    }

    .lightbox-content-wrap img {
        max-width: 100%;
        max-height: 72vh;
    }

    .lightbox-caption {
        font-size: 1rem;
    }
}
