


.leaderboard_animation {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
  }

  .leaderboard_container {
    /* background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); */
  }

  .leaderboard_header {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    gap: 15px;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
  }

  .leaderboard_entries {
    position: relative;
    min-height: 400px;
      font-family: Roboto;
  }

  .leaderboard_entry {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    gap: 15px;
    align-items: center;
    padding: 15px 20px;
    margin: 8px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    /* border-radius: 12px; */
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: absolute;
    width: calc(100% - 40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 3px 4px 0px 0px black;
  }

  .leaderboard_entry.entering {
    transform: translateX(-100%);
    opacity: 0;
  }

  .leaderboard_entry.exiting {
    transform: translateX(100%);
    opacity: 0;
  }

  .entry_rank {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 200;
    color: #fff;
  }

  .rank_number {
    min-width: 35px;
    text-align: center;
  }

  .rank_change {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .rank_change.up {
    color: #4ade80;
  }

  .rank_change.down {
    color: #f87171;
  }

  .rank_change.new {
    color: #60a5fa;
    color: #60a5fa00;
    font-size: 12px;
  }

  .entry_participant {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .participant_flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .participant_name {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
      font-weight: 300;
  }

  .entry_score {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    color: #7496b0;
    text-align: right;
      font-weight: 300;
  }

  .entry_score span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-left: 4px;
  }

  /* Highlight for swapping entries */
  .leaderboard_entry.swapping {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0.1));
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
  }

  /* Medal styles for top 3 */
  .entry_rank .medal {
    font-size: 24px;
  }










