/* 
   Style for Chinese-themed Interactive Venue Wedding Invitation
   Author: Convora
*/

:root {
    --primary-color: #8A1C14; /* Deep Imperial Red */
    --primary-light: #A82E25;
    --primary-dark: #5C0F0A;
    --accent-gold: #D4AF37; /* Metallic Gold */
    --accent-gold-light: #F3E5AB; /* Champagne Gold */
    --bg-cream: #FAF6F0; /* Soft Cream */
    --bg-white: #FFFFFF;
    --text-dark: #2B2B2B; /* Warm Charcoal */
    --text-light: #FAF6F0;
    --text-gray: #666666;
    
    --font-title: 'Cinzel', serif;
    --font-decor: 'Cinzel Decorative', serif;
    --font-chinese: 'Ma Shan Zheng', cursive;
    --font-body: 'Outfit', sans-serif;
}

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

body, html {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: #121212;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Custom Scrollbar for list and modals */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 5px;
}

/* Desktop Backdrop */
.desktop-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.4);
    z-index: 1;
}

/* Mobile Screen Wrapper */
.mobile-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px; /* Lock Mobile View */
    min-height: 100vh;
    margin: 0 auto;
    background-color: var(--bg-cream);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    z-index: 2;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* 1. COVER PAGE */
.cover-page {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 1s ease;
}

.cover-page.fade-out {
    transform: translate(-50%, -100%);
    opacity: 0;
}

/* Double Happiness Icon */
.double-happiness-icon {
    font-family: var(--font-chinese);
    font-size: 5rem;
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    margin-bottom: 20px;
    animation: pulseGlow 3s infinite ease-in-out;
}

.cover-container {
    margin: auto 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-sub-title {
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--accent-gold-light);
    margin-bottom: 10px;
}

.cover-main-title {
    font-family: var(--font-chinese);
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
}

.cover-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(214, 175, 55, 0.3);
    border-radius: 16px;
    padding: 25px 20px;
    width: 100%;
    max-width: 360px;
    backdrop-filter: blur(10px);
    margin-bottom: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.guest-to {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.guest-name {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.guest-hint {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #cccccc;
}

.btn-open-invitation {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%);
    color: var(--primary-dark);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 1px;
}

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

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

.cover-footer {
    font-size: 0.7rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Cherry blossoms falling */
.cover-blossoms {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

/* MAIN CONTENT */
.main-content {
    width: 100%;
    position: relative;
    z-index: 5;
    background-color: var(--bg-cream);
    min-height: 100vh;
}

.main-content.hidden {
    display: none !important;
}

/* 2. THE SIMS STYLE VENUE SECTION */
.venue-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Locked on Mobile screen height */
    overflow: hidden;
    background-color: #2b0b08;
    border-bottom: 3px solid var(--accent-gold);
}

.venue-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.venue-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Header over venue */
.venue-overlay-header {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
    pointer-events: none;
}

.double-happiness-small {
    font-family: var(--font-chinese);
    font-size: 2.2rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.venue-overlay-header h2 {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--bg-cream);
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 0 8px rgba(138, 28, 20, 0.8);
    text-transform: uppercase;
}

/* Hotspots */
.hotspot {
    position: absolute;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hotspot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(138, 28, 20, 0.4);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    animation: hotspotPulse 2s infinite ease-out;
}

.hotspot-icon {
    font-size: 1.25rem;
    position: relative;
    z-index: 3;
    animation: bounceIcon 2s infinite alternate ease-in-out;
}

.hotspot-label {
    position: absolute;
    top: calc(100% + 6px);
    background: rgba(92, 15, 10, 0.95);
    color: var(--accent-gold-light);
    border: 1px solid var(--accent-gold);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-family: var(--font-title);
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hotspot:hover .hotspot-pulse {
    animation: none;
    transform: scale(1.15);
    background: rgba(138, 28, 20, 0.7);
    box-shadow: 0 0 20px rgba(212, 175, 55, 1);
}

.hotspot:hover .hotspot-label {
    opacity: 1;
    transform: scale(1.05);
}

/* Scroll down hint on venue */
.venue-scroll-hint {
    position: absolute;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--bg-cream);
    z-index: 15;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    animation: bounceScrollHint 2s infinite;
}

.venue-scroll-hint .arrow-down {
    font-size: 1rem;
    margin-top: 5px;
    color: var(--accent-gold);
}

/* 3. SCROLLABLE CONTENT (BELOW VENUE) */
.scrollable-content {
    background-color: var(--bg-cream);
    position: relative;
    z-index: 6;
}

.scroll-section {
    padding: 60px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
}

/* Gold Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
}

.gold-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

.divider-happiness {
    font-family: var(--font-chinese);
    font-size: 1.8rem;
    color: var(--accent-gold);
}

/* General Titles */
.section-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 40px;
    max-width: 340px;
}

/* MEMPELAI SECTION */
.mempelai-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.mempelai-card-scroll {
    background: var(--bg-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.mempelai-avatar-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(138, 28, 20, 0.15);
}

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

.chinese-brush-name {
    font-family: var(--font-chinese);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.western-name {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.parent-info {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-gray);
}

.parent-info strong {
    color: var(--text-dark);
}

.parent-info .origin {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--accent-gold);
}

.mempelai-and {
    font-family: var(--font-chinese);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin: -10px 0;
}

/* AYAT SECTION */
.sec-ayat {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
}

.sec-ayat::before {
    content: "囍";
    font-family: var(--font-chinese);
    font-size: 15rem;
    color: rgba(212, 175, 55, 0.05);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.ayat-box {
    position: relative;
    z-index: 2;
    max-width: 340px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 30px 20px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.15);
}

.ayat-text {
    font-size: 0.9rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 15px;
}

.ayat-ref {
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 700;
}

/* ACARA & HARI-H SECTION */
.countdown-container {
    width: 100%;
    max-width: 340px;
    background: var(--bg-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.countdown-title {
    font-family: var(--font-title);
    font-size: 0.75rem;
    color: var(--primary-color);
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 15px;
}

.countdown-row {
    display: flex;
    justify-content: space-around;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
}

.cd-item span {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.cd-item label {
    font-size: 0.65rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 3px;
}

.events-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.event-card-scroll {
    background: var(--bg-white);
    border-left: 4px solid var(--accent-gold);
    border-top: 1px solid rgba(0,0,0,0.03);
    border-right: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    border-radius: 0 20px 20px 0;
    padding: 30px 20px 25px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
}

.event-icon-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(138, 28, 20, 0.3);
}

.event-card-scroll h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.event-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.event-time {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.event-venue-details {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.event-actions {
    display: flex;
    gap: 10px;
}

.btn-event-action {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.btn-event-action.btn-red {
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}

.btn-event-action.btn-gold {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: 1px solid var(--accent-gold);
}

.btn-event-action:active {
    transform: scale(0.97);
}

/* LOVE STORY SECTION */
.timeline-container {
    position: relative;
    width: 100%;
    max-width: 340px;
    padding: 10px 0;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent 2%, var(--accent-gold) 15%, var(--accent-gold) 85%, transparent 98%);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--accent-gold-light);
    box-shadow: 0 0 8px rgba(138, 28, 20, 0.4);
    z-index: 5;
}

.timeline-content {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 18px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.01);
}

.story-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-gray);
}

/* GALLERY SECTION */
.gallery-scroll-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 340px;
}

.gallery-item-scroll {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 2px solid var(--bg-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item-scroll:hover {
    transform: scale(1.02);
}

.gallery-item-scroll img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GIFT / ANGPAO SECTION */
.gift-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.gift-card-scroll {
    background: var(--bg-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.bank-logo-placeholder {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 15px;
}

.acc-num {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.acc-holder {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-copy-action {
    background: var(--bg-cream);
    color: var(--primary-color);
    border: 1px solid rgba(138, 28, 20, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-copy-action:hover {
    background: rgba(138, 28, 20, 0.05);
}

.address-card {
    border-style: dashed;
}

.address-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.address-details h3 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.address-details p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* RSVP SECTION */
.rsvp-content-wrapper {
    width: 100%;
    max-width: 340px;
}

.rsvp-container-card, .rsvp-ticket-card {
    background: var(--bg-white);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    width: 100%;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
    text-align: left;
}

.form-input-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input-group input[type="text"], 
.form-input-group select, 
.form-input-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
}

.form-input-group input[type="text"]:focus, 
.form-input-group select:focus, 
.form-input-group textarea:focus {
    border-color: var(--accent-gold);
}

.attendance-radio-group {
    display: flex;
    gap: 15px;
    margin-top: 4px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.radio-label input {
    accent-color: var(--primary-color);
}

.btn-submit-rsvp {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    border: none;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(138, 28, 20, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.1s;
}

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

/* E-Ticket Card */
.rsvp-ticket-card {
    text-align: center;
    border-left: 4px solid var(--accent-gold);
    border-right: 4px solid var(--accent-gold);
    background: linear-gradient(to bottom, #ffffff, #fffdfb);
}

.ticket-top {
    border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.ticket-happiness {
    font-family: var(--font-chinese);
    font-size: 2.2rem;
    color: var(--accent-gold);
}

.ticket-top h3 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px;
}

.ticket-top p {
    font-size: 0.7rem;
    color: var(--text-gray);
    line-height: 1.3;
}

.ticket-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.ticket-qr-section img {
    width: 120px;
    height: 120px;
    padding: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: white;
}

.ticket-code-str {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 5px;
    letter-spacing: 1.5px;
}

.ticket-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    background: var(--bg-cream);
    padding: 12px;
    border-radius: 8px;
}

.ticket-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.ticket-detail-row .lbl {
    color: var(--text-gray);
}

.ticket-detail-row .val {
    font-weight: 700;
    color: var(--text-dark);
}

.ticket-detail-row .val.status-ok {
    color: #2e7d32;
}

/* Wishes Wall */
.wishes-wall-container {
    width: 100%;
    max-width: 340px;
    margin-top: 30px;
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 20px;
    padding: 20px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.wishes-wall-container h3 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.wishes-list-scroll {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 5px;
}

.wish-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
}

.wish-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wish-bubble {
    background: var(--bg-cream);
    border-radius: 0 12px 12px 12px;
    padding: 10px 12px;
    flex-grow: 1;
}

.wish-bubble h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.wish-bubble p {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-gray);
}

/* HASHTAG SECTION */
.sec-hashtag {
    text-align: center;
    background-color: var(--bg-white);
}

.hashtag-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
    margin-top: 10px;
}

.hashtag-tag {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(138, 28, 20, 0.15);
    background: var(--bg-cream);
    padding: 12px 24px;
    border-radius: 12px;
    width: 100%;
    max-width: 280px;
}

/* FOOTER */
.wedding-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 50px 20px 40px;
    text-align: center;
    border-top: 2px solid var(--accent-gold);
}

.footer-names {
    font-family: var(--font-chinese);
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.footer-date {
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.footer-watermark {
    font-size: 0.65rem;
    opacity: 0.4;
    margin-top: 30px;
    letter-spacing: 1px;
}

/* ==================== POPUP MODALS OVER VENUE ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10500;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background-color: var(--bg-cream);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    position: relative;
    padding: 35px 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    animation: zoomInModal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
    z-index: 10;
}

.btn-close-modal:hover {
    color: var(--accent-gold);
}

.modal-header-decor {
    width: 100%;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 10px;
}

.modal-decor-happiness {
    font-family: var(--font-chinese);
    font-size: 2.2rem;
    color: var(--accent-gold);
}

.modal-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.modal-body-scroll {
    overflow-y: auto;
    padding-right: 5px;
    flex-grow: 1;
}

/* Modal Content Card Items */
.modal-card-item {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
}

.modal-card-item h3 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-card-item p {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-gray);
}

.modal-card-item .m-date {
    font-weight: 700;
    color: var(--text-dark);
}

.modal-card-item .m-time {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-card-item .m-venue {
    margin-bottom: 12px;
}

.modal-card-actions {
    display: flex;
    gap: 8px;
}

.btn-modal-action-red, .btn-modal-action-gold {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-modal-action-red {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-modal-action-gold {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Modal Gift Styles */
.modal-intro-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 15px;
}

.gift-item {
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gift-item h4 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.gift-number {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 2px;
}

.gift-owner {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-gray);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.gift-addr {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.btn-modal-copy {
    background: var(--bg-cream);
    border: 1px solid rgba(138, 28, 20, 0.15);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-modal-copy:hover {
    background: rgba(138, 28, 20, 0.05);
}

/* Modal Mempelai Styles */
.modal-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.modal-profile-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal-divider-ampersand {
    font-family: var(--font-chinese);
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin: 10px 0;
}

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

.m-gallery-item {
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.m-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fullscreen Photo Zoom Lightbox */
.photo-zoom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: none;
    justify-content: center;
    align-items: center;
}

.photo-zoom-lightbox.active {
    display: flex;
}

.photo-zoom-lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid var(--accent-gold-light);
    border-radius: 8px;
    animation: zoomInModal 0.25s ease-out;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

/* ==================== FLOATING MUSIC & AUDIO CONTROLS ==================== */
.floating-music-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--accent-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 11000; /* Highest to prevent click hijacking */
    visibility: hidden; /* Hidden until cover is opened */
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease-in-out;
}

.floating-music-btn.visible {
    visibility: visible;
    opacity: 1;
}

.music-icon-wrapper {
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-music-btn.playing {
    animation: rotateMusicBtn 4s infinite linear;
}

/* ==================== CHERRY BLOSSOM PARTICLE STYLES ==================== */
.falling-flake {
    position: absolute;
    top: -30px;
    z-index: 2;
    pointer-events: none;
    animation-name: fallAndDrift;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ==================== ANIMATIONS ==================== */

@keyframes pulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4)); }
}

@keyframes hotspotPulse {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes bounceIcon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

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

@keyframes zoomInModal {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

@keyframes fallAndDrift {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) translateX(var(--drift)) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* Delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive Adjustments */
@media (max-width: 480px) {
    .desktop-background {
        display: none;
    }
    .mobile-wrapper {
        box-shadow: none;
    }
}
