/* ============================================================
   HO-MOMENT - PUBLIC / GUEST-FACING DESIGN SYSTEM
   Theme: Executive Glass & Velvet (Matured, Glassmorphic, Modern)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Brand Palette (Matured & Rich) */
    --hom-navy-dark:      #0B132B;
    --hom-navy:           #1C2541;
    --hom-navy-light:     #2B3A67;
    
    /* Elegant Accents */
    --hom-gold:           #C5A059;
    --hom-gold-hover:     #B08B44;
    --hom-gold-light:     #F7F3E9;
    --hom-gold-glass:     rgba(197, 160, 89, 0.12);

    /* Neutrals */
    --hom-white:          #FFFFFF;
    --hom-charcoal:       #0F172A;
    --hom-slate:          #475569;
    --hom-gray-lt:        #F8FAFC;
    --hom-border:         #E2E8F0;
    --hom-border-glass:   rgba(255, 255, 255, 0.12);

    /* Glassmorphism & Depth Elements */
    --hom-glass-bg:       rgba(255, 255, 255, 0.75);
    --hom-glass-dark:     rgba(11, 19, 43, 0.70);
    --hom-blur:           blur(16px);
    
    /* Geometry & Shadows */
    --vil-radius-sm:      10px;
    --vil-radius:         18px;
    --vil-radius-lg:      24px;
    --vil-shadow:         0 10px 30px -5px rgba(11, 19, 43, 0.05), 0 4px 12px -2px rgba(11, 19, 43, 0.03);
    --vil-shadow-lg:      0 25px 50px -12px rgba(11, 19, 43, 0.25);
    --vil-glow:           0 0 25px rgba(197, 160, 89, 0.25);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--hom-charcoal);
    background: #F4F6F9;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.vil-lazy { background: var(--hom-gray-lt); transition: opacity .3s ease; }
.vil-lazy.loaded { opacity: 1; }

/* ============================================================
   HERO / BANNER (Matured Dual-Gradient + Glass Overlay)
   ============================================================ */
.hom-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 40%),
                linear-gradient(180deg, rgba(11, 19, 43, 0.4) 0%, rgba(11, 19, 43, 0.92) 100%),
                var(--hom-navy-dark);
    background-size: cover;
    background-position: center;
    color: var(--hom-white);
    padding: 36px 20px;
    overflow: hidden;
}

/* Ambient backlight glow inside hero */
.hom-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: var(--hom-navy-light);
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
}

.hom-hero-logo {
    width: 72px; 
    height: 72px;
    border-radius: var(--vil-radius-sm);
    background: var(--hom-white);
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border: 1px solid var(--hom-border-glass);
}

.hom-hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hom-hero-meta {
    font-size: .88rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hom-hero { min-height: 62vh; padding: 56px 48px; }
    .hom-hero-name { font-size: 3.25rem; }
}

/* ============================================================
   COUNTDOWN (Glassmorphic Cards)
   ============================================================ */
.hom-countdown {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.hom-countdown-unit {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--hom-blur);
    -webkit-backdrop-filter: var(--hom-blur);
    border: 1px solid var(--hom-border-glass);
    border-radius: var(--vil-radius-sm);
    padding: 10px 14px;
    text-align: center;
    min-width: 64px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.hom-countdown-unit .num { 
    font-size: 1.4rem; 
    font-weight: 700; 
    line-height: 1;
    color: var(--hom-gold);
}

.hom-countdown-unit .label { 
    font-size: .65rem; 
    text-transform: uppercase; 
    letter-spacing: .1em; 
    opacity: .75; 
    margin-top: 4px;
}

/* ============================================================
   SECTIONS & LAYOUT
   ============================================================ */
.hom-wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

.hom-section { 
    padding: 40px 0; 
    border-bottom: 1px solid var(--hom-border); 
}
.hom-section:last-child { border-bottom: none; }

.hom-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--hom-navy-dark);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.hom-prose { font-size: .95rem; line-height: 1.75; color: var(--hom-slate); }
.hom-prose p { margin: 0 0 16px; }

/* ============================================================
   ACTION BAR & BUTTONS
   ============================================================ */
.hom-action-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--vil-radius-sm);
    font-weight: 600;
    font-size: .9rem;
    border: none;
    cursor: pointer;
    transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hom-btn-primary { 
    background: linear-gradient(135deg, var(--hom-gold) 0%, #A47E3B 100%); 
    color: var(--hom-white); 
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}
.hom-btn-primary:hover { 
    background: linear-gradient(135deg, #D4AF63 0%, var(--hom-gold) 100%); 
    box-shadow: var(--vil-glow);
    transform: translateY(-1px);
}

.hom-btn-outline { 
    background: var(--hom-white); 
    color: var(--hom-navy-dark); 
    border: 1.5px solid var(--hom-border); 
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.hom-btn-outline:hover { 
    border-color: var(--hom-navy); 
    color: var(--hom-navy); 
    background: var(--hom-gray-lt);
    transform: translateY(-1px);
}

.hom-btn-full { width: 100%; justify-content: center; }
.hom-btn.loading { opacity: .6; pointer-events: none; }

/* ============================================================
   TICKET TIERS
   ============================================================ */
.hom-tier-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: var(--hom-white);
    border: 1px solid var(--hom-border);
    border-radius: var(--vil-radius);
    padding: 20px 22px;
    margin-bottom: 14px;
    box-shadow: var(--vil-shadow);
    transition: all .25s ease;
}
.hom-tier-card:hover {
    border-color: var(--hom-gold);
    box-shadow: 0 8px 24px -4px rgba(197, 160, 89, 0.15);
}
.hom-tier-card.soldout { opacity: .5; pointer-events: none; }

.hom-tier-name { font-weight: 700; font-size: 1.05rem; color: var(--hom-navy-dark); }
.hom-tier-perks { font-size: .82rem; color: var(--hom-slate); margin-top: 4px; }
.hom-tier-price { font-weight: 700; color: var(--hom-navy-dark); font-size: 1.1rem; white-space: nowrap; }

.hom-tier-qty { display: flex; align-items: center; gap: 10px; }

.hom-qty-btn {
    width: 32px; 
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--hom-border);
    background: var(--hom-gray-lt);
    color: var(--hom-navy-dark);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}
.hom-qty-btn:hover { background: var(--hom-navy-dark); color: var(--hom-white); border-color: var(--hom-navy-dark); }
.hom-qty-val { min-width: 24px; text-align: center; font-weight: 700; color: var(--hom-navy-dark); }

.hom-order-summary {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: var(--hom-blur);
    -webkit-backdrop-filter: var(--hom-blur);
    border: 1px solid var(--hom-border);
    border-radius: var(--vil-radius);
    padding: 22px;
    margin-top: 20px;
}
.hom-order-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--hom-slate); margin-bottom: 8px; }
.hom-order-total { 
    font-weight: 700; 
    font-size: 1.15rem; 
    color: var(--hom-navy-dark);
    border-top: 1px dashed var(--hom-border); 
    padding-top: 12px; 
    margin-top: 12px; 
}

/* ============================================================
   FORMS
   ============================================================ */
.hom-form-group { margin-bottom: 18px; }
.hom-label { 
    display: block; 
    font-size: .82rem; 
    font-weight: 600; 
    color: var(--hom-navy-dark); 
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 8px; 
}

.hom-input, .hom-select, .hom-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--hom-white);
    border: 1.5px solid var(--hom-border);
    border-radius: var(--vil-radius-sm);
    font-size: .92rem;
    color: var(--hom-charcoal);
    font-family: inherit;
    transition: all .2s ease;
}

.hom-input:focus, .hom-select:focus, .hom-textarea:focus {
    outline: none; 
    border-color: var(--hom-gold); 
    box-shadow: 0 0 0 4px var(--hom-gold-glass);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.hom-faq-item { border-bottom: 1px solid var(--hom-border); padding: 18px 0; }
.hom-faq-q {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    cursor: pointer; 
    font-weight: 600; 
    font-size: .98rem;
    color: var(--hom-navy-dark);
}
.hom-faq-a { 
    display: none; 
    font-size: .9rem; 
    color: var(--hom-slate); 
    margin-top: 10px; 
    line-height: 1.65; 
}
.hom-faq-item.open .hom-faq-a { display: block; }
.hom-faq-item.open .hom-faq-caret { transform: rotate(180deg); color: var(--hom-gold); }
.hom-faq-caret { transition: transform .25s ease; color: var(--hom-slate); }

/* ============================================================
   MAP
   ============================================================ */
.hom-map-frame {
    width: 100%; 
    height: 300px; 
    border: 1px solid var(--hom-border); 
    border-radius: var(--vil-radius); 
    overflow: hidden;
    box-shadow: var(--vil-shadow);
}

/* ============================================================
   MODAL (Glassmorphic Checkout)
   ============================================================ */
.hom-modal-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(11, 19, 43, 0.6); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none; 
    align-items: flex-end; 
    justify-content: center;
}
.hom-modal-overlay.open { display: flex; }

.hom-modal {
    background: var(--hom-white); 
    width: 100%; 
    max-width: 540px; 
    max-height: 90vh;
    border-radius: var(--vil-radius-lg) var(--vil-radius-lg) 0 0; 
    display: flex; 
    flex-direction: column;
    box-shadow: var(--vil-shadow-lg);
    border: 1px solid rgba(255,255,255,0.4);
}

@media (min-width: 640px) {
    .hom-modal-overlay { align-items: center; }
    .hom-modal { border-radius: var(--vil-radius-lg); max-height: 85vh; }
}

.hom-modal-head {
    padding: 20px 24px; 
    border-bottom: 1px solid var(--hom-border);
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--hom-navy-dark);
}
.hom-modal-close { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    border: none; 
    background: var(--hom-gray-lt); 
    color: var(--hom-slate);
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.hom-modal-close:hover { background: var(--hom-navy-dark); color: var(--hom-white); }
.hom-modal-body { flex: 1; overflow-y: auto; padding: 24px; }
.hom-modal-footer { padding: 20px 24px; border-top: 1px solid var(--hom-border); background: var(--hom-gray-lt); }

/* ============================================================
   TOASTS
   ============================================================ */
.hom-toast-wrap { 
    position: fixed; 
    top: 20px; 
    left: 20px; 
    right: 20px; 
    z-index: 9999; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    max-width: 380px; 
    margin-left: auto; 
    margin-right: auto; 
}
@media (min-width: 640px) { .hom-toast-wrap { left: auto; right: 20px; margin: 0; } }

.hom-toast { 
    display: flex; 
    align-items: center;
    gap: 12px; 
    padding: 14px 18px; 
    border-radius: var(--vil-radius-sm); 
    border: 1px solid; 
    box-shadow: var(--vil-shadow-lg); 
    font-size: .88rem; 
    font-weight: 500;
    animation: hom-toast-in .3s cubic-bezier(0.16, 1, 0.3, 1); 
}

@keyframes hom-toast-in { 
    from { opacity: 0; transform: translateY(-12px) scale(0.96); } 
    to { opacity: 1; transform: translateY(0) scale(1); } 
}

.hom-toast-success { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.hom-toast-error { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.hom-toast-info { background: #F0F9FF; border-color: #BAE6FD; color: #075985; }

/* ============================================================
   VIP PASS / TICKET (Guest Ticket Page)
   ============================================================ */
.hom-ticket-card {
    background: radial-gradient(circle at top right, var(--hom-navy-light) 0%, var(--hom-navy-dark) 100%);
    color: var(--hom-white);
    border-radius: var(--vil-radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--vil-shadow-lg);
    border: 1px solid var(--hom-border-glass);
}

/* Semi-circle ticket cutouts on left/right */
.hom-ticket-card::before,
.hom-ticket-card::after {
    content: '';
    position: absolute;
    bottom: 92px;
    width: 20px;
    height: 20px;
    background-color: #F4F6F9; /* Matches background */
    border-radius: 50%;
}
.hom-ticket-card::before { left: -10px; }
.hom-ticket-card::after { right: -10px; }

.hom-ticket-divider {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 101px;
    height: 0;
    border-top: 1.5px dashed rgba(255, 255, 255, 0.2);
}

.hom-ticket-event { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 1.6rem; 
    font-weight: 700; 
    letter-spacing: -0.01em;
}
.hom-ticket-guest { font-size: 1.05rem; font-weight: 600; margin-top: 16px; color: #F1F5F9; }
.hom-ticket-tier { font-size: .82rem; color: var(--hom-gold); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }

.hom-ticket-code-box {
    margin-top: 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--hom-blur);
    -webkit-backdrop-filter: var(--hom-blur);
    border: 1px solid var(--hom-border-glass);
    border-radius: var(--vil-radius-sm);
    padding: 18px;
    text-align: center;
}

.hom-ticket-code { 
    font-family: 'JetBrains Mono', monospace, sans-serif; 
    font-size: 1.35rem; 
    font-weight: 700; 
    letter-spacing: .12em; 
    color: var(--hom-gold);
}
.hom-ticket-code-hint { font-size: .72rem; opacity: .7; margin-top: 6px; }

.hom-ticket-status {
    display: inline-block; 
    margin-top: 16px;
    font-size: .75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: .08em;
    padding: 5px 14px; 
    border-radius: 20px;
}
.hom-ticket-status.valid { background: rgba(16, 185, 129, 0.15); color: #34D399; border: 1px solid rgba(52, 211, 153, 0.3); }
.hom-ticket-status.used { background: rgba(245, 158, 11, 0.15); color: #FBBF24; border: 1px solid rgba(251, 191, 36, 0.3); }

/* ============================================================
   PRINT FORMATTING
   ============================================================ */
@media print {
    .no-print { display: none !important; }
    body { background: #fff; color: #000; }
    .hom-ticket-card {
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
        box-shadow: none !important;
    }
    .hom-ticket-code { color: #000 !important; }
    .hom-ticket-tier { color: #555 !important; }
}