/* ==========================================================================
   LimboMine — Next-Gen Redesign: Essential.gg Dark Theme (2026)
   ========================================================================== */

/* --- Design Tokens --- */
:root {
    /* Colors */
    --bg: #070708;
    --bg-soft: #0E0E10;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #FFFFFF;
    --text-sub: #A0A0AB;
    --text-muted: #606067;

    --primary: #FF6F00;
    --primary-rgb: 255, 111, 0;

    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;

    /* Shadows (extremely soft glow, no hard black) */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-premium: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(var(--primary-rgb), 0.15);
    --shadow-btn: 0 8px 30px rgba(var(--primary-rgb), 0.3);
    --shadow-btn-hover: 0 16px 40px rgba(var(--primary-rgb), 0.55);
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg);
}

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

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

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   BACKGROUND ENVIRONMENT (Dynamic Interactive Aurora)
   ============================================================ */

.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg);
}

/* Tech Grid Pattern - Light lines on Dark background */
.bg-orbs::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center;
    z-index: 1;
}

/* Tech crosshair decoration */
.bg-orbs::after {
    content: '+';
    position: absolute;
    top: 10%;
    left: 5%;
    font-family: var(--font-mono);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    will-change: transform;
    opacity: 0.55;
    transition: background 1.5s var(--ease-out);
}

.orb-1 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: floatingOrb1 35s ease-in-out infinite alternate;
}

.orb-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: floatingOrb2 40s ease-in-out infinite alternate;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: floatingOrb3 28s ease-in-out infinite alternate;
}

.orb-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    top: 15%;
    right: 15%;
    animation: floatingOrb4 32s ease-in-out infinite alternate;
}

@keyframes floatingOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(120px, 80px) scale(1.1);
    }
}

@keyframes floatingOrb2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-100px, -90px) scale(1.15);
    }
}

@keyframes floatingOrb3 {
    0% {
        transform: translate(0, 0) scale(0.9);
    }

    100% {
        transform: translate(60px, -60px) scale(1.1);
    }
}

@keyframes floatingOrb4 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-80px, 80px) scale(1.2);
    }
}

.site-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ============================================================
   PAGE: SERVER SELECT (AAA CHARACTER CHOOSE)
   ============================================================ */

.server-select-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 750px;
    padding: 40px 60px;
    justify-content: space-between;
    max-width: 1800px;
    margin: 0 auto;
    overflow: hidden;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
    margin-bottom: 20px;
}

.header-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow-line {
    width: 24px;
    height: 1.5px;
    background: var(--primary);
}

.eyebrow-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-sub);
}

.logo-block {
    text-align: center;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
}

.logo-limbo {
    color: var(--text);
}

.logo-mine {
    color: var(--primary);
}

.portal-subtitle {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Flex Grid Panels */
.servers-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 68vh;
    width: 100%;
    margin-bottom: 20px;
}

/* Vertical Panel Card */
.server-card {
    flex: 1;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    transition:
        flex 0.8s var(--ease-out),
        border-color 0.4s var(--ease-out),
        box-shadow 0.6s var(--ease-out);
    will-change: flex, transform;
}

/* Dynamic background hover mesh */
.server-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 350px at 50% 100%, rgba(var(--accent-rgb), 0.08), transparent 100%);
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
    z-index: 1;
    pointer-events: none;
}

.card-tech-indicator {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.card-tech-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.card-number {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* Character Pedestal */
.character-stage {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.stage-spotlight {
    position: absolute;
    bottom: 25%;
    width: 320px;
    height: 160px;
    background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
    filter: blur(25px);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
}

.character-platform {
    position: absolute;
    bottom: 23%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.6s var(--ease-out);
}

.platform-ring {
    position: absolute;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    border-radius: 50%;
    transform: rotateX(75deg);
}

.ring-1 {
    width: 90px;
    height: 30px;
    animation: ringPulse 3.5s ease-in-out infinite;
}

.ring-2 {
    width: 140px;
    height: 46px;
    animation: ringPulse 3.5s ease-in-out 0.5s infinite;
    opacity: 0.6;
}

.voxel-wrap {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, 0);
    transition: transform 0.6s var(--ease-out);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 5;
}

.voxel-character-img {
    height: 450px;
    width: auto;
    object-fit: contain;
    transform-origin: bottom center;
    transition: transform 0.8s var(--ease-out);
    filter: drop-shadow(0 15px 30px rgba(var(--accent-rgb), 0.25));
    position: relative;
    z-index: 5;
}

.char-particles {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
}

.cp {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    animation: cpFloat 4.5s ease-in-out infinite;
}

.cp-1 {
    bottom: 35%;
    left: 25%;
    animation-delay: 0s;
    --tx: -10px;
}

.cp-2 {
    bottom: 50%;
    right: 25%;
    animation-delay: 1.5s;
    --tx: 10px;
}

/* Info area */
.card-info {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-top {
    display: flex;
    flex-direction: column;
}

.server-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.server-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-sub);
    max-width: 280px;
    opacity: 0.8;
}

.card-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-online {
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.stat-val {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.online-bar {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.online-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 0;
    transition: width 1.2s var(--ease-out);
}

/* Sleek minimalist Apple/Riot CTA Button */
.card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all 0.4s var(--ease-out);
}

.cta-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    transition: color 0.4s;
}

.cta-arrow {
    color: var(--text);
    transform: translateX(0);
    transition: transform 0.4s var(--ease-out), color 0.4s;
}

/* --- HOVER ACTIVE STATE (AAA Expanding Panel Effect) --- */
.server-card:hover {
    flex: 1.4;
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: var(--shadow-premium), 0 0 60px rgba(var(--accent-rgb), 0.05);
}

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

.server-card:hover .stage-spotlight {
    opacity: 1;
}

.server-card:hover .character-platform {
    opacity: 0.8;
}

.server-card:hover .voxel-wrap {
    transform: translate(-50%, -15px);
}

.server-card:hover .voxel-character-img {
    transform: scale(1.15);
}

.server-card:hover .char-particles {
    opacity: 1;
}

.server-card:hover .online-bar-fill {
    width: var(--percent-width) !important;
}

.server-card:hover .card-cta {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.35);
}

.server-card:hover .cta-text {
    color: #FFFFFF;
}

.server-card:hover .cta-arrow {
    color: #FFFFFF;
    transform: translateX(6px);
}

/* Offline/Disabled Server Card Styles */
.server-card.disabled-card {
    opacity: 0.45;
    filter: grayscale(0.9);
    cursor: not-allowed;
}

.server-card.disabled-card:hover {
    flex: 1 !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: var(--shadow-soft) !important;
    transform: none !important;
}

.server-card.disabled-card:hover .voxel-wrap {
    transform: translate(-50%, 0) !important;
}

.server-card.disabled-card:hover .voxel-character-img {
    transform: none !important;
}

.server-card.disabled-card:hover .stage-spotlight {
    opacity: 0 !important;
}

.server-card.disabled-card:hover .character-platform {
    opacity: 0.15 !important;
}

.server-card.disabled-card:hover .card-cta {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: none !important;
}

.online-beacon.offline {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.card-cta.disabled-state {
    border-color: rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-muted);
}

.card-cta.disabled-state .cta-text {
    color: var(--text-muted) !important;
}

/* Elegant Notification Toast */
.toast-error-notification {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(14, 14, 16, 0.85);
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1000;
    animation: toastSlideIn 0.5s var(--ease-spring);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.toast-message {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.toast-icon {
    flex-shrink: 0;
}

@keyframes toastSlideIn {
    from { transform: translate(-50%, -30px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* Dim sibling panels */
.servers-grid:hover .server-card:not(:hover) {
    opacity: 0.35;
    transform: scale(0.98);
}

/* --- Footer select screen --- */
.portal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 10px;
}

.footer-brand {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.footer-copy {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================================
   PAGE: SERVER HOME (MINIMAL PRO DETAILED)
   ============================================================ */

.server-home-page {
    position: relative;
    padding: 0 60px;
    max-width: 1800px;
    margin: 0 auto;
}

/* ---- Fixed Glassmorphism Navbar ---- */
.server-navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 120px);
    max-width: 1680px;
    height: 72px;
    padding: 0 32px;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    transition:
        background 0.4s var(--ease-out),
        box-shadow 0.4s var(--ease-out),
        border-color 0.4s;
}

.server-navbar.scrolled {
    background: rgba(10, 10, 12, 0.88);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.09);
}

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

.nav-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-logo-text span {
    color: var(--accent);
}

.nav-logo-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    padding: 4px 10px;
    border-radius: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sub);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

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

.nav-status-ping {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
    color: var(--text-sub);
}

.ping-indicator-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: beaconPulse 2s ease-in-out infinite;
}

.nav-back-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-sub);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease-out);
}

.nav-back-select:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-hover);
}

/* ---- Hero Section ---- */
.server-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px;
    gap: 80px;
}

.hero-left {
    flex: 1;
    max-width: 620px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.07);
    border: 1px solid rgba(var(--accent-rgb), 0.16);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 800;
    letter-spacing: -3.5px;
    line-height: 0.95;
    color: var(--text);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-sub);
    margin-bottom: 40px;
}

/* Play & Copy CTA group (Essential style) */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-play-now {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--accent);
    padding: 18px 32px;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.25);
    transition: all 0.4s var(--ease-spring);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-play-now:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.45);
}

.hero-ip-pill {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 5px 5px 5px 18px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.hero-ip-pill:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

.ip-address {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    margin-right: 16px;
}

.copy-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    padding: 12px 18px;
    border-radius: calc(var(--radius-sm) - 4px);
    transition: all 0.3s;
}

.hero-ip-pill:hover .copy-badge {
    background: var(--accent);
    color: #FFFFFF;
}

/* Dashboard metrics block */
.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    max-width: 680px;
}

.metric-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-val {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    line-height: 1;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Hero Right: 3D character wrap */
.hero-right {
    flex: 0 0 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character-aura {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-character-img-wrap {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character-img {
    height: 500px;
    width: auto;
    object-fit: contain;
    transform-origin: bottom center;
    transition: transform 0.8s var(--ease-out);
    filter: drop-shadow(0 20px 40px rgba(var(--accent-rgb), 0.3));
}

.hero-character-shadow {
    position: absolute;
    bottom: -30px;
    width: 180px;
    height: 24px;
    background: rgba(var(--accent-rgb), 0.15);
    filter: blur(15px);
    border-radius: 50%;
}

/* ============================================================
   ESSENTIAL.GG MULTI-FEATURE LAYOUT SECTIONS
   ============================================================ */

.feature-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
}

.feature-section.alternate {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    max-width: 580px;
}

.feature-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.feature-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 850;
    letter-spacing: -2px;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 20px;
}

.feature-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-sub);
}

/* Premium media container for high fidelity screenshot */
.feature-media-container {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Internal glass reflection gloss */
.feature-media-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* Inside simulated game screenshot placeholder */
.media-viewport {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    background: #0E0E10;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.media-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* Interactive play overlay */
.media-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 3;
}

.feature-media-container:hover .media-play-overlay {
    opacity: 1;
}

.play-button-icon {
    width: 64px;
    height: 64px;
    background: #FFFFFF;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-spring);
}

.feature-media-container:hover .play-button-icon {
    transform: scale(1);
}

/* ---- Donate Section ---- */
.donate-section {
    padding: 100px 0;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-eyebrow::before {
    content: '';
    width: 30px;
    height: 1.5px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-sub);
    max-width: 600px;
    margin-bottom: 64px;
}

/* Donate Tabs Switcher */
.donate-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.donate-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6px;
    border-radius: 100px;
    backdrop-filter: blur(12px);
}

.donate-tab-btn {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.donate-tab-btn:hover {
    color: #FFFFFF;
}

.donate-tab-btn.active {
    background: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.3);
}

.donate-grids-container {
    position: relative;
    width: 100%;
}

.donate-grid-group {
    width: 100%;
}

/* Donate Grid layout */
.donate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 70px;
}

/* --- Modern EasyDonat / CraftEngine Gaming Shop Style --- */
.shop-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.shop-title-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.shop-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin: 4px 0 8px 0;
    font-family: var(--font-display, inherit);
    letter-spacing: -0.01em;
}

.title-accent-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FF6F00 0%, #ff9e00 100%);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(255, 111, 0, 0.6);
}

/* Shop Search Box */
.shop-search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-search-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-mono);
}

.shop-search-input-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 16, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 16px;
    width: 240px;
    transition: all 0.25s ease;
}

.shop-search-input-box:focus-within {
    border-color: #FF6F00;
    box-shadow: 0 0 16px rgba(255, 111, 0, 0.25);
}

.shop-search-input-box svg {
    color: rgba(255, 255, 255, 0.4);
}

.shop-search-input-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 13px;
    width: 100%;
    font-family: inherit;
}

/* Donate Tabs Switcher (Screenshot Style) */
.donate-tabs-wrapper {
    margin-bottom: 32px;
}

.donate-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.donate-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 20, 22, 0.85);
    border: 1px solid rgba(255, 111, 0, 0.18);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.donate-tab-btn:hover {
    background: rgba(255, 111, 0, 0.15);
    color: #ffffff;
    border-color: rgba(255, 111, 0, 0.4);
}

.donate-tab-btn.active {
    background: linear-gradient(135deg, #FF6F00 0%, #ff4500 100%);
    color: #ffffff;
    border-color: #FF6F00;
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.donate-tab-btn svg,
.donate-tab-btn .tab-icon {
    font-size: 14px;
}

/* Compact Gaming Product Cards Grid */
.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.donate-card {
    background: linear-gradient(180deg, rgba(22, 18, 20, 0.9) 0%, rgba(14, 12, 14, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.donate-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent, #FF6F00);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(var(--accent-rgb, 255, 111, 0), 0.25);
}

.donate-popular-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    color: #ffffff;
    background: #FF6F00;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(255, 111, 0, 0.4);
}

/* Card Top Title */
.donate-card-top-title {
    text-align: center;
    margin-bottom: 12px;
}

.donate-card-top-title h3 {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    font-family: var(--font-display, inherit);
}

/* 3D Image Character Stage */
.donate-card-character {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.character-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb, 255, 111, 0), 0.25) 0%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
}

.donate-character-img {
    height: 125px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.donate-card:hover .donate-character-img {
    transform: scale(1.08) translateY(-4px);
}

/* Bottom Bar: Price & Button (Screenshot Layout) */
.donate-card-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.donate-card-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.donate-card-price .price-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
    font-family: var(--font-mono);
}

.donate-card-price .price-curr {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent, #FF6F00);
}

/* Orange Cart Button */
.donate-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6F00 0%, #ff4500 100%);
    color: #ffffff;
    font-family: var(--font-display, inherit);
    font-size: 13px;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(255, 111, 0, 0.35);
    white-space: nowrap;
}

.donate-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.5);
    filter: brightness(1.1);
}

.no-products-found {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.donate-buy-btn:hover .btn-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    transform: translateX(4px);
}

/* === Card Hover States === */
.donate-card:hover {
    transform: translateY(-12px);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.6), 
        0 0 50px rgba(var(--accent-rgb), 0.08);
}

.donate-card:hover::before {
    opacity: 1;
}

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

.donate-card:hover .character-glow {
    opacity: 1;
}

.donate-card:hover .character-pedestal {
    border-color: rgba(var(--accent-rgb), 0.6);
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.25);
    width: 100px;
}

.donate-card:hover .donate-character-img {
    transform: translateY(-18px) scale(1.08);
    filter: drop-shadow(0 18px 40px rgba(var(--accent-rgb), 0.5));
}

.donate-card:hover .perk-check {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: rgba(var(--accent-rgb), 0.4);
}

/* ============================================================
   RECENT PURCHASES (HISTORY FEED) COMPONENT
   ============================================================ */
.history-section {
    padding: 80px 0 120px 0;
    position: relative;
    z-index: 10;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.history-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--item-color, var(--accent));
    opacity: 0.7;
    transition: all 0.35s ease;
    box-shadow: 0 0 12px var(--item-color, var(--accent));
}

.history-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(var(--item-rgb, var(--accent-rgb)), 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--item-rgb, var(--accent-rgb)), 0.12);
}

.history-card:hover::before {
    opacity: 1;
    width: 4px;
}

.history-new-badge {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 9px;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: pulseNewBadge 2s infinite ease-in-out;
}

@keyframes pulseNewBadge {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }
    50% { opacity: 0.5; box-shadow: none; }
}

.history-avatar-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.history-avatar {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
    image-rendering: pixelated;
}

.history-card:hover .history-avatar {
    transform: scale(1.15);
}

.history-online-dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    border: 1.5px solid #0d0d0f;
    box-shadow: 0 0 6px #10b981;
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-player {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-main);
}

.history-item-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--item-color, var(--text-muted));
    background: rgba(var(--item-rgb, 255,255,255), 0.1);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(var(--item-rgb, 255,255,255), 0.2);
}

.history-item-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 5px currentColor;
}

.history-meta {
    text-align: right;
    flex-shrink: 0;
}

.history-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-mono);
}

.history-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ============================================================
   SERVER RULES COMPONENT
   ============================================================ */

.rules-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.rule-card {
    background: rgba(18, 18, 24, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rule-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.rule-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.rule-badge {
    font-size: 10px;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
}

.badge-allowed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
}

.rule-allowed {
    border-left: 4px solid #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06) 0%, rgba(18, 18, 24, 0.65) 100%);
}

.rule-allowed:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(34, 197, 94, 0.15);
}

.badge-forbidden {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}

.rule-forbidden {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(18, 18, 24, 0.65) 100%);
}

.rule-forbidden:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(239, 68, 68, 0.15);
}

.badge-warning {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.15);
}

.rule-warning {
    border-left: 4px solid #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(18, 18, 24, 0.65) 100%);
}

.rule-warning:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(249, 115, 22, 0.15);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

.rule-info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(18, 18, 24, 0.65) 100%);
}

.rule-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
    font-family: var(--font-display, inherit);
}

.rule-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ============================================================
   FAQ ACCORDION COMPONENT (Essential Style)
   ============================================================ */

.faq-section {
    padding: 120px 0;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 840px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(var(--accent-rgb), 0.2);
}

.accordion-item.active {
    background: rgba(var(--accent-rgb), 0.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--accent-rgb), 0.05);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.3s;
}

.accordion-item.active .accordion-title {
    color: var(--accent);
}

.accordion-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    transition: all 0.4s var(--ease-out);
    flex-shrink: 0;
}

.accordion-item:hover .accordion-icon-wrap {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.accordion-item.active .accordion-icon-wrap {
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(45deg);
    background: rgba(var(--accent-rgb), 0.1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.accordion-inner {
    padding: 0 32px 32px 32px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-sub);
}

/* ---- Server Footer ---- */
.server-footer {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    backdrop-filter: blur(16px);
    margin: 80px 0 40px 0;
    box-shadow: var(--shadow-soft);
}

.server-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

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

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
}

.footer-logo-text span {
    color: var(--accent);
}

.footer-copyright {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.footer-nav-links {
    display: flex;
    gap: 32px;
}

.footer-nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sub);
    transition: color 0.3s;
}

.footer-nav-links a:hover {
    color: #FFFFFF;
}

.back-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-link svg {
    transition: transform 0.3s var(--ease-out);
}

.back-link:hover {
    color: var(--accent);
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* ============================================================
   PREMIUM CUSTOM CURSOR & HUD DECORATIONS
   ============================================================ */

/* Hide default cursor on desktop when custom cursor is active */
@media (hover: hover) {

    .has-custom-cursor,
    .has-custom-cursor a,
    .has-custom-cursor button,
    .has-custom-cursor .server-card,
    .has-custom-cursor .donate-card,
    .has-custom-cursor .btn-primary,
    .has-custom-cursor .btn-secondary,
    .has-custom-cursor .nav-ip-copy,
    .has-custom-cursor .nav-logo {
        cursor: none !important;
    }
}

/* Custom Cursor elements */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.custom-cursor.active {
    opacity: 1;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate3d(var(--cx), var(--cy), 0) translate3d(-50%, -50%, 0) scale(1);
    transition: background-color 0.3s, transform 0.3s var(--ease-spring);
    will-change: transform;
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate3d(var(--rx), var(--ry), 0) translate3d(-50%, -50%, 0) scale(1);
    transition:
        border-color 0.4s,
        background-color 0.4s,
        transform 0.4s var(--ease-out);
    will-change: transform;
}

/* Hovering active element state */
.custom-cursor.hovering .cursor-ring {
    border-color: rgba(var(--primary-rgb), 0.7);
    background-color: rgba(var(--primary-rgb), 0.04);
    transform: translate3d(var(--rx), var(--ry), 0) translate3d(-50%, -50%, 0) scale(1.53); /* 52px / 34px = 1.53 */
}

.custom-cursor.hovering .cursor-dot {
    transform: translate3d(var(--cx), var(--cy), 0) translate3d(-50%, -50%, 0) scale(1.5);
}

/* Dynamic color shifts based on hovered server accent */
.custom-cursor {
    --primary-rgb: 255, 111, 0;
    --primary: #FF6F00;
}

/* Link Hover Underline sweeps */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 1.5px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Desktop down)
   ============================================================ */

@media (max-width: 1600px) {
    .server-select-page {
        padding: 40px;
    }

    .server-navbar {
        width: calc(100% - 80px);
    }

    .server-footer {
        margin: 0 -40px;
    }

    .server-footer-inner {
        padding: 0 40px;
    }
}

@media (max-width: 1440px) {
    .servers-grid {
        height: 60vh;
    }

    .server-card {
        padding: 30px;
    }

    .server-name {
        font-size: 1.8rem;
    }

    .voxel-character {
        width: 120px;
    }

    .donate-grid {
        gap: 16px;
    }

    .feature-section {
        padding: 80px 0;
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .servers-grid {
        flex-direction: column;
        height: auto;
    }

    .server-card {
        height: 250px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .server-card::after {
        background: radial-gradient(circle 250px at 80% 50%, rgba(var(--accent-rgb), 0.08), transparent 100%);
    }

    .server-card:hover {
        flex: none;
        transform: translateY(-5px);
    }

    .servers-grid:hover .server-card:not(:hover) {
        opacity: 0.8;
        transform: none;
    }

    .card-info {
        flex-direction: row;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        height: auto;
    }

    .card-top {
        flex: 1;
    }

    .card-bottom {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }

    .card-cta {
        width: 200px;
    }

    .character-stage {
        right: 280px;
        left: auto;
        top: 0;
        bottom: 0;
        width: 200px;
        height: 100%;
        align-items: center;
        background: transparent;
    }

    .character-platform {
        bottom: 15%;
    }

    .voxel-wrap {
        margin-bottom: 0;
    }

    .stage-spotlight {
        bottom: 10%;
    }

    .server-hero {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding-top: 140px;
        gap: 40px;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-right {
        display: none;
    }

    .stats-bar-inner {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .stats-divider {
        display: none;
    }

    .feature-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-section.alternate {
        flex-direction: column;
    }

    .feature-media-container {
        width: 100%;
        max-width: 600px;
    }

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

@media (max-width: 900px) {
    .server-select-page {
        height: auto;
        overflow: visible;
        padding: 40px 24px;
    }

    .servers-grid {
        height: auto;
    }

    .server-card {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 32px;
    }

    .card-info {
        flex-direction: column;
        align-items: stretch;
    }

    .card-bottom {
        flex-direction: column;
        align-items: stretch;
        margin-top: 24px;
    }

    .character-stage {
        display: none;
    }

    .portal-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .server-navbar {
        width: calc(100% - 48px);
    }
}

@media (max-width: 768px) {
    .server-navbar {
        top: 16px;
    }

    .nav-ip-copy {
        display: none;
    }

    .donate-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .server-footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        text-align: center;
    }

    .footer-nav-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .server-select-page {
        padding: 30px 16px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .server-card {
        padding: 24px;
    }

    .server-name {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

    .server-footer {
        margin: 0 -16px;
    }

    .server-footer-inner {
        padding: 0 16px;
    }

    .stats-bar-inner {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none !important;
    }

    .has-custom-cursor {
        cursor: auto !important;
    }
}

/* ============================================================
   CHECKOUT MODAL & PAYMENT METHOD STYLES
   ============================================================ */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 7, 8, 0.55);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.payment-modal-window {
    background: rgba(14, 14, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 44px;
    max-width: 500px;
    width: calc(100% - 32px);
    box-shadow: var(--shadow-premium), 0 30px 80px rgba(0, 0, 0, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-close-btn {
    position: absolute;
    top: 28px;
    right: 28px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    color: #FFFFFF;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
}

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

/* Rich Modal Product Preview Card */
.modal-product-card {
    display: flex;
    gap: 18px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 24px;
    align-items: center;
}

.modal-product-left {
    flex-shrink: 0;
}

.modal-product-image-stage {
    position: relative;
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.modal-image-glow {
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.35) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.modal-product-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
}

.modal-product-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

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

.modal-product-tag {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 900;
    color: #FF6F00;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-price-val {
    font-size: 1.55rem;
    font-weight: 900;
    color: #ffffff;
    font-family: var(--font-mono);
}

/* Perks Description Box inside Modal */
.modal-perks-box {
    margin-top: 2px;
}

.modal-perks-label {
    font-size: 9px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

.modal-perks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 100px;
    overflow-y: auto;
}

.modal-perks-list li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-perks-list .m-bullet {
    color: #FF6F00;
    font-weight: 900;
    font-size: 10px;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-sub);
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    color: #FFFFFF;
    font-size: 14px;
    width: 100%;
    transition: all 0.25s ease;
}

.form-input:focus {
    border-color: #FF6F00;
    background: rgba(255, 111, 0, 0.03);
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.2);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-method-card {
    position: relative;
    cursor: pointer;
}

.payment-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.method-card-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.method-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: block;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.method-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.method-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
}

.method-desc {
    font-size: 10px;
    color: var(--text-muted);
}

.payment-radio-input:checked + .method-card-content {
    border-color: #FF6F00;
    background: rgba(255, 111, 0, 0.08);
    box-shadow: 0 0 16px rgba(255, 111, 0, 0.2);
}

.payment-radio-input:checked + .method-card-content .method-dot {
    border-color: #FF6F00;
    background: #FF6F00;
    box-shadow: 0 0 10px #FF6F00;
}

.btn-submit-payment {
    font-family: var(--font-display, inherit);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF6F00 0%, #ff4500 100%);
    border: none;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.25s ease;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
    margin-top: 6px;
}

.btn-submit-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 111, 0, 0.55);
    filter: brightness(1.1);
}

.btn-submit-payment:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

/* ============================================================
   PAGE: PAYMENT SUCCESS RECEIPT SCREEN
   ============================================================ */
.payment-success-page {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.success-glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.success-container {
    max-width: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    z-index: 2;
}

.success-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.05);
    border: 2px solid rgba(34, 197, 94, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 8px;
}

.checkmark-svg {
    width: 32px;
    height: 32px;
}

.badge-pulse {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(34, 197, 94, 0.15);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-2 {
    animation-delay: 0.8s;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.success-title {
    font-size: 2.2rem;
    font-weight: 850;
    color: #FFFFFF;
}

.success-subtitle {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
}

.demo-badge-banner {
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 750;
    color: #eab308;
    letter-spacing: 0.5px;
}

.receipt-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-premium);
    text-align: left;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.receipt-date {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.receipt-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
}

.receipt-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-label {
    font-size: 13px;
    color: var(--text-sub);
}

.receipt-value {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.receipt-value.price-text {
    font-size: 16px;
    font-weight: 800;
}

.receipt-value.status-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    color: #22c55e;
}

.receipt-note {
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-muted);
}

.success-actions {
    display: flex;
    gap: 16px;
    width: 100%;
}

.btn-return-home {
    flex: 1.2;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFFFFF;
    padding: 18px;
    border-radius: var(--radius-sm);
    transition: all 0.4s var(--ease-spring);
}

.btn-return-home:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.btn-select-different {
    flex: 0.8;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-sub);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.btn-select-different:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.01);
}

/* ============================================================
   CURRENCY SHOP WITH SLIDER (Essential Style)
   ============================================================ */
.currency-section {
    padding: 0 0 100px 0;
    max-width: 1680px;
    margin: 0 auto;
}

.currency-card-panel {
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.currency-card-panel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.currency-left-icon {
    flex-shrink: 0;
    z-index: 2;
}

.currency-logo-container {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: coinFloat 3.5s ease-in-out infinite;
}

.currency-shop-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 25px rgba(var(--accent-rgb), 0.35));
    z-index: 1;
}

.currency-inner-img {
    position: absolute;
    width: 46px;
    height: 46px;
    object-fit: contain;
    z-index: 2;
    margin-top: -2px; /* Slight centering compensation for coin perspective */
}

@keyframes coinFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.currency-center-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
}

.currency-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.currency-card-title {
    font-size: 1.6rem;
    font-weight: 850;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.currency-value-counter {
    font-size: 2.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1px;
}

.currency-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.currency-card-desc {
    font-size: 13px;
    color: var(--text-sub);
    margin-top: -8px;
}

.currency-slider-container {
    position: relative;
    width: 100%;
    margin: 8px 0;
}

/* Range Slider input reset and styling */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 5;
    transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid #0e0e10;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.6);
    transition: transform 0.2s var(--ease-spring), background-color 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.22);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    margin-top: 12px;
}

.slider-ticks .tick {
    width: 2px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

/* Calculation row */
.currency-calc-row {
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, 0.008);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 16px 28px;
    max-width: 480px;
}

.calc-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.calc-label {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-val {
    font-size: 18px;
    font-weight: 850;
    color: #FFFFFF;
}

.calc-divider-arrow {
    color: var(--text-muted);
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Action button area */
.currency-right-action {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    padding-left: 48px;
    z-index: 2;
}

.btn-buy-currency {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s var(--ease-spring);
    text-align: left;
}

.btn-buy-currency:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.btn-currency-arrow-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
}

.btn-buy-currency:hover .btn-currency-arrow-wrap {
    transform: translateX(4px);
}

.currency-agreements {
    font-size: 10px;
    line-height: 1.6;
    color: var(--text-muted);
}

.currency-agreements a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.currency-agreements a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .currency-card-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 32px;
        gap: 32px;
    }
    
    .currency-left-icon {
        display: none;
    }
    
    .currency-right-action {
        width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        padding-top: 24px;
    }
}

/* ============================================================
   LEGAL PAGES (Terms & Privacy Policy)
   ============================================================ */
.legal-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 120px;
    font-family: var(--font-body);
}

/* --- Nav bar --- */
.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 64px;
}

.legal-nav-logo {
    text-decoration: none;
}

.legal-nav-logo .logo-text {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.legal-nav-logo .logo-accent {
    color: var(--accent, #FF6F00);
}

.legal-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-sub);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-nav-back:hover {
    color: #FFFFFF;
}

/* --- Header --- */
.legal-header {
    position: relative;
    margin-bottom: 80px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 72px 56px;
    background: rgba(255,255,255,0.012);
    border: 1px solid rgba(255,255,255,0.04);
}

.legal-header-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(255, 111, 0, 0.10) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.legal-header-inner {
    position: relative;
    z-index: 1;
}

.legal-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent, #FF6F00);
    border: 1px solid rgba(255, 111, 0, 0.2);
    background: rgba(255, 111, 0, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.legal-last-updated {
    font-size: 13px;
    color: var(--text-muted);
}

.legal-last-updated strong {
    color: var(--text-sub);
}

/* --- Two column layout: TOC + content --- */
.legal-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 64px;
    align-items: start;
}

/* --- Sticky Table of Contents --- */
.legal-toc {
    position: sticky;
    top: 32px;
    background: rgba(255,255,255,0.012);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    padding: 28px;
}

.toc-title {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-list li {
    counter-increment: toc-counter;
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1.4;
}

.toc-list a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.toc-list a:hover {
    color: #FFFFFF;
    background: rgba(255,255,255,0.04);
}

/* --- Sections --- */
.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.legal-section {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 850;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent, #FF6F00);
    background: rgba(255, 111, 0, 0.08);
    border: 1px solid rgba(255, 111, 0, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.sub-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 24px 0 12px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-sub);
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section p a {
    color: var(--accent, #FF6F00);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.legal-section p a:hover {
    text-decoration: underline;
    color: #FFFFFF;
}

/* --- Lists --- */
.legal-list {
    margin: 0 0 12px;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-list li {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-sub);
    padding-left: 22px;
    position: relative;
}

.legal-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent, #FF6F00);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
}

.legal-list--prohibited li::before {
    content: '✕';
    font-size: 11px;
    color: #ef4444;
    top: 3px;
}

/* --- Info Blocks --- */
.legal-note,
.legal-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.65;
    margin-top: 20px;
}

.legal-note {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.legal-note svg {
    stroke: #60a5fa;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-warning {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

.legal-warning svg {
    stroke: #fbbf24;
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Contacts --- */
.legal-contacts {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent, #FF6F00);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item:hover {
    color: #FFFFFF;
}

/* --- Bottom footer --- */
.legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.legal-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-link:hover {
    color: #FFFFFF;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }

    .legal-header {
        padding: 40px 28px;
    }

    .legal-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

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

/* ============================================================
   PROMO CODE SYSTEM STYLES
   ============================================================ */
.promo-input-wrapper {
    display: flex;
    gap: 12px;
}

.promo-input-wrapper .form-input {
    flex: 1;
}

.btn-apply-promo {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    border: none;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-apply-promo:hover {
    filter: brightness(1.15);
}

.promo-status-msg {
    display: block;
    font-size: 11px;
    margin-top: 8px;
    font-weight: 600;
    transition: color 0.3s;
}

.promo-status-msg.success {
    color: #22c55e;
}

.promo-status-msg.error {
    color: #ef4444;
}

.text-uppercase {
    text-transform: uppercase;
}

.summary-price .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 14px;
    margin-right: 8px;
}

.summary-price .new-price {
    color: var(--accent);
    font-weight: 850;
}/* === Idle Floating Animation for Donate Characters === */
@keyframes characterFloat {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(-16px); }
}

.donate-character-img {
    animation: characterFloat 3.5s ease-in-out infinite;
}

.donate-card:hover .donate-character-img {
    animation-play-state: paused;
}

/* === Premium Card Glow Pulse for Popular Items === */
@keyframes popularPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.4); }
    50% { box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.6); }
}

.donate-card.popular .donate-popular-badge {
}

/* === Idle Floating Animation for Donate Characters === */
@keyframes characterFloat {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(-16px); }
}

.donate-character-img {
    animation: characterFloat 3.5s ease-in-out infinite;
}

.donate-card:hover .donate-character-img {
    animation-play-state: paused;
}

/* === Premium Card Glow Pulse for Popular Items === */
@keyframes popularPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.4); }
    50% { box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.6); }
}

.donate-card.popular .donate-popular-badge {
    animation: popularPulse 2s ease-in-out infinite;
}

/* === Smooth Card Entrance === */
.donate-card {
    will-change: transform;
}

/* === Minecraft Chat Rank Badge & Pricing Styles === */
.mc-rank-tag-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.mc-rank-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 10px;
    border: 1px solid currentColor;
    text-transform: uppercase;
}

.mc-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 20px;
}

.mc-price-display {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.mc-price-val {
    font-size: 1.7rem;
    font-weight: 900;
    color: #FFFFFF;
    font-family: var(--font-mono);
}

.mc-price-curr {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.mc-price-discount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.mc-old-price {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-family: var(--font-mono);
}

.mc-discount-pill {
    font-size: 10px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 7px;
    border-radius: 6px;
}

/* === Perk Item Hover Enhancement === */
.donate-perk:hover {
    color: var(--text);
}

.donate-perk:hover .perk-check {
    transform: scale(1.15);
    background: rgba(var(--accent-rgb), 0.2);
}

/* ============================================================
   DEDICATED RULES PAGE STYLES
   ============================================================ */

.rules-page-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 24px 80px 24px;
}

.rules-hero-section {
    padding: 60px 0 40px 0;
    text-align: center;
}

.rules-hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.rules-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 12px 0;
    font-family: var(--font-display, inherit);
    letter-spacing: -0.02em;
}

.rules-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Live Search Box */
.rules-search-box {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: rgba(18, 18, 24, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 6px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.rules-search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08);
}

.rules-search-box svg {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.rules-search-box input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 0.98rem;
    color: #ffffff;
    font-family: inherit;
}

.rules-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#rules-search-clear {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    padding: 0 6px;
    transition: color 0.2s;
}

#rules-search-clear:hover {
    color: #ffffff;
}

/* Tabs Switcher */
.rules-tabs-container {
    margin-top: 36px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rules-tabs-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 16px;
}

.rules-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rules-tab-btn .tab-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tab-accent, rgba(255, 255, 255, 0.4));
    transition: transform 0.25s ease;
}

.rules-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.rules-tab-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: var(--tab-accent, #3b82f6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rules-tab-btn.active .tab-dot {
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--tab-accent, #3b82f6);
}

/* Panes Wrapper */
.rules-panes-wrapper {
    position: relative;
    min-height: 400px;
}

.rules-server-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rules-server-pane.active {
    display: block;
    opacity: 1;
}

/* Pane Banner Header */
.rules-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.8) 0%, rgba(10, 10, 14, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent, #3b82f6);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.pane-server-tag {
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent, #3b82f6);
    text-transform: uppercase;
}

.pane-server-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 6px 0;
}

.pane-server-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.pane-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-copy-ip-rule {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.btn-copy-ip-rule:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-copy-ip-rule .ip-code {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent, #3b82f6);
    font-size: 13px;
}

.btn-goto-server {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent, #3b82f6);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-goto-server:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    filter: brightness(1.1);
}

/* Discord Banner */
.rules-help-banner {
    margin-top: 60px;
}

.help-banner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(12, 12, 16, 0.7) 100%);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 16px;
    padding: 28px 32px;
    flex-wrap: wrap;
}

.help-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865F2;
    flex-shrink: 0;
}

.help-banner-text {
    flex: 1;
}

.help-banner-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.help-banner-text p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.btn-discord-help {
    background: #5865F2;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord-help:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.no-rules-found {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

/* ============================================================
   MOBILE MENU DRAWER & RESPONSIVE HEADER FIXES
   ============================================================ */

.server-nav-header,
.server-navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 120px);
    max-width: 1680px;
    height: 72px;
    padding: 0 32px;
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    gap: 16px;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}

.nav-brand,
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Mobile Hamburger Toggle Button */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.25s ease;
}

.nav-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated Cross Icon for Burger Toggle */
.nav-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 8, 12, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: rgba(14, 14, 20, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-nav-overlay.open .mobile-nav-drawer {
    transform: translateX(0);
}

.mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-close {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FF6F00;
}

.mobile-nav-links {
    list-style: none;
    padding: 24px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.mobile-nav-links .m-icon {
    font-size: 1.1rem;
}

.mobile-nav-actions {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.menu-overflow-lock {
    overflow: hidden !important;
}

/* Media Queries for Mobile Header */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .nav-mobile-toggle {
        display: flex !important;
    }

    .server-nav-header,
    .server-navbar {
        height: 58px;
        padding: 0 16px;
        width: calc(100% - 24px);
        top: 12px;
    }

    .rules-hero-title {
        font-size: 2rem;
    }

    .rules-page-wrapper {
        padding: 0 16px 60px 16px;
    }
}