.tops-main {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 25px;
    align-items: start;
}

.tops-container {
    grid-column: span 12;
}

.tops-card {
    background: #001124;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #003761;
    border-left: 5px solid #0062a7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.tops-header {
    background: url(../imgs/header_new.png);
    background-size: cover;
    border-radius: 9px;
    padding: 5px 6px;
    border: 1px solid #006ab0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tops-header-title {
    background: hsl(0deg 0% 0% / 60%);
    padding: 6px 12px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-weight: bold;
    font-size: 16px;
}

.tops-star-icon {
    background: url(../imgs/tops_icon.png);
    width: 30px;
    height: 29px;
    margin-right: 10px;
    image-rendering: pixelated;
}

.tops-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.tops-left {
    flex: 1;
    min-width: 300px;
}

.tops-right {
    flex: 1.5;
    min-width: 300px;
}

.podium-section {
    background: url(../imgs/back-top.png);
    background-size: cover;
    border-radius: 19px;
    padding: 20px 20px 0px 20px;
    margin-bottom: 20px;
    border: 1px solid #003761;
    image-rendering: pixelated;
}

.podium-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #006ab0;
    text-align: center;
}

.podium-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -2px;
}

.podium-place {
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

.podium-place-1 {
    border-color: #FFD700;
    background: #5a4a00;
}

.podium-place-2 {
    border-color: #C0C0C0;
    background: #3a3a3a;
}

.podium-place-3 {
    border-color: #CD7F32;
    background: #4a2e00;
}

.podium-bar {
    width: 72px;
    border-radius: 8px 8px 0 0;
}

.bar-1 {
    height: 184px;
    background: url(../imgs/top_1.png);
}

.bar-2 {
    height: 149px;
    background: url(../imgs/top_2.png);
}

.bar-3 {
    height: 119px;
    background: url(../imgs/top_3.png);
}

.podium-avatar {
    width: 50px;
    height: 50px;
    background: #00294a;
    border-radius: 50%;
    margin-top: 15px;
    border: 2px solid #00b7ff;
    position: relative;
}

.podium-user {
    margin-top: 10px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    max-width: 80px;
}

.top3-item {
    display: flex;
    cursor: pointer;
}

.top3-item:last-child {
    margin-bottom: 0;
}

.top3-number {
    width: 65px;
    height: 50px;
    background: #000c1e;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    border: 1px solid #002e4d;
    position: relative;
    margin-right: 14px;
}


.top3-info {
    flex: 1;
}

.top3-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.top3-amount {
    color: #ffffff;
    font-size: 14px;
    margin-top: 3px;
}

.tops-footer {
    margin-top: 15px;
    color: #8bb9e8;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #003761;
}

.ranking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.chart-icon {
    background: url(../imgs/top_stats_icon.png);
    width: 41px;
    height: 39px;
    image-rendering: pixelated;
}

.ranking-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.ranking-description {
    color: #c8e1ff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 15px;
    background: #04192a;
    border-radius: 8px;
    border: 1px solid #003761;
}

.currency-rankings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.currency-ranking {
    background: #000c1d;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #003761;
    padding: 9px 9px;
}

.currency-header {
    padding: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.currency-icon {
    width: 24px;
    height: 24px;
    margin-top: 3px;
}

.icon-credits {
    background: url(../imgs/credits.png);
    background-size: contain;
    width: 14px;
    height: 15px;
}

.icon-diamonds {
    background: url(../imgs/diamonds.png);
    background-size: contain;
    width: 15px;
    height: 15px;
}

.icon-esmeralds {
    background: url(../imgs/esmeraldas.png);
    background-size: contain;
    width: 11px;
    height: 11px;
}

.currency-title {
    color: white;
    font-size: 13px;
}

.ranking-list {
    padding: 0;
    border-radius: 7px;
}

.ranking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 17px;
    transition: background-color 0.2s ease;
    background: #000c1d;
    cursor: pointer;
}

.ranking-row:nth-child(even) {
    background: rgb(0 22 45);
    border-radius: 5px;
}

.ranking-row:hover {
    background: rgba(0, 150, 255, 0.2);
    border-radius: 5px;
}

.ranking-pos {
    color: #ffffff;
    font-weight: 600;
    min-width: 10px;
    font-size: 13px;
}

.ranking-user {
    flex: 1;
    color: white;
    margin: 0 15px;
    font-size: 13px;
}

.ranking-amount {
    color: #ffffff;
    font-size: 14px;
}
.tops-users-header {
    background: url(../imgs/top_head.png);
    background-size: cover;
    border-radius: 9px;
    padding: 4px 6px;
    border: 1px solid #006ab0;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tops-users-header-title {
    background: hsl(0deg 0% 0% / 60%);
    padding: 6px 12px;
    width: 100%;
    border-radius: 8px;
    font-size: 9px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #1f8bd2;
}
.tops-raking-header {
    background: url(../imgs/top_head.png);
    background-size: cover;
    border-radius: 9px;
    padding: 4px 6px;
    border: 1px solid #006ab0;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.tops-raking-header-title {
    background: hsl(0deg 0% 0% / 60%);
    padding: 6px 12px;
    width: 100%;
    border-radius: 8px;
    font-size: 9px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #1f8bd2;
}
@media (max-width: 1200px) {
    .currency-rankings {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tops-content {
        flex-direction: column;
    }
    
    .tops-left,
    .tops-right {
        width: 100%;
    }
    
    .currency-rankings {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .podium-chart {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .currency-rankings {
        grid-template-columns: 1fr;
    }
    
    .podium-chart {
        gap: 15px;
    }
    
    .podium-bar {
        width: 55px;
    }
    
    .bar-1 {
        height: 140px;
        background-size: 55px 140px;
    }
    
    .bar-2 {
        height: 110px;
        background-size: 55px 110px;
    }
    
    .bar-3 {
        height: 90px;
        background-size: 55px 90px;
    }
    
    .podium-place {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width: 576px) {
    .tops-header-title {
        font-size: 18px;
    }
    
    .podium-chart {
        gap: 8px;
    }
    
    .podium-bar {
        width: 45px;
    }
    
    .bar-1 {
        height: 110px;
        background-size: 45px 110px;
    }
    
    .bar-2 {
        height: 90px;
        background-size: 45px 90px;
    }
    
    .bar-3 {
        height: 70px;
        background-size: 45px 70px;
    }
    
    .podium-place {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .top3-item {
        padding: 10px;
    }
    
    .top3-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .ranking-title {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .podium-chart {
        gap: 5px;
    }
    
    .podium-bar {
        width: 40px;
    }
    
    .bar-1 {
        height: 95px;
        background-size: 40px 95px;
    }
    
    .bar-2 {
        height: 80px;
        background-size: 40px 80px;
    }
    
    .bar-3 {
        height: 65px;
        background-size: 40px 65px;
    }
    
    .podium-place {
        font-size: 10px;
        padding: 2px 5px;
    }
}