/* =========================
   RANKING – MINIMAL MODERN
========================= */
.ranking-container{
    width: 100%;
    padding: 2.5rem 1rem;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    background: linear-gradient(
        180deg,
        #0e0e13 0%,
        #0a0a0f 100%
    );
}

/* =========================
   CONTROL BUTTONS
========================= */
.ranking-container__control-container{
    width: 70%;
    max-width: 34.375rem;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: .5rem;
    overflow: hidden;
}

.ranking-container__control-button{
    padding: .9rem;
    background: transparent;

    color: #a0a0b0;
    font-size: 1rem;
    font-weight: 500;

    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.ranking-container__control-button:hover{
    background: rgba(255,255,255,.05);
    color: #eaeaf0;
}

.ranking-container__control-button--selected{
    background: rgba(122,162,255,.15);
    color: #ffffff;
}

/* =========================
   LOGO
========================= */
.ranking-container__logo{
    width: 22rem;
    opacity: .9;
}

/* =========================
   TABLE CONTAINER
========================= */
.ranking-container__table-container{
    width: 80%;
}

/* =========================
   TABLE
========================= */
.ranking-container__table{
    width: 100%;
    border-spacing: 0;
    border-radius: .5rem;
    overflow: hidden;

    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
}

/* header */
.ranking-container__table thead tr{
    background: rgba(255,255,255,.04);
}

.ranking-container__table th{
    padding: .7rem 0;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #dcdcec;
}

/* rows */
.ranking-container__table td{
    padding: .7rem 0;
    font-size: .85rem;
    color: #b8b8c7;
    transition: color .15s ease;
}

.ranking-container__table tbody tr{
    transition: background .15s ease;
}

.ranking-container__table tbody tr:nth-child(even){
    background: rgba(255,255,255,.015);
}

.ranking-container__table tbody tr:hover{
    background: rgba(122,162,255,.08);
}

/* =========================
   LINK
========================= */
.ranking-container__link-container{
    padding: .5rem;
}

.ranking-container__link{
    font-size: .85rem;
    font-weight: 500;
    color: #cfd3ff;
    transition: opacity .15s ease;
}

.ranking-container__link:hover{
    opacity: .75;
}

/* =========================
   STATES
========================= */
.ranking-container--hidden{
    display: none !important;
}

/* =========================
   RESPONSIVE
========================= */
@media only screen and (max-width: 37.5rem){
    .ranking-container__logo{
        width: 16rem;
    }

    .ranking-container__table-container{
        width: 95%;
    }

    .ranking-container__control-container{
        width: 90%;
    }
}