/**
 * DOKAN Lifestyle Hub — CSS Stylesheet (Desktop & Responsive Web Portal)
 * Entertainment & Expat Services
 * Production-ready, humanized, tactile, desktop-first responsive design system.
 */

:root {
    --lh-primary: #1E3A8A;
    --lh-primary-hover: #172554;
    --lh-accent-gold: #D97706;
    --lh-accent-gold-light: #FEF3C7;
    --lh-accent-gold-border: #FDE68A;
    --lh-accent-pink: #EC4899;
    --lh-accent-purple: #8B5CF6;
    --lh-accent-emerald: #10B981;
    --lh-bg-page: #F8FAFC;
    --lh-card-bg: #FFFFFF;
    --lh-text-dark: #0F172A;
    --lh-text-muted: #64748B;
    --lh-border: #E2E8F0;
    --lh-radius-lg: 16px;
    --lh-radius-md: 12px;
    --lh-radius-sm: 8px;
    --lh-radius-pill: 9999px;
    --lh-shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --lh-shadow-card: 0 4px 14px rgba(15, 23, 42, 0.06);
    --lh-shadow-lift: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.lifestyle-wrap {
    background-color: var(--lh-bg-page);
    min-height: 100vh;
    font-family: inherit;
    color: var(--lh-text-dark);
    padding-bottom: 100px;
}

/* -------------------------------------------------------------
   1. Desktop Web Portal Header & Search
   ------------------------------------------------------------- */
.lh-header-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 55%, #1D4ED8 100%);
    color: #FFFFFF;
    padding: 36px 0 44px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.lh-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.lh-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lh-back-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--lh-radius-pill);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.lh-back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    transform: translateX(-3px);
}

.lh-page-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.lh-page-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 4px 0 0;
    font-weight: 500;
}

.lh-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Dokan Coins Badge Pill */
.lh-coins-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--lh-radius-pill);
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lh-coins-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lh-coins-icon {
    font-size: 16px;
}

.lh-notification-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--lh-radius-pill);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lh-notification-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.lh-badge-pulse {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 9px;
    height: 9px;
    background-color: #EF4444;
    border-radius: 50%;
    border: 1.5px solid #0F172A;
    animation: lhPulse 2s infinite;
}

@keyframes lhPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Desktop Search Bar */
.lh-search-bar {
    position: relative;
    width: 100%;
    margin: 0;
}

.lh-search-box-wrap {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: var(--lh-radius-pill);
    padding: 4px 6px 4px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.lh-search-icon {
    color: #64748B;
    font-size: 20px;
    margin-right: 12px;
}

.lh-search-input {
    flex: 1;
    height: 44px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--lh-text-dark);
    outline: none;
}

.lh-search-input::placeholder {
    color: #94A3B8;
}

.lh-search-submit-btn {
    background: var(--lh-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: var(--lh-radius-pill);
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lh-search-submit-btn:hover {
    background: var(--lh-primary-hover);
}

.lh-search-tags {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.lh-search-tag-link {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: var(--lh-radius-pill);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lh-search-tag-link:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
}

/* -------------------------------------------------------------
   2. Main Container & Spacing
   ------------------------------------------------------------- */
.lh-content-area {
    margin-top: -24px;
    position: relative;
    z-index: 10;
}

/* -------------------------------------------------------------
   3. Desktop Hero Carousel
   ------------------------------------------------------------- */
.lh-hero-slider {
    position: relative;
    border-radius: var(--lh-radius-lg);
    overflow: hidden;
    box-shadow: var(--lh-shadow-card);
    height: 100%;
    min-height: 290px;
}

.lh-banner-card {
    border-radius: var(--lh-radius-lg);
    padding: 32px 36px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lh-banner-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border-radius: var(--lh-radius-pill);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-block;
    width: fit-content;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.lh-banner-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.lh-banner-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px;
    font-weight: 500;
    max-width: 520px;
}

.lh-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lh-banner-btn {
    background: #FFFFFF;
    color: #0F172A;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--lh-radius-pill);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.lh-banner-btn:hover {
    background: #F8FAFC;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lh-banner-btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 20px;
    border-radius: var(--lh-radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lh-banner-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
}

.lh-banner-bg-icon {
    position: absolute;
    right: 10px;
    bottom: -15px;
    font-size: 180px;
    color: rgba(255, 255, 255, 0.12);
    pointer-events: none;
    transform: rotate(-10deg);
}

.lh-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.lh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lh-dot.active {
    width: 26px;
    border-radius: 10px;
    background: var(--lh-primary);
}

/* -------------------------------------------------------------
   4. Desktop Daily Streak Widget (Right Hero Column)
   ------------------------------------------------------------- */
.lh-streak-card {
    background: #FFFDF5;
    border: 1px solid var(--lh-accent-gold-border);
    border-radius: var(--lh-radius-lg);
    padding: 24px;
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.08);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lh-streak-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.lh-streak-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: #451A03;
}

.lh-streak-flame {
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

.lh-streak-collect-btn {
    background: #C79854;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--lh-radius-pill);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(199, 152, 84, 0.35);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.lh-streak-collect-btn:hover {
    background: #B38342;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(199, 152, 84, 0.45);
}

.lh-streak-collect-btn.claimed {
    background: #E2E8F0;
    color: #64748B;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.lh-streak-days-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.lh-day-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.lh-day-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.lh-day-circle.completed {
    background: #D9A05B;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(217, 160, 91, 0.35);
}

.lh-day-circle.current {
    background: #FFFFFF;
    border: 2px solid #D9A05B;
    color: #B45309;
    animation: lhPulseCurrent 2s infinite;
}

@keyframes lhPulseCurrent {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 160, 91, 0.4); }
    70% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(217, 160, 91, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 160, 91, 0); }
}

.lh-day-circle.upcoming {
    background: #FFFFFF;
    border: 1px dashed #CBD5E1;
    color: #94A3B8;
}

.lh-day-circle.bonus {
    background: #FEF3C7;
    border: 1.5px solid #F59E0B;
    color: #B45309;
    font-size: 16px;
}

.lh-day-label {
    font-size: 11px;
    font-weight: 600;
    color: #78716C;
}

/* Streak quick stats footer */
.lh-streak-footer {
    border-top: 1px solid rgba(253, 230, 138, 0.8);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #78716C;
}

/* -------------------------------------------------------------
   5. 10-Category Rounded Grid (Desktop Full Width)
   ------------------------------------------------------------- */
.lh-category-card-wrapper {
    background: var(--lh-card-bg);
    border-radius: var(--lh-radius-lg);
    padding: 24px;
    box-shadow: var(--lh-shadow-subtle);
    border: 1px solid var(--lh-border);
    margin-bottom: 32px;
}

.lh-categories-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    text-align: center;
}

@media (max-width: 1200px) {
    .lh-categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px 12px;
    }
}

@media (max-width: 576px) {
    .lh-categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 14px 6px;
    }
}

.lh-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--lh-text-dark);
    transition: all 0.25s ease;
    border-radius: var(--lh-radius-md);
    padding: 12px 6px;
    background: #FFFFFF;
    border: 1px solid transparent;
}

.lh-cat-item:hover {
    color: var(--lh-primary);
    transform: translateY(-4px);
    background: #F8FAFC;
    border-color: #E2E8F0;
    box-shadow: var(--lh-shadow-card);
}

.lh-cat-icon-squircle {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.lh-cat-item:hover .lh-cat-icon-squircle {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    transform: scale(1.08);
}

.lh-cat-label {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
    margin-bottom: 2px;
}

.lh-cat-count {
    font-size: 11px;
    color: var(--lh-text-muted);
    font-weight: 500;
}

/* -------------------------------------------------------------
   6. "Continue Where You Left Off" (Desktop 3-Column Shelf)
   ------------------------------------------------------------- */
.lh-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.lh-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--lh-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.lh-section-link {
    font-size: 14px;
    font-weight: 700;
    color: #B45309;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.lh-section-link:hover {
    color: #92400E;
    text-decoration: underline;
}

.lh-continue-card {
    background: var(--lh-card-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-lg);
    overflow: hidden;
    box-shadow: var(--lh-shadow-subtle);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lh-continue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lh-shadow-card);
    border-color: #CBD5E1;
}

.lh-continue-media-box {
    padding: 18px 20px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.lh-media-badge {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--lh-radius-pill);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    text-transform: uppercase;
}

.lh-media-badge.badge-playplus { color: #DB2777; }
.lh-media-badge.badge-owned { color: #16A34A; }
.lh-media-badge.badge-rented { color: #DC2626; }

.lh-play-center-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    font-size: 20px;
    color: #1E3A8A;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.lh-continue-media-box:hover .lh-play-center-btn {
    transform: scale(1.12);
    background: #FFFFFF;
}

.lh-media-progress-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    overflow: hidden;
}

.lh-media-progress-fill {
    height: 100%;
    background: #FFFFFF;
    border-radius: 4px;
}

.lh-continue-info {
    padding: 16px 20px;
    background: #FFFFFF;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lh-continue-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--lh-text-dark);
    margin: 0 0 2px;
}

.lh-continue-sub {
    font-size: 12px;
    color: var(--lh-text-muted);
    margin: 0;
}

/* -------------------------------------------------------------
   7. Expat Services (Desktop 4-Column Card Grid)
   ------------------------------------------------------------- */
.lh-expat-card {
    background: var(--lh-card-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-lg);
    padding: 20px;
    text-decoration: none;
    color: var(--lh-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: var(--lh-shadow-subtle);
    height: 100%;
    min-height: 140px;
}

.lh-expat-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-4px);
    box-shadow: var(--lh-shadow-card);
    color: var(--lh-primary);
}

.lh-expat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.lh-expat-icon-squircle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.lh-expat-arrow {
    color: #94A3B8;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.lh-expat-card:hover .lh-expat-arrow {
    transform: translateX(4px);
    color: var(--lh-primary);
}

.lh-expat-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--lh-text-dark);
}

.lh-expat-sub {
    font-size: 13px;
    color: var(--lh-text-muted);
    margin: 0 0 8px;
}

.lh-expat-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--lh-primary);
    background: #EFF6FF;
    padding: 3px 10px;
    border-radius: var(--lh-radius-pill);
    width: fit-content;
}

/* -------------------------------------------------------------
   8. Events Near You (Desktop Grid Cards)
   ------------------------------------------------------------- */
.lh-event-card {
    background: var(--lh-card-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--lh-shadow-subtle);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    color: var(--lh-text-dark);
    margin-bottom: 14px;
}

.lh-event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lh-shadow-card);
    border-color: #CBD5E1;
}

.lh-event-date-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
}

.lh-event-month {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.lh-event-day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.lh-event-details {
    flex: 1;
    min-width: 0;
}

.lh-event-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--lh-text-dark);
}

.lh-event-loc {
    font-size: 13px;
    color: var(--lh-text-muted);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lh-event-price {
    font-size: 13px;
    font-weight: 700;
    color: #B45309;
}

.lh-event-price.free {
    color: #16A34A;
}

/* -------------------------------------------------------------
   9. Digital Store (Desktop 1-Click Storefront)
   ------------------------------------------------------------- */
.lh-store-item {
    background: var(--lh-card-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--lh-shadow-subtle);
    transition: all 0.2s ease;
    margin-bottom: 14px;
}

.lh-store-item:hover {
    border-color: #CBD5E1;
    box-shadow: var(--lh-shadow-card);
}

.lh-store-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lh-store-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.lh-store-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 3px;
    color: var(--lh-text-dark);
}

.lh-store-sub {
    font-size: 13px;
    color: var(--lh-text-muted);
    margin: 0;
}

.lh-store-buy-btn {
    background: #0F172A;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--lh-radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lh-store-buy-btn:hover {
    background: #1E293B;
    transform: scale(1.04);
}

/* -------------------------------------------------------------
   10. Persistent Sticky Audio Mini-Player (Desktop Docked)
   ------------------------------------------------------------- */
.lh-audio-player-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -6px 25px rgba(15, 23, 42, 0.1);
    z-index: 1040;
    padding: 12px 24px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lh-audio-player-dock.hidden {
    transform: translateY(110%);
}

.lh-audio-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.lh-audio-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
}

.lh-audio-art {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    flex-shrink: 0;
}

.lh-audio-text {
    min-width: 0;
}

.lh-audio-track {
    font-size: 14px;
    font-weight: 700;
    color: var(--lh-text-dark);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lh-audio-artist {
    font-size: 12px;
    color: var(--lh-text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lh-audio-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lh-audio-btn {
    background: transparent;
    border: none;
    color: #334155;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lh-audio-btn:hover {
    background: #F1F5F9;
    color: var(--lh-primary);
}

.lh-audio-play-btn {
    width: 42px;
    height: 42px;
    background: var(--lh-primary);
    color: #FFFFFF;
    font-size: 18px;
}

.lh-audio-play-btn:hover {
    background: var(--lh-primary-hover);
    color: #FFFFFF;
    transform: scale(1.06);
}

.lh-audio-progress-bar {
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lh-audio-time {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    min-width: 36px;
}

.lh-audio-slider {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: #E2E8F0;
    border-radius: 4px;
    outline: none;
}

.lh-audio-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lh-primary);
    cursor: pointer;
}

/* -------------------------------------------------------------
   11. Cinema Video Player Modal with Watermark Overlay
   ------------------------------------------------------------- */
.lh-video-overlay-wrap {
    position: relative;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
}

.lh-video-watermark {
    position: absolute;
    top: 25%;
    left: 20%;
    color: rgba(255, 255, 255, 0.28);
    font-size: 16px;
    font-family: monospace;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
    z-index: 20;
    animation: lhWatermarkDrift 20s infinite linear alternate;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

@keyframes lhWatermarkDrift {
    0% { top: 20%; left: 15%; transform: rotate(-5deg); }
    50% { top: 60%; left: 45%; transform: rotate(4deg); }
    100% { top: 35%; left: 65%; transform: rotate(-2deg); }
}

.lh-rental-timer-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #F87171;
    padding: 5px 12px;
    border-radius: var(--lh-radius-pill);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 25;
}

/* -------------------------------------------------------------
   12. HTML5 Casual Mini-Game Canvas Modal
   ------------------------------------------------------------- */
.lh-game-canvas-box {
    background: #111827;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    position: relative;
    overflow: hidden;
}

#lh-game-canvas {
    background: #0F172A;
    border-radius: 10px;
    display: block;
    max-width: 100%;
}

.lh-game-hud {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: rgba(17, 24, 39, 0.95);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}

/* -------------------------------------------------------------
   13. Confetti Animation
   ------------------------------------------------------------- */
.lh-confetti-particle {
    position: fixed;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 99999;
    animation: lhConfettiFall 1.8s forwards ease-out;
}

@keyframes lhConfettiFall {
    0% { transform: translateY(0) rotate(0); opacity: 1; }
    100% { transform: translateY(320px) rotate(720deg); opacity: 0; }
}

/* -------------------------------------------------------------
   14. Sub-Pages Desktop Navigation Pills
   ------------------------------------------------------------- */
.lh-pill-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 0;
    scrollbar-width: none;
}

.lh-pill-nav::-webkit-scrollbar {
    display: none;
}

.lh-nav-pill-btn {
    padding: 8px 22px;
    border-radius: var(--lh-radius-pill);
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    background: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid var(--lh-border);
    box-shadow: var(--lh-shadow-subtle);
}

.lh-nav-pill-btn:hover {
    background: #F1F5F9;
    color: var(--lh-primary);
}

.lh-nav-pill-btn.active {
    background: var(--lh-primary);
    color: #FFFFFF;
    border-color: var(--lh-primary);
}

/* QR Pass Modal */
.lh-qr-mock {
    width: 160px;
    height: 160px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    margin: 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #0F172A;
}

/* -------------------------------------------------------------
   15. Hub Home Screen (scoped to .lh-home, other hub pages unaffected)
   Spacing follows the 8-point scale. Navy is for actions and links,
   gold is reserved for coins and the streak.
   ------------------------------------------------------------- */
.lh-home a:focus-visible,
.lh-home button:focus-visible {
    outline: 2px solid var(--lh-primary);
    outline-offset: 2px;
}

.lh-home .lh-header-banner a:focus-visible,
.lh-home .lh-header-banner button:focus-visible,
.lh-home .lh-banner-card a:focus-visible,
.lh-home .lh-banner-card button:focus-visible,
.lh-home .lh-carousel-dots button:focus-visible {
    outline-color: #FFFFFF;
}

.lh-home .lh-header-banner {
    padding: 24px 0 64px;
    box-shadow: none;
    border-bottom: 0;
}

.lh-home .lh-topbar {
    flex-wrap: nowrap;
    margin-bottom: 16px;
}

.lh-home .lh-topbar-left {
    min-width: 0;
    gap: 12px;
}

.lh-home .lh-topbar-right {
    flex-shrink: 0;
    gap: 8px;
}

.lh-home .lh-page-title {
    font-size: 24px;
}

.lh-home .lh-coins-pill {
    min-height: 44px;
    padding: 8px 16px;
}

.lh-home .lh-search-input {
    min-width: 0;
    background: transparent;
}

.lh-home .lh-search-submit-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lh-home .lh-search-tags {
    margin-top: 12px;
    font-size: 13px;
}

.lh-home .lh-search-tag-link {
    padding: 6px 12px;
}

.lh-home .lh-content-area {
    margin-top: -40px;
}

.lh-home-section {
    margin-bottom: 48px;
}

.lh-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.lh-home .lh-hero-slider {
    height: auto;
    min-height: 304px;
}

.lh-home .lh-banner-card {
    min-height: 304px;
    padding: 32px;
}

/* Evens out the supplied gradients so white text passes AA on every slide */
.lh-home .lh-banner-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
}

.lh-home .lh-banner-card > div {
    position: relative;
    z-index: 1;
}

.lh-home .lh-banner-title {
    font-size: 32px;
    max-width: 560px;
}

.lh-home .lh-banner-subtitle {
    font-size: 16px;
}

.lh-home .lh-banner-btn,
.lh-home .lh-banner-btn-secondary {
    min-height: 44px;
}

.lh-home .lh-carousel-dots {
    position: absolute;
    top: 12px;
    right: 16px;
    margin: 0;
    gap: 0;
    z-index: 2;
}

.lh-home .lh-dot,
.lh-home .lh-dot.active {
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lh-home .lh-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.2s ease, background-color 0.2s ease;
}

.lh-home .lh-dot.active::before {
    width: 24px;
    background: #FFFFFF;
}

.lh-home .lh-streak-card {
    height: auto;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--lh-shadow-subtle);
}

.lh-home .lh-streak-title-wrap {
    gap: 12px;
}

.lh-streak-title {
    font-size: 20px;
    font-weight: 800;
    color: #451A03;
    margin: 0;
}

.lh-streak-sub {
    font-size: 14px;
    font-weight: 500;
    color: #78716C;
    margin: 2px 0 0;
}

.lh-home .lh-streak-days-track {
    margin: 0;
    gap: 4px;
}

.lh-home .lh-day-col {
    min-width: 0;
}

.lh-home .lh-day-circle {
    width: 36px;
    height: 36px;
}

.lh-home .lh-streak-footer {
    display: block;
    border-top: 0;
    padding: 0;
}

.lh-home .lh-streak-collect-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    background: #92400E;
    box-shadow: none;
}

.lh-home .lh-streak-collect-btn:hover {
    background: #78350F;
    transform: none;
    box-shadow: none;
}

.lh-home .lh-streak-collect-btn.claimed {
    background: #E2E8F0;
    color: #475569;
}

.lh-streak-next {
    font-size: 13px;
    color: #78716C;
    text-align: center;
    margin: 8px 0 0;
}

.lh-home .lh-section-header {
    align-items: flex-end;
    gap: 16px;
}

.lh-section-heading {
    min-width: 0;
}

.lh-section-sub {
    font-size: 14px;
    color: var(--lh-text-muted);
    margin: 4px 0 0;
}

.lh-home .lh-section-link {
    flex-shrink: 0;
    min-height: 44px;
    margin-bottom: -12px;
    color: var(--lh-primary);
    white-space: nowrap;
}

.lh-home .lh-section-link:hover {
    color: var(--lh-primary-hover);
}

/* Continue shelf */
.lh-resume-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.lh-resume-card,
.lh-resume-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--lh-card-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-lg);
    box-shadow: var(--lh-shadow-subtle);
}

.lh-resume-empty {
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px 20px;
}

.lh-resume-empty p {
    margin: 0;
    color: var(--lh-text-muted);
}

.lh-resume-art {
    width: 72px;
    height: 88px;
    border: 0;
    border-radius: var(--lh-radius-md);
    color: #FFFFFF;
    font-size: 28px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lh-resume-body {
    flex: 1;
    min-width: 0;
}

.lh-home .lh-media-badge {
    padding: 2px 8px;
}

.lh-home .lh-media-badge.badge-playplus { background: #FCE7F3; color: #BE185D; }
.lh-home .lh-media-badge.badge-owned { background: #DCFCE7; color: #15803D; }
.lh-home .lh-media-badge.badge-rented { background: #FEE2E2; color: #B91C1C; }

.lh-resume-title {
    font-size: 15px;
    font-weight: 700;
    margin: 4px 0 0;
    color: var(--lh-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lh-resume-sub {
    font-size: 13px;
    color: var(--lh-text-muted);
    margin: 0 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lh-resume-progress {
    height: 4px;
    background: var(--lh-border);
    border-radius: 2px;
    overflow: hidden;
}

.lh-resume-progress > div {
    height: 100%;
    background: var(--lh-primary);
}

.lh-resume-btn {
    min-height: 44px;
    padding: 8px 16px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--lh-primary);
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: var(--lh-radius-pill);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lh-resume-btn:hover {
    background: var(--lh-primary);
    border-color: var(--lh-primary);
    color: #FFFFFF;
}

/* Browse groups */
.lh-home .lh-category-card-wrapper {
    margin-bottom: 0;
}

.lh-cat-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.lh-cat-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--lh-text-muted);
    margin: 0 0 8px;
}

.lh-cat-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    text-align: center;
}

.lh-home .lh-cat-item {
    padding: 8px 2px;
    min-width: 0;
}

.lh-home .lh-cat-item:hover {
    transform: none;
    box-shadow: none;
    background: #F1F5F9;
    border-color: transparent;
}

.lh-home .lh-cat-item:hover .lh-cat-icon-squircle {
    transform: none;
    box-shadow: none;
}

.lh-home .lh-cat-icon-squircle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 24px;
    box-shadow: none;
}

.lh-home .lh-cat-label {
    max-width: 100%;
}

/* Events and store */
.lh-home-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px 24px;
    margin-bottom: 48px;
}

.lh-home-split > section {
    display: flex;
    flex-direction: column;
}

.lh-list-panel {
    flex: 1;
    background: var(--lh-card-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-lg);
    box-shadow: var(--lh-shadow-subtle);
    overflow: hidden;
}

.lh-home .lh-event-card,
.lh-home .lh-store-item {
    margin: 0;
    padding: 16px;
    gap: 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lh-home .lh-event-card + .lh-event-card,
.lh-home .lh-store-item + .lh-store-item {
    border-top: 1px solid var(--lh-border);
}

.lh-home .lh-event-card:hover {
    transform: none;
    box-shadow: none;
    background: #F8FAFC;
}

.lh-home .lh-store-item:hover {
    box-shadow: none;
}

.lh-home .lh-event-date-box {
    width: 56px;
    height: 56px;
    border-radius: var(--lh-radius-md);
}

.lh-home .lh-event-loc {
    margin: 0;
}

.lh-event-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.lh-event-book {
    font-size: 13px;
    font-weight: 700;
    color: var(--lh-primary);
}

.lh-home .lh-store-item-left {
    min-width: 0;
    gap: 12px;
}

.lh-home .lh-store-buy-btn {
    min-height: 44px;
    padding: 8px 16px;
    flex-shrink: 0;
    background: var(--lh-primary);
}

.lh-home .lh-store-buy-btn:hover {
    background: var(--lh-primary-hover);
    transform: none;
}

/* Expat services */
.lh-expat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.lh-home .lh-expat-card {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 16px;
}

.lh-home .lh-expat-card:hover {
    transform: none;
}

.lh-home .lh-expat-icon-squircle {
    flex-shrink: 0;
}

.lh-expat-body {
    flex: 1;
    min-width: 0;
}

.lh-home .lh-expat-arrow {
    flex-shrink: 0;
    align-self: center;
}

.lh-home .lh-expat-badge {
    display: inline-block;
}

@media (min-width: 576px) {
    .lh-expat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .lh-home-hero {
        grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
        gap: 24px;
    }

    .lh-home-split {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }

    .lh-resume-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lh-cat-groups {
        grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 2fr);
        gap: 32px;
    }

    .lh-cat-group + .lh-cat-group {
        border-left: 1px solid var(--lh-border);
        padding-left: 32px;
    }

    .lh-cat-items--pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .lh-expat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lh-home .lh-expat-arrow {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .lh-home .lh-audio-player-dock {
        padding: 8px 16px;
    }

    .lh-home .lh-audio-inner {
        gap: 8px;
    }

    .lh-home .lh-audio-info {
        flex: 1;
        min-width: 0;
    }

    .lh-home .lh-audio-progress-bar,
    .lh-home .lh-audio-controls .lh-audio-btn:not(.lh-audio-play-btn):not(#lh-audio-close-btn) {
        display: none;
    }

    .lh-home .lh-audio-controls {
        gap: 4px;
        flex-shrink: 0;
    }

    .lh-home .lh-audio-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 575.98px) {
    .lh-home .lh-page-title {
        font-size: 20px;
    }

    .lh-home .lh-cat-label {
        font-size: 12px;
    }

    .lh-home .lh-coins-pill {
        padding: 8px 12px;
    }

    .lh-home .lh-search-box-wrap {
        padding-left: 16px;
    }

    .lh-home .lh-search-submit-btn {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .lh-search-submit-label {
        display: none;
    }

    .lh-home-section,
    .lh-home-hero,
    .lh-home-split {
        margin-bottom: 32px;
    }

    .lh-home-split {
        row-gap: 32px;
    }

    .lh-home .lh-banner-card {
        padding: 24px 16px;
    }

    .lh-home .lh-banner-title {
        font-size: 24px;
    }

    .lh-home .lh-category-card-wrapper,
    .lh-home .lh-streak-card {
        padding: 16px;
    }

    .lh-home .lh-day-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .lh-home .lh-event-card {
        flex-wrap: wrap;
    }

    .lh-home .lh-event-details {
        flex-basis: calc(100% - 72px);
    }

    .lh-event-aside {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-left: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lh-home *,
    .lh-home *::before {
        animation: none !important;
        transition: none !important;
    }
}
