/**
 * Leaderboard Page Styles - V2 Redesign
 * 
 * Consistent with explore page layout:
 * - Discovery bar for filtering
 * - Featured creator + topics grid
 * - Podium section for top 3
 * - Rising stars horizontal track
 * - Card-based rankings grid
 */

/* ============================================================================
   Page Layout
   ============================================================================ */

.leaderboard-page {
  min-height: 100vh;
  background: var(--color-bg-primary);
  padding-bottom: 4rem;
}

/* ============================================================================
   Time Filter Pills (in discovery bar)
   ============================================================================ */

.leaderboard-time-filters {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}

.time-pill {
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.time-pill:hover {
  color: white;
  background: rgba(0, 168, 255, 0.15);
  border-color: rgba(0, 168, 255, 0.3);
}

.time-pill.active {
  color: white;
  background: rgba(0, 168, 255, 0.25);
  border-color: rgba(0, 168, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 168, 255, 0.3);
}

/* ============================================================================
   Featured Section (Podium + Topics Grid)
   ============================================================================ */

.featured-section {
  padding: 1rem 0 2rem;
}

/* Featured Podium Container */
.featured-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  min-height: 300px;
}

.featured-podium-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 300px;
}

/* Featured Creator Card (base styles) */
.featured-creator-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

/* Gold Card (#1 - Center) */
.featured-creator-card.gold {
  flex: 1.2;
  min-height: 320px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  z-index: 2;
}

.featured-creator-card.gold:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 8px 40px rgba(255, 215, 0, 0.2), 0 0 60px rgba(255, 215, 0, 0.15);
  transform: translateY(-4px);
}

.featured-creator-card.gold .featured-creator-bg {
  background: linear-gradient(135deg,
    rgba(255, 215, 0, 0.3) 0%,
    rgba(255, 180, 0, 0.2) 30%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.featured-creator-card.gold .featured-creator-avatar {
  width: 100px;
  height: 100px;
  border: 4px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.featured-creator-card.gold .podium-rank-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
}

/* Silver Card (#2 - Left) */
.featured-creator-card.silver {
  flex: 1;
  min-height: 280px;
  border: 1px solid rgba(192, 192, 192, 0.3);
  z-index: 1;
}

.featured-creator-card.silver:hover {
  border-color: rgba(192, 192, 192, 0.5);
  box-shadow: 0 8px 30px rgba(192, 192, 192, 0.15), 0 0 40px rgba(192, 192, 192, 0.1);
  transform: translateY(-3px);
}

.featured-creator-card.silver .featured-creator-bg {
  background: linear-gradient(135deg,
    rgba(192, 192, 192, 0.25) 0%,
    rgba(169, 169, 169, 0.15) 30%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.featured-creator-card.silver .featured-creator-avatar {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(192, 192, 192, 0.5);
  box-shadow: 0 0 25px rgba(192, 192, 192, 0.4);
}

.featured-creator-card.silver .podium-rank-badge {
  background: linear-gradient(135deg, #E8E8E8 0%, #A8A8A8 100%);
  color: #1a1a1a;
}

.featured-creator-card.silver .featured-creator-name {
  font-size: 1.5rem;
}

.featured-creator-card.silver .featured-creator-bio {
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
}

/* Bronze Card (#3 - Right) */
.featured-creator-card.bronze {
  flex: 1;
  min-height: 280px;
  border: 1px solid rgba(205, 127, 50, 0.3);
  z-index: 1;
}

.featured-creator-card.bronze:hover {
  border-color: rgba(205, 127, 50, 0.5);
  box-shadow: 0 8px 30px rgba(205, 127, 50, 0.15), 0 0 40px rgba(205, 127, 50, 0.1);
  transform: translateY(-3px);
}

.featured-creator-card.bronze .featured-creator-bg {
  background: linear-gradient(135deg,
    rgba(205, 127, 50, 0.25) 0%,
    rgba(184, 115, 51, 0.15) 30%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.featured-creator-card.bronze .featured-creator-avatar {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(205, 127, 50, 0.5);
  box-shadow: 0 0 25px rgba(205, 127, 50, 0.4);
}

.featured-creator-card.bronze .podium-rank-badge {
  background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
  color: white;
}

.featured-creator-card.bronze .featured-creator-name {
  font-size: 1.5rem;
}

.featured-creator-card.bronze .featured-creator-bio {
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
}

/* Shared Card Styles */
.featured-creator-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.featured-creator-card:hover .featured-creator-bg {
  transform: scale(1.03);
}

.featured-creator-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

/* Podium Rank Badge */
.podium-rank-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.featured-creator-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  text-align: center;
}

.featured-creator-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.featured-creator-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.featured-creator-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.featured-creator-name {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Featured Creator Bio */
.featured-creator-bio {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
  max-width: 500px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* Featured Creator Links */
.featured-creator-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.featured-creator-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
}

.featured-creator-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.featured-creator-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Creator Topics Row (below featured card) */
.creator-topics-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.creator-topics-row .creator-topics-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.creator-topics-grid {
  display: flex;
  gap: 0.75rem;
  overflow: hidden;
}

/* Topic cards in creator row - uses topic-preview-card base from explore-v2 */
.creator-topics-grid .topic-preview-card {
  flex: 0 0 200px;
  height: 120px;
  min-height: 120px;
}

/* Topic rank pill - top right corner */
.topic-rank-pill {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Use existing topic-preview-card styles from explore-v2.css */

.top-topics-grid .topic-preview-card .topic-preview-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.top-topics-grid .topic-preview-card .topic-preview-stats {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ============================================================================
   Section Headers (matching explore)
   ============================================================================ */

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ============================================================================
   Podium Section (Top 3)
   ============================================================================ */

.podium-section {
  padding: 2rem 0;
}

.podium-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 1rem;
  min-height: 300px;
}

.podium-loading,
.rising-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3rem;
}

/* Podium Item Base */
.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-width: 180px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.podium-item:hover {
  transform: translateY(-8px);
}

/* Gold - 1st Place */
.podium-item.rank-1 {
  order: 2;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.04));
  border: 2px solid rgba(255, 215, 0, 0.35);
  box-shadow: 
    0 0 40px rgba(255, 215, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  min-width: 220px;
  padding: 2rem 1.5rem;
}

.podium-item.rank-1:hover {
  box-shadow: 
    0 0 60px rgba(255, 215, 0, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.5);
}

/* Silver - 2nd Place */
.podium-item.rank-2 {
  order: 1;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.12), rgba(192, 192, 192, 0.04));
  border: 2px solid rgba(192, 192, 192, 0.35);
  box-shadow: 
    0 0 30px rgba(192, 192, 192, 0.1),
    0 6px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.podium-item.rank-2:hover {
  box-shadow: 
    0 0 50px rgba(192, 192, 192, 0.2),
    0 10px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(192, 192, 192, 0.5);
}

/* Bronze - 3rd Place */
.podium-item.rank-3 {
  order: 3;
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.12), rgba(205, 127, 50, 0.04));
  border: 2px solid rgba(205, 127, 50, 0.35);
  box-shadow: 
    0 0 30px rgba(205, 127, 50, 0.1),
    0 6px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.podium-item.rank-3:hover {
  box-shadow: 
    0 0 50px rgba(205, 127, 50, 0.2),
    0 10px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(205, 127, 50, 0.5);
}

/* Rank Badge */
.podium-rank {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.podium-item.rank-1 .podium-rank {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.podium-item.rank-2 .podium-rank {
  background: linear-gradient(135deg, #E8E8E8, #A8A8A8);
  color: #1a1a2e;
  box-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
}

.podium-item.rank-3 .podium-rank {
  background: linear-gradient(135deg, #CD7F32, #B8860B);
  color: #1a1a2e;
  box-shadow: 0 0 15px rgba(205, 127, 50, 0.4);
}

/* Avatar */
.podium-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  background: rgba(0, 168, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.podium-item.rank-1 .podium-avatar {
  width: 88px;
  height: 88px;
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.podium-item.rank-2 .podium-avatar {
  border-color: rgba(192, 192, 192, 0.4);
}

.podium-item.rank-3 .podium-avatar {
  border-color: rgba(205, 127, 50, 0.4);
}

/* Username */
.podium-username {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.podium-item.rank-1 .podium-username {
  font-size: 1.1rem;
}

/* Stats */
.podium-stats {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.podium-stat {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
}

.podium-stat-value {
  font-weight: 600;
  color: var(--color-primary);
}

/* Score */
.podium-score {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
}

.podium-item.rank-1 .podium-score {
  font-size: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  color: #FFD700;
}

/* ============================================================================
   Rising Stars Section
   ============================================================================ */

.rising-section {
  padding: 2rem 0;
}

.rising-creators-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 168, 255, 0.5) transparent;
}

.rising-creators-track::-webkit-scrollbar {
  height: 6px;
}

.rising-creators-track::-webkit-scrollbar-track {
  background: transparent;
}

.rising-creators-track::-webkit-scrollbar-thumb {
  background: rgba(0, 168, 255, 0.5);
  border-radius: 3px;
}

/* Rising Creator Card */
.rising-creator-card {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  background: rgba(0, 168, 255, 0.03);
  border: 1px solid rgba(0, 168, 255, 0.2);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.rising-creator-card:hover {
  border-color: rgba(0, 168, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 168, 255, 0.15);
  transform: translateY(-4px);
}

.rising-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 0.75rem;
}

.rising-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 168, 255, 0.3);
  margin-bottom: 0.5rem;
}

.rising-username {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.rising-stat {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
}

.rising-stat strong {
  color: var(--color-primary);
}

/* ============================================================================
   Rankings Section (Card Grid)
   ============================================================================ */

.rankings-section {
  padding: 2rem 0;
}

.sort-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-filter-group label {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  background: rgba(30, 41, 59, 0.98);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: all 0.2s ease;
}

.sort-select:hover {
  border-color: rgba(0, 168, 255, 0.5);
}

.sort-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.2);
}

/* Rankings Grid */
.rankings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Ranking Card */
.ranking-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 168, 255, 0.03);
  border: 1px solid rgba(0, 168, 255, 0.2);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.ranking-card:hover {
  border-color: rgba(0, 168, 255, 0.5);
  background: rgba(0, 168, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 168, 255, 0.1);
}

.ranking-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ranking-rank.rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.ranking-rank.rank-2 {
  background: linear-gradient(135deg, #E8E8E8, #A8A8A8);
  color: #1a1a2e;
}

.ranking-rank.rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B8860B);
  color: #1a1a2e;
}

.ranking-rank.rank-default {
  background: rgba(0, 168, 255, 0.15);
  color: var(--color-text-secondary);
  border: 1px solid rgba(0, 168, 255, 0.25);
}

.ranking-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 168, 255, 0.3);
  flex-shrink: 0;
}

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-username {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: var(--color-text-secondary);
}

.ranking-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
  flex-shrink: 0;
}

/* ============================================================================
   Loading & Empty States
   ============================================================================ */

.loading-state,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.loading-state p,
.empty-state p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 168, 255, 0.25);
  border-top-color: #00a8ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

.loading-spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.empty-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
}

.empty-subtext {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   Load More Button
   ============================================================================ */

.load-more-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.btn-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.8) 0%, rgba(0, 168, 255, 0.6) 100%);
  color: white;
  border: 1px solid rgba(0, 168, 255, 0.5);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px;
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
}

.btn-load-more:hover {
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.9) 0%, rgba(0, 168, 255, 0.7) 100%);
  box-shadow: 0 0 30px rgba(0, 168, 255, 0.3);
  transform: translateY(-1px);
}

.btn-load-more:active {
  transform: translateY(0);
}

.btn-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 1024px) {
  .rankings-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .leaderboard-time-filters {
    display: none;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Featured podium - stack vertically on mobile */
  .featured-podium {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .featured-creator-card.gold,
  .featured-creator-card.silver,
  .featured-creator-card.bronze {
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    flex: none;
  }

  .featured-creator-card.gold {
    order: -1;
  }

  .featured-creator-card.gold .featured-creator-avatar {
    width: 80px;
    height: 80px;
  }

  .featured-creator-card.silver .featured-creator-avatar,
  .featured-creator-card.bronze .featured-creator-avatar {
    width: 60px;
    height: 60px;
  }

  .featured-creator-card.gold .featured-creator-name {
    font-size: 1.5rem;
  }

  .featured-creator-card.silver .featured-creator-name,
  .featured-creator-card.bronze .featured-creator-name {
    font-size: 1.25rem;
  }

  .featured-creator-bio {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }

  .creator-topics-row {
    margin-top: 1rem;
  }

  .creator-topics-grid .topic-preview-card {
    flex: 0 0 160px;
    height: 100px;
    min-height: 100px;
  }
}

@media (max-width: 600px) {
  .featured-creator-content {
    padding: 1.25rem;
  }
  
  .featured-creator-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .featured-creator-stats {
    gap: 0.75rem;
  }
  
  .creator-stat {
    font-size: 0.8rem;
  }
  
  .rankings-grid {
    grid-template-columns: 1fr;
  }
  
  .rising-creator-card {
    flex: 0 0 160px;
    padding: 1rem;
  }
  
  .rising-avatar {
    width: 48px;
    height: 48px;
  }
}
