/* ============================================================
   HUB PAGES — Lounge & Market (tab-switcher layouts)
   ============================================================ */

.lg-page {
  padding-bottom: 0;
}

/* ---------- segmented tab bar ---------- */

.lg-tabs {
  position: sticky; top: 0;
  z-index: 20;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px;
  margin: 10px 12px;
  border-radius: 16px;
  background: var(--card, #1A1F2E);
  border: 1px solid var(--stroke, rgba(255,255,255,.1));
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}

.lg-tab {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px;
  border: none; border-radius: 12px;
  background: transparent;
  color: var(--text-muted, rgba(255,255,255,.55));
  font-family: Manrope, sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.lg-tab svg { width: 15px; height: 15px; }

.lg-tab.active {
  background: var(--lg-tab-active, linear-gradient(135deg, #8E44AD, #6C3483));
  color: #fff;
  box-shadow: 0 4px 14px rgba(142,68,173,.35);
}

.lg-tab:active { transform: scale(.97); }

/* ---------- content host ---------- */

.lg-content {
  min-height: 60vh;
}

/* ============================================================
   MUSIC PLACEHOLDER (tab: coming soon)
   ============================================================ */

.lg-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  padding: 60px 24px 40px;
  min-height: 70vh;
  text-align: center;
}

.lg-ph-art {
  position: relative;
  margin-bottom: 6px;
}

/* disc artwork (reused design) */
.lg-disc {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #1A382B 30%, #0D1F16 75%);
  border: 2px solid rgba(46,204,113,.4);
  display: grid; place-items: center;
  animation: lg-spin 9s linear infinite;
}
@keyframes lg-spin { to { transform: rotate(360deg); } }

.lg-disc-inner {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px dashed rgba(46,204,113,.35);
  display: flex; align-items: flex-end; justify-content: center;
  gap: 3px; padding-bottom: 14px;
  overflow: hidden;
}

.lg-disc-inner i {
  width: 4px; background: #2ECC71;
  border-radius: 2px;
  animation: lg-eq .9s ease-in-out infinite;
}
@keyframes lg-eq {
  0%, 100% { height: 5px; }
  50% { height: 20px; }
}

.lg-disc-dot {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 12px rgba(46,204,113,.8);
}

.lg-ph-title {
  font-size: 24px; font-weight: 800; letter-spacing: 4px;
  color: var(--text);
}

.lg-ph-sub {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted, rgba(255,255,255,.55));
  max-width: 260px;
  line-height: 1.5;
}

.lg-ph-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(46,204,113,.12);
  border: 1px solid rgba(46,204,113,.35);
  color: #2ECC71;
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
}

/* ============================================================
   LIGHT THEME
   ============================================================ */

[data-theme="ivory"] .lg-tabs , [data-theme="soda"] .lg-tabs , [data-theme="light"] .lg-tabs {
  background: #F4F1F8;
  border-color: rgba(120,90,160,.2);
  box-shadow: 0 4px 14px rgba(130,100,170,.1);
}

[data-theme="ivory"] .lg-tab , [data-theme="soda"] .lg-tab , [data-theme="light"] .lg-tab {
  color: rgba(80,60,100,.6);
}

[data-theme="ivory"] .lg-tab.active , [data-theme="soda"] .lg-tab.active , [data-theme="light"] .lg-tab.active {
  background: linear-gradient(135deg, #8E44AD, #7D3C98);
  color: #fff;
  box-shadow: 0 4px 12px rgba(142,68,173,.25);
}

[data-theme="ivory"] .lg-disc , [data-theme="soda"] .lg-disc , [data-theme="light"] .lg-disc {
  background: radial-gradient(circle at 50% 50%, #C9E8D8 30%, #A8D8C0 75%);
  border-color: rgba(39,145,90,.4);
}

[data-theme="ivory"] .lg-disc-inner , [data-theme="soda"] .lg-disc-inner , [data-theme="light"] .lg-disc-inner { border-color: rgba(39,145,90,.3); }
[data-theme="ivory"] .lg-disc-inner i , [data-theme="soda"] .lg-disc-inner i , [data-theme="light"] .lg-disc-inner i { background: #1E8449; }
[data-theme="ivory"] .lg-disc-dot , [data-theme="soda"] .lg-disc-dot , [data-theme="light"] .lg-disc-dot { background: #1E8449; box-shadow: none; }

[data-theme="ivory"] .lg-ph-sub , [data-theme="soda"] .lg-ph-sub , [data-theme="light"] .lg-ph-sub { color: rgba(70,55,90,.6); }

[data-theme="ivory"] .lg-ph-badge , [data-theme="soda"] .lg-ph-badge , [data-theme="light"] .lg-ph-badge {
  background: rgba(46,204,113,.1);
  border-color: rgba(39,145,90,.35);
  color: #1E8449;
}
