/* ============================================================
   NxaTierMC — mcpvp-rankings.css
   ULTRA-PREMIUM Authentic MCPVP Rankings Design System
   ============================================================ */

/* ── Global Page & Ambient Glow ───────────────────────────────── */
.rankings-page {
  padding: 110px 0 80px;
  background: var(--bg-root, #080808);
  background-image: 
    radial-gradient(circle at 20% 10%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(185, 28, 28, 0.08) 0%, transparent 50%);
  color: var(--text-primary, #f4f4f5);
  min-height: calc(100vh - 70px);
}

.rankings-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Category Pill Bar Header ─────────────────────────────────── */
.cat-nav-wrapper {
  background: var(--bg-card, #141414);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid var(--border, #2a2a2a);
  padding: 14px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cat-nav-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  padding: 4px 0;
  flex: 1;
}

.cat-nav-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.cat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
}

.cat-tab:hover {
  background: rgba(51, 65, 85, 0.6);
  color: #f8fafc;
  transform: translateY(-1px);
}

.cat-tab.active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: rgba(248, 113, 113, 0.5);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.cat-tab__icon {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-tab .category-img-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 4px;
}

.cat-tab .category-emoji-icon {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.cat-tab__name {
  letter-spacing: 0.02em;
}

/* Header Right Action Badges */
.cat-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.action-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-pill-btn:hover {
  background: #334155;
  color: #ffffff;
  border-color: #475569;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.server-ip-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(185, 28, 28, 0.2) 100%);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
}

.server-ip-badge:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(185, 28, 28, 0.35) 100%);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

/* ── OVERALL VIEW: Leaderboard List ──────────────────────────── */
.overall-table-header {
  display: grid;
  grid-template-columns: 90px 1.2fr 110px 2fr;
  padding: 14px 28px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.overall-row-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overall-card {
  display: grid;
  grid-template-columns: 90px 1.2fr 110px 2fr;
  align-items: center;
  background: var(--bg-card, #141414);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 16px;
  padding: 16px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.overall-card:hover {
  background: var(--bg-card-hover, #1f1f23);
  border-color: var(--border-strong, #3f3f46);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Rank Slanted Badges */
.rank-badge-box {
  width: 52px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  font-style: italic;
  border-radius: 8px;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  background: #1e293b;
  color: #64748b;
  transition: all 0.3s ease;
}

/* Rank 1: Gold Glow Card */
.overall-card--1 {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(18, 24, 38, 0.85) 60%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}
.overall-card--1:hover {
  border-color: #f59e0b;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.3);
}
.overall-card--1 .rank-badge-box {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Rank 2: Silver Glow Card */
.overall-card--2 {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.1) 0%, rgba(18, 24, 38, 0.85) 60%);
  border: 1.5px solid rgba(148, 163, 184, 0.4);
}
.overall-card--2:hover {
  border-color: #94a3b8;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.25);
}
.overall-card--2 .rank-badge-box {
  background: linear-gradient(135deg, #cbd5e1 0%, #64748b 100%);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(148, 163, 184, 0.4);
}

/* Rank 3: Bronze Glow Card */
.overall-card--3 {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.12) 0%, rgba(18, 24, 38, 0.85) 60%);
  border: 1.5px solid rgba(180, 83, 9, 0.4);
}
.overall-card--3:hover {
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.25);
}
.overall-card--3 .rank-badge-box {
  background: linear-gradient(135deg, #d97706 0%, #78350f 100%);
  color: #fef3c7;
  box-shadow: 0 0 15px rgba(180, 83, 9, 0.4);
}

/* Player Info Cell */
.player-info-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.player-avatar-wrapper {
  position: relative;
  width: 54px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.22) 0%, rgba(15, 23, 42, 0.8) 85%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  flex-shrink: 0;
}

.player-avatar-img {
  max-width: 46px;
  max-height: 54px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.overall-card:hover .player-avatar-img {
  transform: scale(1.12) translateY(-2px);
}

.player-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-name-link {
  font-weight: 800;
  font-size: 1.12rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.player-name-link:hover {
  color: #38bdf8;
}

.combat-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}

.combat-pill-icon {
  font-size: 0.75rem;
}

/* Region Badge */
.region-pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.region-pill-tag.NA  { background: rgba(239, 68, 68, 0.25); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.5); }
.region-pill-tag.EU  { background: rgba(34, 197, 94, 0.25); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.5); }
.region-pill-tag.AS  { background: rgba(59, 130, 246, 0.25); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.5); }
.region-pill-tag.SA  { background: rgba(168, 85, 247, 0.25); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.5); }
.region-pill-tag.OCE { background: rgba(234, 179, 8, 0.25); color: #fde047; border: 1px solid rgba(234, 179, 8, 0.5); }

/* Tiers Flex Grid inside Player Card */
.player-tiers-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-tier-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 48px;
  transition: all 0.2s ease;
}

.mini-tier-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.9);
}

.mini-tier-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.mini-tier-code {
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* Tier text colors */
.tier-code-ht1, .tier-code-lt1 { color: #fbbf24; text-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
.tier-code-ht2, .tier-code-lt2 { color: #facc15; }
.tier-code-ht3, .tier-code-lt3 { color: #fb923c; }
.tier-code-ht4, .tier-code-lt4 { color: #c084fc; }
.tier-code-ht5, .tier-code-lt5 { color: #94a3b8; }

/* ── CATEGORY VIEW: 5 Columns Grid ────────────────────────────── */
.category-columns-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 1150px) {
  .category-columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .category-columns-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .overall-table-header, .overall-card {
    grid-template-columns: 60px 1fr;
    gap: 10px;
  }
  .region-pill-tag, .player-tiers-flex {
    grid-column: 2;
    margin-top: 8px;
  }
}

.tier-column-card {
  background: rgba(18, 24, 38, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease;
}

.tier-column-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.tier-column-header {
  padding: 14px;
  text-align: center;
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tier-column-header--t1 {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #78350f 100%);
  color: #fef08a;
  border-bottom: 2px solid #f59e0b;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tier-column-header--t2 {
  background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #1e293b 100%);
  color: #f8fafc;
  border-bottom: 2px solid #94a3b8;
}

.tier-column-header--t3 {
  background: linear-gradient(135deg, #451a03 0%, #78350f 50%, #451a03 100%);
  color: #fed7aa;
  border-bottom: 2px solid #d97706;
}

.tier-column-header--t4 {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  color: #93c5fd;
  border-bottom: 2px solid #3b82f6;
}

.tier-column-header--t5 {
  background: linear-gradient(135deg, #0f172a 0%, #3b0764 50%, #0f172a 100%);
  color: #e9d5ff;
  border-bottom: 2px solid #a855f7;
}

.tier-column-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 650px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.tier-player-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(30, 41, 59, 0.35);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.tier-player-item:hover {
  background: rgba(51, 65, 85, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}

.tier-player-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tier-player-avatar-wrapper {
  position: relative;
  width: 36px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25) 0%, rgba(15, 23, 42, 0.8) 85%);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  overflow: hidden;
}

.tier-player-avatar {
  max-width: 32px;
  max-height: 36px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

.tier-player-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #f1f5f9;
}

.tier-sub-indicator {
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.tier-sub-indicator.ht { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.tier-sub-indicator.lt { background: rgba(148, 163, 184, 0.18); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }

/* ── Premium Account Badges & 3D Skin Renders ───────────────────── */
.badge-account {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  user-select: none;
}

.badge-premium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.35) 100%);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.badge-cracked {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.verified-mojang-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.skin-3d-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.skin-3d-box:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.skin-3d-img {
  height: 130px;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
}

/* ── Authentic MCTiers 3D NPC Stage & Model ───────────────────── */
.npc-stage-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 140px;
  min-height: 180px;
  padding: 10px 16px;
}

.npc-stage-pedestal {
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.35) 0%, rgba(15, 23, 42, 0.8) 70%);
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.npc-model-3d {
  position: relative;
  z-index: 2;
  height: 175px;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.npc-stage-container:hover .npc-model-3d {
  transform: translateY(-6px) scale(1.05);
}

/* ── Authentic MCTiers 3-Column Profile Dashboard ───────────────────── */
.mctier-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.mctier-profile-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mctier-username-title {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.mctier-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 24, 38, 0.8);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mctier-tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  transition: all 0.2s ease;
}

.mctier-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mctier-profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

@media (max-width: 1024px) {
  .mctier-profile-grid {
    grid-template-columns: 1fr;
  }
}

.mctier-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mctier-card {
  background: var(--bg-card, #141414);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mctier-card--skin {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mctier-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mctier-tag-soon {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.mctier-badges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.mctier-badge-slot {
  aspect-ratio: 1;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.mctier-skins-row {
  display: flex;
  gap: 8px;
}

.mctier-skin-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mctier-skin-thumb img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
}

.mctier-cat-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 6px;
  width: 100%;
}

.mctier-cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  flex: 1 1 0;
  min-width: 44px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.mctier-cat-pill:hover {
  background: rgba(51, 65, 85, 0.65);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.mctier-cat-pill__icon {
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.mctier-cat-pill__badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-card, #141414);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 12px;
  padding: 14px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover, rgba(30, 41, 59, 0.5));
}

.stat-card__value {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--red-400, #f87171);
  font-family: var(--font-mono, monospace);
  display: block;
  white-space: nowrap;
  line-height: 1.2;
}

.stat-card__value--unranked {
  font-size: 1.05rem !important;
  color: #64748b !important;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.stat-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  white-space: nowrap;
}

.mctier-card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mctier-time-pills {
  display: flex;
  gap: 4px;
  background: rgba(30, 41, 59, 0.6);
  padding: 3px;
  border-radius: 6px;
}

.mctier-time-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
}

.mctier-time-pill.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.mctier-name-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mctier-name-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-primary, #0f0f0f);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 8px;
}

.mctier-name-item__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mctier-name-idx {
  font-size: 0.85rem;
  font-weight: 800;
  color: #38bdf8;
}

.mctier-name-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f1f5f9;
}

.mctier-name-item__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mctier-name-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mctier-copy-btn {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.mctier-copy-btn:hover { opacity: 1; }

.mctier-status-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mctier-status-pill.offline {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.mctier-status-pill.online {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.mctier-subtabs {
  display: flex;
  gap: 6px;
  background: rgba(30, 41, 59, 0.6);
  padding: 4px;
  border-radius: 8px;
}

.mctier-subtab {
  flex: 1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
}
.mctier-subtab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mctier-activity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.mctier-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.82rem;
}

.mctier-act-rank {
  font-weight: 800;
  color: #38bdf8;
  width: 16px;
}

.mctier-act-icon {
  margin-right: 8px;
}

.mctier-act-name {
  font-weight: 700;
  color: #f1f5f9;
  flex: 1;
}

.mctier-act-count {
  color: var(--text-muted);
  font-size: 0.76rem;
}

/* ── Unique Cyber-Holographic 3D Stage & Obsidian Glass System ───── */
.cyber-holo-stage {
  position: relative;
  width: 100%;
  height: 420px;
  background: radial-gradient(circle at 50% 35%, rgba(220, 38, 38, 0.25) 0%, rgba(15, 15, 15, 0.96) 75%);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(220, 38, 38, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 20px;
  padding-top: 20px;
}

.cyber-holo-stage::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(239, 68, 68, 0.08) 0deg, transparent 60deg, rgba(59, 130, 246, 0.08) 180deg, transparent 240deg);
  animation: cyberRotate 15s linear infinite;
  pointer-events: none;
}

@keyframes cyberRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cyber-holo-pedestal {
  position: absolute;
  bottom: 12px;
  width: 160px;
  height: 32px;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.6) 0%, rgba(15, 23, 42, 0.9) 70%);
  border-radius: 50%;
  border: 2px solid rgba(248, 113, 113, 0.6);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.cyber-holo-pedestal::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(239, 68, 68, 0.5);
  animation: pulseRing 3s ease-in-out infinite alternate;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

.cyber-model-3d {
  position: relative;
  z-index: 2;
  height: 330px;
  max-height: 85%;
  max-width: 90%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(239, 68, 68, 0.3));
  animation: cyberFloat 4s ease-in-out infinite alternate;
}

@keyframes cyberFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ── Metallic Shimmer & Progress Bars ────────────────────────────── */
.shimmer-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #f8fafc;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  position: relative;
  overflow: hidden;
}

.shimmer-rank-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmerSweep 3s infinite;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.cyber-stat-bar-wrap {
  margin-top: 12px;
}

.cyber-stat-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.cyber-stat-bar-track {
  height: 8px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cyber-stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #3b82f6 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Combat Overview Card */
.mctier-combat-overview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.mctier-overview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-primary, #0f0f0f);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 8px;
}

.mctier-overview-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
}

.mctier-overview-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #f8fafc;
}

.mctier-overview-val.title-gold {
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.mctier-overview-val.text-cyan {
  color: #ef4444;
}

.mctier-overview-val.text-green {
  color: #22c55e;
}

.mctier-winrate-bar-wrap {
  height: 6px;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.mctier-winrate-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* Top Masteries */
.mctier-top-masteries {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.mctier-mastery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-primary, #0f0f0f);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 8px;
}

.mctier-mastery-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mctier-mastery-icon {
  font-size: 1rem;
}

.mctier-mastery-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}

/* Header Badge Pills */
.mctier-badge-pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mctier-badge-pill--region {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.mctier-badge-pill--verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
