:root {
    --ranking-gold: #f4c95d;
    --ranking-gold-strong: #ffd978;
    --ranking-panel: rgba(12, 14, 20, 0.88);
    --ranking-panel-soft: rgba(255, 255, 255, 0.055);
    --ranking-border: rgba(244, 201, 93, 0.22);
    --ranking-text: #f4f0e6;
    --ranking-muted: #a9adba;
}

body {
    background: #03060c;
}

.ranking1-page {
    position: relative;
    min-height: calc(100vh - 110px);
    padding: 78px 0 92px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(244, 201, 93, 0.17), transparent 32%),
        radial-gradient(circle at top right, rgba(95, 144, 255, 0.13), transparent 28%),
        linear-gradient(180deg, rgba(3, 6, 12, 0.48), rgba(3, 6, 12, 0.94)),
        url('../../img/HH/wallpaper/wallpaper-hh.png') center top / cover no-repeat;
}

.ranking1-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.72)),
        radial-gradient(circle at 50% 35%, rgba(244, 201, 93, 0.13), transparent 36%);
    pointer-events: none;
}

.ranking1-page::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 210px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
    pointer-events: none;
}

.ranking1-container {
    position: relative;
    z-index: 1;
    max-width: 1320px;
}

.ranking1-hero,
.ranking1-panel,
.ranking1-tabs {
    border: 1px solid var(--ranking-border);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        var(--ranking-panel);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.ranking1-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    margin-bottom: 22px;
    padding: clamp(28px, 4vw, 54px);
}

.ranking1-hero::before,
.ranking1-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0%, rgba(244, 201, 93, 0.13) 48%, transparent 72%),
        radial-gradient(circle at 84% 12%, rgba(244, 201, 93, 0.2), transparent 24%);
}

.ranking1-hero-content,
.ranking1-hero-stats,
.ranking1-panel > * {
    position: relative;
    z-index: 1;
}

.ranking1-eyebrow,
.ranking1-panel-kicker,
.ranking1-page-badge,
.ranking1-tab {
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ranking1-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 13px;
    border: 1px solid rgba(244, 201, 93, 0.3);
    border-radius: 999px;
    color: var(--ranking-gold-strong);
    background: rgba(244, 201, 93, 0.09);
    font-size: 12px;
    font-weight: 700;
}

.ranking1-title {
    margin: 0 0 13px;
    color: var(--ranking-text);
    font-family: "Marcellus SC", serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.98;
    text-transform: uppercase;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.6);
}

.ranking1-subtitle {
    max-width: 760px;
    margin: 0;
    color: var(--ranking-muted);
    font-size: 17px;
    line-height: 1.7;
}

.ranking1-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 14px;
    min-width: 390px;
}

.ranking1-stat {
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    text-align: center;
}

.ranking1-stat span {
    display: block;
    color: var(--ranking-gold-strong);
    font-family: "Marcellus SC", serif;
    font-size: 30px;
    line-height: 1;
}

.ranking1-stat small {
    display: block;
    margin-top: 8px;
    color: var(--ranking-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ranking1-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    padding: 14px;
}

.ranking1-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ranking-muted);
    background: rgba(255, 255, 255, 0.035);
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.ranking1-tab:hover,
.ranking1-tab.is-active {
    color: #111;
    border-color: rgba(244, 201, 93, 0.65);
    background: linear-gradient(135deg, var(--ranking-gold), var(--ranking-gold-strong));
    text-decoration: none;
    transform: translateY(-2px);
}

.ranking1-panel {
    position: relative;
    overflow: hidden;
}

.ranking1-panel::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--ranking-gold), #fff1b8, var(--ranking-gold));
}

.ranking1-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 28px 30px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking1-panel-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--ranking-gold-strong);
    font-size: 12px;
    font-weight: 700;
}

.ranking1-panel h2 {
    margin: 0;
    color: var(--ranking-text);
    font-family: "Marcellus SC", serif;
    font-size: 30px;
    text-transform: uppercase;
}

.ranking1-page-badge {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(244, 201, 93, 0.26);
    border-radius: 999px;
    color: var(--ranking-gold-strong);
    background: rgba(244, 201, 93, 0.08);
    font-size: 11px;
    font-weight: 700;
}

.ranking1-table-wrap {
    overflow-x: auto;
}

.ranking1-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    color: var(--ranking-text);
}

.ranking1-table thead th {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(244, 201, 93, 0.22);
    color: var(--ranking-gold-strong);
    background: rgba(0, 0, 0, 0.28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ranking1-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking1-table tbody tr:hover {
    background: rgba(244, 201, 93, 0.08);
}

.ranking1-table td {
    padding: 17px 22px;
    color: var(--ranking-muted);
    vertical-align: middle;
    white-space: nowrap;
}

.ranking1-table td strong {
    color: var(--ranking-text);
    font-weight: 700;
}

.ranking1-rank,
.ranking1-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--ranking-text);
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.ranking1-rank.is-podium,
.ranking1-level {
    border-color: rgba(244, 201, 93, 0.45);
    color: var(--ranking-gold-strong);
    background: rgba(244, 201, 93, 0.1);
}

.ranking1-class {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ranking1-class img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 201, 93, 0.18), rgba(0, 0, 0, 0.28));
    box-shadow: 0 0 18px rgba(244, 201, 93, 0.12);
}

.ranking1-empty {
    padding: 34px 22px !important;
    text-align: center;
}

.ranking1-pagination {
    padding: 24px 20px 30px;
}

.ranking1-pagination .pagination {
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
}

.ranking1-pagination .page-link {
    min-width: 40px;
    border: 1px solid rgba(244, 201, 93, 0.22);
    color: var(--ranking-gold-strong);
    background: rgba(0, 0, 0, 0.45);
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ranking1-pagination .page-link:hover,
.ranking1-pagination .page-item.active .page-link {
    border-color: rgba(244, 201, 93, 0.7);
    color: #111;
    background: linear-gradient(135deg, var(--ranking-gold), var(--ranking-gold-strong));
}

.ranking1-pagination .page-item.disabled .page-link {
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.28);
}

@media (max-width: 991px) {
    .ranking1-hero {
        grid-template-columns: 1fr;
    }

    .ranking1-hero-stats {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .ranking1-page {
        padding: 46px 0 66px;
    }

    .ranking1-hero,
    .ranking1-panel-header {
        padding: 24px 18px;
    }

    .ranking1-hero-stats {
        grid-template-columns: 1fr;
    }

    .ranking1-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ranking1-table thead th,
    .ranking1-table td {
        padding: 14px 16px;
    }
}