/* ============================================================
   WIKI — RANKINGS DO ÉDEN
   Painel central de rankings com identidade do site
   (dark green + gold — tokens de eden-wiki-v2.css).
   Usado em:
   - themes/trend/ajax/rankings.html (seções da wiki)
   - themes/trend/ranking/rankings.php (página standalone + ajax)
   ============================================================ */

/* ---- TOKENS ---- */
:root {
    --rk-bg:        #020f0a;
    --rk-bg-card:   rgba(10, 26, 20, 0.6);
    --rk-green:     #1f6b41;
    --rk-green-l:   #2a8f56;
    --rk-green-d:   #0d3824;
    --rk-gold:      #e5bd64;
    --rk-gold-l:    #fff0a8;
    --rk-gold-d:    #d4a854;
    --rk-text:      #f4ead0;
    --rk-text-2:    #c9b5a0;
    --rk-muted:     #8b7a68;
    --rk-border:    rgba(229, 189, 100, 0.2);
    --rk-border-l:  rgba(229, 189, 100, 0.1);
    --rk-gold-1:    #ffd76e;
    --rk-silver:    #cdd6e0;
    --rk-bronze:    #db8a5f;
}

/* ---- ÍCONES SVG (substituem emojis) ---- */
.rk-ico {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.rk-hero-stat-ico .rk-ico,
.rk-block-ico .rk-ico,
.rk-season-ico .rk-ico,
.rk-reward-ico .rk-ico {
    display: block;
    margin: auto;
}

.rk-medal-gold {
    color: var(--rk-gold-1);
    filter: drop-shadow(0 0 6px rgba(255, 215, 110, 0.4));
}

.rk-medal-silver {
    color: var(--rk-silver);
    filter: drop-shadow(0 0 5px rgba(205, 214, 224, 0.35));
}

.rk-medal-bronze {
    color: var(--rk-bronze);
    filter: drop-shadow(0 0 5px rgba(219, 138, 95, 0.35));
}

/* ============================================================
   HERO
   ============================================================ */
.rk-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 30px;
    padding: 40px 34px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% -12%, rgba(42, 143, 86, 0.25), transparent 48%),
        radial-gradient(circle at 4% 112%, rgba(229, 189, 100, 0.16), transparent 52%),
        linear-gradient(135deg, rgba(4, 16, 12, 0.98), rgba(10, 26, 20, 0.98));
    border: 1px solid var(--rk-border);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35), inset 0 0 70px rgba(42, 143, 86, 0.05);
}

/* selo vincado ao fundo */
.rk-hero::after {
    content: "🏆";
    position: absolute;
    right: 18px;
    top: -20px;
    font-size: 150px;
    line-height: 1;
    color: rgba(229, 189, 100, 0.07);
    pointer-events: none;
    text-shadow: 0 0 60px rgba(229, 189, 100, 0.35);
}

.rk-hero-tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(229, 189, 100, 0.1);
    border: 1px solid var(--rk-border);
    color: var(--rk-gold-l);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.rk-hero h1,
.rk-hero h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: var(--rk-gold-l);
    font-family: 'Cinzel', serif;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rk-hero p {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    max-width: 760px;
    color: var(--rk-text-2);
    font-size: 15px;
    line-height: 1.8;
}

.rk-hero p strong {
    color: var(--rk-gold);
}

/* ---- mini-stats do hero ---- */
.rk-hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.rk-hero-stat {
    padding: 16px 14px;
    border-radius: 14px;
    background: rgba(2, 15, 10, 0.55);
    border: 1px solid var(--rk-border-l);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: 0.22s ease;
}

.rk-hero-stat:hover {
    border-color: rgba(229, 189, 100, 0.45);
    transform: translateY(-2px);
}

.rk-hero-stat-ico {
    font-size: 20px;
}

.rk-hero-stat strong {
    color: var(--rk-gold-l);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rk-hero-stat small {
    color: var(--rk-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* ============================================================
   RECOMPENSAS MENSAIS (futuras)
   ============================================================ */
.rk-rewards {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    padding: 20px 22px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 50%, rgba(229, 189, 100, 0.1), transparent 45%),
        rgba(10, 26, 20, 0.6);
    border: 1px solid var(--rk-border);
}

.rk-reward-ico {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(229, 189, 100, 0.1);
    border: 1px solid var(--rk-border);
    font-size: 24px;
}

.rk-reward-body {
    flex: 1;
    min-width: 0;
}

.rk-reward-body strong {
    display: block;
    margin-bottom: 4px;
    color: var(--rk-gold-l);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rk-reward-body p {
    margin: 0;
    color: var(--rk-text-2);
    font-size: 13px;
    line-height: 1.7;
}

.rk-reward-body p strong {
    display: inline;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    text-transform: none;
    letter-spacing: 0;
    color: var(--rk-gold);
}

.rk-reward-soon span {
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(229, 189, 100, 0.12);
    border: 1px dashed rgba(229, 189, 100, 0.4);
    color: var(--rk-gold-l);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================================
   PAINEL CENTRAL — tabs
   ============================================================ */
.rk-wiki-sec .rk-lead {
    margin: -8px 0 16px;
    color: var(--rk-muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 820px;
}

.rk-hub {
    position: relative;
    margin-bottom: 8px;
}

.rk-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.rk-tab {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(31, 107, 65, 0.22), rgba(2, 15, 10, 0.6));
    border: 1px solid var(--rk-border);
    color: var(--rk-text-2);
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.22s ease;
}

.rk-tab .rk-ico {
    opacity: 0.75;
    transition: opacity 0.22s ease;
}

.rk-tab:hover {
    border-color: rgba(229, 189, 100, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 189, 100, 0.18);
}

.rk-tab:hover .rk-ico {
    opacity: 1;
}

.rk-tab.is-active {
    color: #0a1a14;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 45%),
        linear-gradient(135deg, var(--rk-gold), var(--rk-gold-d));
    border-color: var(--rk-gold-l);
    transform: translateY(-1px);
    box-shadow:
        0 0 22px rgba(229, 189, 100, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.rk-tab.is-active .rk-ico {
    opacity: 1;
}

/* ============================================================
   BLOCOS (renderizados por categoria)
   ============================================================ */
.rk-panels {
    position: relative;
}

.rk-block {
    display: none;
    animation: rkFade 0.35s ease;
}

.rk-block.is-active {
    display: block;
}

@keyframes rkFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rk-block-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rk-border-l);
}

.rk-block-ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(31, 107, 65, 0.18);
    border: 1px solid var(--rk-border);
    font-size: 20px;
}

.rk-block-titles {
    flex: 1;
    min-width: 0;
}

.rk-block-titles h3 {
    margin: 0 0 3px;
    color: var(--rk-gold-l);
    font-family: 'Cinzel', serif;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rk-block-titles p {
    margin: 0;
    color: var(--rk-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.rk-link-full {
    flex-shrink: 0;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid var(--rk-border);
    background: rgba(31, 107, 65, 0.15);
    color: var(--rk-gold-l);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: all 0.22s ease;
}

.rk-link-full:hover {
    background: rgba(42, 143, 86, 0.3);
    border-color: rgba(255, 240, 168, 0.45);
    transform: translateY(-1px);
}

/* ============================================================
   CONTROLES (busca + filtro) e PAGINADOR
   ============================================================ */
.rk-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(1, 8, 5, 0.35);
    border: 1px solid var(--rk-border-l);
}

.rk-search {
    flex: 1 1 240px;
    min-width: 180px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--rk-border);
    background: rgba(2, 15, 10, 0.7);
    color: var(--rk-text);
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.rk-search::placeholder {
    color: var(--rk-muted);
}

.rk-search:focus {
    border-color: rgba(255, 240, 168, 0.5);
}

.rk-filter-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rk-filter-label {
    color: var(--rk-muted);
    font-size: 12px;
}

.rk-filter {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--rk-border);
    background: rgba(2, 15, 10, 0.7);
    color: var(--rk-text-2);
    font: inherit;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.rk-filter:focus {
    border-color: rgba(255, 240, 168, 0.5);
}

.rk-filter-apply {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--rk-gold-d);
    background: linear-gradient(135deg, var(--rk-gold), var(--rk-gold-l));
    color: #0a1a14;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.22s ease;
}

.rk-filter-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 189, 100, 0.25);
}

.rk-count {
    margin-left: auto;
    color: var(--rk-muted);
    font-size: 12px;
    white-space: nowrap;
}

.rk-count-hint {
    font-size: 11.5px;
}

.rk-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 20px 0 4px;
}

.rk-page {
    min-width: 36px;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid var(--rk-border);
    background: rgba(2, 15, 10, 0.6);
    color: var(--rk-text-2);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rk-page:hover {
    border-color: var(--rk-gold-d);
    color: var(--rk-gold-l);
}

.rk-page.is-active {
    background: linear-gradient(135deg, var(--rk-gold), var(--rk-gold-d));
    border-color: transparent;
    color: #0a1a14;
    cursor: default;
}

.rk-page-nav {
    font-size: 16px;
    line-height: 1;
}

.rk-page-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.rk-page-ellipsis {
    border-color: transparent;
    background: transparent;
    cursor: default;
    pointer-events: none;
}

/* ============================================================
   PÓDIO
   ============================================================ */
.rk-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin: 26px 0 30px;
    padding: 8px 8px 0;
}

.rk-pod {
    flex: 1;
    max-width: 240px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 24px 16px 20px;
    border-radius: 18px 18px 10px 10px;
    background: rgba(2, 15, 10, 0.6);
    border: 1px solid var(--rk-border);
    position: relative;
    text-align: center;
    transition: all 0.25s ease;
}

.rk-pod:hover {
    transform: translateY(-4px);
}

/* Alturas de pódio */
.rk-pod-1 { padding-top: 34px; }
.rk-pod-2 { padding-bottom: 16px; }
.rk-pod-3 { padding-bottom: 14px; }

/* Base do pódio */
.rk-pod::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -7px;
    height: 8px;
    border-radius: 4px;
    background: rgba(229, 189, 100, 0.12);
    border: 1px solid var(--rk-border-l);
}

.rk-pod-empty {
    min-height: 150px;
    justify-content: center;
    opacity: 0.35;
}

.rk-pod-medal {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rk-pod-rank {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rk-pod-1 .rk-pod-rank         { color: var(--rk-gold-1); }
.rk-pod-2 .rk-pod-rank         { color: var(--rk-silver); }
.rk-pod-3 .rk-pod-rank         { color: var(--rk-bronze); }

.rk-pod-name {
    margin-top: 6px;
    color: var(--rk-gold-l);
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

.rk-pod-name .rk-player {
    color: var(--rk-gold-l);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 240, 168, 0.35);
    transition: 0.2s ease;
}

.rk-pod-name .rk-player:hover {
    color: #fff;
    border-color: #fff;
}

.rk-pod-value {
    color: var(--rk-gold);
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}

.rk-pod-sub {
    color: var(--rk-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* realce por colocação */
.rk-pod-1 {
    background:
        radial-gradient(circle at 50% 0%, rgba(229, 189, 100, 0.18), transparent 60%),
        rgba(2, 15, 10, 0.72);
    border-color: rgba(255, 215, 110, 0.55);
    box-shadow: 0 0 34px rgba(229, 189, 100, 0.14);
}

.rk-pod-2 {
    background:
        radial-gradient(circle at 50% 0%, rgba(205, 214, 224, 0.12), transparent 60%),
        rgba(2, 15, 10, 0.62);
    border-color: rgba(205, 214, 224, 0.35);
}

.rk-pod-3 {
    background:
        radial-gradient(circle at 50% 0%, rgba(219, 138, 95, 0.12), transparent 60%),
        rgba(2, 15, 10, 0.62);
    border-color: rgba(219, 138, 95, 0.38);
}

/* ============================================================
   TABELA (restante do ranking)
   ============================================================ */
.rk-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--rk-border);
    background: rgba(1, 8, 5, 0.35);
}

.rk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rk-table th {
    padding: 12px 16px;
    text-align: left;
    background: linear-gradient(135deg, var(--rk-green), var(--rk-green-l));
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--rk-border);
    white-space: nowrap;
}

.rk-table td {
    padding: 12px 16px;
    color: var(--rk-text-2);
    border-bottom: 1px solid var(--rk-border-l);
    vertical-align: middle;
}

.rk-table tr:last-child td {
    border-bottom: none;
}

.rk-table tbody tr {
    transition: 0.18s ease;
}

.rk-table tbody tr:hover {
    background: rgba(31, 107, 65, 0.14);
}

.rk-pos {
    color: var(--rk-gold-l);
    font-weight: 700;
    width: 44px;
    white-space: nowrap;
}

.rk-name-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rk-player {
    color: var(--rk-gold-l);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 240, 168, 0.3);
    transition: 0.2s ease;
}

.rk-player:hover {
    color: #fff;
    border-color: #fff;
}

.rk-name-sub {
    color: var(--rk-muted);
    font-size: 11px;
}

.rk-guild {
    color: var(--rk-gold-l);
    font-weight: 600;
}

.rk-col3 {
    color: var(--rk-gold);
    font-weight: 700;
    white-space: nowrap;
}

.rk-empty {
    margin: 8px 0 20px;
    padding: 18px 20px;
    border-radius: 13px;
    background: rgba(229, 189, 100, 0.05);
    border: 1px dashed var(--rk-border);
    color: var(--rk-muted);
    font-size: 13px;
    line-height: 1.7;
}

.rk-ajax-note {
    margin: 16px 0 4px;
    color: var(--rk-muted);
    font-size: 12px;
    text-align: center;
}

.rk-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 36px 16px;
    color: var(--rk-muted);
    font-size: 13px;
}

.rk-loading-spin {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(229, 189, 100, 0.25);
    border-top-color: var(--rk-gold);
    animation: rkSpin 0.8s linear infinite;
}

@keyframes rkSpin {
    to { transform: rotate(360deg); }
}

.rk-error {
    padding: 18px 20px;
    border-radius: 13px;
    background: rgba(255, 154, 170, 0.08);
    border: 1px solid rgba(255, 154, 170, 0.3);
    color: var(--rk-text-2);
    font-size: 13px;
}

/* ------------------------------------------------------------
   TABELA COMPLETA (modo "ver completo", via AJAX)
   ------------------------------------------------------------ */
.rk-table-full tbody tr {
    transition: 0.18s ease;
}

.rk-table-full tbody tr.rk-full-top {
    background: linear-gradient(90deg, rgba(229, 189, 100, 0.12), rgba(229, 189, 100, 0.02));
}

.rk-table-full tbody tr.rk-full-top:hover {
    background: rgba(31, 107, 65, 0.14);
}

.rk-table-full tbody tr.rk-full-top td {
    color: var(--rk-text-2);
    border-bottom-color: rgba(229, 189, 100, 0.28);
}

.rk-table-full tbody tr.rk-full-top .rk-pos {
    color: var(--rk-gold);
}

.rk-full-medal {
    font-size: 14px;
    margin-right: 2px;
}

/* ============================================================
   TEMPORADAS (futuras)
   ============================================================ */
.rk-season {
    margin: 6px 0 10px;
}

.rk-season-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 14px 0 6px;
}

.rk-season-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(2, 15, 10, 0.45);
    border: 1px solid var(--rk-border-l);
    color: var(--rk-text-2);
    font-size: 12.5px;
}

.rk-season-slot strong {
    color: var(--rk-gold);
}

.rk-season-ico {
    font-size: 16px;
}

.rk-note {
    display: flex;
    gap: 12px;
    margin: 16px 0 4px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(31, 107, 65, 0.08);
    border-left: 3px solid var(--rk-gold);
    color: var(--rk-text-2);
    font-size: 13px;
    line-height: 1.7;
}

.rk-note i {
    font-style: normal;
}

.rk-note strong {
    color: var(--rk-gold-l);
}

/* ============================================================
   CTA
   ============================================================ */
.rk-cta {
    position: relative;
    margin: 30px 0 0;
    padding: 36px 30px;
    border-radius: 20px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(229, 189, 100, 0.14), transparent 55%),
        linear-gradient(135deg, rgba(4, 16, 12, 0.98), rgba(10, 26, 20, 0.98));
    border: 1px solid var(--rk-border);
}

.rk-cta h3 {
    margin: 0 0 10px;
    color: var(--rk-gold-l);
    font-family: 'Cinzel', serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rk-cta p {
    margin: 0 auto 18px;
    max-width: 640px;
    color: var(--rk-text-2);
    font-size: 14px;
    line-height: 1.8;
}

.rk-cta p strong {
    color: var(--rk-gold);
}

.rk-cta-login {
    display: block;
    margin-top: 14px;
    color: var(--rk-muted);
    font-size: 12px;
}

.rk-btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 12px;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.22s ease;
    cursor: pointer;
}

.rk-btn-gold {
    color: #0a1a14;
    background: linear-gradient(135deg, var(--rk-gold), var(--rk-gold-l));
    box-shadow: 0 8px 22px rgba(229, 189, 100, 0.25);
}

.rk-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(229, 189, 100, 0.35);
}

/* ============================================================
   PÁGINA STANDALONE (full-window)
   ============================================================ */
.rk-page {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px 70px;
}

/* Fundo em página inteira (atrás do conteúdo, acima do bg do site) */
.rk-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(180deg, rgba(2, 15, 10, 0.55), rgba(2, 15, 10, 0.72)),
        url("../images/projetoeden/download/background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
    .rk-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rk-season-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .rk-hero {
        padding: 30px 22px;
    }

    .rk-rewards {
        flex-direction: column;
        align-items: flex-start;
    }

    .rk-reward-soon {
        align-self: flex-end;
    }

    .rk-podium {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rk-pod {
        max-width: none;
    }

    .rk-pod-1 {
        order: -1;
        flex-basis: 100%;
    }

    .rk-block-head {
        flex-wrap: wrap;
    }

    .rk-link-full {
        margin-left: auto;
    }

    .rk-filter-wrap {
        flex: 1 1 100%;
    }

    .rk-count,
    .rk-count-hint {
        margin-left: 0;
        flex-basis: 100%;
    }
}

@media (max-width: 480px) {
    .rk-hero h1,
    .rk-hero h2 {
        font-size: 22px;
    }

    .rk-hero-stats {
        grid-template-columns: 1fr;
    }

    .rk-tab {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   PÁGINA STANDALONE — mesmo respiro e painel da wiki
   ============================================================ */
.rk-page .rk-hero {
    margin: 0 0 48px;
    padding: 42px 38px;
}

.rk-page .rk-rewards {
    margin-bottom: 48px;
}

.rk-page #rk-hub {
    margin-bottom: 12px;
}

.rk-page .rk-tabs {
    gap: 10px;
    margin-bottom: 30px;
}

.rk-page .rk-tab {
    background: rgba(31, 107, 65, 0.1);
    border-color: rgba(229, 189, 100, 0.1);
    color: var(--rk-text-2);
    box-shadow: none;
    padding: 12px 20px;
}

.rk-page .rk-tab:hover {
    color: #fff;
    border-color: rgba(229, 189, 100, 0.4);
    box-shadow: none;
    transform: translateY(-1px);
}

.rk-page .rk-tab.is-active {
    background: linear-gradient(135deg, var(--rk-gold), var(--rk-gold-d));
    border-color: transparent;
    color: #0a1a14;
    box-shadow: 0 6px 18px rgba(229, 189, 100, 0.28);
}

.rk-page .rk-block-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
}

.rk-page .rk-controls {
    margin-bottom: 24px;
    padding: 14px 16px;
}

.rk-page .rk-podium {
    margin: 34px 0 40px;
    padding: 8px 8px 0;
}

.rk-page .rk-table-wrap {
    border-radius: 16px;
}

.rk-page .rk-pager {
    margin: 30px 0 6px;
}

.rk-page .rk-ajax-note {
    margin: 28px 0 6px;
    padding-top: 18px;
    border-top: 1px solid var(--rk-border-l);
}

.rk-page .rk-season {
    margin-top: 58px;
    padding-top: 44px;
    border-top: 1px solid var(--rk-border-l);
}

.rk-page .rk-season h3 {
    margin: 0 0 12px;
    color: var(--rk-gold-l);
    font-family: 'Cinzel', serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rk-page .rk-season > p {
    margin: 0 0 18px;
    color: var(--rk-text-2);
    font-size: 14px;
    line-height: 1.8;
}

.rk-page .rk-season-grid {
    gap: 14px;
}

.rk-page .rk-season-slot {
    padding: 16px 18px;
    background: rgba(2, 15, 10, 0.35);
    border-color: rgba(229, 189, 100, 0.08);
}

.rk-page .rk-cta {
    margin: 58px 0 0;
    padding: 40px 30px;
}

@media (max-width: 720px) {
    .rk-page .rk-hero {
        padding: 30px 22px;
    }

    .rk-page .rk-tabs {
        gap: 8px;
        margin-bottom: 22px;
    }

    .rk-page .rk-tab {
        padding: 11px 14px;
    }
}