/* Updated by Khaos */
:root {
    --black: #040202;
    --black-2: #0d0707;
    --red: #3d0503;
    --red-2: #760c07;
    --gold: #f3c452;
    --gold-2: #a86c19;
    --text: #eadfca;
    --muted: #b8aa93;
    --line: rgba(243, 196, 82, 0.42);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
}

/* Base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #050303 url('../images/why-us-bg.png') top center / 1200px auto repeat-y;
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

p {
    color: var(--muted);
    line-height: 1.65;
}

code {
    color: var(--gold);
    background: rgba(0, 0, 0, .35);
    padding: 2px 6px;
    border: 1px solid rgba(243, 196, 82, .18);
}

.site-shell {
    min-height: 100vh;
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 70px auto;
}

.centered {
    text-align: center;
}

/* Header / Navigation */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(180deg, #130908 0%, #040202 100%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .65);
}

.nav-wrap {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(243, 196, 82, .35));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 20px 16px;
    color: #d8d1c7;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    border-left: 1px solid rgba(255, 255, 255, .04);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
    text-shadow: 0 0 12px rgba(243, 196, 82, .75);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    color: var(--gold);
    padding: 8px 12px;
    font-size: 24px;
}

/* Shared Cards */
.panel-card,
.status-panel,
.feature-panel {
    background: linear-gradient(180deg, rgba(20, 10, 9, .96), rgba(4, 2, 2, .96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow), inset 0 0 24px rgba(116, 0, 0, .28);
}

.panel-card {
    padding: 30px;
}

.panel-card h2 {
    color: var(--gold);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 12px 18px;
    margin: 6px;
    border: 1px solid var(--line);
    color: #fff4d7;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    background: linear-gradient(180deg, #1d0b0a, #090303);
    box-shadow: inset 0 0 18px rgba(243, 196, 82, .1), 0 8px 22px rgba(0, 0, 0, .45);
}

.btn:hover {
    transform: translateY(-1px);
    color: var(--gold);
}

.btn.primary {
    background: linear-gradient(180deg, #7f100b, #270302);
}

.btn.gold {
    background: linear-gradient(180deg, #c99328, #5e2606);
}

.btn.discord {
    background: linear-gradient(180deg, #401313, #0a0404);
}

.btn.ghost {
    background: rgba(0, 0, 0, .3);
}

.btn.large {
    padding: 16px 26px;
    font-size: 16px;
}

/* Home Hero */
.hero {
    min-height: 720px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .25), rgba(0, 0, 0, .95)),
        url('../images/header-bg.png') center / cover no-repeat;
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 24px;
    align-items: center;
    padding: 70px max(28px, calc((100vw - 1280px) / 2));
    border-bottom: 1px solid var(--line);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(124, 0, 0, .25), rgba(0, 0, 0, .35));
    pointer-events: none;
}

.hero-center,
.status-panel,
.feature-panel {
    position: relative;
    z-index: 1;
}

.hero-center {
    text-align: center;
}

h1 {
    margin: 0;
    color: #9d0500;
    font-size: clamp(76px, 13vw, 180px);
    line-height: .8;
    letter-spacing: 8px;
    text-shadow:
        0 2px 0 #310000,
        0 0 18px rgba(243, 196, 82, .35),
        0 0 44px rgba(255, 0, 0, .35);
}

.hero-subtitle {
    margin: 34px 0 10px;
    color: #fff6e2;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 22px;
    font-weight: 700;
}

.hero-tags {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Home Status / Features */
.status-panel,
.feature-panel {
    padding: 24px;
}

.status-panel {
    text-align: center;
}

.status-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: #55d35d;
    box-shadow: 0 0 18px #55d35d;
}

.status-panel p,
.feature-panel h3 {
    margin: 0 0 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-panel h3 {
    margin: 0;
    color: #62e071;
    font-size: 34px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-panel small {
    display: block;
    margin: 8px 0 18px;
    color: var(--muted);
}

.feature-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-panel li {
    padding: 11px 0;
    border-bottom: 1px solid rgba(243, 196, 82, .16);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-panel li::before {
    content: '◆';
    color: var(--gold);
    margin-right: 10px;
}

/* Home Quick Actions */
.quick-actions {
    width: min(1180px, calc(100% - 32px));
    margin: -44px auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.quick-actions a {
    min-height: 88px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(74, 6, 4, .96), rgba(22, 2, 2, .98));
    border: 1px solid var(--line);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.quick-actions a:hover {
    filter: brightness(1.15);
}

/* Home CTA Strip */
.cta-strip {
    padding: 44px 20px;
    text-align: center;
    background: linear-gradient(90deg, rgba(37, 0, 0, .8), rgba(116, 0, 0, .35), rgba(37, 0, 0, .8));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cta-strip h2 {
    color: var(--gold);
    font-size: 36px;
    margin: 0 0 8px;
}

/* Page Hero */
.page-hero {
    padding: 90px 20px;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(104, 0, 0, .35), rgba(0, 0, 0, .9)),
        url('../images/discord-bg.png') center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.page-hero.slim h1 {
    font-size: clamp(54px, 9vw, 110px);
}

/* Download Page */
.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.download-card {
    padding: 38px 30px;
}

.download-card h2 {
    color: var(--gold);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.download-card p {
    max-width: 460px;
    margin: 0 auto 26px;
}

/* Donations / Store Embed */
.donate-embed-section {
    width: min(1180px, calc(100% - 32px));
    margin: 70px auto;
}

.donate-embed-card {
    padding: 28px;
}

.donate-embed-header {
    text-align: center;
    margin-bottom: 24px;
}

.donate-embed-header h2 {
    color: var(--gold);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.donate-embed-header p {
    margin: 0;
}

.donate-frame {
    width: 100%;
    height: 950px;
    border: 1px solid var(--line);
    background: #050303;
    box-shadow: inset 0 0 24px rgba(116, 0, 0, .28);
}

/* Highscores Page */
.highscores-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 58px clamp(18px, 3vw, 56px) 86px;
    background:
        radial-gradient(circle at top center, rgba(118, 12, 7, .22), transparent 44%),
        linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(18, 3, 3, .98) 16%, rgba(26, 4, 4, .97) 50%, rgba(18, 3, 3, .98) 84%, rgba(0, 0, 0, .96));
    border-bottom: 1px solid rgba(243, 196, 82, .22);
}

.highscores-section > .highscores-toolbar,
.highscores-section > .active-highscore-filters,
.highscores-section > .highscores-layout {
    width: min(1380px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.highscores-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.highscores-search,
.highscores-filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.highscores-search input,
.highscores-filter-form input,
.highscores-filter-form select {
    min-height: 44px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .55);
    color: var(--text);
    outline: none;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    box-shadow: inset 0 0 18px rgba(243, 196, 82, .08);
}

.highscores-filter-form select {
    cursor: pointer;
}

.highscores-search input::placeholder {
    color: rgba(234, 223, 202, .58);
}

.highscores-search input:focus,
.highscores-filter-form select:focus {
    border-color: var(--gold);
    box-shadow:
        inset 0 0 18px rgba(243, 196, 82, .12),
        0 0 18px rgba(243, 196, 82, .22);
}

.highscores-updated {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.active-highscore-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 20px;
    color: var(--muted);
}

.active-highscore-filters strong {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid rgba(243, 196, 82, .28);
    background: rgba(243, 196, 82, .08);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.highscores-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.skill-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(20, 10, 9, .96), rgba(4, 2, 2, .96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow), inset 0 0 24px rgba(116, 0, 0, .28);
    overflow: visible;
    max-height: none;
}

.skill-tabs a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 8px 11px;
    color: #d8d1c7;
    border: 1px solid rgba(255, 255, 255, .05);
    background: rgba(0, 0, 0, .24);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 1.15;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.skill-tabs a:hover {
    transform: translateX(3px);
    color: var(--gold);
    border-color: rgba(243, 196, 82, .28);
    background: rgba(243, 196, 82, .08);
    text-shadow: 0 0 12px rgba(243, 196, 82, .45);
}

.skill-tabs a.active {
    color: #fff4d7;
    font-weight: 900;
    background: linear-gradient(180deg, #7f100b, #270302);
    border-color: var(--line);
    box-shadow: inset 0 0 18px rgba(243, 196, 82, .12), 0 8px 22px rgba(0, 0, 0, .35);
}

.skill-tab-icon,
.active-skill-filter-icon,
.active-highscore-filters img {
    display: inline-block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
    image-rendering: pixelated;
}

.skill-tab-label {
    display: inline-block;
}

.highscores-card {
    padding: 0;
    overflow: hidden;
}

.highscores-toolbar,
.active-highscore-filters,
.highscores-layout,
.highscores-card {
    width: 100%;
}

.hiscores-table,
.hiscores-table.enhanced {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

.hiscores-table thead {
    background: linear-gradient(180deg, #7f100b, #270302);
}

.hiscores-table th {
    padding: 16px 14px;
    text-align: left;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.hiscores-table td {
    padding: 15px 14px;
    color: var(--text);
    border-bottom: 1px solid rgba(243, 196, 82, .12);
}

.hiscores-table tbody tr {
    background: rgba(0, 0, 0, .12);
}

.hiscores-table tbody tr:nth-child(even) {
    background: rgba(243, 196, 82, .035);
}

.hiscores-table tbody tr:hover {
    background: rgba(243, 196, 82, .09);
}

.hiscores-table td:first-child {
    color: var(--gold);
    font-weight: 900;
    white-space: nowrap;
}

.hiscores-table td:nth-child(2) {
    color: #fff4d7;
    font-weight: 900;
}

.hiscores-table td:nth-child(3),
.hiscores-table td:nth-child(4) {
    color: #ffd479;
}

.hiscores-table td:nth-child(5),
.hiscores-table td:nth-child(6) {
    white-space: nowrap;
}

.hiscores-table tbody tr.rank-one {
    background: linear-gradient(90deg, rgba(243, 196, 82, .20), rgba(0, 0, 0, .10));
}

.hiscores-table tbody tr.rank-two {
    background: linear-gradient(90deg, rgba(234, 223, 202, .13), rgba(0, 0, 0, .10));
}

.hiscores-table tbody tr.rank-three {
    background: linear-gradient(90deg, rgba(168, 108, 25, .18), rgba(0, 0, 0, .10));
}

.hiscores-table tbody tr.rank-one td:first-child,
.hiscores-table tbody tr.rank-two td:first-child,
.hiscores-table tbody tr.rank-three td:first-child {
    text-shadow: 0 0 14px rgba(243, 196, 82, .35);
}

/* Discord Page */
.discord-hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 16px;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .25), rgba(0, 0, 0, .92)),
        url('../images/discord-bg.png') center / cover no-repeat;
}

.discord-card {
    width: min(760px, calc(100% - 32px));
    max-width: 760px;
    padding: 55px 60px;
    overflow: hidden;
}

.discord-title {
    width: 100%;
    margin: 0 0 24px;
    font-size: 86px;
    line-height: .82;
    letter-spacing: 4px;
    color: #b40000;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow:
        0 3px 0 #2a0000,
        0 0 14px rgba(243, 196, 82, .55),
        0 0 32px rgba(255, 0, 0, .45),
        0 0 55px rgba(0, 0, 0, .95);
}

.discord-card p {
    width: min(610px, 100%);
    margin: 0 auto 28px;
    color: #fff3d6;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

/* Vote Page */
.vote-page-section {
    display: grid;
    gap: 28px;
}

.vote-panel {
    padding: 0;
    overflow: hidden;
}

.vote-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-bottom: 1px solid rgba(243, 196, 82, .18);
    background: linear-gradient(180deg, rgba(243, 196, 82, .07), rgba(0, 0, 0, 0));
}

.vote-name-box {
    flex: 1;
    min-width: 300px;
    display: grid;
    gap: 10px;
}

.vote-name-box label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.vote-name-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vote-name-row input {
    flex: 1;
    min-width: 240px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .55);
    color: var(--text);
    font-size: 17px;
    outline: none;
    box-shadow: inset 0 0 18px rgba(243, 196, 82, .08);
}

.vote-name-row input:focus {
    border-color: var(--gold);
    box-shadow:
        inset 0 0 18px rgba(243, 196, 82, .12),
        0 0 18px rgba(243, 196, 82, .22);
}

.vote-warning {
    display: none;
    color: #ffd479;
    font-size: 14px;
}

.vote-warning.show {
    display: block;
}

.vote-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vote-pill {
    padding: 9px 13px;
    border: 1px solid rgba(243, 196, 82, .22);
    background: rgba(0, 0, 0, .35);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.vote-pill strong {
    color: var(--gold);
}

.vote-note {
    margin: 18px 24px 0;
    padding: 14px 16px;
    border: 1px solid rgba(243, 196, 82, .25);
    background: rgba(243, 196, 82, .08);
    color: var(--text);
    text-align: center;
    line-height: 1.5;
}

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

.vote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px;
}

.vote-site-card {
    background: linear-gradient(180deg, rgba(20, 10, 9, .96), rgba(4, 2, 2, .96));
    border: 1px solid var(--line);
    box-shadow: inset 0 0 24px rgba(116, 0, 0, .28);
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vote-site-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(243, 196, 82, .16), transparent 35%),
        radial-gradient(circle at bottom left, rgba(118, 12, 7, .32), transparent 45%);
    pointer-events: none;
}

.vote-site-card > * {
    position: relative;
    z-index: 1;
}

.vote-points {
    color: #fff4d7;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 22px;
    text-shadow: 0 0 14px rgba(243, 196, 82, .25);
}

.vote-logo-text {
    min-height: 70px;
    display: grid;
    place-items: center;
    margin: 0 -28px 18px;
    padding: 16px;
    border-top: 1px solid rgba(243, 196, 82, .18);
    border-bottom: 1px solid rgba(243, 196, 82, .18);
    color: var(--gold);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        0 2px 0 #260000,
        0 0 18px rgba(243, 196, 82, .35);
}

.vote-site-card p {
    min-height: 48px;
    margin: 0 0 22px;
    color: var(--muted);
}

.vote-actions {
    display: grid;
    gap: 12px;
}

.vote-cooldown {
    padding: 10px 12px;
    border: 1px solid rgba(243, 196, 82, .18);
    background: rgba(0, 0, 0, .35);
    color: var(--text);
    font-weight: 700;
}

.vote-button.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: .85;
    color: #fff;
    background: linear-gradient(180deg, #ff4d35, #8d160d);
    border-color: rgba(255, 115, 80, .65);
}

.vote-claim-card {
    text-align: center;
    padding: 42px 36px;
}

.vote-claim-card h2 {
    color: var(--gold);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(30px, 4vw, 46px);
    text-shadow: 0 0 18px rgba(243, 196, 82, .35);
}

.vote-claim-card p {
    width: min(720px, 100%);
    margin: 0 auto;
    color: var(--text);
    font-size: 17px;
    line-height: 1.7;
}

.vote-command-box {
    width: fit-content;
    margin: 28px auto 0;
    padding: 16px 28px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .45);
    color: var(--gold);
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 900;
    box-shadow: inset 0 0 18px rgba(243, 196, 82, .1), 0 8px 22px rgba(0, 0, 0, .45);
}

@media (max-width: 980px) {
    .vote-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .vote-top {
        padding: 20px;
    }

    .vote-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .vote-site-card {
        padding: 28px 22px;
    }

    .vote-logo-text {
        margin-left: -22px;
        margin-right: -22px;
    }
}
/* Footer */
.footer {
    width: min(1180px, calc(100% - 32px));
    margin: 80px auto 0;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
}

.footer strong {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 46px;
    }

    .status-panel,
    .feature-panel {
        width: min(520px, 100%);
        margin: 0 auto;
    }

    .quick-actions,
    .download-options {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        margin-top: 20px;
    }

    .vote-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vote-site-card-wide {
        grid-column: 1 / -1;
        max-width: 580px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #050202;
        flex-direction: column;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 16px;
    }

    h1 {
        letter-spacing: 3px;
    }

    .discord-card {
        padding: 42px 24px;
    }

    .discord-title {
        font-size: 56px;
        letter-spacing: 2px;
    }

    .donate-embed-card {
        padding: 16px;
    }

    .donate-frame {
        height: 820px;
    }

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

    .vote-site-card-wide {
        grid-column: auto;
        max-width: none;
    }

    .vote-intro-card,
    .vote-claim-card,
    .vote-site-card {
        padding: 28px 22px;
    }

    .vote-logo-text {
        margin-left: -22px;
        margin-right: -22px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}
/* Vote Complete Page */
.vote-complete-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 46px 40px;
}

.vote-complete-card h2 {
    color: var(--gold);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(30px, 4vw, 46px);
    text-shadow: 0 0 18px rgba(243, 196, 82, .35);
}

.vote-complete-card p {
    max-width: 580px;
    margin: 0 auto 28px;
    color: var(--text);
}

.vote-complete-form {
    width: min(520px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.vote-complete-form label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.vote-complete-form input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .55);
    color: var(--text);
    font-size: 18px;
    text-align: center;
    outline: none;
    box-shadow: inset 0 0 18px rgba(243,196,82,.08);
}

.vote-complete-form input:focus {
    border-color: var(--gold);
    box-shadow:
        inset 0 0 18px rgba(243,196,82,.12),
        0 0 18px rgba(243,196,82,.22);
}

.vote-complete-message {
    min-height: 22px;
    color: var(--muted);
    font-size: 15px;
}

.vote-complete-message.success {
    color: #62e071;
}

.vote-complete-message.error {
    color: #ff7b65;
}

.vote-complete-help {
    margin-top: 28px;
    padding: 14px 16px;
    border: 1px solid rgba(243, 196, 82, .25);
    background: rgba(243, 196, 82, .08);
    color: var(--muted);
    line-height: 1.5;
}

.vote-complete-help strong {
    color: var(--gold);
}

/* Highscores Responsive */
@media (max-width: 1100px) {
    .highscores-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 14px;
    }

    .skill-tabs a {
        font-size: 11px;
        padding: 8px 9px;
    }
}

@media (max-width: 900px) {
    .highscores-layout {
        grid-template-columns: 1fr;
    }

    .skill-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 12px;
    }

    .skill-tabs a:hover {
        transform: none;
    }
}

@media (max-width: 760px) {
    .highscores-toolbar,
    .highscores-search,
    .highscores-filter-form {
        align-items: stretch;
        width: 100%;
    }

    .highscores-search input,
    .highscores-filter-form input,
    .highscores-filter-form select,
    .highscores-filter-form .btn {
        width: 100%;
    }

    .skill-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    .skill-tabs a {
        min-height: 42px;
        padding: 8px 9px;
        font-size: 10px;
    }

    .skill-tab-icon,
    .active-skill-filter-icon,
    .active-highscore-filters img {
        width: 20px;
        height: 20px;
        min-width: 20px;
        max-width: 20px;
        max-height: 20px;
        flex-basis: 20px;
    }

    .active-highscore-filters {
        justify-content: center;
    }

    .highscores-card {
        overflow-x: auto;
    }

    .hiscores-table {
        min-width: 760px;
    }
}

/* Zaryx updates - full-page embeds and downloads - Updated by Khaos */

.open-beta-badge {
    display: none !important;
}

.offline-text {
    color: #c7312c !important;
}

.section-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.section-title span {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-title h2 {
    margin: 0;
    color: var(--gold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: clamp(24px, 4vw, 38px);
    text-shadow: 0 0 16px rgba(243, 196, 82, .35);
}

.external-frame-page {
    width: 100%;
    min-height: calc(100vh - 64px);
    margin: 0;
    padding: 0;
    background: #050303;
}

.external-full-frame,
.vote-full-frame,
.donate-full-frame {
    display: block;
    width: 100%;
    height: calc(100vh - 64px);
    min-height: 1050px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #050303;
}

.download-options {
    display: block;
}

.client-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.os-download-card {
    min-height: 365px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-icon {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin: 0 auto 22px;
    filter: drop-shadow(0 0 18px rgba(243, 196, 82, .28));
    flex-shrink: 0;
}

.download-button-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.jdk-section {
    margin-top: 30px;
}

.jdk-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 26px;
}

.jdk-download-icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
    margin: 0 auto 18px;
    filter: drop-shadow(0 0 18px rgba(243, 196, 82, .28));
}

.jdk-button-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.highscore-warning {
    border-color: rgba(199, 49, 44, .65);
}

@media (max-width: 980px) {
    .client-download-grid {
        grid-template-columns: 1fr;
    }

    .os-download-card {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .external-full-frame,
    .vote-full-frame,
    .donate-full-frame {
        height: calc(100vh - 64px);
        min-height: 820px;
    }

    .download-icon {
        width: 82px;
        height: 82px;
    }

    .jdk-download-icon {
        width: 70px;
        height: 70px;
    }
}



/* Donation page single-scroll iframe fix - Updated by Khaos */
.donate-full-page {
    width: 100%;
    min-height: 2400px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: #050303;
}

.donate-full-page .donate-full-frame {
    display: block;
    width: 100%;
    height: 2400px;
    min-height: 2400px;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #050303;
}

@media (max-width: 760px) {
    .donate-full-page {
        min-height: 2600px;
    }

    .donate-full-page .donate-full-frame {
        height: 2600px;
        min-height: 2600px;
    }
}
