/**
 * Firetalk Chat Rooms Stylesheet
 * 1-to-1 exact visual fidelity with the reference Paltalk chat rooms design:
 * - Arched hero with vibrant violet/magenta-to-peach gradient & star sparkles
 * - Vertical stacked period pills (WEEK > / MONTH / YEAR)
 * - 3D Podium with 3 cards where the center card (MOST GIFTS) is elevated higher
 * - Compact horizontal cards with colored borders, top pills, #1 crown ribbons,
 *   and floating bottom-left circular badges (camera, gift, heart)
 * - 3D perspective pedestals (XP EARNED, GIFTS SENT IN ROOM, FOLLOWERS)
 * - 2-Column Room Directory Grid with square thumbnails, vertical accent bars,
 *   official SVG level badges, and live stats
 */

/* ==========================================================================
   TOP ROOMS HERO
   ========================================================================== */
.rooms-hero {
  background: linear-gradient(100deg, #6d28d9 0%, #8b5cf6 20%, #c026d3 42%, #ec4899 62%, #f97316 84%, #fbb778 100%);
  padding: 36px 0 54px;
  position: relative;
  overflow: hidden;
}

/* Star Sparkles in background */
.hero-sparkle {
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-family: serif;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.hero-sparkle-1 {
  top: 22px;
  left: 17%;
  font-size: 22px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85));
  animation: sparkleTwinkle 3s ease-in-out infinite;
}

.hero-sparkle-2 {
  top: 75px;
  left: 23%;
  font-size: 15px;
  opacity: 0.7;
  animation: sparkleTwinkle 2.5s ease-in-out infinite 1s;
}

.hero-sparkle-3 {
  top: 14px;
  left: 44%;
  font-size: 28px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
  animation: sparkleTwinkle 3.2s ease-in-out infinite 0.5s;
}

.hero-sparkle-4 {
  top: 36px;
  left: 64%;
  font-size: 16px;
  opacity: 0.65;
  animation: sparkleTwinkle 2.8s ease-in-out infinite 1.5s;
}

.hero-sparkle-5 {
  top: 18px;
  right: 12%;
  font-size: 24px;
  opacity: 0.8;
  animation: sparkleTwinkle 3.5s ease-in-out infinite 2s;
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.rooms-hero .container,
.rooms-directory .container {
  position: relative;
  z-index: 2;
  max-width: 1260px;
}

.rooms-hero-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Left Title Group (TOP ROOMS + Vertical Pills) */
.rooms-title-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  width: 150px;
}

.rooms-heading {
  font-size: 42px;
  font-weight: 900;
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  margin: 0;
}

/* Vertical Stacked Period Pills */
.rooms-tabs-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 110px;
}

.rooms-tab-pill {
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 18px;
  transition: all 0.15s ease;
  width: 100%;
}

.rooms-tab-pill.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.rooms-tab-pill:not(.active) {
  background: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.rooms-tab-pill:not(.active):hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Arch Bottom Wave */
.rooms-hero-arch {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 65px;
  pointer-events: none;
  z-index: 1;
}

.hero-arch-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   PODIUM STAGE (TOP 3 ROOMS)
   ========================================================================== */
.rooms-podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  flex: 1;
  max-width: 950px;
  position: relative;
  z-index: 3;
}

.rooms-podium-loading {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 40px;
}

/* 3 Podium Columns */
.podium-col {
  display: flex;
  flex-direction: column;
  width: 308px;
  position: relative;
}

/* Center card (Most Gifts) is elevated higher */
.podium-col-center {
  transform: translateY(-24px);
  z-index: 5;
  width: 318px;
}

.podium-col-side {
  z-index: 3;
}

/* Podium Card Box */
.podium-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 16px 14px 16px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.podium-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

/* Distinct Card Border Colors */
.podium-card-xp {
  border: 2.5px solid #00d2ff;
}

.podium-card-gifts {
  border: 2.5px solid #ec4899;
}

.podium-card-followers {
  border: 2.5px solid #f59e0b;
}

/* Top Pill Badge centered on top border */
.podium-pill-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 4;
}

.podium-pill-xp {
  background: #00d2ff;
}

.podium-pill-gifts {
  background: #ec4899;
}

.podium-pill-followers {
  background: #f59e0b;
}

/* Top-Right #1 Crown Ribbon */
.podium-rank-ribbon {
  position: absolute;
  top: -9px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  z-index: 4;
}

.podium-ribbon-xp {
  background: #00d2ff;
}

.podium-ribbon-gifts {
  background: #ec4899;
}

.podium-ribbon-followers {
  background: #f59e0b;
}

.ribbon-crown-svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Floating Bottom-Left Circular Badge (positioned at bottom-left corner of card) */
.podium-float-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  z-index: 6;
  pointer-events: none;
}

.podium-float-xp {
  background: #00d2ff;
}

.podium-float-gifts {
  background: #ec4899;
}

.podium-float-followers {
  background: #f59e0b;
}

.podium-float-badge img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
}

/* Card Content Area */
.podium-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.podium-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.podium-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.podium-cat {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 20px;
}

.podium-title {
  font-size: 12.8px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  align-self: center;
}

.podium-level-img {
  height: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  width: auto !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}

/* Card Stats Footer */
.podium-card-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.podium-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.podium-stat-heart {
  color: #10b981;
}

.podium-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.podium-time {
  margin-left: auto;
  font-weight: 500;
  color: #94a3b8;
}

/* 3D Perspective Trapezoidal Pedestals below cards */
.podium-pedestal {
  text-align: center;
  margin-top: 6px;
  transition: all 0.2s ease;
}

.podium-pedestal-xp {
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  padding: 14px 10px 12px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.podium-pedestal-gifts {
  background: linear-gradient(180deg, #fce7f3 0%, #fbcfe8 100%);
  padding: 18px 10px 14px;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.18);
  clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
}

.podium-pedestal-followers {
  background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 100%);
  padding: 14px 10px 12px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.pedestal-score-xp {
  font-size: 24px;
  font-weight: 900;
  color: #2563eb;
  line-height: 1;
}

.pedestal-label-xp {
  font-size: 9.5px;
  font-weight: 800;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.pedestal-score-gifts {
  font-size: 26px;
  font-weight: 900;
  color: #c026d3;
  line-height: 1;
}

.pedestal-label-gifts {
  font-size: 9.5px;
  font-weight: 800;
  color: #a21caf;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.pedestal-score-followers {
  font-size: 24px;
  font-weight: 900;
  color: #ea580c;
  line-height: 1;
}

.pedestal-label-followers {
  font-size: 9.5px;
  font-weight: 800;
  color: #c2410c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ==========================================================================
   ROOMS DIRECTORY (FILTER SIDEBAR + 2-COLUMN GRID)
   ========================================================================== */
.rooms-directory {
  padding: 28px 0 80px;
  background-color: #ffffff;
}

.rooms-directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.online-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.online-dot-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.rooms-sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rooms-sort-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.rooms-sort-select {
  padding: 6px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  background: #ffffff;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}

.rooms-directory-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: flex-start;
}

/* Filter Sidebar Card */
.filter-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.filter-group {
  margin-bottom: 16px;
}

.filter-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background-color: #ffffff;
  color: #1e293b;
  transition: border-color 0.15s ease;
}

.filter-input:focus,
.filter-select:focus {
  border-color: #38bdf8;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 12px;
}

.btn-sidebar-submit {
  width: 100%;
  background: #38bdf8;
  color: #ffffff;
  padding: 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  margin-top: 6px;
  margin-bottom: 8px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease;
}

.btn-sidebar-submit:hover {
  background: #0284c7;
}

.btn-sidebar-clear {
  width: 100%;
  background: #e2e8f0;
  color: #64748b;
  padding: 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-sidebar-clear:hover {
  background: #cbd5e1;
  color: #1e293b;
}

/* ==========================================================================
   2-COLUMN DIRECTORY GRID (MATCHING PALTALK)
   ========================================================================== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Horizontal Directory Card */
.room-dir-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--room-accent, #475569);
  border-radius: 12px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  position: relative;
}

.room-dir-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--room-glow, rgba(0, 0, 0, 0.08));
  border-color: #cbd5e1;
  border-left-color: var(--room-accent, #475569);
}

.dir-thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.dir-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
  display: block;
}

.dir-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.dir-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.dir-cat {
  font-size: 10.5px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Room Tier Micro-Chip */
.room-tier-chip {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.1;
  flex-shrink: 0;
}

.room-tier-chip.tier-deluxe {
  background: linear-gradient(135deg, #0F7BD4, #0284c7);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 123, 212, 0.3);
}

.room-tier-chip.tier-extreme {
  background: linear-gradient(135deg, #22A06B, #10b981);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(34, 160, 107, 0.3);
}

.room-tier-chip.tier-elite {
  background: linear-gradient(135deg, #9C27B0, #7c3aed);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(156, 39, 176, 0.3);
}

.room-tier-chip.tier-gold {
  background: linear-gradient(135deg, #F5A524, #d97706);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(245, 165, 36, 0.3);
}

.room-tier-chip.tier-red {
  background: linear-gradient(135deg, #C0392B, #dc2626);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(192, 57, 43, 0.3);
}

.room-tier-chip.tier-basic {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.dir-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 22px;
}

.dir-color-bar {
  display: none !important;
}

.dir-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  align-self: center;
}

.dir-level-img {
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  width: auto !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}

.dir-stats-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
}

.dir-stat-heart {
  color: #10b981;
}

.dir-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.dir-time {
  margin-left: auto;
  font-weight: 500;
  color: #94a3b8;
}

.rooms-status-msg {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: #64748b;
  font-size: 15px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1150px) {
  .rooms-hero-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rooms-title-group {
    width: auto;
    align-items: center;
  }
  .rooms-tabs-vertical {
    flex-direction: row;
    width: auto;
  }
}

@media (max-width: 960px) {
  .rooms-podium-stage {
    flex-direction: column;
    align-items: center;
  }
  .podium-col, .podium-col-center {
    width: 100%;
    max-width: 340px;
    transform: none;
  }
  .rooms-directory-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .rooms-hero {
    padding: 24px 0 28px;
  }

  .rooms-heading {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .rooms-tabs-vertical {
    gap: 6px;
    margin-bottom: 18px;
  }

  .rooms-tab-pill {
    padding: 6px 14px;
    font-size: 12px;
  }

  .rooms-categories-list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 4px 0 10px;
  }

  .category-item {
    padding: 6px 14px;
    white-space: nowrap;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 12.5px;
  }

  .category-item.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .room-card {
    padding: 14px;
  }
}

/* ==========================================================================
   ROOMS HERO ARCH & DARK MODE ADAPTATIONS
   ========================================================================== */
.rooms-hero-arch {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.hero-arch-svg {
  width: 100%;
  height: 48px;
  display: block;
}

.hero-arch-svg path {
  fill: var(--bg-page);
  transition: fill 0.28s ease;
}

html[data-theme="dark"] .rooms-body,
html.dark .rooms-body {
  background-color: var(--bg-page);
  color: var(--text-primary);
}

html[data-theme="dark"] .rooms-directory,
html.dark .rooms-directory {
  background-color: var(--bg-page);
}

html[data-theme="dark"] .filter-sidebar-card,
html.dark .filter-sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .filter-label,
html.dark .filter-label {
  color: var(--text-secondary);
}

html[data-theme="dark"] .filter-input,
html[data-theme="dark"] .filter-select,
html[data-theme="dark"] .rooms-sort-select,
html.dark .filter-input,
html.dark .filter-select,
html.dark .rooms-sort-select {
  background-color: var(--bg-input);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

html[data-theme="dark"] .checkbox-group,
html.dark .checkbox-group {
  color: var(--text-secondary);
}

html[data-theme="dark"] .btn-sidebar-clear,
html.dark .btn-sidebar-clear {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

html[data-theme="dark"] .room-dir-card,
html.dark .room-dir-card {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  border-left-color: var(--room-accent, #475569);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .room-dir-card:hover,
html.dark .room-dir-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  border-left-color: var(--room-accent, #475569);
}

html[data-theme="dark"] .dir-cat,
html.dark .dir-cat {
  color: var(--text-muted);
}

html[data-theme="dark"] .dir-time,
html.dark .dir-time {
  color: var(--text-faint);
}

html[data-theme="dark"] .podium-stat-item,
html.dark .podium-stat-item {
  color: var(--text-secondary);
}

html[data-theme="dark"] .podium-card,
html.dark .podium-card {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .podium-title,
html.dark .podium-title {
  color: var(--text-primary);
}

html[data-theme="dark"] .podium-category,
html.dark .podium-category {
  color: var(--text-muted);
}

html[data-theme="dark"] .podium-pedestal-xp,
html.dark .podium-pedestal-xp {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

html[data-theme="dark"] .podium-pedestal-gifts,
html.dark .podium-pedestal-gifts {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.25) 0%, rgba(236, 72, 153, 0.08) 100%);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

html[data-theme="dark"] .podium-pedestal-followers,
html.dark .podium-pedestal-followers {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

html[data-theme="dark"] .pedestal-score-xp,
html.dark .pedestal-score-xp {
  color: #38bdf8;
}

html[data-theme="dark"] .pedestal-score-gifts,
html.dark .pedestal-score-gifts {
  color: #f472b6;
}

html[data-theme="dark"] .pedestal-score-followers,
html.dark .pedestal-score-followers {
  color: #fbbf24;
}

html[data-theme="dark"] .category-item,
html.dark .category-item {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

html[data-theme="dark"] .category-item.active,
html.dark .category-item.active {
  background: var(--firetalk-primary);
  border-color: var(--firetalk-primary);
  color: #ffffff;
}
