/* General Styles */
:root {
    --primary-color: #00aaff;
    --primary-hover: #55ccff;
    --accent-color: #ffb347;
    --accent-strong: #ff8a00;
    --glass-bg: rgba(18, 18, 24, 0.75);
    --glass-strong: rgba(12, 12, 18, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    --muted-text: #b3b3c4;
    --font-body: 'Roboto', sans-serif;
    --font-display: 'Oxanium', 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: #f0f0f0;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    user-select: none;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('/images/background.png') no-repeat center center fixed;
    background-size: cover;
    filter: blur(4px) brightness(0.3);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(0, 170, 255, 0.2), transparent 55%), radial-gradient(circle at 85% 10%, rgba(255, 179, 71, 0.18), transparent 45%), linear-gradient(120deg, rgba(8, 8, 12, 0.85), rgba(8, 8, 12, 0.4));
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
    text-shadow: 0 0 8px var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease;
    text-shadow: none;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    box-shadow: 0 16px 30px rgba(0, 170, 255, 0.25);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(0, 170, 255, 0.35);
    color: #fff;
    text-shadow: none;
}

.btn.ghost {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #f1f4ff;
}

.btn.ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: #fff;
    text-shadow: none;
}

.btn.small {
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.btn:focus-visible {
    outline: 2px solid rgba(0, 170, 255, 0.6);
    outline-offset: 2px;
}

.btn.is-copied {
    outline: 2px solid rgba(56, 242, 177, 0.7);
    outline-offset: 3px;
}

.btn.is-copy-error {
    outline: 2px solid rgba(255, 96, 96, 0.7);
    outline-offset: 3px;
}

button.btn {
    background: transparent;
}

/* Header */
header {
    background: rgba(10, 10, 14, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.logo-header img {
    width: 42px;
    height: 42px;
    transition: transform 0.3s ease;
}

.logo-header:hover img {
    transform: scale(1.1);
}

.logo-header:hover {
    color: #fff;
    text-shadow: none;
}

.primary-nav {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-nav a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(240, 240, 255, 0.82);
    transition: color 0.3s ease, opacity 0.3s ease;
}

.primary-nav a:hover {
    color: #fff;
    opacity: 1;
    text-shadow: 0 0 12px rgba(0, 170, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav {
    position: relative;
    display: none;
}

.mobile-nav summary {
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
}

.mobile-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 200px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 12;
}

.mobile-menu a {
    color: #e6e9f5;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-shadow: none;
}

.mobile-nav[open] .mobile-menu {
    display: flex;
}

.profile-menu {
    position: relative;
}

.profile-menu summary {
    list-style: none;
}

.profile-menu summary::-webkit-details-marker {
    display: none;
}

.profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.profile-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #121217;
}

.profile-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.profile-menu[open] .profile-caret {
    transform: rotate(-135deg);
}

.profile-menu[open] .profile-trigger {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 200px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.profile-dropdown a {
    color: #e6e9f5;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
}

.profile-dropdown a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-shadow: none;
}

/* Main Content */
main {
    flex-grow: 1;
}

main.maintenance,
main.discord {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

main.home {
    padding: 40px 0 120px;
}

/* Home Page */
.home section {
    position: relative;
    padding: 70px 0;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 680px;
}

.section-heading.center {
    text-align: center;
    align-items: center;
    margin: 0 auto 40px;
}

.section-heading.center .hero-text {
    margin: 0 auto;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 179, 71, 0.12);
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.hero {
    position: relative;
    padding: 90px 0 60px;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.1;
    text-shadow: var(--text-shadow);
}

.hero-title span {
    color: var(--accent-color);
}

.hero-text {
    color: var(--muted-text);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 18px 0 6px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.stat-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-card strong {
    font-size: 20px;
    font-family: var(--font-display);
}

.stat-card span {
    color: var(--muted-text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.7);
}

.stat-dot.accent {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 179, 71, 0.6);
}

.stat-dot.neon {
    background: #38f2b1;
    box-shadow: 0 0 10px rgba(56, 242, 177, 0.6);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.hero-orb {
    position: relative;
    width: min(360px, 70vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 203, 132, 0.95), rgba(255, 138, 0, 0.75) 40%, rgba(0, 170, 255, 0.2) 70%);
    box-shadow: 0 40px 80px rgba(255, 138, 0, 0.25), 0 0 40px rgba(0, 170, 255, 0.2);
    display: grid;
    place-items: center;
    padding: 36px;
    animation: float 10s ease-in-out infinite;
}

.hero-orb::before {
    content: '';
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 35px rgba(0, 170, 255, 0.2);
}

.hero-orb img {
    width: 100%;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}

.hero-float {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--muted-text);
    animation: float 8s ease-in-out infinite;
}

.hero-float strong {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.4px;
    text-transform: none;
}

.hero-float--ip {
    top: 12%;
    left: -4%;
}

.hero-float--version {
    bottom: 8%;
    right: -6%;
    animation-delay: 1s;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 50px;
    align-items: center;
}

.about-portrait {
    display: flex;
    justify-content: center;
}

.portrait-ring {
    width: 260px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 16px;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.25), rgba(255, 179, 71, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.portrait-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    margin-bottom: 16px;
}

.about-content p {
    color: var(--muted-text);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.about-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 170, 255, 0.12);
    border: 1px solid rgba(0, 170, 255, 0.3);
    color: #d6f1ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.about-stat {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 14px;
    text-align: left;
}

.about-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
}

.about-stat span {
    color: var(--muted-text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.mode-card {
    position: relative;
    padding: 18px;
    background: linear-gradient(150deg, rgba(18, 18, 26, 0.92), rgba(8, 8, 12, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 13px;
    color: #f4f5ff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mode-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0, 170, 255, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 170, 255, 0.5);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.mode-card:hover::after {
    opacity: 1;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.media-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    box-shadow: var(--glass-shadow);
}

.media-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.25), rgba(255, 179, 71, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.media-thumb::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
    z-index: 1;
}

.media-thumb::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-30%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    z-index: 1;
}

.media-thumb span {
    position: relative;
    z-index: 2;
}

.media-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.media-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
}

.media-content p {
    color: var(--muted-text);
    font-size: 14px;
}

.media-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.media-link:hover {
    color: var(--primary-hover);
    text-shadow: none;
}

.reveal {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Shared Pages */
.page {
    padding: 40px 0 120px;
}

.page-hero {
    padding: 60px 0 30px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    text-shadow: var(--text-shadow);
}

.page-lead {
    color: var(--muted-text);
    max-width: 720px;
    margin-top: 12px;
}

.page-content {
    padding: 40px 0 80px;
}

.page-meta {
    margin-top: 24px;
    color: var(--muted-text);
    font-size: 13px;
}

/* Custom Pages */
.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.custom-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
}

.custom-card h2 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 12px;
}

.custom-card p {
    color: var(--muted-text);
    margin-bottom: 12px;
}

.custom-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.custom-card li {
    display: flex;
    gap: 10px;
    color: #d7d9e5;
    font-size: 14px;
}

.custom-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 8px rgba(255, 179, 71, 0.6);
    flex-shrink: 0;
}

.card-meta {
    margin-top: 14px;
    color: var(--muted-text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-empty {
    grid-column: 1 / -1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

/* Vote Page */
.vote-section {
    padding: 20px 0 80px;
}

.vote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr);
    gap: 32px;
    align-items: start;
}

.vote-links {
    display: grid;
    gap: 16px;
}

.vote-links h2,
.vote-leaderboard h2 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 16px;
}

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

.vote-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--glass-shadow);
}

.vote-card h3 {
    font-size: 18px;
    font-family: var(--font-display);
}

.vote-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    color: var(--muted-text);
    font-size: 13px;
}

.vote-leaderboard {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--glass-shadow);
}

.leaderboard-header p {
    color: var(--muted-text);
    margin-bottom: 16px;
}

.podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 20px;
}

.podium-card {
    background: rgba(12, 12, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.podium-card img {
    width: 90px;
    height: auto;
    margin: 8px auto 6px;
}

.podium-card.rank-1 {
    order: 2;
    min-height: 210px;
    border-color: rgba(255, 179, 71, 0.6);
    box-shadow: 0 18px 30px rgba(255, 179, 71, 0.25);
}

.podium-card.rank-2 {
    order: 1;
    min-height: 190px;
}

.podium-card.rank-3 {
    order: 3;
    min-height: 175px;
}

.podium-rank {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
}

.podium-name {
    font-weight: 700;
}

.podium-votes {
    color: var(--muted-text);
    font-size: 12px;
}

.leaderboard-table {
    display: grid;
    gap: 8px;
}

.leaderboard-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

.leaderboard-header-row {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    color: var(--muted-text);
    background: rgba(255, 255, 255, 0.08);
}

.leaderboard-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.leaderboard-user img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaderboard-rank {
    color: var(--accent-color);
    font-weight: 700;
    width: 32px;
}

/* Shop Page */
.shop-section {
    padding: 20px 0 80px;
}

.shop-section .is-hidden {
    display: none !important;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 110px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--glass-shadow);
    display: grid;
    gap: 18px;
}

.shop-server-switch {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-nav {
    display: grid;
    gap: 16px;
}

.server-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid transparent;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-pill.is-active {
    background: rgba(255, 179, 71, 0.18);
    color: var(--accent-color);
    border: 1px solid rgba(255, 179, 71, 0.35);
}

.server-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    text-shadow: none;
}

.shop-nav-group h4 {
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted-text);
}

.shop-nav-group a {
    display: block;
    color: #e6e9f5;
    margin-bottom: 8px;
    font-size: 14px;
}

.category-link.is-active {
    color: var(--accent-color);
    text-shadow: none;
}

.shop-nav-group a:hover {
    color: #fff;
    text-shadow: none;
}

.shop-content {
    display: grid;
    gap: 40px;
}

.shop-server {
    display: grid;
    gap: 24px;
}

.server-header h2 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 8px;
}

.server-header p {
    color: var(--muted-text);
}

.shop-category {
    display: grid;
    gap: 16px;
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 20px;
}

.category-header p {
    color: var(--muted-text);
    font-size: 14px;
}

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

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--glass-shadow);
    position: relative;
}

.product-card h4 {
    font-size: 16px;
    font-family: var(--font-display);
}

.product-card p {
    color: var(--muted-text);
    font-size: 13px;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 179, 71, 0.2);
    color: var(--accent-color);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-weight: 700;
    font-size: 16px;
}

/* Servers Page */
.servers-section {
    padding: 20px 0 80px;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.server-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    display: grid;
    gap: 14px;
    box-shadow: var(--glass-shadow);
}

.server-head {
    display: grid;
    gap: 10px;
}

.server-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.server-head h2 {
    font-family: var(--font-display);
    font-size: 20px;
}

.server-note {
    color: var(--muted-text);
    font-size: 13px;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3af29c;
    box-shadow: 0 0 10px rgba(58, 242, 156, 0.7);
}

.status-maintenance .status-dot {
    background: #ffb347;
    box-shadow: 0 0 10px rgba(255, 179, 71, 0.6);
}

.status-offline .status-dot {
    background: #ff5b5b;
    box-shadow: 0 0 10px rgba(255, 91, 91, 0.6);
}

.status-maintenance .server-status {
    background: rgba(255, 179, 71, 0.15);
}

.status-offline .server-status {
    background: rgba(255, 91, 91, 0.15);
}

.server-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.server-meta span {
    color: var(--muted-text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-meta strong {
    font-size: 15px;
}

/* Staff Summary */
.staff-summary {
    margin-bottom: 22px;
    display: flex;
    justify-content: flex-end;
}

.staff-table-wrap {
    overflow-x: auto;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.78);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-panel {
    width: min(960px, 92vw);
    max-height: 82vh;
    overflow: auto;
    background: linear-gradient(180deg, rgba(14, 14, 20, 0.98), rgba(10, 10, 16, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--glass-shadow);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 22px;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

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

.staff-column {
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.75), rgba(10, 10, 16, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staff-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.staff-column-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted-text);
}

.staff-count {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d5daf0;
}

.staff-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 10px;
    align-items: stretch;
}

.staff-card {
    background: linear-gradient(155deg, rgba(22, 22, 32, 0.96), rgba(10, 10, 16, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--role-color, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    padding: 10px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    min-height: 132px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.staff-bust {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #101018;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.32);
}

.staff-role {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--role-color, #d5daf0);
}

.staff-name {
    font-size: 14px;
    font-weight: 700;
    color: #eef1ff;
    line-height: 1.1;
}

.role-admin {
    --role-color: #ffb347;
}

.role-modo {
    --role-color: #55ccff;
}

.role-helper {
    --role-color: #38f2b1;
}

.role-builder {
    --role-color: #f4d35e;
}

.staff-empty {
    color: var(--muted-text);
    font-size: 12px;
}

/* Maintenance Page */
.maintenance-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.logo-main img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 170, 255, 0.5));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 170, 255, 0.8));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 170, 255, 0.5));
    }
}

.maintenance-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.8);
}

.maintenance-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: #ccc;
    margin-bottom: 20px;
    text-shadow: var(--text-shadow);
}

.maintenance-message {
    font-size: 18px;
}

/* Discord Page */
.discord-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    width: 300px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.card.highlight {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.5), 0 0 15px rgba(0, 170, 255, 0.3) inset;
}

.card.highlight:hover {
    transform: translateY(-15px) scale(1.08);
}

.card.disabled {
    background: rgba(30, 30, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    transform: scale(0.8);
    color: #999;
    cursor: not-allowed;
}

.card.disabled:hover {
    transform: none;
    box-shadow: none;
    transform: scale(0.8);
    border-color: rgba(255, 255, 255, 0.06);
}

.card.disabled h3 {
    color: #999;
    text-shadow: none;
}

.card.disabled img {
    filter: grayscale(100%) brightness(0.85);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: var(--text-shadow);
}

.card .btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card .btn:hover {
    background: linear-gradient(135deg, var(--primary-hover), #0099ff);
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.8);
}

.card .btn.disabled {
    background: #333;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    border-color: transparent;
}

/* Footer */
footer {
    background: rgba(10, 10, 14, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
}

.footer-brand p {
    color: var(--muted-text);
    font-size: 14px;
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    color: #c3c7d4;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    color: #fff;
    text-shadow: none;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: #888;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-float--ip {
        left: 6%;
    }

    .hero-float--version {
        right: 6%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-tags {
        justify-content: center;
    }

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

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

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .server-title {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .primary-nav {
        display: none;
    }

    .nav-actions {
        order: 3;
        width: auto;
        justify-content: flex-end;
    }

    .logo-header {
        order: 1;
    }

    .mobile-nav {
        display: block;
        order: 2;
    }
}

@media (max-width: 768px) {
    .profile-dropdown {
        right: 0;
        width: min(240px, 90vw);
    }

    .shop-server-switch {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .shop-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .hero-visual {
        flex-direction: column;
        gap: 12px;
        min-height: auto;
    }

    .hero-float {
        position: static;
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    header .btn {
        width: auto;
    }

    .logo-header span {
        display: none;
    }

    .mobile-label {
        display: none;
    }

    .profile-trigger span {
        display: none;
    }

    .profile-trigger .profile-caret {
        display: inline-block;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stat-card {
        justify-content: center;
        text-align: left;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
        opacity: 1;
    }

    .hero-orb,
    .hero-float {
        animation: none;
    }

    .card,
    .mode-card,
    .btn {
        transition: none;
    }
}
