/* =========================================================
   LootlyCash Dashboard v2 — navy + gold theme
   ========================================================= */
:root {
    --lc-bg: #07121c;
    --lc-bg-2: #0b1a27;
    --lc-surface: #102231;
    --lc-surface-2: #142a3b;
    --lc-border: rgba(148, 178, 204, 0.12);
    --lc-border-strong: rgba(148, 178, 204, 0.22);
    --lc-text: #f2f6fa;
    --lc-muted: #8ea3b7;
    --lc-gold: #f7b928;
    --lc-gold-2: #ffd45c;
    --lc-green: #22c55e;
    --lc-radius: 14px;
}

/* ---------- Page background ---------- */
html body,
body {
    background-color: var(--lc-bg) !important;
    background-image:
        radial-gradient(ellipse 60% 45% at 85% 0%, rgba(247, 185, 40, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 55% 50% at 10% 35%, rgba(20, 184, 166, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, #0a1824 0%, var(--lc-bg) 45%, #050d15 100%) !important;
    background-attachment: fixed !important;
    color: var(--lc-text);
}
.wrapper, .content, main.content, .preloader { background: transparent !important; }
.wrapper::before { display: none !important; }

/* ---------- Sidebar + top bar matching ---------- */
aside.gollah-sidebar,
.gollah-sidebar {
    background: linear-gradient(180deg, #0b1a27 0%, #08141f 100%) !important;
    border-right: 1px solid var(--lc-border) !important;
    box-shadow: none !important;
}
.gollah-logo-text {
    background: linear-gradient(90deg, var(--lc-gold-2), var(--lc-gold)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
}
.gollah-logo-icon {
    background: linear-gradient(135deg, var(--lc-gold-2), var(--lc-gold)) !important;
    box-shadow: 0 0 14px rgba(247, 185, 40, 0.35) !important;
}
.gollah-menu-item { color: #c9d6e2 !important; border-radius: 10px !important; font-weight: 600 !important; }
.gollah-menu-item i { color: var(--lc-muted) !important; }
.gollah-menu-item:hover { background: rgba(247, 185, 40, 0.08) !important; color: #fff !important; }
.gollah-menu-item:hover i { color: var(--lc-gold) !important; }
.gollah-menu-item.active {
    background: linear-gradient(135deg, var(--lc-gold-2), var(--lc-gold)) !important;
    color: #1a1200 !important;
    box-shadow: 0 6px 20px rgba(247, 185, 40, 0.3) !important;
}
.gollah-menu-item.active i { color: #1a1200 !important; }
.gollah-divider { background: var(--lc-border) !important; }
.gollah-balance-chip {
    background: rgba(247, 185, 40, 0.1) !important;
    border: 1px solid rgba(247, 185, 40, 0.35) !important;
    color: var(--lc-gold) !important;
    box-shadow: none !important;
}
.top-nav.navbar {
    background: rgba(8, 20, 31, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lc-border) !important;
}

/* ---------- Shared section heading ---------- */
.lc-section { padding: 0 16px; margin-bottom: 26px; }
@media (min-width: 768px) { .lc-section { padding: 0 24px; } }
.lc-head {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 14px;
}
.lc-title {
    display: flex; align-items: center; gap: 12px;
    margin: 0; font-family: "Poppins", sans-serif;
    font-size: 22px; font-weight: 800; color: var(--lc-text) !important;
    letter-spacing: -0.01em;
}
.lc-title > i { color: var(--lc-text); font-size: 18px; }
.lc-title-badge {
    width: 32px; height: 32px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lc-gold); color: #1a1200; font-size: 15px;
}
.lc-subtitle { color: var(--lc-muted); font-size: 14px; margin: -6px 0 14px; }
.lc-view-all {
    color: var(--lc-gold) !important; font-weight: 700; font-size: 13px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.lc-view-all:hover { color: var(--lc-gold-2) !important; }
.lc-nav { display: flex; gap: 8px; }
.lc-nav-btn {
    width: 38px; height: 38px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lc-surface); border: 1px solid var(--lc-border-strong);
    color: var(--lc-gold); cursor: pointer; transition: all .2s;
}
.lc-nav-btn:hover { background: var(--lc-gold); color: #1a1200; }
.lc-nav-btn.swiper-button-disabled,
.lc-nav-btn:disabled { opacity: .4; cursor: default; background: var(--lc-surface); color: var(--lc-gold); }

/* ---------- Live feed (Liveboard) ---------- */
.live-feed-section.lc-live {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px !important; margin: 0 0 18px !important;
    background: linear-gradient(180deg, rgba(16, 34, 49, 0.7), rgba(16, 34, 49, 0));
    border-bottom: 1px solid var(--lc-border);
}
@media (min-width: 768px) { .live-feed-section.lc-live { padding: 12px 24px !important; } }
.lc-live-badge {
    position: relative; flex: 0 0 auto;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--lc-surface); border: 2px solid rgba(247, 185, 40, 0.45);
    color: var(--lc-gold); font-size: 17px;
    box-shadow: 0 0 18px rgba(247, 185, 40, 0.18);
}
.lc-live-badge .live-dot {
    position: absolute; top: -1px; right: -1px;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--lc-green); border: 2px solid var(--lc-bg);
    animation: lcPulse 1.6s ease-out infinite;
}
@keyframes lcPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
    100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.lc-live .live-feed-track {
    flex: 1; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent);
}
.lc-live .live-feed-row { display: flex; gap: 10px !important; width: max-content; }
.lc-live .live-feed-pill {
    display: flex; align-items: center; gap: 10px;
    min-width: 172px; padding: 7px 12px 7px 7px;
    background: linear-gradient(180deg, var(--lc-surface-2), var(--lc-surface)) !important;
    border: 1px solid var(--lc-border-strong) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: border-color .2s, transform .2s;
}
.lc-live .live-feed-pill:hover { border-color: rgba(247, 185, 40, 0.5) !important; transform: translateY(-1px); }
.lc-live .live-feed-avatar {
    width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
    overflow: hidden; background: #1d3448;
    display: flex; align-items: center; justify-content: center;
}
.lc-live .live-feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lc-live .live-feed-avatar-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; color: #1a1200;
    background: linear-gradient(135deg, var(--lc-gold-2), var(--lc-gold));
}
.lc-live .live-feed-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.lc-live .live-feed-user,
.lc-live .live-feed-name {
    color: var(--lc-text) !important; font-weight: 700 !important; font-size: 13px !important;
    max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;
}
.lc-live .live-feed-user { cursor: pointer; }
.lc-live .live-feed-user:hover { color: var(--lc-gold) !important; text-decoration: none; }
.lc-live .live-feed-time {
    color: var(--lc-muted) !important; font-size: 11px !important;
    max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lc-live .live-feed-amount {
    margin-left: auto; display: flex; align-items: center; gap: 5px;
    color: var(--lc-gold) !important; font-weight: 800 !important; font-size: 14px !important;
    background: transparent !important; padding: 0 !important; white-space: nowrap;
}
.lc-live .live-feed-amount i { color: var(--lc-gold) !important; font-size: 15px; }

/* ---------- Recommended offers ---------- */
.lc-device-filter {
    display: inline-flex; gap: 6px; padding: 5px;
    background: var(--lc-bg-2); border: 1px solid var(--lc-border); border-radius: 12px;
}
.lc-device-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: 9px; border: 1px solid var(--lc-border-strong);
    background: var(--lc-surface); color: var(--lc-text);
    font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.lc-device-btn:hover { border-color: rgba(247, 185, 40, .5); }
.lc-device-btn.is-active { background: var(--lc-gold); color: #1a1200; border-color: var(--lc-gold); }
.lc-offers-nav-row { display: flex; justify-content: flex-end; margin-bottom: 12px; }

#hot-offers .swiper-slide { width: 160px !important; margin-right: 12px; height: auto; }
#hot-offers .swiper-slide.is-hidden { display: none; }
.lc-offer-card {
    display: flex; flex-direction: column; height: 100%;
    background: linear-gradient(180deg, var(--lc-surface-2), var(--lc-surface));
    border: 1px solid var(--lc-border-strong); border-radius: var(--lc-radius);
    overflow: hidden; text-decoration: none; color: var(--lc-text) !important;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.lc-offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 185, 40, .55);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35), 0 0 0 1px rgba(247, 185, 40, .15);
}
.lc-offer-thumb { position: relative; aspect-ratio: 4 / 3; background: #0c1b28; overflow: hidden; }
.lc-offer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.lc-offer-card:hover .lc-offer-thumb img { transform: scale(1.05); }
.lc-offer-devices { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
.lc-offer-devices span {
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(7, 18, 28, .85); border: 1px solid rgba(255, 255, 255, .25);
    color: #fff; font-size: 11px;
}
.lc-offer-body { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 10px 14px; flex: 1; }
.lc-offer-name {
    width: 100%; margin: 0; font-size: 13px; font-weight: 700; color: var(--lc-text) !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left;
}
.lc-coin-pill {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
    padding: 4px 14px; border-radius: 999px;
    background: rgba(247, 185, 40, .12); border: 1px solid rgba(247, 185, 40, .45);
    color: var(--lc-gold-2) !important; font-weight: 800; font-size: 14px;
}
.lc-coin-pill i { color: var(--lc-gold); }
.lc-empty {
    padding: 28px; text-align: center; color: var(--lc-muted);
    border: 1px dashed var(--lc-border-strong); border-radius: var(--lc-radius);
}

/* ---------- Offer walls ---------- */
.lc-tabs {
    display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
    border-bottom: 1px solid var(--lc-border); margin-bottom: 22px;
}
.lc-tabs::-webkit-scrollbar { display: none; }
.lc-tab {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 12px 16px; background: none; border: 0;
    border-bottom: 3px solid transparent; margin-bottom: -1px;
    color: var(--lc-muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: color .2s;
}
.lc-tab:hover { color: var(--lc-text); }
.lc-tab.is-active { color: var(--lc-gold); border-bottom-color: var(--lc-gold); }

.lc-wall-scroller { overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.lc-wall-scroller::-webkit-scrollbar { display: none; }
.lc-wall-grid {
    display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
    grid-auto-columns: 200px; gap: 14px;
}
@media (min-width: 1200px) { .lc-wall-grid { grid-auto-columns: 208px; } }

/* Theme tints — each card gets an accent color via --t */
.lc-wall { --t: #f97316; }
.lc-wall.t-0 { --t: #f97316; }
.lc-wall.t-1 { --t: #f7b928; }
.lc-wall.t-2 { --t: #f43f5e; }
.lc-wall.t-3 { --t: #eab308; }
.lc-wall.t-4 { --t: #06b6d4; }
.lc-wall.t-5 { --t: #22c55e; }
.lc-wall.t-6 { --t: #818cf8; }
.lc-wall.t-7 { --t: #ec4899; }

.lc-wall {
    position: relative; display: flex; flex-direction: column;
    height: 150px; padding: 14px 18px 12px;
    border-radius: var(--lc-radius); overflow: hidden;
    text-decoration: none; color: var(--lc-text) !important;
    background:
        radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--t) 22%, transparent) 0%, transparent 70%),
        linear-gradient(180deg, #16293a 0%, #0f1f2d 100%);
    border: 1px solid color-mix(in srgb, var(--t) 45%, transparent);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lc-wall:hover {
    transform: translateY(-4px);
    border-color: var(--t);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 22px color-mix(in srgb, var(--t) 30%, transparent);
}
.lc-wall-badge {
    position: absolute; top: 0; right: 14px;
    padding: 3px 8px; border-radius: 0 0 6px 6px;
    background: var(--t); color: #13100a;
    font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.lc-wall-logo { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding-top: 6px; }
.lc-wall-logo img { max-width: 82%; max-height: 54px; object-fit: contain; }
.lc-wall-fallback {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--t) 25%, transparent); color: var(--t);
    font-size: 24px; font-weight: 800;
}
.lc-wall-name {
    position: absolute; left: 0; right: 0; bottom: 34px; text-align: center;
    font-size: 11px; color: var(--lc-muted); opacity: 0; transition: opacity .2s;
}
.lc-wall:hover .lc-wall-name { opacity: 1; }
.lc-wall-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 8px; }
.lc-wall-bar span { display: block; height: 100%; border-radius: 4px; background: var(--t); }
.lc-wall-meta {
    display: flex; justify-content: space-between; margin-top: 8px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em;
}
.lc-wall-meta b { color: var(--t); }
.lc-wall-meta span { color: var(--lc-muted); }

.lc-wall.is-locked { cursor: not-allowed; }
.lc-wall.is-locked .lc-wall-logo { filter: grayscale(1) blur(1px); opacity: .35; }
.lc-wall-lock {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: rgba(7, 18, 28, .6); text-align: center; font-size: 12px; color: var(--lc-text);
}
.lc-wall-lock i { color: var(--lc-gold); font-size: 20px; }
.lc-wall-lock strong { color: var(--lc-gold-2); }
.lc-wall.is-hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
    #liveFeedRow { animation: none !important; }
    .lc-offer-card, .lc-wall, .lc-live .live-feed-pill { transition: none; }
}
