.ladder-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.ladder-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.48), rgba(6, 8, 24, 0.36));
    border: 1px solid rgba(255, 255, 255, 0.267);
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.6);
}

.ladder-row.top-1 {
    border-color: #ffb300;
    box-shadow: 0 10px 30px rgba(255, 179, 0, 0.06);
    background: linear-gradient(91deg, rgb(209 155 31 / 55%), rgb(171 136 24 / 17%));
}

.ladder-row.top-2 {
    border-color: #9fb4c9;
    box-shadow: 0 8px 22px rgba(159, 180, 201, 0.04);
    background: linear-gradient(90deg, rgb(169 169 169 / 62%), rgb(55 55 55 / 35%));
}

.ladder-row.top-3 {
    border-color: #c77a4e;
    box-shadow: 0 8px 20px rgba(199, 122, 78, 0.04);
    background: linear-gradient(91deg, rgb(155 52 3 / 55%), rgb(123 51 0 / 13%));
}

.ladder-row.top-x {
    border-color: #383838;
    box-shadow: 0 8px 20px rgba(199, 122, 78, 0.04);
    background: linear-gradient(91deg, rgb(155 52 3 / 55%), rgb(123 51 0 / 13%));
}

.rank-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(90deg, #0b1226, #07102a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    margin-right: 14px;
    border: 1px solid rgba(255, 255, 255, 0.404);
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.65);
    font-size: 1.05rem
}

.rank-badge.gold {
    background: linear-gradient(90deg, #ffd54a, #ffb300);
    color: #111;
    box-shadow: 0 10px 30px rgba(255, 181, 0, 0.14);
    transform: translateY(-2px);
    font-weight: 900
}

.rank-badge.silver {
    background: linear-gradient(90deg, #e6eef8, #9fb4c9);
    color: #07102a;
    box-shadow: 0 8px 20px rgba(120, 140, 160, 0.08)
}

.rank-badge.bronze {
    background: linear-gradient(90deg, #f0c9a0, #c77a4e);
    color: #07102a;
    box-shadow: 0 8px 18px rgba(200, 120, 80, 0.08)
}

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

.team-logo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.team-name {
    font-weight: 700;
    color: #fff
}

.team-sub {
    font-size: 12px;
    color: #9aa4c1
}

.points-badge {
    font-weight: 800;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px
}

.progress-slim {
    width: 19rem;
    height: 12px;
    border-radius: 999px;
    margin-top: 6px
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7afcff, #3b82f6);
    border-radius: 999px;
    animation: fillEnergy 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(58, 130, 246, 0.6), inset 0 0 8px rgba(122, 252, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    border-radius: 999px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 15px,
        #00d9ff 15px,
        #00d9ff 20px,
        #4db8ff 20px,
        #4db8ff 22px,
        transparent 22px,
        transparent 35px
    );
    animation: particlesFlow 2s linear infinite;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    border-radius: 999px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 20px,
        rgba(122, 252, 255, 0.7) 20px,
        rgba(122, 252, 255, 0.7) 24px,
        transparent 24px,
        transparent 40px
    );
    animation: particlesFlow 2.5s linear infinite 0.3s;
    filter: blur(0.5px);
}

@keyframes fillEnergy {
    0% {
        box-shadow: 0 0 5px rgba(58, 130, 246, 0.4), inset 0 0 4px rgb(122, 252, 255);
    }
    50% {
        box-shadow: 0 0 20px rgba(58, 130, 246, 0.8), inset 0 0 15px rgb(122, 252, 255);
    }
    100% {
        box-shadow: 0 0 5px rgba(58, 130, 246, 0.4), inset 0 0 4px rgb(122, 252, 255);
    }
}

@keyframes particlesFlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width:860px) {
    .ladder-row {
        padding: 10px
    }

    .rank-badge {
        width: 38px;
        height: 38px
    }

    .team-logo {
        width: 50px;
        height: 50px
    }
}