/* =========================
   Top Tipsters Page
   Uses existing pp-home layout
========================= */

.tipsters-hero-box {
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 20%, rgba(139, 92, 246, .28), transparent 32%),
        linear-gradient(135deg, rgba(26, 43, 83, .96), rgba(45, 23, 52, .95));
    border: 1px solid rgba(96, 165, 250, .22);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .26);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    overflow: hidden;
}

.tipsters-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.tipsters-hero-box h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -.04em;
}

.tipsters-hero-box p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #d7e5ff;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
}

.tipsters-trophy {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(96, 165, 250, .20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    flex: 0 0 112px;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04),
        0 0 44px rgba(96, 165, 250, .24);
}

.tipsters-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.tipsters-summary-card {
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(17, 31, 59, .96), rgba(8, 17, 34, .98));
    border: 1px solid rgba(96, 165, 250, .18);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .20);
}

.tipsters-summary-card span {
    display: block;
    color: #8db7ff;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tipsters-summary-card strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}

.tipsters-summary-card small {
    display: block;
    margin-top: 8px;
    color: #9fb0c7;
    font-size: 12px;
    font-weight: 800;
}

.tipsters-board-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 29, 55, .97), rgba(8, 17, 34, .98));
    border: 1px solid rgba(96, 165, 250, .20);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
}

.tipsters-board-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.tipsters-board-head h2 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.03em;
}

.tipsters-board-head p {
    margin: 6px 0 0;
    color: #9fb0c7;
    font-size: 13px;
    font-weight: 700;
}

.tipsters-empty {
    padding: 22px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px dashed rgba(255,255,255,.14);
    color: #b8c7e6;
    font-size: 14px;
    font-weight: 850;
}

.tipsters-table-wrap {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tipsters-table-wrap::-webkit-scrollbar {
    height: 6px;
}

.tipsters-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, .45);
    border-radius: 999px;
}

.tipsters-table {
    min-width: 860px;
    display: flex;
    flex-direction: column;
}

.tipsters-row {
    display: grid;
    grid-template-columns: 74px minmax(230px, 1.3fr) 110px 92px 92px 96px 82px 82px;
    gap: 12px;
    align-items: center;
    min-height: 68px;
    padding: 0 12px;
    border-radius: 13px;
    color: #eaf2ff;
    border-bottom: 1px solid rgba(255,255,255,.055);
    transition: .16s ease;
}

.tipsters-row:not(.tipsters-head):hover {
    background: rgba(59, 130, 246, .09);
}

.tipsters-row.is-top-rank {
    background:
        linear-gradient(90deg, rgba(250, 204, 21, .10), rgba(59, 130, 246, .035));
    border: 1px solid rgba(250, 204, 21, .12);
    margin-bottom: 8px;
}

.tipsters-head {
    min-height: 42px;
    color: #8fa3c7;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: rgba(255,255,255,.025);
}

.tipsters-row span {
    font-size: 13px;
    font-weight: 850;
}

.tipsters-rank-cell {
    font-size: 19px !important;
    font-weight: 950 !important;
}

.tipsters-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tipsters-user-cell > b {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    box-shadow: 0 12px 28px rgba(59, 130, 246, .25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
    flex: 0 0 42px;
}

.tipsters-user-cell > span {
    min-width: 0;
    display: block;
}

.tipsters-user-cell strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tipsters-user-cell small {
    display: block;
    margin-top: 4px;
    color: #8fa3c7;
    font-size: 11px;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tipsters-points-cell {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .16);
    border: 1px solid rgba(59, 130, 246, .25);
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950 !important;
}

.is-plus {
    color: #22c55e !important;
}

.is-minus {
    color: #ef4444 !important;
}

/* Mobile cards style */
@media (max-width: 980px) {
    .tipsters-hero-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .tipsters-trophy {
        width: 86px;
        height: 86px;
        border-radius: 22px;
        font-size: 46px;
    }

    .tipsters-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .tipsters-board-card {
        padding: 14px;
    }

    .tipsters-table {
        min-width: 0;
        gap: 12px;
    }

    .tipsters-head {
        display: none;
    }

    .tipsters-row {
        display: block;
        min-height: auto;
        padding: 14px;
        border: 1px solid rgba(255,255,255,.075);
        background: rgba(255,255,255,.035);
        margin-bottom: 12px;
    }

    .tipsters-row span {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 7px 0;
        border-bottom: 1px solid rgba(255,255,255,.055);
    }

    .tipsters-row span:last-child {
        border-bottom: 0;
    }

    .tipsters-rank-cell::before {
        content: "Rank";
        color: #8fa3c7;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .tipsters-user-cell {
        display: flex !important;
        justify-content: flex-start !important;
        padding-bottom: 12px !important;
    }

    .tipsters-user-cell::before {
        content: "";
        display: none;
    }

    .tipsters-row span:nth-child(3)::before {
        content: "Predictions";
        color: #8fa3c7;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .tipsters-row span:nth-child(4)::before {
        content: "W/L/P";
        color: #8fa3c7;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .tipsters-row span:nth-child(5)::before {
        content: "Win Rate";
        color: #8fa3c7;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .tipsters-row span:nth-child(6)::before {
        content: "Profit";
        color: #8fa3c7;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .tipsters-row span:nth-child(7)::before {
        content: "ROI";
        color: #8fa3c7;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .tipsters-row span:nth-child(8)::before {
        content: "Points";
        color: #8fa3c7;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

    .tipsters-points-cell {
        justify-content: space-between;
        border-radius: 9px;
    }
}