/* css/live-desk.css */
/* GOLD EMPEROR LIVE DESK — Dark Fintech Terminal Styling */

.ld-section {
  background-color: #0B0C0E;
  position: relative;
  overflow: hidden;
}

.ld-terminal-surface {
  background: linear-gradient(180deg, rgba(24, 26, 31, 0.96) 0%, rgba(16, 18, 22, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.8);
}

/* Post Card */
.ld-card {
  background: #181A1F;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 16px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.ld-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.48);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.75), 0 0 22px -10px rgba(212, 175, 55, 0.28);
}

.ld-card-featured {
  border-color: rgba(212, 175, 55, 0.42);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, #181A1F 38%);
}

/* Category Filter Pills */
.ld-filter-btn {
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #A5A5A5;
  background: #202228;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.ld-filter-btn:hover {
  color: #FFFFFF;
  border-color: rgba(212, 175, 55, 0.35);
}

.ld-filter-btn.active {
  background: linear-gradient(135deg, #E5C76B 0%, #D4AF37 55%, #B89123 100%);
  color: #0B0C0E;
  font-weight: 700;
  border-color: #D4AF37;
  box-shadow: 0 6px 18px -6px rgba(212, 175, 55, 0.5);
}

/* Outlook Badges */
.ld-outlook {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ld-outlook-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
}

.ld-outlook-bullish {
  background: rgba(16, 185, 129, 0.14);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.ld-outlook-bullish .ld-outlook-dot {
  background: #34D399;
}

.ld-outlook-bearish {
  background: rgba(239, 68, 68, 0.14);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.ld-outlook-bearish .ld-outlook-dot {
  background: #F87171;
}

.ld-outlook-neutral {
  background: rgba(212, 175, 55, 0.14);
  color: #F5E6B8;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.ld-outlook-neutral .ld-outlook-dot {
  background: #D4AF37;
}

/* Symbol Tag */
.ld-symbol-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #F5E6B8;
  background: #0B0C0E;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

/* Loading Skeleton Shimmer */
@keyframes ldShimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.ld-skeleton {
  background: linear-gradient(90deg, #181A1F 25%, #23262E 50%, #181A1F 75%);
  background-size: 800px 100%;
  animation: ldShimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}

/* Card Entrance Animation */
@keyframes ldFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ld-fade-in {
  animation: ldFadeUp 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Analysis Reading Modal */
#ld-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

#ld-modal-backdrop.open {
  display: flex;
}

.ld-modal-panel {
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  background: #14161B;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ldFadeUp 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ld-modal-body {
  overflow-y: auto;
  padding: 20px 22px 24px;
}

.ld-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ld-line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Accessible Focus Ring */
.ld-focusable:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}
/* VIP Exclusive Card & Badge Styling */
.ld-card-vip {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.1) 0%, #181A1F 42%, #14161B 100%);
  box-shadow: 0 12px 32px -18px rgba(212, 175, 55, 0.35);
}

.ld-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #E5C76B 0%, #D4AF37 60%, #B89123 100%);
  color: #0B0C0E;
  white-space: nowrap;
}

.ld-vip-banner {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(24, 26, 31, 0.9) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  padding: 12px 16px;
}

/* Locked VIP Blurred Teaser Preview */
.ld-teaser-blur-box {
  position: relative;
  border-radius: 12px;
  background: #0F1116;
  border: 1px solid rgba(212, 175, 55, 0.24);
  padding: 14px;
  overflow: hidden;
}

.ld-teaser-blur-content {
  filter: blur(5.5px);
  -webkit-filter: blur(5.5px);
  opacity: 0.45;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.ld-teaser-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  background: radial-gradient(circle at center, rgba(11, 12, 14, 0.72) 0%, rgba(11, 12, 14, 0.9) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
