/* Modern Premium Theme — Black & Gold */
:root {
    /* Core Colors */
    --primary-color: #76da31;
    --primary-hover: #86ee41;
    --secondary-color: #99f65a;
    --secondary-hover: #bcff8a;
    --accent-color: #55bf04;
    
    /* Neutrals */
    --bg-color: #060606;
    --bg-surface: #0e0e0e;
    --bg-elevated: #181818;
    --bg-highlight: rgba(118, 218, 49, 0.08);
    --bg-card: linear-gradient(160deg, rgba(22, 20, 16, 0.95) 0%, rgba(12, 11, 9, 0.98) 100%);
    
    /* Text */
    --text-primary: #efeeec;
    --text-secondary: #b0ec87;
    --text-muted: #9a9080;
    
    /* Status */
    --success: #4ade80;
    --warning: #80ff20;
    --error: #f87171;
    --info: #76da31;
    
    /* Borders */
    --border-thin: rgba(118, 218, 49, 0.15);
    --border-thick: rgba(118, 218, 49, 0.42);
    --border-gold: rgba(118, 218, 49, 0.32);
    --border-glow: rgba(118, 218, 49, 0.5);
    
    /* Effects */
    --glass-bg: rgba(14, 14, 14, 0.92);
    --glass-border: rgba(118, 218, 49, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(118, 218, 49, 0.04);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(118, 218, 49, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(118, 218, 49, 0.08);
    --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 28px rgba(118, 218, 49, 0.18), 0 0 8px rgba(118, 218, 49, 0.12);
    --shadow-gold-intense: 0 4px 24px rgba(118, 218, 49, 0.25), 0 0 48px rgba(118, 218, 49, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #55bf04, #76da31);
    --gradient-secondary: linear-gradient(135deg, #76da31, #99f65a);
    --gradient-accent: linear-gradient(135deg, #69cf21, #86ee41);
    --gradient-dark: linear-gradient(160deg, #141210 0%, #080706 100%);
    --gradient-gold: linear-gradient(90deg, #55bf04, #76da31, #99f65a);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(118, 218, 49, 0.12) 0%, rgba(85, 191, 4, 0.06) 100%);
    --gradient-card: linear-gradient(160deg, rgba(22, 20, 16, 0.98) 0%, rgba(10, 9, 8, 0.99) 100%);
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 1.25rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    order: -1;
    margin-right: 10px;
    z-index: 1000;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-toggle.active {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i.fa-bars::before {
    content: '\f00d';
}

/* Touch-friendly improvements */
@media (hover: none) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Compact header: keep bar tight to controls */
    .compact-topbar a,
    .compact-topbar button {
        min-height: unset;
        min-width: unset;
    }
}

/* Prevent text selection on mobile for better UX */
@media (max-width: 768px) {
    button, .btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Improve scrolling on mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    font-size: 1.02rem;
    letter-spacing: 0.015em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium ambient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 60% 50% at 10% 40%, rgba(118, 218, 49, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 20%, rgba(85, 191, 4, 0.035) 0%, transparent 45%),
        radial-gradient(ellipse 70% 60% at 50% 90%, rgba(118, 218, 49, 0.025) 0%, transparent 50%),
        linear-gradient(160deg, #060606 0%, #0a0908 50%, #080706 100%);
    pointer-events: none;
    z-index: -2;
}

/* Subtle noise texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

/* Page cover: main + footer (below header / mini-hero / compact bar) */
.site-cover-wrap {
    position: relative;
    z-index: 10;
    overflow-x: clip;
    min-height: 50vh;
    padding-bottom: 2px;
    background-color: var(--bg-color);
    background-image:
        linear-gradient(
            180deg,
            rgba(6, 6, 5, 0.6) 0%,
            rgba(6, 6, 5, 0.75) 30%,
            rgba(6, 6, 5, 0.92) 100%
        ),
        url('../images/cover.jpg?v=ultra1');
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center top, center 30%;
    background-attachment: scroll, fixed;
}

.site-cover-wrap > .container_main {
    position: relative;
    z-index: 1;
}

.site-cover-wrap footer {
    position: relative;
    z-index: 1;
    background: rgba(6, 6, 5, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(118, 218, 49, 0.12);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .site-cover-wrap {
        background-attachment: scroll, scroll;
    }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 60%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--primary-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1600px; /* Wider container */
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
.main-header {
    background: linear-gradient(180deg, rgba(12, 11, 9, 0.98) 0%, rgba(8, 8, 7, 0.99) 100%);
    position: relative;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-thin);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(118, 218, 49, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Compact top bar */
.compact-topbar {
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, rgba(13, 16, 10, 0.95) 0%, rgba(10, 9, 8, 0.98) 100%);
    border-bottom: 1px solid rgba(118, 218, 49, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-top: 0;
    padding: 8px 0;
    line-height: 1;
}

.compact-topbar .container {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
}

.mini-hero {
    position: relative;
    z-index: 1;
    background-color: #081a28;
    background-image: url('../images/header-banner.png?v=ultra1');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mini-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 28, 44, 0.55) 0%, rgba(12, 52, 78, 0.42) 100%);
    z-index: 1;
}

.mini-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(4, 18, 32, 0.72) 86%);
    z-index: 2;
}

.mini-hero-inner {
    position: relative;
    z-index: 3;
    padding: 10px 16px;
}

.mini-hero-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    border-radius: 12px;
    position: relative;
}

.mini-hero-logo-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6%;
    width: 78%;
    height: 42%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    border-radius: 50% 50% 40% 40%;
    background:
        radial-gradient(ellipse 80% 55% at 50% 100%, rgba(152, 255, 20, 0.95) 0%, rgba(255, 60, 0, 0.45) 42%, transparent 72%),
        radial-gradient(ellipse 50% 40% at 30% 90%, rgba(158, 255, 80, 0.75) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 70% 88%, rgba(157, 255, 40, 0.7) 0%, transparent 55%);
    filter: blur(5px);
    animation: mini-hero-fire-glow 2.6s ease-in-out infinite;
}

.mini-hero-logo-link:focus-visible {
    outline: 2px solid rgba(118, 218, 49, 0.85);
    outline-offset: 4px;
}

.mini-hero-logo {
    position: relative;
    z-index: 1;
    height: 92px;
    width: auto;
    max-width: 520px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(118, 218, 49, 0.45));
}

.mini-hero-logo.mini-hero-logo--fire {
    animation: mini-hero-logo-flame 2.6s ease-in-out infinite;
    will-change: filter, opacity;
}

@keyframes mini-hero-fire-glow {
    0%,
    78%,
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.85);
    }
    6% {
        opacity: 1;
        transform: translateX(-50%) scale(1.12);
    }
    12% {
        opacity: 0.15;
        transform: translateX(-50%) scale(0.9);
    }
    18% {
        opacity: 0.95;
        transform: translateX(-50%) scale(1.08);
    }
    28% {
        opacity: 0.35;
        transform: translateX(-50%) scale(1);
    }
    38% {
        opacity: 1;
        transform: translateX(-50%) scale(1.15);
    }
    48% {
        opacity: 0.2;
        transform: translateX(-50%) scale(0.92);
    }
    58% {
        opacity: 0.85;
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes mini-hero-logo-flame {
    0%,
    78%,
    100% {
        filter: drop-shadow(0 0 14px rgba(118, 218, 49, 0.45)) brightness(1);
        opacity: 1;
    }
    5% {
        filter:
            drop-shadow(0 0 28px rgba(168, 255, 30, 0.95)) drop-shadow(0 10px 26px rgba(255, 40, 0, 0.55))
            brightness(1.35) saturate(1.35);
        opacity: 0.88;
    }
    8% {
        filter: brightness(2.1) contrast(1.1);
        opacity: 0.35;
    }
    10% {
        filter:
            drop-shadow(0 0 36px rgba(148, 255, 40, 1)) drop-shadow(0 0 20px rgba(255, 60, 0, 0.85)) brightness(1.45)
            saturate(1.5);
        opacity: 1;
    }
    16% {
        filter: drop-shadow(0 0 18px rgba(118, 218, 49, 0.5)) brightness(1.05);
        opacity: 1;
    }
    36% {
        filter:
            drop-shadow(0 0 30px rgba(152, 255, 0, 0.9)) drop-shadow(0 8px 22px rgba(255, 30, 0, 0.45)) brightness(1.28)
            saturate(1.25);
        opacity: 0.92;
    }
    40% {
        opacity: 0.55;
        filter: brightness(1.9);
    }
    42% {
        filter: drop-shadow(0 0 22px rgba(171, 255, 60, 0.95)) brightness(1.25);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mini-hero-logo.mini-hero-logo--fire,
    .mini-hero-logo-link::after {
        animation: none;
    }

    .mini-hero-logo.mini-hero-logo--fire {
        filter: drop-shadow(0 0 18px rgba(118, 218, 49, 0.45));
    }
}

.compact-topbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    gap: 12px;
    min-height: 0;
    line-height: 1;
}

.compact-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.compact-join-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 8px;
    line-height: 1;
    background: linear-gradient(180deg, #86dc2c 0%, #4d9e17 55%, #357a0c 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(190, 255, 120, 0.55);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), 0 0 12px rgba(122, 236, 36, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.compact-join-discord:hover {
    background: linear-gradient(180deg, #9cec42 0%, #5cb31d 55%, #3f8a10 100%);
    color: #fff !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12), 0 0 18px rgba(122, 236, 36, 0.55);
}

.compact-join-discord i {
    font-size: 1.1rem;
}

.compact-social-pill {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.compact-social-pill:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.compact-social-pill--facebook {
    background: radial-gradient(circle at 50% 35%, #2e6a12 0%, #12280a 100%);
    border-color: rgba(160, 255, 90, 0.6) !important;
    box-shadow: 0 0 10px rgba(122, 236, 36, 0.3);
}

.compact-social-pill--instagram {
    background: radial-gradient(circle at 28% 108%, #ffdc80 0%, #f77737 28%, #e1306c 62%, #833ab4 100%);
}

.compact-social-pill--facebook:hover,
.compact-social-pill--instagram:hover {
    color: #fff !important;
}

.compact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.compact-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    line-height: 1;
    background: var(--gradient-primary);
    border: 1px solid rgba(118, 218, 49, 0.5);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(118, 218, 49, 0.25);
}

.compact-download i {
    font-size: 1rem;
}

.compact-download:hover {
    background: var(--primary-hover);
    border-color: rgba(118, 218, 49, 0.7);
    box-shadow: 0 4px 16px rgba(118, 218, 49, 0.35);
}

.compact-search {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 4px 4px 10px;
    border-radius: 8px;
    background: rgba(13, 16, 10, 0.8);
    border: 1px solid rgba(118, 218, 49, 0.25);
    min-width: 0;
    flex: 1;
    max-width: 280px;
    transition: border-color 0.25s ease;
}

.compact-search:focus-within {
    border-color: rgba(118, 218, 49, 0.5);
    box-shadow: 0 0 0 2px rgba(118, 218, 49, 0.1);
}

.compact-search input {
    flex: 1;
    min-width: 0;
    width: auto;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    padding: 4px 0;
    line-height: 1.2;
}

.compact-search input::placeholder {
    color: rgba(154, 144, 128, 0.7);
}

.compact-search button {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    border: none;
    cursor: pointer;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.85rem;
}

.compact-search button:hover {
    background: var(--primary-hover);
    box-shadow: 0 2px 10px rgba(118, 218, 49, 0.35);
}

/* Server status strip (second row in compact header) */
.compact-server-strip {
    border-top: 1px solid rgba(118, 218, 49, 0.08);
    padding: 5px 10px 5px;
    background: transparent;
}

.compact-server-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    max-width: 100%;
}

.compact-server-strip__inner--centered {
    width: 100%;
    justify-content: center;
}

.compact-server-strip__block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.compact-server-strip__ico {
    color: var(--primary-color);
    font-size: 0.95rem;
    opacity: 0.9;
}

.compact-server-strip__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.compact-server-strip__value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.compact-server-strip__value .players-count {
    font-weight: 800;
    color: var(--secondary-color);
    margin-right: 2px;
}

.compact-server-strip__sep {
    width: 1px;
    height: 22px;
    background: rgba(118, 218, 49, 0.25);
    flex-shrink: 0;
}

.compact-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-status-chip .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(248, 113, 113, 0.95);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15);
}

.compact-status-chip.is-online .status-dot {
    background: rgba(52, 211, 153, 0.95);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.compact-status-chip.is-online .status-text {
    color: #6ee7b7;
}

.compact-status-chip.is-offline .status-text {
    color: #fca5a5;
}

/* Discord embed under Top 5 (official iframe) */
.online-players-widget {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    margin-bottom: 20px;
    overflow: hidden;
}

.online-players-widget__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(22, 28, 18, 0.95) 0%, rgba(16, 15, 12, 0.98) 100%);
    border-bottom: 1px solid rgba(118, 218, 49, 0.12);
}

.online-players-widget__head i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.online-players-widget__title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    margin-left: 10px;
}

.online-count {
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(118, 218, 49, 0.3);
}

.online-players-widget__body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.online-player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(13, 16, 10, 0.4);
    border: 1px solid rgba(118, 218, 49, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    gap: 10px;
}

.online-player-outfit {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.online-player-outfit img {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.online-player-row:last-child {
    margin-bottom: 0;
}

.online-player-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.online-player-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.online-player-name:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.online-player-vocation {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.online-player-level {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.no-online-players {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
}

.no-online-players i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.no-online-players p {
    margin: 0;
    font-size: 0.9rem;
}

/* Discord widget card */
.discord-widget-card {
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(88, 101, 242, 0.2);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(88, 101, 242, 0.05) inset;
    background: linear-gradient(160deg, rgba(16, 14, 22, 0.99) 0%, rgba(8, 7, 12, 1) 100%);
}

.discord-widget-card iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 500px;
    border: none;
}

@media (max-width: 768px) {
    .mini-hero {
        height: 150px;
    }
    .mini-hero-logo {
        height: 76px;
        max-width: 92vw;
    }
    .compact-topbar {
        margin-top: 0;
    }
    .compact-topbar-main {
        flex-wrap: wrap;
        gap: 10px;
    }
    .compact-actions {
        margin-left: 0;
        width: 100%;
        justify-content: stretch;
    }
    .compact-search {
        max-width: none;
        flex: 1 1 auto;
    }
    .compact-social {
        width: 100%;
        justify-content: center;
    }

    .compact-server-strip__inner {
        flex-direction: column;
        align-items: center;
    }

    .compact-server-strip__sep {
        display: none;
    }
}

.main-header .header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    padding: 0 15px;
    gap: 14px;
}

.main-header .auth-buttons {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 14px rgba(118, 218, 49, 0.35);
}

/* Header logo link (left, next to menu toggle) */
.logo-image {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* Header Logo Styling */
.header-logo {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header-logo:hover {
    filter: brightness(1.06);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    padding: 8px 15px;
    color: #fff;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #86d243;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: #86d243;
    border-radius: 50%;
}

.nav-links a i {
    font-size: 0.9rem;
    color: #86d243;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons .btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.auth-buttons .btn-outline {
    background-color: transparent;
    border: 1px solid rgba(118, 218, 49, 0.5);
    color: var(--primary-color);
    backdrop-filter: blur(4px);
}

.auth-buttons .btn-outline:hover {
    background: rgba(118, 218, 49, 0.1);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.auth-buttons .btn-primary {
    background: var(--gradient-primary);
    border: 1px solid rgba(118, 218, 49, 0.6);
    color: #fff;
    box-shadow: 0 2px 12px rgba(118, 218, 49, 0.2);
}

.auth-buttons .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(118, 218, 49, 0.35);
}

/* Buttons - Enhanced with more details */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 100%;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid rgba(118, 218, 49, 0.5);
    box-shadow: 0 2px 12px rgba(118, 218, 49, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #69cf21, #86ee41);
    box-shadow: 0 6px 20px rgba(118, 218, 49, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:active {
    box-shadow: 0 1px 6px rgba(118, 218, 49, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(118, 218, 49, 0.5);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(118, 218, 49, 0.08);
    box-shadow: 0 4px 16px rgba(118, 218, 49, 0.15);
    color: var(--secondary-color);
}

.btn-outline:active {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #081a28;
    background-image: url('../images/header-banner.png?v=ultra1');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 32, 50, 0.5) 0%, rgba(12, 52, 78, 0.45) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(4, 18, 32, 0.78) 82%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-logo {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 0 18px rgba(118, 218, 49, 0.55);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* Hero Logo Image Styling */
.hero-logo-image {
    height: 300px;
    width: auto;
    max-width: 1000px;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(118, 218, 49, 0.45));
    transition: var(--transition-smooth);
}

.hero-logo-image:hover {
    filter: drop-shadow(0 0 28px rgba(118, 218, 49, 0.65));
}

.hero-logo::before, 
.hero-logo::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    box-shadow: 0 0 12px 2px rgba(118, 218, 49, 0.65);
}

.hero-logo::before {
    left: 25%;
}

.hero-logo::after {
    right: 25%;
}

.hero-description {
    font-size: 1.2rem;
    color: #c8e8f4;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    box-shadow: 0 0 18px rgba(118, 218, 49, 0.45);
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-button:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 26px rgba(118, 218, 49, 0.35);
}

.hero-button:active {
    box-shadow: 0 2px 12px rgba(118, 218, 49, 0.4);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
        padding: 40px 20px;
    }
    
    .hero-logo {
        font-size: 3rem;
    }
    
    .hero-logo-image {
        height: 200px;
        max-width: 700px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .header-logo {
        height: 56px;
        max-width: 260px;
    }
}

/* Main Layout */
.container_main {
    margin-top: 0;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 300px;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Boxes - Enhanced with premium details */
.left_box,
.right_box,
.center_box {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.left_box::before,
.right_box::before,
.center_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0.7;
    transition: opacity 0.35s ease, height 0.35s ease;
    z-index: 1;
}

.left_box::after,
.right_box::after,
.center_box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at top, rgba(118, 218, 49, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.left_box:hover,
.right_box:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.left_box:hover::before,
.right_box:hover::before {
    opacity: 1;
}

.left_box:hover::after,
.right_box:hover::after,
.center_box:hover::after {
    opacity: 1;
}

/* Side columns: relaxed layout + glass-style cards */
.container_left,
.container_right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 0;
    align-self: start;
}

.container_left .left_box,
.container_right .right_box {
    margin-bottom: 0;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(18, 16, 13, 0.98) 0%, rgba(10, 9, 8, 0.99) 100%);
    border: 1px solid rgba(118, 218, 49, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 0 inset rgba(118, 218, 49, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.container_left .left_box::before,
.container_right .right_box::before {
    height: 3px;
    opacity: 0.9;
}

.container_right .right_box.top-players-card {
    background: #121212;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.container_right .right_box.discord-widget-card {
    background: #121212;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.container_right .right_box.top-players-card::before,
.container_right .right_box.discord-widget-card::before {
    opacity: 0;
    height: 0;
    pointer-events: none;
}

.container_left .box-header,
.container_right .box-header {
    border-bottom-color: rgba(118, 218, 49, 0.18);
}

.container_left .box-content,
.container_right .box-content {
    padding: var(--spacing-md) var(--spacing-md);
}

/* Box Headers - Premium style */
.box-header {
    background: linear-gradient(180deg, rgba(22, 28, 18, 0.95) 0%, rgba(16, 15, 12, 0.98) 100%);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid rgba(118, 218, 49, 0.12);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

.box-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-gold);
    border-radius: 0 2px 2px 0;
}

.box-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(118, 218, 49, 0.3) 0%, rgba(118, 218, 49, 0.08) 50%, transparent 100%);
}

.box-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 6px rgba(118, 218, 49, 0.35));
}

.box-header h3 {
    margin: 0;
    font-size: 1rem;
    background: none;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Box Content */
.box-content {
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
}

/* Navigation Lists */
.nav-menu {
    list-style: none;
}

.nav-menu li + li {
    margin-top: 4px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 10px var(--spacing-md);
    border-radius: var(--radius-md);
    color: rgba(239, 238, 236, 0.75);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    font-size: 0.92rem;
    font-weight: 450;
}

.nav-menu a:hover {
    background: rgba(118, 218, 49, 0.08);
    color: var(--primary-color);
    border-color: rgba(118, 218, 49, 0.15);
}

.nav-menu a.active {
    background: linear-gradient(135deg, rgba(118, 218, 49, 0.12) 0%, rgba(85, 191, 4, 0.06) 100%);
    color: var(--primary-color);
    border-color: rgba(118, 218, 49, 0.25);
    font-weight: 550;
}

.nav-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: var(--gradient-gold);
    border-radius: 0 2px 2px 0;
}

.nav-menu i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-menu a:hover i,
.nav-menu a.active i {
    opacity: 1;
    color: var(--primary-color);
}

/* Status Indicators */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.status-badge i {
    font-size: 0.75rem;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Form Controls - Premium Dark Gold Theme */
.form-control {
    display: block;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: rgba(8, 28, 44, 0.75);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: inset 0 2px 4px rgba(2, 18, 36, 0.35);
    position: relative;
    z-index: 1;
}

.form-control::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--border-gold);
    box-shadow: 0 0 0 1px rgba(118, 218, 49, 0.15), 0 0 12px rgba(118, 218, 49, 0.25);
    background-color: rgba(15, 20, 12, 0.92);
}

.form-control:hover {
    border-color: rgba(118, 218, 49, 0.4);
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-thin);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: var(--bg-elevated);
    padding: var(--spacing-sm);
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
}

.table td {
    padding: var(--spacing-sm);
    border-top: 1px solid var(--border-thin);
}

.table tr:hover td {
    background: var(--bg-highlight);
}

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(10, 10, 8, 0.98) 0%, rgba(6, 6, 5, 1) 100%);
    border-top: 1px solid rgba(118, 218, 49, 0.12);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-xl);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(118, 218, 49, 0.4), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.footer-section h4 {
    color: var(--primary-color);
    background: none;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.92rem;
}

.footer-links {
    list-style: none;
}

.footer-links li + li {
    margin-top: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(118, 218, 49, 0.08);
    border: 1px solid rgba(118, 218, 49, 0.2);
    color: var(--text-muted);
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #0a0a08;
    box-shadow: 0 4px 16px rgba(118, 218, 49, 0.3);
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(118, 218, 49, 0.08);
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Invisible hit area (easter-egg link) — extends clickable zone near end of line */
.copyright-text {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.copyright-ghost-link {
    position: relative;
    display: inline-block;
    width: 0;
    height: 1em;
    vertical-align: text-bottom;
    opacity: 0;
    overflow: visible;
    text-decoration: none;
    color: transparent;
}

.copyright-ghost-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 56px;
    height: 28px;
    transform: translateX(6px);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container_main {
        grid-template-columns: 240px 1fr;
    }
    
    .container_right {
        display: none;
    }
}

@media (max-width: 992px) {
    /* Left column = slide-in drawer (no dark overlay; solid panel only) */
    .container_left {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: min(88vw, 340px);
        /* Pin height to viewport so overflow scrolls inside the drawer, not the page.
           min-height: 0 overrides flex default min-height:auto (content height), which
           was stretching the drawer to full nav height and stealing scroll from body. */
        height: 100vh;
        max-height: 100dvh;
        min-height: 0;
        margin: 0;
        padding: calc(10px + env(safe-area-inset-top, 0px)) 0 max(20px, env(safe-area-inset-bottom, 0px));
        background: #0d0c0a;
        border-right: 1px solid rgba(118, 218, 49, 0.28);
        box-shadow: 10px 0 36px rgba(0, 0, 0, 0.35);
        z-index: 2700;
        isolation: isolate;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        transform: translate3d(-105%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s ease, visibility 0.28s ease;
    }

    .container_left.mobile-drawer--open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }

    /* Slightly lighter page tint on small screens (not the drawer) */
    .site-cover-wrap {
        background-image:
            linear-gradient(
                180deg,
                rgba(3, 12, 22, 0.18) 0%,
                rgba(4, 18, 32, 0.32) 42%,
                rgba(3, 14, 26, 0.55) 100%
            ),
            url('../images/cover.jpg?v=ultra1');
    }

    /* Force full width layout */
    .container_main {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        max-width: 100% !important;
        width: 100% !important;
        grid-template-columns: none !important;
    }
    
    .container_mid {
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1;
    }
    
    .container_right {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 1;
    }
    
    .container_left .left_box {
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        margin: 0 15px 15px 15px;
        border-radius: var(--radius-lg);
        /* Opaque panel + no backdrop-filter — blur was sampling the mini-hero to the right and looked like the banner tint bleeding onto the drawer */
        background: #122636;
        border: 1px solid var(--border-thin);
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .container_left .left_box::before,
    .container_left .left_box::after {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .container_left .box-header {
        padding: 15px 20px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
        color: white;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .container_left .box-header h3 {
        color: white;
        font-size: 1rem;
        margin: 0;
    }
    
    .container_left .box-header i {
        color: white;
        margin-right: 10px;
    }
    
    .container_left .box-content {
        padding: 15px 20px;
    }
    
    .container_left .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .container_left .nav-menu li {
        margin: 0;
    }
    
    .container_left .nav-menu a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        background: rgba(255,255,255,0.05);
        border-radius: var(--radius-md);
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }
    
    .container_left .nav-menu a:hover {
        background: rgba(118, 218, 49, 0.12);
        border-color: var(--primary-color);
        transform: translateX(5px);
    }
    
    .container_left .nav-menu a.active {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
        color: white;
        box-shadow: 0 2px 14px rgba(118, 218, 49, 0.25);
    }
    
    .container_left .nav-menu a i {
        margin-right: 10px;
        font-size: 0.9rem;
        width: 16px;
        text-align: center;
    }
    
    /* Hamburger: opens drawer above transparent tap layer */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 14px;
        left: 14px;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.05rem;
        cursor: pointer;
        z-index: 2800;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 18px rgba(118, 218, 49, 0.3);
        transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
    }
    
    .mobile-menu-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 22px rgba(118, 218, 49, 0.45);
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .mobile-menu-toggle.active {
        background: var(--error);
    }
    
    /* Right sidebar shows normally in mobile */
    .container_right {
        display: block !important;
        order: 3;
        width: 100%;
        margin-top: var(--spacing-lg);
    }
    
    /* Right sidebar horizontal layout for mobile */
    .container_right {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--spacing-md);
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 1 !important;
    }
    
    .container_right .right_box {
        margin-bottom: 0 !important;
        background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
        border: 1px solid var(--border-gold);
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 1 !important;
    }
    
    .container_right .right_box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gradient-gold);
        z-index: 1;
    }
    
    .container_right .right_box:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(134, 210, 67, 0.15);
    }
    
    .container_right .download-button {
        background: var(--gradient-primary);
        border-radius: var(--radius-lg);
        padding: var(--spacing-md);
        font-size: 1rem;
        box-shadow: 0 4px 16px rgba(134, 210, 67, 0.3);
        width: 100%;
        text-align: center;
    }
    
    /* Server Info horizontal layout */
    .server-status-card {
        background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
        border: 1px solid var(--border-gold);
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    
    .stat-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
        padding: var(--spacing-sm);
        text-align: center;
        border: 1px solid var(--border-thin);
    }
    
    .stat-label {
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-bottom: var(--spacing-xs);
    }
    
    .stat-value {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .main-header .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 15px;
        gap: 10px;
        position: relative;
    }
    
    .main-nav {
        display: none !important;
    }
    
    .nav-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 12px 16px;
        font-size: 0.9rem;
        width: 100%;
        border-radius: var(--radius-md);
        background: var(--bg-elevated);
    }
    
    .nav-links a:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .auth-buttons {
        margin-left: auto;
        gap: 8px;
    }
    
    .auth-buttons .btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 16px;
        --spacing-md: 12px;
        --spacing-sm: 10px;
        --spacing-xs: 6px;
    }
    
    .container_main {
        display: flex !important;
        flex-direction: column !important;
        padding: var(--spacing-sm);
        gap: var(--spacing-md);
        max-width: 100% !important;
        width: 100% !important;
        grid-template-columns: none !important;
    }
    
    .container_mid {
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 !important;
    }
    
    .container_right {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 1 !important;
    }
    
    .container_left {
        width: 90%;
        max-width: 320px;
    }
    
    .left_box,
    .right_box {
        margin-bottom: var(--spacing-sm);
    }
    
    .left_box .box-header,
    .right_box .box-header {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }
    
    .left_box .box-content,
    .right_box .box-content {
        padding: var(--spacing-sm);
    }
    
    .header-content {
        height: auto;
        padding: 12px 10px;
        flex-direction: column;
        gap: 8px;
    }
    
    .logo-image {
        align-self: flex-start;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .header-logo {
        height: 45px;
        max-width: 220px;
    }
    
    .nav-links {
        gap: 2px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0;
    }
    
    .nav-links a {
        padding: 5px 10px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .nav-links i {
        font-size: 0.75rem;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: space-between;
        margin-top: 8px;
        gap: 8px;
    }
    
    .auth-buttons .btn {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.8rem;
        max-width: calc(50% - 4px);
    }
    
    /* Right sidebar full width on small screens */
    .container_right {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .container_right .right_box {
        margin-bottom: 0;
        background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
        border: 1px solid var(--border-gold);
        border-radius: var(--radius-md);
        overflow: hidden;
        position: relative;
        transition: all 0.3s ease;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
        width: 100%;
    }
    
    .container_right .right_box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gradient-gold);
        z-index: 1;
    }
    
    .container_right .right_box:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(134, 210, 67, 0.1);
    }
    
    .container_right .download-button {
        background: var(--gradient-primary);
        border-radius: var(--radius-md);
        padding: var(--spacing-sm);
        font-size: 0.9rem;
        box-shadow: 0 3px 12px rgba(134, 210, 67, 0.25);
        width: 100%;
        text-align: center;
    }
    
    /* Stats grid for small screens */
    .stat-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
        padding: var(--spacing-sm);
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-sm);
        padding: var(--spacing-xs);
        text-align: center;
        border: 1px solid var(--border-thin);
    }
    
    .stat-label {
        font-size: 0.7rem;
        color: var(--text-muted);
        margin-bottom: 2px;
    }
    
    .stat-value {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    /* Enhanced Server Status on mobile */
    .server-status-card {
        background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
        border: 1px solid var(--border-gold);
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
    }
    
    .server-status-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-gold);
        z-index: 1;
    }
    
    .status-header {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
        color: white;
        padding: var(--spacing-md);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .status-display {
        padding: var(--spacing-lg);
        background: rgba(255, 255, 255, 0.02);
    }
    
    /* Enhanced Top Players on mobile */
    .top-players-list {
        background: rgba(255, 255, 255, 0.02);
        border-radius: var(--radius-md);
        padding: var(--spacing-sm);
    }
    
    .player-row {
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
        margin-bottom: var(--spacing-xs);
        transition: all 0.3s ease;
    }
    
    .player-row:hover {
        background: rgba(134, 210, 67, 0.1);
        transform: translateX(5px);
    }
    
    .hero-section {
        min-height: 250px;
        padding: 30px 15px;
    }
    
    .hero-logo {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .hero-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .box-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .box-header h3 {
        font-size: 1rem;
    }
    
    .box-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .status-bar-content {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .social-links {
    justify-content: center;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 8px;
    }
    
    .header-logo {
        height: 40px;
        max-width: 180px;
    }
    
    .nav-links a {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 6px;
    }
    
    .auth-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 10px;
    }
    
    .hero-section {
        min-height: 200px;
        padding: 20px 10px;
    }
    
    .hero-logo {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        padding: 0;
    }
    
    .container_main {
        padding: var(--spacing-xs);
        gap: var(--spacing-sm);
    }
    
    .box-header {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .box-header i {
        font-size: 1rem;
    }
    
    .box-content {
        padding: var(--spacing-sm) var(--spacing-xs);
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Countdown Banner */
.countdown-banner {
    background: linear-gradient(160deg, rgba(22, 20, 16, 0.98) 0%, rgba(10, 9, 8, 0.99) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(118, 218, 49, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(118, 218, 49, 0.05) inset;
    padding: 24px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.countdown-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(118, 218, 49, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.countdown-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 20px rgba(118, 218, 49, 0.3);
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.countdown-value {
    background: linear-gradient(160deg, rgba(13, 16, 11, 0.95) 0%, rgba(8, 7, 6, 0.98) 100%);
    border: 2px solid rgba(118, 218, 49, 0.3);
    border-radius: var(--radius-md);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(118, 218, 49, 0.25);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.countdown-separator {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(118, 218, 49, 0.4);
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .countdown-value {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .countdown-title {
        font-size: 1.2rem;
    }
    
    .countdown-timer {
        gap: 8px;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(6, 6, 6, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(118, 218, 49, 0.35), rgba(85, 191, 4, 0.25));
    border-radius: var(--radius-full);
    border: 2px solid rgba(6, 6, 6, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(118, 218, 49, 0.6), rgba(85, 191, 4, 0.45));
}

/* Powergamers/Experience Panel */
.bg-powergamers-panel {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    padding: 20px;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.bg-powergamers-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0.7;
}

.powergamers-content {
    position: relative;
    z-index: 1;
}

.exp-current {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(118, 218, 49, 0.1);
}

.exp-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.exp-value {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(118, 218, 49, 0.3);
}

.exp-progress {
    margin-top: 12px;
}

.exp-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(118, 218, 49, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(118, 218, 49, 0.15);
}

.exp-progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(118, 218, 49, 0.4);
}

.exp-progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.exp-progress-text span:first-child {
    font-weight: 500;
}

.exp-progress-text span:last-child {
    color: var(--secondary-color);
    font-weight: 600;
}

/* News Ticker - Improved Styling */
.news-item {
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0.8;
}

.news-header {
    display: flex;
    background: linear-gradient(180deg, rgba(22, 28, 18, 0.98) 0%, rgba(16, 15, 12, 1) 100%);
    padding: 18px 20px;
    border-bottom: 1px solid rgba(118, 218, 49, 0.15);
    align-items: center;
    gap: 16px;
}

.news-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(118, 218, 49, 0.3);
    flex-shrink: 0;
}

.news-meta {
    flex-grow: 1;
}

.news-meta h3 {
    margin: 0 0 8px 0;
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.news-info {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-date,
.news-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.news-date i,
.news-author i {
    color: var(--primary-color);
}

.news-content {
    padding: 24px;
    background: transparent;
    color: var(--text-primary);
    line-height: 1.8;
}

.news-content p {
    margin-bottom: 16px;
}

.news-content p:last-child {
    margin-bottom: 0;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.news-footer {
    padding: 0 24px 20px;
    text-align: right;
    background: rgba(13, 16, 10, 0.3);
    border-top: 1px solid rgba(118, 218, 49, 0.08);
}

.expand-btn {
    display: none;
}

.news-text {
    max-height: none !important;
}

/* Selection highlight */
::selection {
    background: rgba(118, 218, 49, 0.25);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(118, 218, 49, 0.25);
    color: var(--text-primary);
}

/* Character Information Page */
.character-info {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.character-info-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    padding: var(--spacing-md);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(241, 245, 249, 0.2);
    border: 1px solid rgba(241, 245, 249, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: rgba(241, 245, 249, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.2);
}

.btn-logout i {
    font-size: 0.9rem;
}

.character-info-content {
    padding: var(--spacing-md);
}

.character-info-row {
    display: flex;
    border-bottom: 1px solid var(--border-thin);
    padding: var(--spacing-xs) 0;
}

.character-info-row:last-child {
    border-bottom: none;
}

.character-info-label {
    width: 150px;
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.character-info-value {
    flex: 1;
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
}

/* Character Skills */
.character-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.skill-box {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    overflow: hidden;
}

.skill-box-header {
    background: var(--bg-elevated);
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-thin);
}

.skill-list {
    padding: var(--spacing-sm);
}

.skill-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.skill-item:hover {
    background: var(--bg-highlight);
}

.skill-name {
    color: var(--text-secondary);
}

.skill-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Character Equipment */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
}

.equipment-slot {
    aspect-ratio: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.equipment-slot:hover {
    border-color: var(--primary-color);
    background: var(--bg-highlight);
}

.equipment-slot img {
    max-width: 80%;
    max-height: 80%;
}

/* Character Deaths */
.character-deaths {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    overflow: hidden;
}

.deaths-header {
    background: var(--bg-elevated);
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-thin);
}

.death-list {
    padding: var(--spacing-sm);
}

.death-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-thin);
}

.death-item:last-child {
    border-bottom: none;
}

.death-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.death-info {
    color: var(--text-primary);
}

.death-level {
    color: var(--primary-color);
    font-weight: 600;
}

.soloed {
    color: var(--accent-color);
    font-style: italic;
}

/* Premium Account Badge */
.premium-account {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Lastkills loading states */
.lastkills-page {
    position: relative;
    min-height: 100vh;
    transition: opacity 0.5s ease;
}

.lastkills-page[data-loading="true"] {
    opacity: 0.8;
}

.lastkills-page[data-loading="true"] .lastkill-card:not([data-loaded="true"]) {
    visibility: hidden;
}

.lastkills-page[data-loading="true"] .loading-spinner {
    display: block;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 16px;
    right: 16px;
    animation: rotate 1.2s infinite linear;
}

.lastkills-page[data-loading="true"] .loading-spinner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #86d243;
    animation: rotate 0.8s infinite linear;
}

.lastkill-skeleton {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: pulse 2s infinite ease-in-out;
}

.lastkill-skeleton__image,
.lastkill-skeleton__line {
    border-radius: 50%;
    background: rgba(118, 218, 49, 0.1);
}

.lastkill-skeleton__image {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.lastkill-skeleton__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.lastkill-skeleton__line {
    height: 12px;
    width: 80%;
}

.lastkill-card.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

.premium-account i {
    color: #60ff00;
}

/* House Status */
.house-status {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 4px 12px;
    background: var(--bg-highlight);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Quest Status */
.quest-complete {
    color: var(--success);
}

.quest-incomplete {
    color: var(--text-secondary);
}

/* Character Stats */
.stat-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.stat-item {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    padding: var(--spacing-md);
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Registration Form */
.registration-container {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: var(--spacing-lg) auto;
    max-width: 600px;
}

.registration-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--text-primary);
    padding: var(--spacing-md);
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
}

.registration-content {
    padding: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(118, 218, 49, 0.15);
    outline: none;
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(118, 218, 49, 0.15);
    outline: none;
}

.form-radio-group {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.form-radio-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    color: var(--text-secondary);
}

.form-radio-input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-thin);
    border-radius: 50%;
    background: var(--bg-elevated);
    position: relative;
    cursor: pointer;
}

.form-radio-input:checked {
    border-color: var(--primary-color);
}

.form-radio-input:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

.form-checkbox-input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-thin);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    position: relative;
    cursor: pointer;
}

.form-checkbox-input:checked {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.form-checkbox-input:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid var(--text-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-submit {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--gradient-primary);
    color: #fff;
    border: 1px solid rgba(118, 218, 49, 0.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: var(--spacing-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(118, 218, 49, 0.2), inset 0 1px rgba(255, 255, 255, 0.12);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.92rem;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.form-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    pointer-events: none;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(134, 210, 67, 0.35), inset 0 1px rgba(255, 255, 255, 0.25);
}

.form-submit:hover::before {
    opacity: 1;
}

.form-submit:hover::after {
    opacity: 1;
    transform: scale(1);
}

.form-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(134, 210, 67, 0.25);
}

.form-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

.form-section {
    border-bottom: 1px solid var(--border-thin);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Login-Evo Form Overrides */
.login-evo-form {
    width: 100%;
    background: transparent !important;
    border: none !important;
}

.login-evo-table {
    width: 100%;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.login-evo-form input[type="text"],
.login-evo-form input[type="password"],
.login-evo-form input[type="email"],
.login-evo-form select {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-thin) !important;
    border-radius: var(--radius-md);
    color: var(--text-primary) !important;
    font-size: 1rem;
    transition: var(--transition-smooth);
    margin-bottom: var(--spacing-sm);
}

.login-evo-form input[type="submit"],
.login-evo-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color) !important;
    color: var(--text-primary) !important;
    border: none !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: var(--spacing-md);
    font-size: 1rem;
}

.login-evo-form input[type="submit"]:hover,
.login-evo-form button[type="submit"]:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Fix for any remaining tables */
table[background*="wood"],
table[background*="stripe"],
table[background*="tile"] {
    background: none !important;
    background-color: var(--bg-surface) !important;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin) !important;
    overflow: hidden;
}

/* Fix for any remaining cells */
td[background*="wood"],
td[background*="stripe"],
td[background*="tile"] {
    background: none !important;
    background-color: transparent !important;
    color: var(--text-primary) !important;
}

/* Data Tables */
.data-table-container {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-thin);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.data-table-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--text-primary);
    padding: var(--spacing-md);
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: var(--bg-elevated);
    color: var(--text-secondary);
    text-align: left;
    padding: var(--spacing-sm);
    font-weight: 600;
    border-bottom: 1px solid var(--border-thin);
}

.data-table th a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.data-table th a:hover {
    color: var(--primary-color);
}

.data-table th a::after {
    content: "↓";
    font-size: 0.8rem;
    opacity: 0.6;
}

.data-table td {
    padding: var(--spacing-sm);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-thin);
}

.data-table tr:hover {
    background-color: var(--bg-highlight);
}

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

/* Table filters */
.table-filters {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--bg-elevated);
    border-bottom: 1px solid var(--border-thin);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.filter-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.filter-control {
    padding: 6px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.filter-submit {
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-submit:hover {
    background: var(--primary-hover);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background-color: var(--bg-elevated);
    border-top: 1px solid var(--border-thin);
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.pagination a:hover {
    background-color: var(--bg-highlight);
    color: var(--primary-color);
}

.pagination .current {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

/* Table search */
.table-search {
    display: flex;
    gap: var(--spacing-xs);
}

.search-input {
    padding: 6px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    min-width: 200px;
}

/* Override any remaining white backgrounds */
table, tr, td, th {
    background-color: transparent !important;
}

tbody, thead, tfoot {
    background-color: transparent !important;
}

/* Fix for any tables that might have white backgrounds */
table {
    background-color: var(--bg-surface) !important;
    color: var(--text-primary) !important;
}

/* Specifically target the creatures and spells tables */
body:has(.creatures-table) table,
body:has(.spells-table) table {
    background-color: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border-collapse: collapse;
    width: 100%;
}

body:has(.creatures-table) th,
body:has(.spells-table) th {
    background-color: var(--bg-elevated) !important;
    color: var(--text-secondary) !important;
    padding: var(--spacing-sm);
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--border-thin);
}

body:has(.creatures-table) td,
body:has(.spells-table) td {
    padding: var(--spacing-sm);
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-thin);
    background-color: transparent !important;
}

body:has(.creatures-table) tr:hover td,
body:has(.spells-table) tr:hover td {
    background-color: var(--bg-highlight) !important;
}

/* Force override any inline styles */
[style*="background-color: white"],
[style*="background-color:#fff"],
[style*="background-color: #fff"],
[style*="background-color:#ffffff"],
[style*="background-color: #ffffff"],
[style*="background: white"],
[style*="background:#fff"],
[style*="background: #fff"],
[style*="background:#ffffff"],
[style*="background: #ffffff"] {
    background-color: var(--bg-surface) !important;
    background: var(--bg-surface) !important;
}

/* Shop Pages */
.shop-container {
    padding: var(--spacing-lg);
}

/* Points Packages */
.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.points-package {
    background: linear-gradient(145deg, #141210, #1a1816);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(118, 218, 49, 0.12);
}

.points-package:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.points-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.package-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.package-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--spacing-sm) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.package-price {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.package-bonus {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(118, 218, 49, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.buy-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.buy-button:hover {
    box-shadow: 0 4px 16px rgba(118, 218, 49, 0.3);
}

.buy-button i {
    font-size: 1.2rem;
}

/* Gifts Page */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
}

.gift-item {
    background: linear-gradient(145deg, #141210, #1a1816);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(118, 218, 49, 0.12);
}

.gift-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.gift-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.gift-image {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    background: rgba(118, 218, 49, 0.1);
    border-radius: 20px;
    padding: var(--spacing-md);
}

.gift-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.gift-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.gift-points {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(118, 218, 49, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.gift-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.gift-button:hover {
    box-shadow: 0 4px 16px rgba(118, 218, 49, 0.3);
}

.gift-button i {
    font-size: 1.2rem;
}

/* Header Layout */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-left: auto;
}

.search-box {
    position: relative;
}

.search-input {
    padding: 8px 12px;
    padding-left: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 200px;
    transition: var(--transition-smooth);
}

.search-input:focus {
    width: 250px;
    border-color: var(--primary-color);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Server Status Bar */
.server-status-bar {
    background-color: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    padding: 10px 0;
}

.status-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-label {
    color: #999;
    font-size: 0.9rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.online {
    color: #43b581;
}

.status-badge.offline {
    color: #f04747;
}

.status-badge i {
    font-size: 0.7rem;
}

.discord-link a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #86d243;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.discord-link a:hover {
    color: #88ff33;
}

.discord-link i {
    font-size: 1.1rem;
}

/* Search Box and Results */
.search-container {
    padding: 16px;
    border-bottom: 1px solid rgba(118, 218, 49, 0.12);
    position: relative;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: #141210;
    border: 1px solid rgba(118, 218, 49, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: #141210;
    border: 1px solid rgba(118, 218, 49, 0.12);
    border-radius: var(--radius-md);
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(118, 218, 49, 0.12);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #1a1816;
}

.result-name {
    color: var(--text-primary);
    font-weight: 500;
}

.result-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.result-level {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.result-vocation {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Points Balance */
.points-balance {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-primary);
}

.points-balance i {
    color: var(--primary-color);
}

.balance-amount {
    font-weight: 600;
}

/* Right Sidebar column */
.container_right {
    width: 300px;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

/* Download Button */
.download-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 16px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    transition: var(--transition-smooth);
}

.download-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.download-button i {
    font-size: 1.2rem;
}

/* Right Box */
.right_box {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

/* Server info box (compact) */
.server-info-box .box-header.server-info-header {
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.server-info-box .box-header.server-info-header h3 {
    flex: 1;
    text-align: left;
}

.server-info-chevron {
    color: rgba(226, 224, 222, 0.7);
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.server-info-content.is-collapsed {
    display: none;
}

.server-info-header[aria-expanded="false"] .server-info-chevron {
    transform: rotate(-90deg);
}

.server-info-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.server-status-pill,
.players-online-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-status-pill {
    justify-content: center;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.server-status-pill .status-text {
    font-size: 0.95rem;
}

.server-status-pill .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(240, 71, 71, 0.95);
    box-shadow: 0 0 0 6px rgba(240, 71, 71, 0.12);
}

.server-status-pill.is-online .status-dot {
    background: rgba(67, 181, 129, 0.95);
    box-shadow: 0 0 0 6px rgba(67, 181, 129, 0.12);
}

.server-status-pill.is-online .status-text {
    color: rgba(67, 181, 129, 1);
}

.server-status-pill.is-offline .status-text {
    color: rgba(240, 71, 71, 1);
}

.players-online-pill {
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.players-online-pill i {
    color: rgba(226, 224, 222, 0.7);
}

.players-online-pill .players-count {
    color: rgba(226, 224, 222, 0.95);
    font-weight: 800;
}

.players-online-pill .players-label {
    color: rgba(163, 147, 133, 1);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.right_box .box-header {
    background: #141210;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.right_box .box-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.right_box .box-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Search Box */
.search-container {
    padding: 16px;
    border-bottom: 1px solid rgba(118, 218, 49, 0.12);
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: #141210;
    border: 1px solid rgba(118, 218, 49, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

/* Server Stats */
.stat-grid {
    padding: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #141210;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

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

.stat-value {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Top Players */
.top-players-list {
    padding: 16px;
}

.top-players-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #141210;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.player-row:last-child {
    margin-bottom: 0;
}

.player-row:hover {
    background: #1a1816;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-details {
    display: flex;
    flex-direction: column;
}

.rank-number {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.gold-crown {
    color: #60ff00;
    font-size: 1.2rem;
}

.silver-crown {
    color: #c0c0c0;
    font-size: 1.2rem;
}

.bronze-crown {
    color: #85d32c;
    font-size: 1.2rem;
}

.player-name {
    color: var(--text-primary);
    font-weight: 500;
}

.player-level {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Character Search under Top Players */
.player-search-container {
    margin-top: 15px;
    padding: 15px;
}

.player-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-search-input {
    width: 100%;
    padding: 10px 12px;
    background: #141210;
    border: 1px solid rgba(118, 218, 49, 0.15);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.player-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.player-search-input::placeholder {
    color: #b3a89e;
}

.player-search-button {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.player-search-button:hover {
    background: var(--primary-hover);
}

/* Enhanced Server Status - Premium Style */
.server-status-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(18, 18, 18, 0.95));
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    position: relative;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(134, 210, 67, 0.15);
    backdrop-filter: blur(10px);
}

.server-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    z-index: 1;
}

.server-status-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 255, 51, 0.03) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.status-header {
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-gold);
    background: linear-gradient(90deg, rgba(134, 210, 67, 0.1), transparent);
    display: flex;
    align-items: center;
}

.status-header::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px var(--secondary-color);
}

.status-display {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    gap: 12px;
}

.status-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.2);
    background: rgba(18, 18, 18, 0.8);
}

.status-icon.online {
    border-color: var(--success);
    color: var(--success);
    background: radial-gradient(circle, rgba(67, 181, 129, 0.15) 0%, rgba(18, 18, 18, 0.8) 70%);
    text-shadow: 0 0 10px rgba(67, 181, 129, 0.7);
}

.status-icon.offline {
    border-color: var(--error);
    color: var(--error);
    background: radial-gradient(circle, rgba(240, 71, 71, 0.15) 0%, rgba(18, 18, 18, 0.8) 70%);
    text-shadow: 0 0 10px rgba(240, 71, 71, 0.7);
}

.pulse-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.status-info {
    flex: 1;
}

.status-label {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.status-info.online .status-label {
    color: #2ecc71;
}

.status-info.offline .status-label {
    color: #e74c3c;
}

.status-details {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.uptime-bar {
    height: 5px;
    background: rgba(18, 18, 18, 0.5);
    overflow: hidden;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    margin: 8px 12px;
}

.uptime-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(136, 255, 51, 0.5);
    position: relative;
    overflow: hidden;
}

.uptime-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}

.uptime-text {
    display: flex;
    justify-content: space-between;
    padding: 0 12px 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.player-count {
    font-weight: 500;
    color: var(--primary-color);
}

/* Discord Box */
.discord-box {
    text-align: center;
}

.discord-box p {
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: #5865F2;
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-smooth);
    width: 100%;
}

.discord-button:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Server Status Loading Animation and Notifications */
.server-status-card.loading .status-display {
    opacity: 0.5;
}

.server-status-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#refresh-status {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

/* Make Top Players rows clickable + nicer */
.top-players-list .player-row {
    text-decoration: none;
    cursor: pointer;
}

.player-row {
    position: relative;
    border: 1px solid rgba(134, 210, 67, 0.12);
}

.player-row::after {
    content: '\f105';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(134, 210, 67, 0.8);
    opacity: 0;
    transition: var(--transition-smooth);
}

.player-row:hover::after {
    opacity: 1;
}

.player-level {
    padding-right: 18px; /* space for arrow */
}

#refresh-status:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

#refresh-status.refreshing i {
    animation: spin 1s linear infinite;
}

/* Server Status Notifications */
.status-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    min-width: 300px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.status-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.status-notification.success {
    border-left: 4px solid #2ecc71;
}

.status-notification.error {
    border-left: 4px solid #e74c3c;
}

.status-notification.success i {
    color: #2ecc71;
}

.status-notification.error i {
    color: #e74c3c;
}

.status-notification i {
    font-size: 1.2rem;
}

.status-notification span {
    flex: 1;
}

.close-notification {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
}

.close-notification:hover {
    color: var(--text-primary);
}

.flame-left,
.flame-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 20%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 2;
}

.flame-left {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C30,40 20,60 0,100 L0,0 Z' fill='%23cd9c48' opacity='0.3'/%3E%3C/svg%3E");
    background-position: left center;
}

.flame-right {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 C70,40 80,60 100,100 L100,0 Z' fill='%23cd9c48' opacity='0.3'/%3E%3C/svg%3E");
    background-position: right center;
}

@media (max-width: 768px) {
    .flame-left,
    .flame-right {
        width: 15%;
    }
}

/* Custom Account Creation Page Style */
body:has(.character-creation-form) .container_main {
    display: block;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

body:has(.character-creation-form) .container_left,
body:has(.character-creation-form) .container_right {
    display: none;
}

body:has(.character-creation-form) .container_mid {
    width: 100%;
    margin: 0;
    padding: 0;
}

body:has(.character-creation-form) {
    background: url('../images/header-banner.png?v=ultra1') no-repeat center center fixed;
    background-size: cover;
}

body:has(.character-creation-form)::before,
body:has(.character-creation-form)::after {
    content: none;
}

body:has(.character-creation-form) .center_box {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(134, 210, 67, 0.2);
    backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 0 auto;
}

body:has(.character-creation-form) .main-header {
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
}

body:has(.character-creation-form) footer {
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-left: var(--spacing-sm);
    overflow: hidden;
    position: relative;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: -1;
    border-radius: inherit;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--text-primary);
}

.theme-toggle:hover::before {
    opacity: 1;
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-toggle i {
    font-size: 1rem;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.theme-toggle:hover i {
    transform: rotate(30deg);
}

body.light-theme .theme-toggle:hover i {
    transform: rotate(-30deg);
}

@media (max-width: 768px) {
    .theme-toggle {
        width: 32px;
        height: 32px;
    }
    
    .theme-toggle i {
        font-size: 0.9rem;
    }
}

/* Hover animations are enabled for premium interactive feel */

/* Discord Modal Styles */
.discord-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.discord-modal.active {
    display: flex;
}

.discord-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.discord-modal-content {
    position: relative;
    background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.discord-modal-header {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.discord-modal-header i {
    font-size: 28px;
}

.discord-modal-header span {
    font-size: 18px;
    font-weight: 600;
}

.discord-modal-body {
    padding: 32px 24px;
    text-align: center;
}

.discord-logo-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

.discord-logo-large i {
    font-size: 48px;
    color: white;
}

.discord-server-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.discord-description {
    font-size: 14px;
    color: #b9bbbe;
    margin-bottom: 24px;
    line-height: 1.5;
}

.discord-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
    margin-bottom: 32px;
}

.discord-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.6);
}

.discord-direct-contact {
    border-top: 1px solid rgba(114, 137, 218, 0.2);
    padding-top: 24px;
}

.direct-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #5865f2;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.discord-username-input {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(114, 137, 218, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
}

.discord-username-input label {
    font-size: 12px;
    color: #b9bbbe;
    white-space: nowrap;
}

.discord-username-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.discord-username-input .copy-btn {
    background: rgba(88, 101, 242, 0.2);
    border: none;
    color: #5865f2;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.discord-username-input .copy-btn:hover {
    background: rgba(88, 101, 242, 0.4);
}

.discord-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(114, 137, 218, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discord-close-btn {
    background: transparent;
    border: 1px solid rgba(114, 137, 218, 0.4);
    color: #b9bbbe;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.discord-close-btn:hover {
    background: rgba(114, 137, 218, 0.2);
    color: #ffffff;
}

.discord-esc-hint {
    font-size: 12px;
    color: #6d6f78;
}

@media (max-width: 576px) {
    .discord-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .discord-modal-body {
        padding: 24px 20px;
    }

    .discord-logo-large {
        width: 64px;
        height: 64px;
    }

    .discord-logo-large i {
        font-size: 36px;
    }

    .discord-server-name {
        font-size: 20px;
    }

    .discord-join-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}


/* =========================================================
           XXXOTS - PREMIUM TOP 5
           This block intentionally overrides older Top 5 rules
           from css/style.css.
           ========================================================= */

        .container_right .top-players-card {
            position: relative !important;
            display: block !important;
            min-height: 0 !important;
            margin-bottom: 20px !important;
            overflow: hidden !important;
            border: 1px solid rgba(109, 212, 28, 0.58) !important;
            border-radius: 15px !important;
            background:
                radial-gradient(circle at 50% -10%, rgba(131, 238, 48, 0.11), transparent 40%),
                linear-gradient(180deg, #11100d 0%, #070706 100%) !important;
            box-shadow:
                0 10px 26px rgba(0, 0, 0, 0.52),
                0 0 22px rgba(97, 197, 15, 0.08),
                inset 0 0 0 1px rgba(187, 255, 137, 0.025) !important;
        }

        .container_right .top-players-card__head {
            position: relative !important;
            height: 58px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 10px !important;
            padding: 0 48px !important;
            overflow: hidden !important;
            background:
                radial-gradient(ellipse at 50% 0%, rgba(115, 220, 33, 0.16), transparent 68%),
                linear-gradient(180deg, #141a0f 0%, #0b0d09 100%) !important;
            border-bottom: 1px solid rgba(117, 222, 35, 0.45) !important;
            color: #90ed4a !important;
        }

        .container_right .top-players-card__head::before,
        .container_right .top-players-card__head::after {
            content: none !important;
            display: none !important;
        }

        .top-players-card__head-icon {
    position: relative !important;
    z-index: 2 !important;

    color: #9bf358 !important;
    -webkit-text-fill-color: #9bf358 !important;

    opacity: 1 !important;

    font-size: 17px !important;

    filter: drop-shadow(0 0 5px rgba(155, 243, 88, 0.42)) !important;
    text-shadow: 0 0 7px rgba(155, 243, 88, 0.22) !important;
}

        .container_right .top-players-card__title {
            position: relative !important;
            z-index: 2 !important;
            color: #9bf358 !important;
            font-family: Georgia, "Times New Roman", serif !important;
            font-size: 20px !important;
            font-weight: 700 !important;
            letter-spacing: 1.3px !important;
            text-transform: uppercase !important;
            text-shadow:
                0 2px 2px rgba(0, 0, 0, 0.95),
                0 0 9px rgba(129, 232, 50, 0.17) !important;
        }

        .container_right .top-players-card__body {
            display: block !important;
            min-height: 0 !important;
            padding: 8px !important;
            background:
                linear-gradient(180deg, rgba(13, 12, 10, 0.99), rgba(7, 7, 6, 1)) !important;
        }

        .container_right .top-players-card__row {
            position: relative !important;
            width: 100% !important;
            min-height: 0 !important;
            display: flex !important;
            align-items: center !important;
            gap: 9px !important;
            box-sizing: border-box !important;
            margin: 0 0 7px 0 !important;
            padding: 9px 9px !important;
            overflow: hidden !important;
            border-radius: 7px !important;
            text-decoration: none !important;
            cursor: pointer !important;
            transition:
                transform 0.18s ease,
                filter 0.18s ease,
                border-color 0.18s ease,
                box-shadow 0.18s ease,
                background 0.18s ease !important;
        }

        .container_right .top-players-card__row:last-child {
            margin-bottom: 0 !important;
        }

        .container_right .top-players-card__row:hover {
            transform: translateX(-2px) !important;
            text-decoration: none !important;
        }

        /* ---------------------------------------------------------
           #1 GOLD
           --------------------------------------------------------- */

        .container_right .top-players-card__row--gold {
            min-height: 76px !important;
            padding-top: 11px !important;
            padding-bottom: 11px !important;
            border: 1px solid rgba(126, 246, 35, 0.90) !important;
            background:
                radial-gradient(circle at 22% 50%, rgba(140, 255, 56, 0.18), transparent 38%),
                linear-gradient(90deg, #306005 0%, #192c06 44%, #0e1607 100%) !important;
            box-shadow:
                inset 0 0 20px rgba(134, 255, 41, 0.09),
                0 0 11px rgba(110, 218, 22, 0.18) !important;
        }

        .container_right .top-players-card__row--gold::after {
            content: "" !important;
            position: absolute !important;
            top: -65% !important;
            left: -48% !important;
            width: 34% !important;
            height: 230% !important;
            opacity: 0 !important;
            pointer-events: none !important;
            transform: rotate(20deg) !important;
            background:
                linear-gradient(
                    90deg,
                    transparent,
                    rgba(206, 255, 174, 0.18),
                    transparent
                ) !important;
            transition: left 0.58s ease, opacity 0.16s ease !important;
        }

        .container_right .top-players-card__row--gold:hover::after {
            left: 126% !important;
            opacity: 1 !important;
        }

        .container_right .top-players-card__row--gold:hover {
            border-color: #a6ff62 !important;
            filter: brightness(1.08) !important;
            box-shadow:
                inset 0 0 24px rgba(141, 255, 55, 0.14),
                0 0 17px rgba(120, 233, 32, 0.34) !important;
        }

        /* ---------------------------------------------------------
           #2 SILVER
           --------------------------------------------------------- */

        .container_right .top-players-card__row--silver {
            min-height: 61px !important;
            border: 1px solid rgba(167, 180, 194, 0.52) !important;
            background:
                linear-gradient(
                    90deg,
                    rgba(60, 68, 76, 0.72),
                    rgba(20, 22, 24, 0.97) 56%,
                    rgba(10, 10, 10, 1)
                ) !important;
            box-shadow: inset 0 0 15px rgba(196, 210, 223, 0.04) !important;
        }

        .container_right .top-players-card__row--silver:hover {
            border-color: rgba(224, 232, 240, 0.80) !important;
            filter: brightness(1.08) !important;
            box-shadow:
                inset 0 0 18px rgba(201, 215, 228, 0.07),
                0 0 11px rgba(177, 197, 214, 0.16) !important;
        }

        /* ---------------------------------------------------------
           #3 BRONZE
           --------------------------------------------------------- */

        .container_right .top-players-card__row--bronze {
            min-height: 61px !important;
            border: 1px solid rgba(133, 201, 42, 0.55) !important;
            background:
                linear-gradient(
                    90deg,
                    rgba(59, 92, 13, 0.74),
                    rgba(21, 29, 11, 0.97) 56%,
                    rgba(10, 10, 9, 1)
                ) !important;
            box-shadow: inset 0 0 15px rgba(141, 220, 38, 0.04) !important;
        }

        .container_right .top-players-card__row--bronze:hover {
            border-color: rgba(166, 243, 65, 0.80) !important;
            filter: brightness(1.08) !important;
            box-shadow:
                inset 0 0 18px rgba(155, 233, 54, 0.07),
                0 0 11px rgba(131, 201, 32, 0.17) !important;
        }

        /* ---------------------------------------------------------
           #4 / #5
           --------------------------------------------------------- */

        .container_right .top-players-card__row--muted {
            min-height: 49px !important;
            border: 1px solid rgba(107, 181, 49, 0.20) !important;
            background:
                linear-gradient(90deg, rgba(26, 25, 22, 0.96), rgba(10, 10, 9, 1)) !important;
        }

        .container_right .top-players-card__row--muted:hover {
            border-color: rgba(124, 219, 49, 0.42) !important;
            background:
                linear-gradient(90deg, rgba(32, 47, 20, 0.97), rgba(12, 11, 9, 1)) !important;
        }

        /* ---------------------------------------------------------
           RANK EMBLEM
           --------------------------------------------------------- */

        .container_right .top-players-card__rank {
            position: relative !important;
            z-index: 2 !important;
            flex: 0 0 auto !important;
            width: 39px !important;
            height: 45px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            border: 0 !important;
            border-radius: 0 !important;
            font-family: Georgia, "Times New Roman", serif !important;
            font-size: 18px !important;
            font-weight: 800 !important;
            line-height: 1 !important;
            clip-path: polygon(50% 0, 92% 15%, 88% 68%, 50% 100%, 12% 68%, 8% 15%) !important;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
        }

        .container_right .top-players-card__rank--gold {
            color: #172d00 !important;
            background:
                linear-gradient(135deg, #c8ffa8 0%, #77ec1b 42%, #489405 100%) !important;
            box-shadow: 0 0 10px rgba(124, 250, 29, 0.38) !important;
        }

        .container_right .top-players-card__rank--silver {
            color: #18212a !important;
            background:
                linear-gradient(135deg, #f0f4f8 0%, #9daab6 48%, #59646e 100%) !important;
        }

        .container_right .top-players-card__rank--bronze {
            color: #2d1107 !important;
            background:
                linear-gradient(135deg, #c0ff7c 0%, #80bf28 50%, #496618 100%) !important;
        }

        
.container_right .top-players-card__rank-number {
    position: absolute !important;
    left: 50% !important;
    top: 46% !important;
    width: 100% !important;
    transform: translate(-50%, -50%) !important;

    display: block !important;

    padding: 0 !important;
    margin: 0 !important;

    text-align: center !important;
    line-height: 1 !important;
    text-indent: 0 !important;

    pointer-events: none !important;
    text-align: center !important;
    line-height: 1 !important;
}

.container_right .top-players-card__rank--muted {
            width: 32px !important;
            height: 36px !important;
            color: #aaa18f !important;
            font-size: 14px !important;
            background: linear-gradient(180deg, #282722, #11110f) !important;
        }

        /* ---------------------------------------------------------
           PLAYER ICON
           --------------------------------------------------------- */

        .top-players-card__medal {
            position: relative;
            z-index: 2;
            flex: 0 0 auto;
            width: 27px;
            height: 27px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 12px;
        }

        .top-players-card__medal--gold {
            color: #a0ff5b;
            border: 1px solid rgba(125, 242, 36, 0.58);
            background: rgba(44, 86, 6, 0.62);
            box-shadow: 0 0 9px rgba(129, 245, 40, 0.16);
        }

        .top-players-card__medal--silver {
            color: #d8e0e7;
            border: 1px solid rgba(177, 190, 202, 0.40);
            background: rgba(53, 60, 67, 0.60);
        }

        .top-players-card__medal--bronze {
            color: #aded5c;
            border: 1px solid rgba(131, 196, 42, 0.42);
            background: rgba(51, 75, 15, 0.62);
        }

        /* ---------------------------------------------------------
           PLAYER DATA
           --------------------------------------------------------- */

        .top-players-card__player {
            position: relative;
            z-index: 2;
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .top-players-card__name-line {
            min-width: 0;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .container_right .top-players-card__name {
            display: block !important;
            flex: 1 1 auto !important;
            min-width: 0 !important;
            overflow: hidden !important;
            color: #dddcda !important;
            font-size: 13px !important;
            font-weight: 700 !important;
            white-space: nowrap !important;
            text-overflow: ellipsis !important;
            text-decoration: none !important;
            transition: color 0.18s ease, text-shadow 0.18s ease !important;
        }

        .container_right .top-players-card__row--gold .top-players-card__name {
            color: #95f947 !important;
            font-size: 14px !important;
        }

        .container_right .top-players-card__row--silver .top-players-card__name {
            color: #e4e9ee !important;
        }

        .container_right .top-players-card__row--bronze .top-players-card__name {
            color: #b2ed68 !important;
        }

        .container_right .top-players-card__row:hover .top-players-card__name {
            color: #acff70 !important;
            text-shadow: 0 0 8px rgba(154, 255, 78, 0.20) !important;
        }

        .top-players-card__online-dot {
            width: 6px;
            height: 6px;
            flex: 0 0 6px;
            border-radius: 50%;
            background: #49d789;
            box-shadow: 0 0 6px rgba(73, 215, 137, 0.68);
        }

        .top-players-card__champion {
            margin-top: 2px;
            color: #6da144;
            font-size: 8px;
            font-weight: 800;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        /* ---------------------------------------------------------
           LEVEL
           --------------------------------------------------------- */

        .container_right .top-players-card__level {
            position: relative !important;
            z-index: 2 !important;
            flex: 0 0 auto !important;
            padding: 5px 8px !important;
            border-radius: 12px !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            font-variant-numeric: tabular-nums !important;
            white-space: nowrap !important;
        }

        .top-players-card__level-prefix {
            margin-right: 2px;
            font-size: 8px;
            opacity: 0.72;
        }

        .container_right .top-players-card__level--gold {
            color: #a8ff6b !important;
            border: 1px solid rgba(120, 232, 32, 0.52) !important;
            background:
                linear-gradient(180deg, rgba(55, 107, 7, 0.90), rgba(25, 43, 7, 0.96)) !important;
        }

        .container_right .top-players-card__level--silver {
            color: #e4eaf0 !important;
            border: 1px solid rgba(164, 178, 191, 0.40) !important;
            background:
                linear-gradient(180deg, rgba(58, 65, 72, 0.88), rgba(23, 26, 29, 0.97)) !important;
        }

        .container_right .top-players-card__level--bronze {
            color: #bff67a !important;
            border: 1px solid rgba(128, 192, 39, 0.48) !important;
            background:
                linear-gradient(180deg, rgba(61, 93, 15, 0.88), rgba(27, 38, 11, 0.97)) !important;
        }

        .container_right .top-players-card__level--muted {
            color: #a99f8d !important;
            border: 1px solid rgba(101, 174, 43, 0.20) !important;
            background: rgba(18, 18, 16, 0.96) !important;
        }

        @media (max-width: 1200px) {
            .container_right .top-players-card__row {
                gap: 7px !important;
                padding-left: 7px !important;
                padding-right: 7px !important;
            }

            .container_right .top-players-card__level {
                padding-left: 6px !important;
                padding-right: 6px !important;
            }

            .top-players-card__medal {
                width: 24px;
                height: 24px;
            }
        }


/* =========================================================
   XXXOTS - BUY PREMIUM BUTTON
   Glowing premium CTA inside the ACCOUNT sidebar box.
   ========================================================= */

.container_left .nav-menu .nav-premium-item {
    margin-top: 10px !important;
}

.container_left .nav-menu .nav-premium-link {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    gap: 11px !important;

    min-height: 46px !important;

    padding: 11px 13px !important;

    overflow: hidden !important;

    border: 1px solid rgba(134, 239, 57, 0.62) !important;
    border-radius: 9px !important;

    color: #9af854 !important;

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(162, 255, 96, 0.15),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            rgba(48, 94, 7, 0.72) 0%,
            rgba(25, 44, 7, 0.88) 42%,
            rgba(14, 20, 9, 0.96) 100%
        ) !important;

    box-shadow:
        0 0 10px rgba(115, 226, 31, 0.16),
        inset 0 0 12px rgba(160, 255, 92, 0.045) !important;

    text-decoration: none !important;

    transition:
        transform 0.20s ease,
        border-color 0.20s ease,
        box-shadow 0.20s ease,
        filter 0.20s ease !important;

    animation:
        xxxots-premium-soft-glow 2.8s ease-in-out infinite;
}

.container_left .nav-menu .nav-premium-link::before {
    content: "" !important;

    position: absolute !important;

    inset: 0 !important;

    border-radius: inherit !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(195, 255, 153, 0.06) 48%,
            transparent 100%
        ) !important;

    opacity: 0.75 !important;
}

.container_left .nav-menu .nav-premium-link:hover {
    color: #b9ff8a !important;

    transform:
        translateX(3px)
        translateY(-1px) !important;

    border-color:
        rgba(155, 255, 84, 0.92) !important;

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(171, 255, 112, 0.22),
            transparent 37%
        ),
        linear-gradient(
            135deg,
            rgba(59, 116, 8, 0.82) 0%,
            rgba(30, 57, 6, 0.93) 44%,
            rgba(16, 25, 7, 0.98) 100%
        ) !important;

    box-shadow:
        0 0 8px rgba(144, 255, 62, 0.28),
        0 0 20px rgba(110, 226, 20, 0.22),
        inset 0 0 15px rgba(165, 255, 102, 0.07) !important;

    filter:
        brightness(1.08) !important;
}

.container_left .nav-menu .nav-premium-link.active {
    color: #bcff90 !important;

    border-color:
        rgba(164, 255, 99, 0.95) !important;

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(177, 255, 123, 0.24),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(60, 119, 8, 0.86) 0%,
            rgba(32, 60, 7, 0.95) 46%,
            rgba(16, 25, 7, 0.99) 100%
        ) !important;

    box-shadow:
        0 0 12px rgba(143, 255, 62, 0.30),
        inset 0 0 16px rgba(166, 255, 105, 0.07) !important;
}

.container_left .nav-menu .nav-premium-link.active::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    border-radius: inherit !important;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201, 255, 165, 0.07),
            transparent
        ) !important;
}

.container_left .nav-menu .nav-premium-icon {
    position: relative;

    z-index: 2;

    flex: 0 0 31px;

    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(133, 246, 50, 0.54);
    border-radius: 50%;

    color: #a2ff5d;

    background:
        radial-gradient(
            circle,
            rgba(54, 109, 6, 0.86),
            rgba(26, 47, 5, 0.92)
        );

    box-shadow:
        0 0 7px rgba(123, 239, 34, 0.20),
        inset 0 0 7px rgba(180, 255, 128, 0.05);

    transition:
        transform 0.20s ease,
        box-shadow 0.20s ease,
        color 0.20s ease;
}

.container_left .nav-menu .nav-premium-icon i {
    width: auto !important;
    margin: 0 !important;

    color: inherit !important;

    font-size: 13px !important;

    opacity: 1 !important;

    filter:
        drop-shadow(
            0 0 4px
            rgba(162, 255, 93, 0.30)
        );
}

.container_left .nav-menu .nav-premium-link:hover .nav-premium-icon {
    color: #bbff91;

    transform:
        rotate(-5deg)
        scale(1.06);

    box-shadow:
        0 0 9px rgba(143, 255, 62, 0.33),
        inset 0 0 8px rgba(185, 255, 137, 0.07);
}

.container_left .nav-menu .nav-premium-text {
    position: relative;

    z-index: 2;

    flex: 1;

    color: inherit;

    font-size: 0.92rem;
    font-weight: 700;

    letter-spacing: 0.02em;

    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.85),
        0 0 7px rgba(134, 247, 51, 0.13);
}

.container_left .nav-menu .nav-premium-shine {
    position: absolute;

    z-index: 1;

    top: -70%;
    left: -55%;

    width: 34%;
    height: 240%;

    pointer-events: none;

    transform:
        rotate(20deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(217, 255, 192, 0.17),
            transparent
        );

    opacity: 0;

    transition:
        left 0.65s ease,
        opacity 0.18s ease;
}

.container_left .nav-menu .nav-premium-link:hover .nav-premium-shine {
    left: 125%;

    opacity: 1;
}

@keyframes xxxots-premium-soft-glow {
    0%,
    100% {
        box-shadow:
            0 0 8px rgba(115, 226, 31, 0.12),
            inset 0 0 12px rgba(160, 255, 92, 0.035);
    }

    50% {
        box-shadow:
            0 0 12px rgba(123, 241, 35, 0.23),
            0 0 20px rgba(102, 213, 13, 0.08),
            inset 0 0 14px rgba(164, 255, 100, 0.055);
    }
}

@media (prefers-reduced-motion: reduce) {
    .container_left .nav-menu .nav-premium-link {
        animation: none !important;
    }

    .container_left .nav-menu .nav-premium-shine {
        display: none !important;
    }
}

/* Mobile drawer keeps the same premium identity instead of
   inheriting the normal solid active-button treatment. */
@media (max-width: 992px) {
    .container_left .nav-menu .nav-premium-link,
    .container_left .nav-menu .nav-premium-link.active {
        color: #9dfc56 !important;

        border:
            1px solid rgba(134, 239, 57, 0.68) !important;

        background:
            radial-gradient(
                circle at 18% 50%,
                rgba(162, 255, 96, 0.16),
                transparent 34%
            ),
            linear-gradient(
                135deg,
                rgba(47, 90, 8, 0.94),
                rgba(23, 40, 8, 0.98)
            ) !important;

        box-shadow:
            0 0 11px rgba(115, 226, 31, 0.17),
            inset 0 0 12px rgba(160, 255, 92, 0.045) !important;
    }

    .container_left .nav-menu .nav-premium-link:hover {
        transform:
            translateX(4px) !important;
    }
}


/* =========================================================
   XXXOTS - PREMIUM POINTS RIGHT SIDEBAR WIDGET
   Replaces the old Online Now widget.
   ========================================================= */

.container_right .premium-points-widget {
    position: relative !important;

    overflow: hidden !important;

    border: 1px solid rgba(116, 226, 31, 0.48) !important;
    border-radius: 15px !important;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(118, 230, 32, 0.09),
            transparent 42%
        ),
        linear-gradient(
            160deg,
            #11170d 0%,
            #0b0a08 56%,
            #070706 100%
        ) !important;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.52),
        0 0 18px rgba(108, 219, 23, 0.08),
        inset 0 0 0 1px rgba(185, 255, 135, 0.025) !important;
}


.container_right .premium-points-widget::before {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: auto !important;
    height: 2px !important;

    opacity: 1 !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #67d016 20%,
            #96f651 50%,
            #67d016 80%,
            transparent
        ) !important;

    box-shadow:
        0 0 9px rgba(124, 237, 39, 0.25) !important;
}


.container_right .premium-points-widget::after {
    content: "" !important;

    position: absolute !important;

    inset: 0 !important;

    pointer-events: none !important;

    opacity: 1 !important;

    background:
        radial-gradient(
            circle at 50% 36%,
            rgba(118, 218, 49, 0.035),
            transparent 44%
        ) !important;
}


/* HEADER */

.premium-points-widget__head {
    position: relative;

    z-index: 2;

    min-height: 55px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 16px;

    border-bottom:
        1px solid rgba(118, 218, 49, 0.22);

    background:
        linear-gradient(
            180deg,
            rgba(21, 29, 14, 0.96),
            rgba(12, 15, 9, 0.98)
        );
}


.premium-points-widget__head-icon {
    flex: 0 0 auto;

    color: #99f654;

    font-size: 17px;

    filter:
        drop-shadow(
            0 0 5px
            rgba(153, 246, 84, 0.28)
        );
}


.premium-points-widget__title {
    color: #96f54e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 0.4px;

    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.9),
        0 0 7px rgba(125, 237, 41, 0.12);
}


/* BODY */

.premium-points-widget__body {
    position: relative;

    z-index: 2;

    padding: 18px 16px 15px;

    text-align: center;
}


/* ICON */

.premium-points-widget__visual {
    position: relative;

    width: 78px;
    height: 78px;

    margin: 0 auto 11px;
}


.premium-points-widget__coin {
    position: relative;

    z-index: 2;

    width: 68px;
    height: 68px;

    margin: 5px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(135, 247, 53, 0.64);

    border-radius: 50%;

    color: #a5ff66;

    font-size: 27px;

    background:
        radial-gradient(
            circle at 35% 28%,
            #427f0d,
            #244506 53%,
            #122204 100%
        );

    box-shadow:
        0 0 12px rgba(121, 236, 32, 0.22),
        inset 0 0 13px rgba(173, 255, 116, 0.07);

    animation:
        premium-points-coin-glow
        2.8s ease-in-out infinite;
}


.premium-points-widget__shine {
    position: absolute;

    z-index: 1;

    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(133, 246, 50, 0.18),
            transparent 66%
        );

    filter: blur(4px);

    animation:
        premium-points-aura
        2.8s ease-in-out infinite;
}


@keyframes premium-points-coin-glow {
    0%,
    100% {
        box-shadow:
            0 0 10px rgba(121, 236, 32, 0.16),
            inset 0 0 13px rgba(173, 255, 116, 0.06);
    }

    50% {
        box-shadow:
            0 0 18px rgba(128, 244, 39, 0.34),
            0 0 28px rgba(107, 219, 18, 0.10),
            inset 0 0 15px rgba(178, 255, 126, 0.09);
    }
}


@keyframes premium-points-aura {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}


/* TEXT */

.premium-points-widget__main-title {
    color: #99f753;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.75px;

    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.88),
        0 0 8px rgba(128, 242, 43, 0.12);
}


.premium-points-widget__description {
    margin-top: 6px;

    color: #bdb4a6;

    font-size: 12px;

    line-height: 1.55;
}


/* DELIVERY */

.premium-points-widget__delivery {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 14px;

    padding: 10px;

    text-align: left;

    border:
        1px solid rgba(118, 218, 49, 0.18);

    border-radius: 8px;

    background:
        rgba(6, 6, 5, 0.58);
}


.premium-points-widget__delivery-icon {
    flex: 0 0 29px;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #a2ff5f;

    background:
        rgba(47, 94, 6, 0.70);

    border:
        1px solid rgba(116, 226, 32, 0.42);

    font-size: 11px;
}


.premium-points-widget__delivery-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    line-height: 1.25;
}


.premium-points-widget__delivery-text span {
    color: #8f8677;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


.premium-points-widget__delivery-text strong {
    margin-top: 2px;

    color: #9af754;

    font-size: 12px;
}


.premium-points-widget__note {
    margin-top: 8px;

    color: #857d70;

    font-size: 10px;

    line-height: 1.45;
}


.premium-points-widget__note strong {
    color: #85c15b;
}


/* CTA BUTTON */

.premium-points-widget__button {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 14px;

    padding: 11px 12px;

    overflow: hidden;

    border:
        1px solid rgba(141, 253, 59, 0.78);

    border-radius: 8px;

    color: #122502 !important;

    background:
        linear-gradient(
            180deg,
            #a0fa5e 0%,
            #73dd23 50%,
            #5bbe09 100%
        );

    box-shadow:
        0 0 10px rgba(123, 237, 36, 0.23),
        inset 0 1px 0 rgba(215, 255, 190, 0.35);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.6px;

    text-decoration: none !important;

    text-shadow:
        0 1px 0 rgba(186, 255, 139, 0.28);

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease;
}


.premium-points-widget__button::before {
    content: "";

    position: absolute;

    top: -75%;
    left: -48%;

    width: 32%;
    height: 250%;

    transform: rotate(20deg);

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(237, 255, 229, 0.52),
            transparent
        );

    opacity: 0;

    transition:
        left 0.60s ease,
        opacity 0.18s ease;
}


.premium-points-widget__button:hover {
    color: #0f1e01 !important;

    transform:
        translateY(-2px);

    filter:
        brightness(1.08);

    box-shadow:
        0 0 12px rgba(133, 246, 49, 0.38),
        0 0 23px rgba(108, 223, 16, 0.17),
        inset 0 1px 0 rgba(220, 255, 199, 0.42);
}


.premium-points-widget__button:hover::before {
    left: 125%;

    opacity: 1;
}


.premium-points-widget__button-icon {
    font-size: 12px;
}


.premium-points-widget__button-arrow {
    position: absolute;

    right: 12px;

    font-size: 10px;

    opacity: 0.75;

    transition:
        transform 0.18s ease;
}


.premium-points-widget__button:hover
.premium-points-widget__button-arrow {
    transform:
        translateX(2px);
}


/* FOOTER */

.premium-points-widget__footer {
    margin-top: 11px;

    padding-top: 10px;

    border-top:
        1px solid rgba(118, 218, 49, 0.10);

    color: #81796c;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.35px;
}


.premium-points-widget__footer i {
    margin-right: 4px;

    color: #65ae2f;
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .premium-points-widget__coin,
    .premium-points-widget__shine {
        animation: none !important;
    }

    .premium-points-widget__button::before {
        display: none !important;
    }
}

/* ULTRA: round owl logo instead of the Discord glyph in the Discord popup */
.discord-logo-large.discord-logo-large--ultra {
    width: 96px;
    height: 96px;
    background: none;
    box-shadow: 0 0 0 3px #8dfc3b, 0 0 22px rgba(141, 252, 59, 0.55), 0 8px 24px rgba(0, 0, 0, 0.5);
}
.discord-logo-large--ultra img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
@media (max-width: 768px) {
    .discord-logo-large.discord-logo-large--ultra { width: 80px; height: 80px; }
}

/* ===== ULTRA: launch news layout (.un-*) ===== */
.un { margin: -24px; color: #dfe9d6; line-height: 1.6; }
.news-content .un img { margin: 0; border-radius: 0; }
.un-hero { position: relative; overflow: hidden; }
.un-hero img { display: block; width: 100%; height: auto; }
.un-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
    background: linear-gradient(180deg, transparent, rgba(10, 14, 8, .95)); pointer-events: none; }
.un-badge { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 10px; padding: 5px 11px; border-radius: 999px;
    font-weight: 800; font-size: 10px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: #0d1a06;
    background: linear-gradient(180deg, #c4ff7a, #6fd61c); box-shadow: 0 0 14px rgba(141, 252, 59, .45); }
.un-body { padding: 4px 26px 28px; position: relative; z-index: 3; margin-top: -8px; }
.un-head { text-align: center; }
.un-kicker { color: #f2c45c; font-weight: 800; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.un-title { margin: 6px 0 4px; font-size: 40px; line-height: 1.05; font-weight: 900; letter-spacing: .02em; text-transform: uppercase;
    background: linear-gradient(180deg, #eaffd2 0%, #9dff4f 55%, #4dbb12 100%); -webkit-background-clip: text; background-clip: text;
    color: transparent; filter: drop-shadow(0 0 14px rgba(141, 252, 59, .35)); }
.un-date { font-size: 18px; font-weight: 700; color: #f1f6ea; }
.un-date b { color: #9dff4f; }
.un-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 460px; margin: 18px auto 6px; }
.un-cd div { padding: 10px 4px 8px; border-radius: 12px; text-align: center; border: 1px solid rgba(141, 252, 59, .45);
    background: radial-gradient(120% 100% at 50% 0%, rgba(141, 252, 59, .16), rgba(8, 12, 6, .9) 70%);
    box-shadow: 0 0 16px rgba(141, 252, 59, .18), inset 0 1px 0 rgba(255, 255, 255, .06); }
.un-cd b { display: block; font-size: 30px; line-height: 1.1; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums;
    text-shadow: 0 0 12px rgba(141, 252, 59, .6); }
.un-cd span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #9fb592; }
.news-content .un-lead { max-width: 640px; margin: 18px auto 0; text-align: center; color: #c9d6bf; font-size: 15px; }
.un-h { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; color: #9dff4f; font-size: 13px; font-weight: 800;
    letter-spacing: .2em; text-transform: uppercase; }
.un-h::before, .un-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(141, 252, 59, .55)); }
.un-h::after { background: linear-gradient(270deg, transparent, rgba(141, 252, 59, .55)); }
.un-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.un-feat { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px;
    border: 1px solid rgba(141, 252, 59, .28); background: linear-gradient(160deg, rgba(30, 44, 20, .9), rgba(10, 12, 8, .95));
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.un-feat:hover { transform: translateY(-2px); border-color: rgba(141, 252, 59, .7); box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 18px rgba(141, 252, 59, .2); }
.un-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #0d1a06; background: linear-gradient(180deg, #c4ff7a, #5fc414); box-shadow: 0 0 16px rgba(141, 252, 59, .45); }
.un-ico.gold { background: linear-gradient(180deg, #ffe08a, #e0a12a); box-shadow: 0 0 16px rgba(242, 196, 92, .45); }
.un-feat b { display: block; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.un-feat em { display: block; font-style: normal; color: #9dff4f; font-weight: 800; font-size: 13px; margin: 1px 0 4px; }
.news-content .un-feat p { margin: 0; color: #aebca3; font-size: 13.5px; line-height: 1.5; }
.un-rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.un-rate { text-align: center; padding: 14px 6px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(242, 196, 92, .25); }
.un-rate b { display: block; font-size: 24px; font-weight: 900; color: #f2c45c; line-height: 1.1; }
.un-rate span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a99f88; }
.un-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: un; margin-top: 18px; }
.un-step { position: relative; padding: 20px 14px 14px; border-radius: 14px; text-align: center; background: rgba(0, 0, 0, .3);
    border: 1px dashed rgba(141, 252, 59, .35); }
.un-step::before { counter-increment: un; content: counter(un); position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 26px; border-radius: 50%; font-weight: 900; font-size: 14px; line-height: 26px; color: #0d1a06;
    background: linear-gradient(180deg, #c4ff7a, #5fc414); box-shadow: 0 0 12px rgba(141, 252, 59, .5); }
.un-step b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.un-step span { color: #aebca3; font-size: 13px; }
.un-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.un-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 12px;
    font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none !important; }
.un-btn.green { color: #0d1a06 !important; background: linear-gradient(180deg, #c4ff7a, #5fc414); border: 1px solid #c6ff6b;
    animation: unGlow 1.8s ease-in-out infinite; }
.un-btn.green::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg);
    animation: unShine 2.4s ease-in-out infinite; }
.un-btn.dc { color: #fff !important; background: linear-gradient(180deg, #7983f5, #4752c4); border: 1px solid rgba(160, 170, 255, .7); }
.un-btn:hover { filter: brightness(1.08); }
@keyframes unGlow { 0%, 100% { box-shadow: 0 0 6px rgba(141, 252, 59, .35); } 50% { box-shadow: 0 0 22px rgba(141, 252, 59, .85), 0 0 40px rgba(90, 210, 30, .45); } }
@keyframes unShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.un-sign { margin-top: 22px; text-align: center; color: #8fa384; font-size: 13px; letter-spacing: .08em; }
@media (prefers-reduced-motion: reduce) { .un-btn.green, .un-btn.green::after { animation: none; } }
@media (max-width: 700px) {
    .un { margin: -16px; }
    .un-body { padding: 4px 14px 22px; margin-top: -4px; }
    .un-title { font-size: 28px; }
    .un-cd b { font-size: 24px; }
    .un-feats, .un-steps { grid-template-columns: 1fr; }
    .un-rates { grid-template-columns: repeat(2, 1fr); }
    .un-step { margin-top: 8px; }
}
