/* ==========================================================================
   WEDDING INVITATION — AVAZBEK & IRODA
   Design: Romantic Photo Backdrop with Rose Gold & Pure Gold Accents
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-base: #181216;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #FFFFFF;
    --bg-card-inner: rgba(255, 250, 252, 0.98);
    
    /* Warm Rose Gold & Pure Gold Palette */
    --rose-gold-primary: #D47B55;
    --rose-gold-light: #FFE2D6;
    --rose-gold-bright: #F5A282;
    --rose-gold-accent: #E28863;
    --rose-gold-dark: #8F4223;
    --gold-pure: #FAD02C;
    --gold-shimmer-color: #FFF2A8;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #F3BA45 0%, #FFF4C2 40%, #E5A82E 70%, #FFF0AA 100%);
    --rose-gold-gradient: linear-gradient(135deg, #FFB899 0%, #FFEFE8 35%, #F0A07E 70%, #FFE2D4 100%);
    --gold-border: rgba(245, 162, 130, 0.55);
    --gold-border-glow: rgba(250, 208, 44, 0.85);
    --glow-effect: 0 0 35px rgba(245, 162, 130, 0.35);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(245, 162, 130, 0.2);
    
    /* Text Colors */
    --text-hero-pretitle: #F5C6A5;
    --text-hero-main: #FFFFFF;
    --text-main: #1C1513;
    --text-body: #362924;
    --text-muted: #6B554D;
    --text-light: #8F746A;
    
    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Alex Brush', cursive;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-main);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    line-height: 1.65;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Hardware-Accelerated Viewport-Fixed Background (Eliminates mobile zoom bugs on iOS & Android) */
.bg-fixed-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 50% 15%, rgba(245, 162, 130, 0.2) 0%, transparent 60%),
        linear-gradient(180deg, 
            rgba(20, 14, 18, 0.65) 0%, 
            rgba(25, 16, 22, 0.78) 35%, 
            rgba(20, 14, 18, 0.85) 70%, 
            rgba(15, 10, 14, 0.95) 100%),
        url('/images/wedding-bg.jpg?v=20260929');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* Background Canvas for Stardust Particles */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.site-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

/* ==========================================================================
   ROSE GOLD & SHIMMER EFFECTS
   ========================================================================== */

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.gold-shimmer {
    background: linear-gradient(90deg, #F3BA45 0%, #FFFDF0 25%, #F5A282 50%, #FFFDF0 75%, #F3BA45 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 5s linear infinite;
    display: inline-block;
}

@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 250% 50%; }
}

.gold-highlight {
    color: var(--gold-pure);
    font-weight: 600;
}

/* Corner Ornaments */
.header-ornament, .site-footer {
    position: relative;
}

.gold-corner {
    position: absolute;
    width: 55px;
    height: 55px;
    border: 2px solid transparent;
    pointer-events: none;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.gold-corner.top-left {
    top: 15px;
    left: 10px;
    border-top: 2.5px solid var(--rose-gold-bright);
    border-left: 2.5px solid var(--rose-gold-bright);
}

.gold-corner.top-right {
    top: 15px;
    right: 10px;
    border-top: 2.5px solid var(--rose-gold-bright);
    border-right: 2.5px solid var(--rose-gold-bright);
}

.gold-corner.bottom-left {
    bottom: 15px;
    left: 10px;
    border-bottom: 2.5px solid var(--rose-gold-bright);
    border-left: 2.5px solid var(--rose-gold-bright);
}

.gold-corner.bottom-right {
    bottom: 15px;
    right: 10px;
    border-bottom: 2.5px solid var(--rose-gold-bright);
    border-right: 2.5px solid var(--rose-gold-bright);
}

/* Gold Divider */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 45px 0 32px;
    color: var(--rose-gold-bright);
}

.divider-line {
    flex: 1;
    max-width: 130px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rose-gold-bright), transparent);
    box-shadow: 0 1px 6px rgba(245, 162, 130, 0.5);
}

.flourish {
    font-size: 1.3rem;
    color: var(--gold-pure);
    text-shadow: 0 0 12px rgba(250, 208, 44, 0.8);
}

.flourish-center {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #FFE6D6;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   FLOATING MUSIC PLAYER
   ========================================================================== */

.music-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.music-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(25, 18, 24, 0.85);
    border: 1.5px solid var(--rose-gold-bright);
    border-radius: 50px;
    color: #FFEAE0;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: var(--transition-smooth);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 162, 130, 0.3);
}

.music-toggle-btn:hover {
    border-color: var(--gold-pure);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(250, 208, 44, 0.4);
    background: rgba(35, 25, 32, 0.95);
    color: #FFFFFF;
}

.music-icon {
    display: flex;
    align-items: center;
    color: var(--gold-pure);
}

.music-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.music-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 14px;
}

.music-waves span {
    width: 3px;
    height: 4px;
    background: var(--gold-pure);
    border-radius: 2px;
    transition: height 0.2s ease;
}

.music-playing .music-waves span:nth-child(1) { animation: wave 1s infinite 0.1s; }
.music-playing .music-waves span:nth-child(2) { animation: wave 1s infinite 0.3s; }
.music-playing .music-waves span:nth-child(3) { animation: wave 1s infinite 0.2s; }
.music-playing .music-waves span:nth-child(4) { animation: wave 1s infinite 0.4s; }

@keyframes wave {
    0%, 100% { height: 4px; }
    50% { height: 14px; }
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */

.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

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

.monogram-wrapper {
    margin-bottom: 25px;
}

.monogram-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    border: 2px solid var(--rose-gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(245, 162, 130, 0.25);
    background: radial-gradient(circle, rgba(40, 28, 36, 0.9) 0%, rgba(20, 14, 18, 0.95) 100%);
    backdrop-filter: blur(10px);
}

.monogram-inner-ring {
    position: absolute;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 1.5px dashed rgba(245, 162, 130, 0.6);
    animation: rotateRing 40s linear infinite;
}

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

.monogram-text {
    font-family: var(--font-script);
    font-size: 3.4rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.monogram-text .ampersand {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
}

.hero-pretitle {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-hero-pretitle);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.couple-names {
    margin-bottom: 25px;
}

.groom-name, .bride-name {
    font-family: var(--font-display);
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.names-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 8px 0;
}

.names-separator .ornament-line {
    width: 65px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rose-gold-bright), transparent);
}

.names-separator .heart-symbol {
    color: var(--gold-pure);
    font-size: 1.2rem;
    text-shadow: 0 0 15px rgba(250, 208, 44, 0.8);
}

.hero-details {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid var(--rose-gold-bright);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.date-badge .day {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--rose-gold-dark);
}

.date-badge .month {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
}

.date-badge .year {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--rose-gold-primary);
}

.hero-venue {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-style: italic;
    color: #FFF0E6;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-venue .location-pin {
    color: var(--gold-pure);
}

.scroll-down-btn {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #FFE6D6;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition-smooth);
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.scroll-down-btn:hover {
    opacity: 1;
    transform: translateY(3px);
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

.scroll-arrow {
    font-size: 1.4rem;
    color: var(--gold-pure);
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ==========================================================================
   SECTION 2: TABLE VIP BADGE (Персональный стол)
   ========================================================================== */

.table-section {
    padding: 20px 0 40px;
}

.table-vip-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 246, 244, 0.96) 100%);
    border: 2px solid var(--rose-gold-bright);
    padding: 42px 32px;
    text-align: center;
    border-radius: 22px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
}

.table-card-badge {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(255, 215, 205, 0.6) 0%, rgba(255, 185, 175, 0.5) 100%);
    border: 1.5px solid var(--rose-gold-accent);
    color: var(--rose-gold-dark);
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 15px;
}

.guest-greeting-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.table-intro-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-body);
    margin-bottom: 24px;
}

.table-highlight-box {
    background: #FFFFFF;
    border: 2px solid var(--rose-gold-bright);
    border-radius: 18px;
    padding: 25px 45px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 290px;
    box-shadow: 0 10px 30px rgba(196, 94, 56, 0.16);
}

.table-icon-ornament {
    font-size: 2.6rem;
    margin-bottom: 6px;
}

.table-number-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--rose-gold-dark);
    letter-spacing: 2px;
}

.table-desc-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--rose-gold-primary);
    margin-top: 4px;
    font-weight: 700;
}

/* ==========================================================================
   SECTION 3: COUNTDOWN TIMER
   ========================================================================== */

.countdown-section {
    padding: 30px 0 50px;
    text-align: center;
}

.timer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0 15px;
}

.timer-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid var(--rose-gold-bright);
    border-radius: 18px;
    padding: 22px 18px;
    min-width: 105px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.timer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.timer-card:hover {
    border-color: var(--gold-pure);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    background: #FFFFFF;
}

.timer-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--rose-gold-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.timer-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.timer-separator {
    font-family: var(--font-display);
    font-size: 2.3rem;
    color: var(--gold-pure);
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(250, 208, 44, 0.7);
}

.timer-subtext {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: #FFE6D6;
    font-weight: 700;
    margin-top: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   PHOTO MOMENTS (Держимся за руки)
   ========================================================================== */

.photo-moments-section {
    padding: 30px 0 45px;
    text-align: center;
}

.photo-card-wrapper {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

.photo-card-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 2px solid var(--rose-gold-bright);
    box-shadow: var(--card-shadow), 0 0 35px rgba(245, 162, 130, 0.35);
    background: #000;
}

.photo-moment-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.photo-card-frame:hover .photo-moment-img {
    transform: scale(1.03);
}

.photo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 65%, rgba(18,10,15,0.45) 100%);
    pointer-events: none;
}

.photo-corner {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 2;
}

.photo-corner.top-left {
    top: 12px;
    left: 12px;
    border-top: 2.5px solid var(--gold-pure);
    border-left: 2.5px solid var(--gold-pure);
}

.photo-corner.top-right {
    top: 12px;
    right: 12px;
    border-top: 2.5px solid var(--gold-pure);
    border-right: 2.5px solid var(--gold-pure);
}

.photo-corner.bottom-left {
    bottom: 12px;
    left: 12px;
    border-bottom: 2.5px solid var(--gold-pure);
    border-left: 2.5px solid var(--gold-pure);
}

.photo-corner.bottom-right {
    bottom: 12px;
    right: 12px;
    border-bottom: 2.5px solid var(--gold-pure);
    border-right: 2.5px solid var(--gold-pure);
}

.photo-caption-box {
    margin-top: 18px;
}

.photo-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.45rem;
    color: #FFE6D6;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    display: block;
    margin-bottom: 6px;
}

/* ==========================================================================
   SECTION 4: INVITATION LETTER
   ========================================================================== */

.invitation-section {
    padding: 40px 0 60px;
}

.ornate-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 246, 244, 0.96) 100%);
    border: 2px solid var(--rose-gold-bright);
    border-radius: 22px;
    padding: 52px 40px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    backdrop-filter: blur(16px);
}

.card-ornament {
    display: flex;
    justify-content: center;
    width: 100%;
}

.card-ornament.top { margin-bottom: 24px; }
.card-ornament.bottom { margin-top: 30px; }

.ornament-svg {
    width: 195px;
    height: 40px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.invitation-text {
    max-width: 650px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.95;
    color: var(--text-body);
}

.invitation-text p {
    margin-bottom: 20px;
}

.lead-quote {
    font-style: italic;
    color: var(--rose-gold-dark);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0 10px;
    margin-bottom: 28px !important;
}

.signature-block {
    margin-top: 34px;
}

.signature-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.signature-names {
    font-family: var(--font-script);
    font-size: 3.7rem;
    line-height: 1.2;
}

/* ==========================================================================
   SECTION 5: VENUE & LOCATION
   ========================================================================== */

.venue-section {
    padding: 40px 0 60px;
}

.venue-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 246, 244, 0.96) 100%);
    border: 2px solid var(--rose-gold-bright);
    border-radius: 22px;
    padding: 48px 34px;
    text-align: center;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(14px);
}

.venue-icon {
    font-size: 2.7rem;
    margin-bottom: 10px;
}

.venue-title {
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.venue-subtitle {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 600;
}

.venue-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.detail-box {
    background: #FFFFFF;
    border: 1.5px solid rgba(212, 108, 68, 0.35);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(196, 94, 56, 0.08);
}

.detail-box:hover {
    border-color: var(--rose-gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 94, 56, 0.2);
}

.detail-icon {
    font-size: 1.8rem;
}

.detail-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.detail-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rose-gold-dark);
}

/* Map Box Visual */
.map-container {
    margin-bottom: 32px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--rose-gold-bright);
}

.map-placeholder {
    background: linear-gradient(145deg, #FFFFFF 0%, #FFF0F4 100%);
    padding: 55px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-decor-ring {
    position: absolute;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 108, 68, 0.55);
    animation: pulseRing 3s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(0.8); opacity: 0.8; }
}

.map-marker-pin {
    font-size: 2.7rem;
    margin-bottom: 12px;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(196, 94, 56, 0.45));
    animation: bouncePin 2s infinite ease-in-out;
}

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

.map-venue-name {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--rose-gold-dark);
    margin-bottom: 8px;
    z-index: 2;
}

.map-hint {
    font-size: 0.95rem;
    color: var(--text-body);
    max-width: 420px;
    z-index: 2;
    font-weight: 500;
}

/* Navigation Action Buttons */
.navigation-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    background: #FFFFFF;
    border: 1.5px solid var(--rose-gold-bright);
    color: var(--text-main);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gold-pure);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    color: var(--rose-gold-dark);
}

.btn-icon {
    font-size: 1.2rem;
}

/* ==========================================================================
   SECTION 6: SAVE THE DATE (Календарь)
   ========================================================================== */

.calendar-section {
    padding: 20px 0 50px;
}

.calendar-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 246, 244, 0.96) 100%);
    border: 2px solid var(--rose-gold-bright);
    border-radius: 22px;
    padding: 42px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(14px);
}

.calendar-title {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.calendar-desc {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 26px;
    font-weight: 600;
}

.calendar-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: linear-gradient(135deg, #DE744D 0%, #F5A282 50%, #C45E38 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(222, 116, 77, 0.45);
    transition: var(--transition-smooth);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(222, 116, 77, 0.6);
    filter: brightness(1.08);
}

.gold-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #FFFFFF;
    color: var(--rose-gold-dark);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--rose-gold-accent);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.gold-btn-outline:hover {
    background: rgba(255, 220, 225, 0.35);
    border-color: var(--rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 94, 56, 0.25);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    border-top: 2px solid rgba(245, 162, 130, 0.4);
    margin-top: 40px;
}

.footer-monogram {
    font-family: var(--font-script);
    font-size: 3.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.footer-names {
    font-family: var(--font-display);
    font-size: 2.1rem;
    letter-spacing: 2px;
    color: #FFE6D6;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-date {
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: #F5C6A5;
    font-weight: 700;
    margin-bottom: 15px;
}

.gold-stars {
    color: var(--gold-pure);
    letter-spacing: 8px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 0 12px rgba(250, 208, 44, 0.8);
}

.footer-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: #FFF0E6;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

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

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fade-in-down {
    animation: fadeInDown 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

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

/* ==========================================================================
   RESPONSIVE STYLES (iOS Safari & Android Optimized)
   ========================================================================== */

@media (max-width: 768px) {
    .bg-fixed-layer {
        background-position: center 10%;
        background-size: cover;
    }

    .site-wrapper {
        padding: 0 16px;
        padding-top: max(16px, env(safe-area-inset-top));
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }

    .hero-section {
        min-height: 75vh;
        min-height: 75dvh;
        padding: 35px 0 20px;
    }

    .groom-name, .bride-name {
        font-size: clamp(2.4rem, 9vw, 3.2rem);
        letter-spacing: 1px;
    }

    .hero-pretitle {
        font-size: 0.78rem;
        letter-spacing: 3px;
    }

    .date-badge {
        padding: 10px 22px;
        gap: 8px;
    }

    .date-badge .day {
        font-size: 1.7rem;
    }

    .date-badge .month {
        font-size: 0.85rem;
    }

    .date-badge .year {
        font-size: 1.15rem;
    }

    .hero-venue {
        font-size: 1.25rem;
    }

    .table-section {
        padding: 15px 0 25px;
    }

    .table-vip-card {
        padding: 30px 18px;
        border-radius: 18px;
    }

    .guest-greeting-name {
        font-size: 2rem;
    }

    .table-intro-text {
        font-size: 1.15rem;
    }

    .table-highlight-box {
        min-width: unset;
        width: 100%;
        padding: 20px 15px;
    }

    .table-number-title {
        font-size: 2.1rem;
    }

    .countdown-section {
        padding: 20px 0 35px;
    }

    .timer-grid {
        gap: 6px;
        margin: 20px 0 12px;
    }

    .timer-card {
        min-width: 0;
        flex: 1;
        padding: 12px 4px;
        border-radius: 14px;
    }

    .timer-num {
        font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    }

    .timer-label {
        font-size: 0.68rem;
        letter-spacing: 1px;
    }

    .timer-separator {
        font-size: 1.4rem;
    }

    .timer-subtext {
        font-size: 1.15rem;
    }

    .photo-moments-section {
        padding: 20px 0 30px;
    }

    .photo-card-frame {
        border-radius: 16px;
    }

    .photo-moment-img {
        max-height: 320px;
    }

    .photo-quote {
        font-size: 1.2rem;
    }

    .invitation-section {
        padding: 25px 0 40px;
    }

    .ornate-card {
        padding: 35px 20px;
        border-radius: 18px;
    }

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

    .invitation-text {
        font-size: 1.18rem;
        line-height: 1.75;
    }

    .lead-quote {
        font-size: 1.22rem;
    }

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

    .venue-section {
        padding: 25px 0 40px;
    }

    .venue-card {
        padding: 35px 20px;
        border-radius: 18px;
    }

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

    .venue-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .navigation-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .calendar-section {
        padding: 15px 0 35px;
    }

    .calendar-box {
        padding: 30px 18px;
        border-radius: 18px;
    }

    .calendar-title {
        font-size: 1.8rem;
    }

    .calendar-desc {
        font-size: 1.15rem;
    }

    .calendar-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .gold-btn, .gold-btn-outline {
        width: 100%;
        padding: 13px 20px;
        font-size: 0.88rem;
    }

    .site-footer {
        padding: 40px 0 60px;
        margin-top: 25px;
    }

    .footer-monogram {
        font-size: 2.9rem;
    }

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

    .footer-quote {
        font-size: 1.2rem;
    }

    .music-widget {
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
    }

    .music-toggle-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .bg-fixed-layer {
        background-position: center 8%;
    }

    .monogram-circle {
        width: 96px;
        height: 96px;
    }

    .monogram-inner-ring {
        width: 84px;
        height: 84px;
    }

    .monogram-text {
        font-size: 2.7rem;
    }

    .groom-name, .bride-name {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .guest-greeting-name {
        font-size: 1.75rem;
    }

    .table-number-title {
        font-size: 1.85rem;
    }

    .signature-names {
        font-size: 2.6rem;
    }

    .ornate-card, .table-vip-card, .venue-card, .calendar-box {
        padding: 28px 15px;
    }

    .photo-moment-img {
        max-height: 250px;
    }
}
