/* ==========================================================
   ABBOSXOA & MUNIRA — GOLDEN LIQUID GLASS & CHOCOLATE STYLES
   ========================================================== */

:root {
    /* Rich Warm Chocolate Palette */
    --choco-deep: #1F1009;
    --choco-dark: #2B160C;
    --choco-main: #3E2214;
    --choco-rich: #4D2C1A;
    --choco-light: #7A4E32;
    --choco-soft: #A37050;
    
    /* Liquid Gold & Amber Palette */
    --gold-bright: #F7E096;
    --gold-primary: #D4AF37;
    --gold-metallic: #AA771C;
    --gold-dark: #8B5E14;
    --gold-gradient: linear-gradient(135deg, #F9E7B3 0%, #D4AF37 45%, #AA771C 80%, #FDF0C8 100%);
    --gold-text-grad: linear-gradient(135deg, #D4AF37 0%, #AA771C 50%, #54330E 100%);
    --choco-gold-grad: linear-gradient(135deg, #2B160C 0%, #54330E 60%, #AA771C 100%);
    
    /* Liquid Glass Variables */
    --glass-bg: rgba(255, 252, 247, 0.78);
    --glass-border: 1.5px solid rgba(212, 175, 55, 0.45);
    --glass-shadow: 0 16px 40px rgba(43, 22, 12, 0.08), 
                    inset 0 1px 2px rgba(255, 255, 255, 0.95), 
                    inset 0 -1px 2px rgba(212, 175, 55, 0.25);
    
    /* Page backgrounds */
    --bg-page: #EFE7DE;
    --bg-mobile: #FAF5EE;
    
    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Montserrat', sans-serif;
    
    --radius-lg: 24px;
    --radius-md: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    background: linear-gradient(135deg, #EAE0D3 0%, #F5EDE3 40%, #E6D8C8 100%);
    color: var(--choco-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ================= FLOATING GOLDEN SPARKLES ================= */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -30px;
    font-size: 16px;
    opacity: 0.55;
    animation: fall linear infinite;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.4));
}

.p1 { left: 12%; animation-duration: 10s; animation-delay: 0s; font-size: 18px; }
.p2 { left: 28%; animation-duration: 13s; animation-delay: 2s; font-size: 14px; }
.p3 { left: 48%; animation-duration: 9s; animation-delay: 4s; font-size: 16px; }
.p4 { left: 68%; animation-duration: 12s; animation-delay: 1s; font-size: 15px; }
.p5 { left: 82%; animation-duration: 14s; animation-delay: 3s; font-size: 14px; }
.p6 { left: 92%; animation-duration: 11s; animation-delay: 5s; font-size: 16px; }
.p7 { left: 38%; animation-duration: 15s; animation-delay: 7s; font-size: 13px; }

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg) translateX(0);
        opacity: 0;
    }
    15% { opacity: 0.7; }
    85% { opacity: 0.7; }
    100% {
        transform: translateY(105vh) rotate(360deg) translateX(35px);
        opacity: 0;
    }
}

/* Mobile Wrapper */
.mobile-wrapper {
    width: 100%;
    max-width: 460px;
    background: var(--bg-mobile);
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(247, 224, 150, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 90% 55%, rgba(122, 78, 50, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 85%, rgba(212, 175, 55, 0.18) 0%, transparent 45%);
    box-shadow: 0 0 55px rgba(43, 22, 12, 0.16);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    z-index: 20;
}

/* ================= MUSIC TOGGLE BUTTON ================= */
.music-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 252, 247, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(212, 175, 55, 0.6);
    border-radius: 30px;
    padding: 6px 12px 6px 6px;
    box-shadow: 0 6px 20px rgba(43, 22, 12, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: transform 0.2s;
}

.music-toggle:active {
    transform: scale(0.95);
}

.music-disc {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--choco-deep);
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(170, 119, 28, 0.35);
}

.music-toggle.playing .music-disc {
    animation: rotateDisc 3.5s linear infinite;
}

@keyframes rotateDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

.music-toggle.playing .music-waves span:nth-child(1) {
    animation: wave 0.8s ease-in-out infinite alternate;
}
.music-toggle.playing .music-waves span:nth-child(2) {
    animation: wave 0.6s ease-in-out 0.2s infinite alternate;
}
.music-toggle.playing .music-waves span:nth-child(3) {
    animation: wave 0.9s ease-in-out 0.4s infinite alternate;
}

@keyframes wave {
    0% { height: 3px; }
    100% { height: 14px; }
}

/* ================= COMMON SECTION STYLES ================= */
.section {
    padding: 45px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.12);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    color: var(--choco-deep);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--choco-light);
    margin-bottom: 25px;
    font-weight: 600;
}

/* ================= LIQUID GLASS CARD ================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 34px 22px;
    width: 100%;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.card-sparkle {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 18px;
    color: var(--gold-primary);
}

/* ================= 1. HERO SECTION ================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 20px 30px;
    background: radial-gradient(circle at 50% 28%, #FFFFFF 0%, #FAF5EE 55%, #F0E4D3 100%);
    border-bottom: 2px solid rgba(212, 175, 55, 0.35);
    position: relative;
}

.monogram-badge {
    margin: 15px auto 10px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(170, 119, 28, 0.22), inset 0 1px 2px #fff;
    position: relative;
}

.monogram-badge::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1.5px dashed var(--choco-light);
    border-radius: 50%;
}

.monogram-inner {
    font-family: var(--font-script);
    font-size: 30px;
    color: var(--choco-dark);
    font-weight: 700;
}

.hero-sub {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-top: 15px;
    font-weight: 700;
}

.hero-sub-ru {
    font-family: var(--font-serif);
    font-size: 17px;
    font-style: italic;
    color: var(--choco-light);
    margin-bottom: 15px;
}

.couple-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-script);
    font-size: 62px;
    line-height: 1.15;
    margin: 8px 0 20px;
    text-shadow: 0 2px 14px rgba(43, 22, 12, 0.1);
}

.couple-names span {
    background: linear-gradient(135deg, #24140D 0%, #4D2C1A 40%, #AA771C 80%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.couple-names .ampersand {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 34px;
    color: var(--gold-primary);
    margin: 2px 0;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* Liquid Glass Hero Date Pill */
.hero-date-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(43, 22, 12, 0.08), inset 0 1px 2px #fff;
    margin: 0 auto 16px;
}

.h-date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h-val {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 18px;
    color: var(--choco-deep);
}

.h-val.highlight-time {
    color: var(--gold-metallic);
}

.h-lbl {
    font-family: var(--font-sans);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--choco-soft);
}

.h-sep {
    color: var(--gold-primary);
    font-size: 10px;
}

.hero-venue-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--choco-dark);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 8px 22px;
    border-radius: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(43, 22, 12, 0.06);
}

.scroll-indicator {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--choco-light);
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.bouncing-arrow {
    margin-top: 6px;
    font-size: 20px;
    color: var(--gold-metallic);
    animation: bounce 1.6s infinite ease-in-out;
}

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

/* ================= 2. GUEST & INVITATION SECTION ================= */
.invite-section {
    padding-top: 35px;
    padding-bottom: 35px;
}

.guest-banner {
    margin-bottom: 16px;
}

.guest-salut {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.guest-title {
    font-family: var(--font-script);
    font-size: 44px;
    line-height: 1.2;
    background: var(--choco-gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    padding-bottom: 2px;
}

.guest-title.generic {
    font-size: 34px;
}

.guest-salut-ru {
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: italic;
    color: var(--choco-light);
    display: block;
}

/* Table Badge in Liquid Glass */
.table-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 237, 220, 0.85));
    border: 1.5px solid var(--gold-primary);
    padding: 10px 22px;
    border-radius: 16px;
    margin-top: 10px;
    margin-bottom: 8px;
    box-shadow: 0 6px 20px rgba(170, 119, 28, 0.15), inset 0 1px 1px #fff;
}

.table-icon {
    font-size: 20px;
}

.table-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.table-lbl {
    font-family: var(--font-sans);
    font-size: 10px;
    color: var(--choco-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.table-val {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 800;
    color: var(--choco-dark);
}

.ornament-divider {
    color: var(--gold-primary);
    font-size: 18px;
    margin: 18px 0;
}

.invite-msg {
    font-size: 19px;
    line-height: 1.65;
    color: var(--choco-main);
    margin-bottom: 16px;
}

.invite-msg.uz {
    font-weight: 500;
}

.invite-msg.ru {
    font-size: 16px;
    line-height: 1.55;
    color: var(--choco-light);
    font-style: italic;
    border-top: 1.5px dashed rgba(212, 175, 55, 0.35);
    padding-top: 15px;
    margin-bottom: 0;
}

/* ================= 3. DATE & WAITING TIME (САНА ВА ВАҚТ / ВРЕМЯ ОЖИДАНИЯ) ================= */
.datetime-section {
    padding-top: 30px;
    padding-bottom: 35px;
}

.datetime-card {
    border: 2px solid rgba(212, 175, 55, 0.6);
    box-shadow: 0 18px 45px rgba(43, 22, 12, 0.1), inset 0 1px 2px #fff;
}

/* Event Details Box in Liquid Glass */
.event-details-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(43, 22, 12, 0.05);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.detail-icon {
    font-size: 32px;
    min-width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(255, 248, 235, 0.9), rgba(245, 230, 205, 0.9));
    border: 1.5px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(170, 119, 28, 0.15);
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-lbl {
    font-family: var(--font-sans);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--choco-soft);
    font-weight: 700;
}

.detail-val {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--choco-deep);
    line-height: 1.2;
    margin: 2px 0;
}

.detail-val.time-val {
    font-family: var(--font-sans);
    font-size: 28px;
    color: var(--gold-dark);
    letter-spacing: 1px;
}

.detail-sub {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--choco-light);
}

.detail-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.highlight-row {
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(250, 238, 218, 0.7));
    border: 1.5px solid var(--gold-primary);
    border-radius: 12px;
    padding: 10px 14px;
}

/* Countdown Block */
.countdown-block {
    width: 100%;
}

.countdown-heading {
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--choco-light);
    margin-bottom: 16px;
    font-weight: 700;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 22px;
}

.c-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 239, 227, 0.9));
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 14px;
    padding: 12px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 14px rgba(43, 22, 12, 0.05), inset 0 1px 1px #fff;
}

.c-num {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 800;
    color: var(--choco-dark);
    line-height: 1.1;
}

.c-label {
    font-family: var(--font-sans);
    font-size: 9px;
    color: var(--choco-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

/* Google Calendar Button in Rich Chocolate & Gold */
.cal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2B160C 0%, #4D2C1A 60%, #381F13 100%);
    color: #F7E096;
    border: 1.5px solid var(--gold-primary);
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(43, 22, 12, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cal-btn:active {
    transform: scale(0.98);
}

/* ================= 4. VENUE & LOCATION (MAP) ================= */
.location-section {
    padding-top: 30px;
    padding-bottom: 35px;
}

.venue-glass-card {
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.venue-badge {
    margin-bottom: 12px;
}

.v-icon {
    font-size: 38px;
    display: block;
    margin-bottom: 8px;
}

.venue-name {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--choco-deep);
    line-height: 1.2;
}

.venue-name-ru {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--gold-metallic);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 700;
}

.venue-address {
    font-size: 17px;
    color: var(--choco-main);
    margin-bottom: 18px;
    line-height: 1.4;
}

.map-embed-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.nav-btn:active {
    transform: scale(0.98);
}

.nav-btn.y-navi {
    background: linear-gradient(135deg, #FC3F1D, #FF6B4A);
    color: #fff;
    box-shadow: 0 6px 20px rgba(252, 63, 29, 0.3);
}

.nav-btn.y-maps {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #FC3F1D;
    color: #FC3F1D;
    box-shadow: 0 4px 14px rgba(252, 63, 29, 0.1);
}

/* ================= 5. CLOSING SECTION (ЖДЁМ ВАС) ================= */
.closing-section {
    padding: 40px 22px 65px;
}

.closing-card {
    border: 2px solid rgba(212, 175, 55, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gold-seal-symbol {
    font-size: 34px;
    margin-bottom: 10px;
    color: var(--gold-primary);
}

.closing-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    color: var(--choco-deep);
    margin-bottom: 4px;
}

.closing-sub {
    font-family: var(--font-serif);
    font-size: 19px;
    font-style: italic;
    color: var(--choco-light);
    margin-bottom: 25px;
}

.signature-block {
    margin-bottom: 25px;
}

.sig-names {
    font-family: var(--font-script);
    font-size: 48px;
    background: var(--choco-gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 6px;
}

.sig-families {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--choco-light);
    font-weight: 600;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 380px) {
    .couple-names { font-size: 52px; }
    .hero-date-box { gap: 8px; padding: 10px 16px; }
    .guest-title { font-size: 36px; }
    .sig-names { font-size: 40px; }
}
