/* ================================
   👻 Ghost System Custom Styles
   ================================ */

/* ================================
   🥇 Top 3 Players
   ================================ */
.player-row {
  transition: transform 0.2s, box-shadow 0.2s;
}
.player-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3); /* subtle golden glow */
}
.rank-badge {
  display: none;
  color: #000;
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
}
.player-row:hover .rank-badge {
  display: inline-block;
  animation: slide-in 0.3s ease forwards;
}
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================
   💀 Support Cards
   ================================ */
.support-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.support-card:hover {
  border-color: #ffc107;
  transform: translateY(-3px);
}

/* --- Background Cover --- */
.support-cover {
  height: 150px;
  background-size: cover;
  background-position: top center;
  position: relative;
  transition: background-position 0.5s ease, transform 0.5s ease;
  filter: brightness(0.2); /* dark dimmed cover */
}
.support-card:hover .support-cover {
  background-position: center top;
  transform: scale(1.03);
  filter: brightness(0.25);
}

/* --- Overlays --- */
.support-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
  pointer-events: none;
}
.support-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,193,7,0.05), rgba(0,0,0,0.4));
}

/* --- Avatar --- */
.support-avatar {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 95px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.25);
  background: #111;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}
.support-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(0.3); /* dimmed avatar */
  transition: filter 0.3s ease;
}
.support-card:hover .support-avatar img {
  filter: brightness(1);
}
.support-card:hover .support-avatar {
  border-color: #ffc107;
  box-shadow: 0 0 12px rgba(255,193,7,0.5);
}

/* --- Card Body --- */
.support-body {
  margin-top: 65px;
}
.support-body h5 {
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn-outline-light {
  border-color: rgba(255,193,7,0.3);
  color: #ddd;
  transition: all 0.2s;
}
.btn-outline-light:hover {
  background: rgba(255,193,7,0.15);
  border-color: #ffc107;
  color: #ffc107;
}

/* ================================
   📊 Stat Cards
   ================================ */
.stat-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
}
.glow-icon {
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}
.stat-card:hover .glow-icon {
  text-shadow: 0 0 6px rgba(255,193,7,0.45);
  transform: scale(1.05);
}
.divider {
  width: 1px;
  height: 35px;
  background: rgba(255,255,255,0.08);
}
.stat-box p {
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
