/*
|--------------------------------------------------------------------------
| LEADERBOARD PAGE
|--------------------------------------------------------------------------
*/
.leaderboard-page {
    background: #f7f8fa;
    min-height: 100vh;
}
/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/
.leaderboard-hero {
    position: relative;
    padding: 90px 20px 80px;
    background: #111827;
    color: #ffffff;
    overflow: hidden;
}
.leaderboard-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -220px;
    right: -120px;
}
.leaderboard-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    bottom: -180px;
    left: -100px;
}
.leaderboard-hero .container {
    position: relative;
    z-index: 2;
}
.leaderboard-hero .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c9a227;
}
.leaderboard-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}
.leaderboard-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.7;
}
/*
|--------------------------------------------------------------------------
| MAIN SECTION
|--------------------------------------------------------------------------
*/
.leaderboard-section {
    padding: 70px 20px 100px;
}
/*
|--------------------------------------------------------------------------
| FILTER
|--------------------------------------------------------------------------
*/
.leaderboard-filter {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 55px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}


.leaderboard-filter label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #6b7280;
}
.leaderboard-filter select {
    min-width: 280px;
    padding: 13px 42px 13px 16px;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.leaderboard-filter select:focus {
    border-color: #111827;
}
/*
|--------------------------------------------------------------------------
| HEADING
|--------------------------------------------------------------------------
*/
.leaderboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}
.leaderboard-heading .eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #9ca3af;
}
.leaderboard-heading h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -1px;
}
/*
|--------------------------------------------------------------------------
| LIVE STATUS
|--------------------------------------------------------------------------
*/
.leaderboard-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 50px;
    background: #ecfdf3;
    color: #16834d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}
/*
|--------------------------------------------------------------------------
| LEADERBOARD LIST
|--------------------------------------------------------------------------
*/
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/*
|--------------------------------------------------------------------------
| LEADERBOARD ITEM
|--------------------------------------------------------------------------
*/
.leaderboard-item {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr) 180px 100px;
    align-items: center;
    gap: 25px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.leaderboard-item:hover {
    transform: translateY(-2px);
    border-color: #d6dae1;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}
/*
|--------------------------------------------------------------------------
| FIRST PLACE
|--------------------------------------------------------------------------
*/
.leaderboard-first {
    border-color: rgba(201, 162, 39, 0.4);
    background:
        linear-gradient(135deg,
            #ffffff 0%,
            #fffdf5 100%);
    box-shadow:
        0 10px 35px rgba(201, 162, 39, 0.08);
}
.leaderboard-first:hover {
    border-color: rgba(201, 162, 39, 0.65);
}
/*
|--------------------------------------------------------------------------
| RANK
|--------------------------------------------------------------------------
*/
.leaderboard-rank {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
}
.leaderboard-rank strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f1f3f6;
    color: #374151;
    font-size: 16px;
    font-weight: 800;
}
.leaderboard-first .leaderboard-rank strong {
    background: #c9a227;
    color: #ffffff;
}
.rank-crown {
    position: absolute;
    top: -13px;
    font-size: 16px;
}
/*
|--------------------------------------------------------------------------
| NOMINEE
|--------------------------------------------------------------------------
*/
.leaderboard-nominee {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.leaderboard-photo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef0f3;
}
.leaderboard-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.leaderboard-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #111827;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
}
.leaderboard-nominee-info {
    min-width: 0;
}
.leaderboard-nominee-info h3 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 16px;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.leaderboard-nominee-info span {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.leaderboard-nominee-info small {
    display: block;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
}
/*
|--------------------------------------------------------------------------
| VOTES
|--------------------------------------------------------------------------
*/
.leaderboard-votes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.leaderboard-votes strong {
    color: #111827;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}
.leaderboard-votes span {
    margin-top: 4px;
    color: #9ca3af;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}
/*
|--------------------------------------------------------------------------
| VIEW BUTTON
|--------------------------------------------------------------------------
*/
.leaderboard-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 15px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.leaderboard-view-button span {
    transition: transform 0.2s ease;
}
.leaderboard-view-button:hover {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}
.leaderboard-view-button:hover span {
    transform: translateX(3px);
}
/*
|--------------------------------------------------------------------------
| EMPTY / MESSAGE
|--------------------------------------------------------------------------
*/
.leaderboard-message {
    padding: 80px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
}
.leaderboard-message-icon {
    margin-bottom: 18px;
    font-size: 38px;
}
.leaderboard-message h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 22px;
}
.leaderboard-message p {
    max-width: 500px;
    margin: 0 auto;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}
/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/
@media (max-width: 900px) {
    .leaderboard-item {
        grid-template-columns:
            60px minmax(0, 1fr) 140px 90px;
        gap: 15px;
        padding: 16px;
    }
    .leaderboard-photo {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }
    .leaderboard-votes strong {
        font-size: 19px;
    }
}
/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/
@media (max-width: 700px) {
    .leaderboard-hero {
        padding: 65px 20px 60px;
    }
    .leaderboard-hero h1 {
        font-size: 43px;
        letter-spacing: -1.5px;
    }
    .leaderboard-hero p {
        font-size: 15px;
    }
    .leaderboard-section {
        padding: 40px 15px 70px;
    }
    /*
    |--------------------------------------------------------------------------
    | FILTER
    |--------------------------------------------------------------------------
    */
    .leaderboard-filter {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 40px;
        padding: 16px;
    }
    .leaderboard-filter select {
        width: 100%;
        min-width: 0;
    }
    /*
    |--------------------------------------------------------------------------
    | HEADING
    |--------------------------------------------------------------------------
    */
    .leaderboard-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 22px;
    }
    .leaderboard-heading h2 {
        font-size: 29px;
    }
    /*
    |--------------------------------------------------------------------------
    | ITEM
    |--------------------------------------------------------------------------
    */
    .leaderboard-item {
        grid-template-columns:
            45px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px;
        border-radius: 12px;
    }
    /*
    |--------------------------------------------------------------------------
    | RANK
    |--------------------------------------------------------------------------
    */
    .leaderboard-rank {
        min-height: 48px;
    }
    .leaderboard-rank strong {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .rank-crown {
        top: -10px;
        font-size: 13px;
    }
    /*
    |--------------------------------------------------------------------------
    | NOMINEE
    |--------------------------------------------------------------------------
    */
    .leaderboard-nominee {
        gap: 10px;
    }
    .leaderboard-photo {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }
    .leaderboard-nominee-info h3 {
        font-size: 14px;
    }
    .leaderboard-nominee-info span {
        font-size: 11px;
    }
    .leaderboard-nominee-info small {
        font-size: 8px;
    }
    /*
    |--------------------------------------------------------------------------
    | VOTES
    |--------------------------------------------------------------------------
    */
    .leaderboard-votes {
        align-items: flex-end;
    }
    .leaderboard-votes strong {
        font-size: 17px;
    }
    .leaderboard-votes span {
        font-size: 7px;
        text-align: right;
    }
    /*
    |--------------------------------------------------------------------------
    | BUTTON
    |--------------------------------------------------------------------------
    */
    .leaderboard-view-button {
        display: none;
    }
}
/*
|--------------------------------------------------------------------------
| SMALL MOBILE
|--------------------------------------------------------------------------
*/
@media (max-width: 420px) {
    .leaderboard-hero {
        padding: 55px 18px 50px;
    }
    .leaderboard-hero h1 {
        font-size: 36px;
    }
    .leaderboard-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    .leaderboard-item {
        grid-template-columns:
            38px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 12px 10px;
    }
    .leaderboard-photo {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
    }
    .leaderboard-rank strong {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .leaderboard-nominee-info h3 {
        font-size: 13px;
    }
    .leaderboard-nominee-info span {
        font-size: 10px;
    }
    .leaderboard-votes strong {
        font-size: 15px;
    }
}