/* ============================================= */
/* CINEMATIC DARK THEME — Ascension Online       */
/* ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Cinzel:wght@400;500;600;700;800;900&display=swap');

/* ============================================= */
/* RESET & BASE                                  */
/* ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #08080c;
    color: #c0c0c0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: #d4a843;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: #f5d780; }

img { max-width: 100%; border: 0; }
ul { list-style: none; }
table { border-collapse: collapse; }

/* ============================================= */
/* LAYOUT CONTAINERS                             */
/* ============================================= */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.home-content {
    flex: 1;
}

/* Main two-column layout */
.home-content > .content-area {
    display: flex;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.aside-content {
    width: 320px;
    flex-shrink: 0;
}

/* ============================================= */
/* NAVIGATION                                    */
/* ============================================= */
.cd-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,8,12,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212,168,67,0.08);
}

.cd-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.cd-nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #f5d780, #d4a843, #b8892e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-decoration: none;
}

.cd-nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.cd-nav-link {
    color: #8a8a8a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
}

.cd-nav-link:hover {
    color: #d4a843;
    background: rgba(212,168,67,0.06);
}

/* Dropdown system */
.cd-dropdown {
    position: relative;
}

.cd-dropdown-trigger {
    color: #8a8a8a;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: inherit;
}

.cd-dropdown-trigger:hover {
    color: #d4a843;
    background: rgba(212,168,67,0.06);
}

.cd-dropdown-trigger .arrow {
    font-size: 8px;
    transition: transform 0.2s;
}

.cd-dropdown:hover .cd-dropdown-trigger .arrow {
    transform: rotate(180deg);
}

.cd-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(16,16,22,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 6px;
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.cd-dropdown:hover .cd-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cd-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s;
}

.cd-dropdown-menu a:hover {
    color: #d4a843;
    background: rgba(212,168,67,0.06);
}

/* Nav actions */
.cd-nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cd-btn-ghost {
    padding: 8px 20px;
    border: 1px solid rgba(212,168,67,0.25);
    background: transparent;
    color: #d4a843;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cd-btn-ghost:hover {
    background: rgba(212,168,67,0.08);
    border-color: #d4a843;
    color: #d4a843;
}

.cd-btn-primary {
    padding: 8px 24px;
    border: none;
    background: linear-gradient(135deg, #d4a843, #b8892e);
    color: #000;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cd-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(212,168,67,0.3);
    color: #000;
}

/* ============================================= */
/* HERO SECTION                                  */
/* ============================================= */
.cd-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.cd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center top, rgba(212,168,67,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(139,92,246,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cd-hero::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,168,67,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: cd-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cd-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.cd-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.cd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.15);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4a843;
    margin-bottom: 28px;
}

.cd-hero-badge .dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: cd-blink 2s infinite;
}

@keyframes cd-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.cd-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #f5d780, #d4a843);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-hero-sub {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cd-hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 50px;
}

.cd-btn-hero {
    padding: 14px 36px;
    border: none;
    background: linear-gradient(135deg, #d4a843, #b8892e);
    color: #000;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cd-btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212,168,67,0.35);
    color: #000;
}

.cd-btn-hero-outline {
    padding: 14px 36px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
    color: #ccc;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cd-btn-hero-outline:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
    color: #fff;
}

/* Stats bar */
.cd-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.cd-stat { text-align: center; }

.cd-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 30px;
    font-weight: 700;
    color: #d4a843;
    margin-bottom: 2px;
}

.cd-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
}

/* ============================================= */
/* FEATURES BAR                                  */
/* ============================================= */
.cd-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.cd-feature {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.cd-feature:hover {
    border-color: rgba(212,168,67,0.15);
    background: rgba(212,168,67,0.02);
    transform: translateY(-3px);
}

.cd-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(212,168,67,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
}

.cd-feature h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #eee;
}

.cd-feature p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ============================================= */
/* SECTION TITLES                                */
/* ============================================= */
.cd-section-title {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    color: #eee;
    margin-bottom: 6px;
}

.cd-section-sub {
    font-size: 13px;
    color: #555;
    margin-bottom: 24px;
}

/* ============================================= */
/* ASIDE / SIDEBAR                               */
/* ============================================= */
.aside-content__title {
    margin-bottom: 20px;
}

.aside-content__title-text {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: #d4a843;
}

.aside-content__title-text span {
    color: #fff;
}

.bonuses {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
}

.bonus:hover {
    border-color: rgba(212,168,67,0.12);
    background: rgba(212,168,67,0.02);
}

.bonus__img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    pointer-events: auto !important;
}

.bonus__title {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    line-height: 1.4;
}

.bonus__title span {
    color: #d4a843;
    font-weight: 700;
}

/* ============================================= */
/* NEWS CARDS (index.php content)                */
/* ============================================= */
#news, #changelogTable {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

#news tr.yellow td,
#changelogTable tr.yellow td {
    background: rgba(212,168,67,0.06);
    border-bottom: 1px solid rgba(212,168,67,0.08);
    padding: 14px 18px;
    font-size: 13px;
}

#news tr.yellow td.zheadline {
    font-weight: 600;
    color: #ccc;
}

#news tr.yellow td.zheadline a {
    color: #d4a843;
}

#news tr.yellow td.zheadline b {
    color: #eee;
}

#news td, #changelogTable td {
    padding: 16px 18px;
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    border: none;
}

#news p {
    margin: 0;
}

/* ============================================= */
/* TABLES (general — highscores, online, etc.)   */
/* ============================================= */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

td {
    padding: 12px 16px;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

tr:hover td {
    background: rgba(255,255,255,0.01);
}

/* ============================================= */
/* FORMS & INPUTS                                */
/* ============================================= */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    width: 100%;
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(212,168,67,0.4);
}

input[type="submit"],
button[type="submit"] {
    background: linear-gradient(135deg, #d4a843, #b8892e);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212,168,67,0.25);
}

/* ============================================= */
/* CONTENT CARDS & BOXES                         */
/* ============================================= */
.global-desc__content {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    border-radius: 10px !important;
    margin: 8px 0 !important;
    padding: 14px 18px !important;
}

.desc-changelog__block {
    color: #999;
    font-size: 13px;
}

.desc-changelog__block a {
    color: #d4a843;
}

/* ============================================= */
/* SHOP / DONATE CARDS                           */
/* ============================================= */
.donate-page__title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: #eee !important;
}

.donate-page__bonuses {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.donate-page__bonuses-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 24px;
    width: calc(25% - 12px);
    min-width: 220px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.donate-page__bonuses-item:hover {
    border-color: rgba(212,168,67,0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.donate-page__bonuses-status {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4ade80;
    margin-bottom: 8px;
}

.donate-page__bonuses-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(212,168,67,0.1);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #d4a843;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.donate-page__bonuses-title {
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 4px;
}

.donate-page__bonuses-title span {
    color: #d4a843;
    font-weight: 700;
}

.donate-page__bonuses-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.donate-page__bonuses-text span {
    color: #d4a843;
    font-weight: 600;
}

.donate-page__bonuses-percent {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: #d4a843;
    margin-bottom: 12px;
}

/* ============================================= */
/* BUTTONS (legacy overrides)                    */
/* ============================================= */
.btn.yellow,
.header__info-button {
    background: linear-gradient(135deg, #d4a843, #b8892e) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer;
    transition: all 0.2s !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn.yellow:hover,
.header__info-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212,168,67,0.3);
}

/* Page select dropdown */
select[name="newspage"] {
    margin-top: 16px;
    width: auto;
}

/* ============================================= */
/* HEADINGS (global)                             */
/* ============================================= */
h1 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: #eee;
    margin-bottom: 16px;
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 12px;
}

h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 8px;
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
.cd-footer {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 36px 0;
    margin-top: auto;
}

.cd-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cd-footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4a843, #b8892e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-footer-links {
    display: flex;
    gap: 24px;
}

.cd-footer-links a {
    font-size: 12px;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
}

.cd-footer-links a:hover {
    color: #d4a843;
}

.cd-footer-copy {
    font-size: 12px;
    color: #333;
}

/* ============================================= */
/* LEGACY LAYOUT OVERRIDES                       */
/* ============================================= */
/* Override old layout classes that may interfere */
.navigation,
.header,
.footer,
.m-nav,
.m-nav-bg {
    display: none !important;
}

/* These flex classes from the old template */
.flex-sbs { display: flex; justify-content: space-between; }
.flex-cc { display: flex; align-items: center; justify-content: center; }
.flex-sc { display: flex; align-items: center; }
.flex-ss { display: flex; align-items: flex-start; }
.flex-sbc { display: flex; justify-content: space-between; align-items: center; }

/* Tab navigation for shop */
.nav-link {
    display: inline-block;
    padding: 8px 18px;
    color: #888;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-link:hover {
    color: #d4a843;
    background: rgba(212,168,67,0.06);
}

/* Forum styles */
.postHolder, .hts__block {
    margin-bottom: 16px;
}

/* Pagination */
.page-navigation {
    display: flex;
    gap: 4px;
    margin: 16px 0;
}

/* Outfit images */
.outfit-img {
    border-radius: 8px;
}

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 1024px) {
    .cd-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-content > .content-area {
        flex-direction: column;
    }

    .aside-content {
        width: 100%;
    }

    .donate-page__bonuses-item {
        width: calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .cd-nav-links {
        display: none;
    }

    .cd-hero h1 {
        font-size: 42px;
    }

    .cd-hero-sub {
        font-size: 15px;
    }

    .cd-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cd-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .cd-features {
        grid-template-columns: 1fr;
    }

    .donate-page__bonuses-item {
        width: 100%;
    }
}

/* ============================================= */
/* SCROLLBAR                                     */
/* ============================================= */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #08080c;
}
::-webkit-scrollbar-thumb {
    background: rgba(212,168,67,0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212,168,67,0.25);
}

/* ============================================= */
/* UTILITY                                       */
/* ============================================= */
.text-gold { color: #d4a843; }
.text-muted { color: #666; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

/* ============================================= */
/* PAGE TITLE                                    */
/* ============================================= */
.cd-page-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: #eee;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ============================================= */
/* CREATE CHARACTER PAGE                         */
/* ============================================= */
.cc-form {
    max-width: 720px;
}

.cc-field {
    margin-bottom: 24px;
}

.cc-field-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 10px;
}

/* Vocation grid */
.cc-vocation-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.cc-vocation-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: rgba(255,255,255,0.02);
    border: 2px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.cc-vocation-tile:hover {
    border-color: rgba(212,168,67,0.2);
    background: rgba(212,168,67,0.03);
}

.cc-vocation-tile.selected {
    border-color: #d4a843;
    background: rgba(212,168,67,0.06);
    box-shadow: 0 0 20px rgba(212,168,67,0.1);
}

.cc-vocation-tile input[type="radio"] {
    display: none;
}

.cc-vocation-tile img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    pointer-events: none;
}

.cc-vocation-tile .cc-voc-name {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    transition: color 0.2s;
}

.cc-vocation-tile.selected .cc-voc-name {
    color: #d4a843;
}

/* Vocation description card */
.cc-vocation-desc {
    background: rgba(212,168,67,0.04);
    border: 1px solid rgba(212,168,67,0.1);
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 12px;
}

.cc-vocation-desc h4 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: #d4a843;
    margin-bottom: 6px;
}

.cc-vocation-desc p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.cc-vocation-desc .cc-roles {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.cc-vocation-desc .cc-roles-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.cc-vocation-desc .cc-roles img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Gender & Town selects */
.cc-select-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.cc-select-row .cc-field {
    flex: 1;
    margin-bottom: 0;
}

/* Error/Success messages */
.cc-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cc-message.success {
    background: rgba(74,222,128,0.06);
    border: 1px solid rgba(74,222,128,0.15);
    color: #4ade80;
}

.cc-message.error {
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.15);
    color: #ef4444;
}

.cc-message a {
    color: #d4a843;
    text-decoration: underline;
}

/* ============================================= */
/* DOWNLOADS PAGE                                */
/* ============================================= */
.dl-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.dl-step {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.2s;
}

.dl-step:hover {
    border-color: rgba(212,168,67,0.12);
}

.dl-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(212,168,67,0.05));
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: #d4a843;
    margin-bottom: 16px;
}

.dl-step-title {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    color: #eee;
    margin-bottom: 10px;
}

.dl-step-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dl-step-subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 8px;
    margin-top: 18px;
}

.dl-step-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Download buttons */
.dl-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    color: #bbb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.dl-btn:hover {
    border-color: rgba(212,168,67,0.25);
    color: #d4a843;
    background: rgba(212,168,67,0.04);
}

.dl-btn i {
    font-size: 16px;
    color: #d4a843;
    width: 20px;
    text-align: center;
}

/* Info list */
.dl-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.dl-info-item i {
    color: #d4a843;
    width: 18px;
    text-align: center;
}

.dl-info-item a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.dl-info-item a:hover {
    color: #d4a843;
}

/* ============================================= */
/* DONATE / BUY POINTS PAGE                      */
/* ============================================= */
.donate-balance {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    background: rgba(212,168,67,0.04);
    border: 1px solid rgba(212,168,67,0.1);
    border-radius: 12px;
    margin-bottom: 28px;
    width: fit-content;
}

.donate-balance-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donate-balance-value {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    color: #d4a843;
}

.donate-balance-unit {
    font-size: 13px;
    color: #666;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.donate-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.donate-card:hover {
    border-color: rgba(212,168,67,0.15);
    background: rgba(212,168,67,0.02);
}

.donate-card-price {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
    color: #eee;
    line-height: 1.1;
}

.donate-card-price small {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.donate-card-points {
    font-size: 15px;
    font-weight: 600;
    color: #d4a843;
    margin-bottom: 2px;
}

.donate-card-bonus {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.donate-card-paypal {
    width: 100%;
    margin-top: 10px;
    min-height: 42px;
}

/* Donate overlay */
.donate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-overlay-card {
    background: #1a1a1e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 40px 48px;
    text-align: center;
    max-width: 420px;
    width: 90%;
}

.donate-overlay-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.donate-overlay-icon.success {
    color: #4ade80;
}

.donate-overlay-icon.error {
    color: #ef4444;
}

.donate-overlay-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: #eee;
    margin-bottom: 10px;
}

.donate-overlay-text {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 24px;
    word-break: break-word;
}

@media (max-width: 768px) {
    .dl-steps {
        grid-template-columns: 1fr;
    }
    .cc-vocation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cc-select-row {
        flex-direction: column;
    }
    .donate-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Donate tabs */
.donate-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.donate-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px 10px 0 0;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.donate-tab:hover {
    color: #bbb;
    background: rgba(255,255,255,0.03);
}

.donate-tab.active {
    color: #d4a843;
    border-bottom-color: #d4a843;
    background: rgba(212,168,67,0.04);
}

.donate-tab i {
    font-size: 16px;
}

/* Stripe button */
.donate-stripe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 11px 16px;
    background: linear-gradient(135deg, #635bff, #7a73ff);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.donate-stripe-btn:hover {
    background: linear-gradient(135deg, #7a73ff, #8f89ff);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99,91,255,0.3);
}

.donate-stripe-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.donate-stripe-btn i {
    font-size: 15px;
}

.donate-stripe-methods {
    text-align: center;
    font-size: 12px;
    color: #555;
    margin-top: 16px;
    letter-spacing: 0.3px;
}

/* ============================================= */
/* SHOP PAGE                                     */
/* ============================================= */
.shop-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.shop-stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: #eee;
}

.shop-stat-link {
    font-size: 12px;
    color: #d4a843;
    text-decoration: none;
}

.shop-stat-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .shop-stats {
        grid-template-columns: 1fr 1fr;
    }
}

.shop-section {
    margin-bottom: 40px;
}

.shop-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.shop-section-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212,168,67,0.3));
}

.shop-section-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: #eee;
    margin: 0;
}

.shop-section-desc {
    font-size: 13px;
    color: #666;
    margin: 4px 0 0 0;
}

.shop-section-desc code {
    background: rgba(212,168,67,0.1);
    color: #d4a843;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.shop-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.shop-card:hover {
    border-color: rgba(212,168,67,0.15);
    background: rgba(212,168,67,0.02);
    transform: translateY(-2px);
}

.shop-card-premium:hover {
    border-color: rgba(168,85,247,0.2);
    background: rgba(168,85,247,0.03);
}

.shop-card-img {
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
}

.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(212,168,67,0.2));
}

.shop-card-premium .shop-card-img img {
    filter: drop-shadow(0 2px 8px rgba(168,85,247,0.3));
}

.shop-card-amount {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    color: #eee;
    line-height: 1.1;
}

.shop-card-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.shop-card-price {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.shop-card-cost {
    font-weight: 700;
    color: #d4a843;
    font-size: 18px;
}

.shop-buy-btn {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(212,168,67,0.08));
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: 8px;
    color: #d4a843;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}

.shop-buy-btn:hover {
    background: linear-gradient(135deg, rgba(212,168,67,0.25), rgba(212,168,67,0.15));
    border-color: rgba(212,168,67,0.35);
    box-shadow: 0 4px 16px rgba(212,168,67,0.15);
}

.shop-buy-premium {
    background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(168,85,247,0.08));
    border-color: rgba(168,85,247,0.2);
    color: #a855f7;
}

.shop-buy-premium:hover {
    background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(168,85,247,0.15));
    border-color: rgba(168,85,247,0.35);
    box-shadow: 0 4px 16px rgba(168,85,247,0.15);
}

@media (max-width: 480px) {
    .donate-grid {
        grid-template-columns: 1fr;
    }
    .shop-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================= */
/* WIKI PAGE OVERRIDES                           */
/* ============================================= */
.cd-wiki-page {
    background: #0a0a0a !important;
    color: #bbb !important;
}

.cd-wiki-page .wrapper {
    background: transparent !important;
}

.cd-wiki-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 40px;
}

.cd-wiki-container {
    width: 100%;
}

/* Override old body/wrapper styles from style.css */
.cd-wiki-page .home-content,
.cd-wiki-page .content-area {
    max-width: 100% !important;
    padding: 0 !important;
}

/* --- Wiki sidebar nav --- */
.cd-wiki-page .global-desc {
    background: transparent !important;
    border: none !important;
    gap: 24px;
    overflow: visible !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}


.cd-wiki-page .global-desc__nav {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 14px !important;
    overflow: hidden;
    width: 280px;
    flex-shrink: 0;
}

.cd-wiki-page .global-desc__nav-item {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    height: 60px !important;
    padding: 0 16px !important;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.cd-wiki-page .global-desc__nav-item:after {
    background: rgba(212,168,67,0.04) !important;
    border-radius: 0 !important;
}

.cd-wiki-page .global-desc__nav-item:before {
    background: #d4a843 !important;
}

.cd-wiki-page .global-desc__nav-item:hover {
    background: rgba(255,255,255,0.02) !important;
}

.cd-wiki-page .global-desc__nav-item.active {
    background: rgba(212,168,67,0.04) !important;
}

.cd-wiki-page .global-desc__nav-item.active:after {
    background: rgba(212,168,67,0.06) !important;
}

.cd-wiki-page .global-desc__nav-text {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #ccc !important;
}

.cd-wiki-page .global-desc__nav-text span {
    font-size: 11px !important;
    color: #555 !important;
    font-weight: 400 !important;
}

.cd-wiki-page .global-desc__nav-item.active .global-desc__nav-text {
    color: #d4a843 !important;
}

.cd-wiki-page .global-desc__nav-item.active .global-desc__nav-text span {
    color: #8a7040 !important;
}

.cd-wiki-page .global-desc__nav-icon {
    width: 32px !important;
    height: 32px !important;
}

.cd-wiki-page .global-desc__nav-icon img {
    width: 42px !important;
    height: 42px !important;
    filter: brightness(0.8) saturate(0.7);
}

.cd-wiki-page .global-desc__nav-item.active .global-desc__nav-icon img {
    filter: brightness(1) saturate(1);
}

/* --- Wiki content area --- */
.cd-wiki-page .global-desc__content {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 14px !important;
    position: relative !important;
    width: calc(100% - 280px - 24px) !important;
    background-image: none !important;
    box-shadow: none !important;
}

.cd-wiki-page .global-desc__content-item {
    padding: 28px !important;
}

.cd-wiki-page .global-desc__content-item.active {
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

/* Content title bar */
.cd-wiki-page .global-desc__content-title {
    background: rgba(212,168,67,0.04) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 20px 28px !important;
}

.cd-wiki-page .global-desc__content-title-text {
    font-family: 'Cinzel', serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #eee !important;
}

.cd-wiki-page .global-desc__content-title-text span {
    color: #666 !important;
    font-size: 12px !important;
}

.cd-wiki-page .global-desc__content-title-icon {
    width: 36px !important;
    height: 36px !important;
}

.cd-wiki-page .global-desc__content-title-icon img {
    filter: brightness(0.9) saturate(0.7);
}

/* Content box */
.cd-wiki-page .global-desc__content-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* --- Text elements --- */
.cd-wiki-page .desc-text__title {
    font-family: 'Cinzel', serif !important;
    color: #eee !important;
}

.cd-wiki-page .desc-text__title span {
    color: #d4a843 !important;
}

.cd-wiki-page .desc-text__text {
    color: #999 !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
}

.cd-wiki-page .desc-text__text b,
.cd-wiki-page .desc-text__text strong {
    color: #ccc !important;
}

/* --- Main header block --- */
.cd-wiki-page .desc-main__header {
    background: rgba(212,168,67,0.03) !important;
    border: 1px solid rgba(212,168,67,0.08) !important;
    border-radius: 10px !important;
}

.cd-wiki-page .desc-main__header-date-title {
    color: #888 !important;
}

.cd-wiki-page .desc-main__header-date-text {
    color: #d4a843 !important;
}

/* --- Separators --- */
.cd-wiki-page .desc-sep {
    background: rgba(255,255,255,0.04) !important;
    height: 1px !important;
}

/* --- Margins --- */
.cd-wiki-page .desc-margin-10 { height: 10px !important; }
.cd-wiki-page .desc-margin-20 { height: 20px !important; }
.cd-wiki-page .desc-margin-30 { height: 30px !important; }

/* --- Changelog blocks --- */
.cd-wiki-page .desc-changelog__block {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    border-radius: 8px !important;
    color: #bbb !important;
}

.cd-wiki-page .desc-changelog__line {
    border-color: rgba(255,255,255,0.04) !important;
}

/* --- Tables inside wiki --- */
.cd-wiki-page table {
    border-collapse: collapse;
    width: 100%;
}

.cd-wiki-page table th {
    background: rgba(212,168,67,0.06) !important;
    color: #d4a843 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.cd-wiki-page table td {
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    color: #999 !important;
    font-size: 13px !important;
}

.cd-wiki-page table tr:hover td {
    background: rgba(255,255,255,0.01) !important;
}

/* --- Images in wiki --- */
.cd-wiki-page .desc-main img,
.cd-wiki-page .global-desc__content-box img {
    border-radius: 8px;
}

/* --- Links --- */
.cd-wiki-page .global-desc__content a {
    color: #d4a843 !important;
    text-decoration: none;
}

.cd-wiki-page .global-desc__content a:hover {
    text-decoration: underline;
}

/* --- Font colors override --- */
.cd-wiki-page font[color] {
    filter: brightness(1.1);
}

/* --- Misc old classes --- */
.cd-wiki-page .donate-page__title {
    font-family: 'Cinzel', serif !important;
    color: #eee !important;
}

.cd-wiki-page .donate-page__bonuses-title {
    color: #ccc !important;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .cd-wiki-page .global-desc__nav {
        width: 100% !important;
        margin-bottom: 16px;
    }
    .cd-wiki-page .global-desc {
        flex-direction: column !important;
    }
}

/* ============================================= */
/* HIGHSCORES PAGE                               */
/* ============================================= */

/* Category groups */
.hs-categories {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hs-cat-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hs-cat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
}

.hs-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.hs-pill {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #777;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.hs-pill:hover {
    color: #ccc;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.hs-pill.active {
    color: #0a0a0a;
    background: #d4a843;
    border-color: #d4a843;
    font-weight: 600;
}

/* Vocation filter bar */
.hs-voc-bar {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
}

.hs-voc {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
}

.hs-voc:hover {
    color: #aaa;
    background: rgba(255,255,255,0.03);
}

.hs-voc.active {
    color: #d4a843;
    background: rgba(212,168,67,0.06);
    border-color: rgba(212,168,67,0.15);
}

/* Table wrapper */
.hs-table-wrap {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    overflow: hidden;
}

.hs-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.hs-showing {
    font-size: 13px;
    color: #666;
}

.hs-showing strong {
    color: #d4a843;
}

/* Pagination */
.hs-pagination {
    display: flex;
    gap: 4px;
}

.hs-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    color: #666;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
}

.hs-page-btn:hover {
    color: #ccc;
    background: rgba(255,255,255,0.06);
}

.hs-page-btn.active {
    color: #0a0a0a;
    background: #d4a843;
    border-color: #d4a843;
    font-weight: 600;
}

/* Table */
.hs-table {
    width: 100%;
    border-collapse: collapse;
}

.hs-table thead th {
    padding: 12px 24px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    background: rgba(255,255,255,0.015);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-align: left;
}

.hs-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.025);
    transition: background 0.15s;
}

.hs-table tbody tr:last-child {
    border-bottom: none;
}

.hs-table tbody tr:hover {
    background: rgba(255,255,255,0.015);
}

.hs-table tbody td {
    padding: 14px 24px;
    font-size: 13px;
    color: #999;
}

/* Column widths */
.hs-col-rank { width: 60px; text-align: center; }
.hs-col-name { min-width: 180px; }
.hs-col-voc { width: 140px; }
.hs-col-val { width: 100px; text-align: right; font-variant-numeric: tabular-nums; }
.hs-col-exp { width: 140px; text-align: right; font-variant-numeric: tabular-nums; }

.hs-table thead .hs-col-rank { text-align: center; }
.hs-table thead .hs-col-val { text-align: right; }
.hs-table thead .hs-col-exp { text-align: right; }

/* Rank badges */
.hs-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    color: #666;
    background: rgba(255,255,255,0.03);
}

.hs-rank.hs-gold {
    color: #f5c842;
    background: rgba(245,200,66,0.08);
    border: 1px solid rgba(245,200,66,0.2);
}

.hs-rank.hs-silver {
    color: #c0c0c0;
    background: rgba(192,192,192,0.06);
    border: 1px solid rgba(192,192,192,0.15);
}

.hs-rank.hs-bronze {
    color: #cd7f32;
    background: rgba(205,127,50,0.06);
    border: 1px solid rgba(205,127,50,0.15);
}

/* Player links */
.hs-table .hs-col-name a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.15s;
}

.hs-table .hs-col-name a:hover {
    color: #d4a843;
}

/* Flag */
.hs-flag {
    width: 16px;
    height: 11px;
    vertical-align: middle;
    margin-right: 6px;
}

/* Value column highlight */
.hs-table tbody .hs-col-val {
    color: #d4a843;
    font-weight: 600;
}

/* Empty state */
.hs-empty {
    text-align: center;
    color: #444;
    padding: 48px 24px !important;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .hs-categories {
        gap: 20px;
    }
    .hs-table tbody td,
    .hs-table thead th {
        padding: 10px 12px;
        font-size: 12px;
    }
    .hs-col-exp { display: none; }
    .hs-table thead .hs-col-exp { display: none; }
}
