* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #1a1a1a, #0c0c0c);
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

/* HEADER */
header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.subtitle {
  color: #aaa;
}

.updated {
  margin-top: 8px;
  font-size: 14px;
  color: #777;
}

/* ===== PODIUM ===== */
.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  margin: 60px 0;
}

.podium-card {
  background: linear-gradient(180deg, #1a1a1a, #0e0e0e);
  border-radius: 18px;
  padding: 26px 22px 28px;
  width: 240px;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.podium-card:hover {
  transform: translateY(-6px);
}

.podium-card .rank {
  position: absolute;
  top: 14px;
  left: 14px;
  font-weight: bold;
  color: #777;
  font-size: 14px;
}

.avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 10px auto 14px;
  background: radial-gradient(circle at top, #444, #111);
  box-shadow: inset 0 0 0 2px #222;
}

.podium-card h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.podium-card p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

.podium-card .prize {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* ===== FIRST PLACE ===== */
.podium-card.first {
  transform: translateY(-22px);
  border: 2px solid gold;
  box-shadow:
    0 0 30px rgba(255,215,0,0.35),
    0 0 80px rgba(255,215,0,0.15);
}

.podium-card.first .prize {
  background: linear-gradient(135deg, gold, #ffea70);
  color: #000;
}

/* ===== SECOND ===== */
.podium-card.second .prize {
  background: linear-gradient(135deg, #d9d9d9, #bfbfbf);
  color: #000;
}

/* ===== THIRD ===== */
.podium-card.third .prize {
  background: linear-gradient(135deg, #cd7f32, #b87333);
  color: #000;
}

/* Mobile */
@media (max-width: 800px) {
  .podium {
    flex-direction: column;
    align-items: center;
  }

  .podium-card.first {
    transform: none;
  }
}



/* TABLE */
.table-wrapper {
  background: #121212;
  border-radius: 12px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #1c1c1c;
}

th, td {
  padding: 14px 16px;
  text-align: left;
}

th {
  color: #bbb;
  font-weight: 600;
  font-size: 14px;
}

tbody tr {
  border-top: 1px solid #222;
}

tbody tr:hover {
  background: #1a1a1a;
}

td {
  font-size: 14px;
}

@media (max-width: 800px) {
  .podium {
    flex-direction: column;
    align-items: center;
  }

  .first {
    transform: none;
  }
}

.footer {
  width: 100%;
  margin-top: 80px;
  padding: 30px 0;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.socials a {
  color: #ffffff;        /* FORCE visible */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.socials a:hover {
  color: gold;
}

/* ===== PLAY NOW BUTTON ===== */
.play-now-wrapper {
  margin-top: 14px;
  text-align: center;
}

.play-now-btn {
  display: inline-block;
  padding: 12px 26px;
  background: linear-gradient(135deg, #19c37d, #0fa968);
  color: #000;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(25, 195, 125, 0.45);
}

/* ===== TABLE AVATARS ===== */
.lb-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-user img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== FORCE TABLE USER LAYOUT ===== */
td .lb-user {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
}

td .lb-user img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

td .lb-user span {
  white-space: nowrap;
}
