.hall-of-fame-page {
    max-width: 1480px;
    margin: 0 auto 3rem;
    padding: 0 0.5rem;
}

.head-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    padding: 0.5rem 0 1.25rem;
}

.head-kicker,
.head-period {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 24, 37, 0.88);
    color: #9ca7bc;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.head-page h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #f7f9ff;
}

.head-page p {
    max-width: 680px;
    margin: 0;
    color: #94a0b6;
    line-height: 1.6;
}

.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 18px;
}

.fame-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(111, 129, 171, 0.2);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(28, 36, 54, 0.96), rgba(18, 24, 37, 0.96)),
        linear-gradient(135deg, rgba(209, 3, 184, 0.08), rgba(76, 163, 255, 0.08));
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.fame-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fame-title {
    color: #f8faff;
    font-size: 1rem;
    font-weight: 700;
}

.fame-subtitle {
    margin-top: 0.3rem;
    color: #8190ab;
    font-size: 0.84rem;
    line-height: 1.45;
}

.award-tabs {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 10px;
    background: rgba(10, 14, 23, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.award-tabs button {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #91a0bb;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.award-tabs button:hover {
    color: #f5f8ff;
}

.award-tabs button.active {
    background: linear-gradient(135deg, rgba(209, 3, 184, 0.18), rgba(79, 159, 255, 0.22));
    color: #ffffff;
}

.leaderboard-tab {
    display: none;
}

.leaderboard-tab.active {
    display: block;
}

.award-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.award-panel-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.award-side,
.award-metric {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #d2dbed;
    font-size: 0.76rem;
    font-weight: 700;
}

.award-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.award-summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 78px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-label {
    color: #8290ab;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.award-summary-card strong {
    color: #f8fbff;
    font-size: 1.05rem;
    font-weight: 700;
}

.award-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.podium-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.podium-card.is-gold {
    background: linear-gradient(180deg, rgba(255, 215, 112, 0.14), rgba(255, 255, 255, 0.04));
}

.podium-card.is-silver {
    background: linear-gradient(180deg, rgba(198, 208, 228, 0.14), rgba(255, 255, 255, 0.04));
}

.podium-card.is-bronze {
    background: linear-gradient(180deg, rgba(201, 145, 106, 0.14), rgba(255, 255, 255, 0.04));
}

.podium-place {
    color: #f7fbff;
    font-size: 0.8rem;
    font-weight: 700;
}

.podium-name {
    color: #ffffff;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podium-value {
    color: #d7e1f2;
    font-size: 0.92rem;
    font-weight: 600;
}

.podium-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.podium-bar span,
.progress .background {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d103b8, #64b7ff);
}

.leaderboard-table {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.leaderboard-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.leaderboard-table thead th {
    background: rgba(7, 11, 19, 0.78);
    color: #91a0bb;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 11px 12px;
    text-align: left;
}

.leaderboard-table td {
    padding: 11px 12px;
    font-size: 0.88rem;
    color: #edf2ff;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.leaderboard-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.035);
}

.rank-col {
    width: 72px;
}

.value-col {
    width: 42%;
}

.rank-cell {
    text-align: center;
}

.medal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d111a;
}

.medal-gold {
    background: linear-gradient(135deg, #ffe08a, #ffc83a);
}

.medal-silver {
    background: linear-gradient(135deg, #f1f5fb, #bbc7da);
}

.medal-bronze {
    background: linear-gradient(135deg, #e4b38d, #bd784c);
}

.medal-plain {
    background: rgba(255, 255, 255, 0.08);
    color: #dbe4f5;
}

.medal-user {
    background: linear-gradient(135deg, #2bc990, #7ae7be);
}

.profile-link {
    color: #f7faff;
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-link:hover {
    color: #86c6ff;
}

.profile-self {
    color: #7ae7be;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat .value {
    color: #ffffff;
    font-weight: 700;
}

.progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

tr.you td {
    background: rgba(40, 103, 81, 0.18) !important;
}

.award-locked,
.award-empty {
    padding: 18px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #97a3b8;
    text-align: center;
}

.award-locked-title {
    color: #ffd78a;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.award-locked p {
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .award-summary,
    .award-podium {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hall-of-fame-page {
        padding: 0;
    }

    .list {
        grid-template-columns: 1fr;
    }

    .fame-table {
        padding: 14px;
    }

    .award-tabs {
        width: 100%;
    }

    .leaderboard-table {
        overflow-x: auto;
    }

    .leaderboard-table table {
        min-width: 460px;
    }
}
