/* Modern Premium Theme — Black & Gold */
:root {
    /* Core Colors */
    --primary-color: #d4af37;
    --primary-hover: #e8c547;
    --secondary-color: #f0d060;
    --secondary-hover: #ffe08a;
    --accent-color: #b8860b;
    
    /* Neutrals */
    --bg-color: #060606;
    --bg-surface: #0e0e0e;
    --bg-elevated: #181818;
    --bg-highlight: rgba(212, 175, 55, 0.08);
    --bg-card: linear-gradient(160deg, rgba(22, 20, 16, 0.95) 0%, rgba(12, 11, 9, 0.98) 100%);
    
    /* Text */
    --text-primary: #f5f0e6;
    --text-secondary: #e8d48b;
    --text-muted: #9a9080;
    
    /* Status */
    --success: #4ade80;
    --warning: #fbbf24;
    --error: #f87171;
    --info: #d4af37;
    
    /* Borders */
    --border-thin: rgba(212, 175, 55, 0.15);
    --border-thick: rgba(212, 175, 55, 0.42);
    --border-gold: rgba(212, 175, 55, 0.32);
    --border-glow: rgba(212, 175, 55, 0.5);
    
    /* Effects */
    --glass-bg: rgba(14, 14, 14, 0.92);
    --glass-border: rgba(212, 175, 55, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(212, 175, 55, 0.04);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(212, 175, 55, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(212, 175, 55, 0.08);
    --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 28px rgba(212, 175, 55, 0.18), 0 0 8px rgba(212, 175, 55, 0.12);
    --shadow-gold-intense: 0 4px 24px rgba(212, 175, 55, 0.25), 0 0 48px rgba(212, 175, 55, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #b8860b, #d4af37);
    --gradient-secondary: linear-gradient(135deg, #d4af37, #f0d060);
    --gradient-accent: linear-gradient(135deg, #c9a227, #e8c547);
    --gradient-dark: linear-gradient(160deg, #141210 0%, #080706 100%);
    --gradient-gold: linear-gradient(90deg, #b8860b, #d4af37, #f0d060);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(184, 134, 11, 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(212, 175, 55, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 20%, rgba(184, 134, 11, 0.035) 0%, transparent 45%),
        radial-gradient(ellipse 70% 60% at 50% 90%, rgba(212, 175, 55, 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');
    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(212, 175, 55, 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(212, 175, 55, 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(16, 14, 10, 0.95) 0%, rgba(10, 9, 8, 0.98) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 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');
    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(255, 120, 20, 0.95) 0%, rgba(255, 60, 0, 0.45) 42%, transparent 72%),
        radial-gradient(ellipse 50% 40% at 30% 90%, rgba(255, 200, 80, 0.75) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 70% 88%, rgba(255, 140, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 0.45)) brightness(1);
        opacity: 1;
    }
    5% {
        filter:
            drop-shadow(0 0 28px rgba(255, 100, 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(255, 160, 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(212, 175, 55, 0.5)) brightness(1.05);
        opacity: 1;
    }
    36% {
        filter:
            drop-shadow(0 0 30px rgba(255, 90, 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(255, 140, 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(212, 175, 55, 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: #5865f2;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), 0 3px 10px rgba(88, 101, 242, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.compact-join-discord:hover {
    background: #4752c4;
    color: #fff !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12), 0 6px 16px rgba(88, 101, 242, 0.45);
}

.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: linear-gradient(180deg, #1877f2 0%, #0d65d9 100%);
}

.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(212, 175, 55, 0.5);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

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

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

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

.compact-search:focus-within {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 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(212, 175, 55, 0.35);
}

/* Server status strip (second row in compact header) */
.compact-server-strip {
    border-top: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 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(28, 25, 18, 0.95) 0%, rgba(16, 15, 12, 0.98) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 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(16, 14, 10, 0.4);
    border: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 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: #cd9c48;
}

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

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

.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(212, 175, 55, 0.5);
    color: var(--primary-color);
    backdrop-filter: blur(4px);
}

.auth-buttons .btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

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

.auth-buttons .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 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(212, 175, 55, 0.5);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c9a227, #e8c547);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:active {
    box-shadow: 0 1px 6px rgba(212, 175, 55, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 0.08);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 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');
    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(212, 175, 55, 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(212, 175, 55, 0.45));
    transition: var(--transition-smooth);
}

.hero-logo-image:hover {
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 0.35);
}

.hero-button:active {
    box-shadow: 0 2px 12px rgba(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 0 inset rgba(212, 175, 55, 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(212, 175, 55, 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(28, 25, 18, 0.95) 0%, rgba(16, 15, 12, 0.98) 100%);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.08) 50%, transparent 100%);
}

.box-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 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(245, 240, 230, 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(212, 175, 55, 0.08);
    color: var(--primary-color);
    border-color: rgba(212, 175, 55, 0.15);
}

.nav-menu a.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(184, 134, 11, 0.06) 100%);
    color: var(--primary-color);
    border-color: rgba(212, 175, 55, 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(212, 175, 55, 0.15), 0 0 12px rgba(212, 175, 55, 0.25);
    background-color: rgba(20, 18, 12, 0.92);
}

.form-control:hover {
    border-color: rgba(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 0.3);
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 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');
    }

    /* 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(205, 156, 72, 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(205, 156, 72, 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(205, 156, 72, 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(205, 156, 72, 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(205, 156, 72, 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(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(16, 14, 11, 0.95) 0%, rgba(8, 7, 6, 0.98) 100%);
    border: 2px solid rgba(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 0.35), rgba(184, 134, 11, 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(212, 175, 55, 0.6), rgba(184, 134, 11, 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(212, 175, 55, 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(212, 175, 55, 0.3);
}

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

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

.exp-progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 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(28, 25, 18, 0.98) 0%, rgba(16, 15, 12, 1) 100%);
    padding: 18px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 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(16, 14, 10, 0.3);
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.expand-btn {
    display: none;
}

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

/* Selection highlight */
::selection {
    background: rgba(212, 175, 55, 0.25);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(212, 175, 55, 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: #cd9c48;
    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(212, 175, 55, 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: #ffd700;
}

/* 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(205, 156, 72, 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(205, 156, 72, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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: #cd9c48;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

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

/* Search Box and Results */
.search-container {
    padding: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(212, 175, 55, 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(235, 227, 213, 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(235, 227, 213, 0.7);
}

.players-online-pill .players-count {
    color: rgba(235, 227, 213, 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(212, 175, 55, 0.12);
}

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

.search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: #141210;
    border: 1px solid rgba(212, 175, 55, 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: #ffd700;
    font-size: 1.2rem;
}

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

.bronze-crown {
    color: #cd7f32;
    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(212, 175, 55, 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(205, 156, 72, 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(255, 204, 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(205, 156, 72, 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(255, 204, 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(205, 156, 72, 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(205, 156, 72, 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') 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(205, 156, 72, 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(205, 154, 35, 0.58) !important;
            border-radius: 15px !important;
            background:
                radial-gradient(circle at 50% -10%, rgba(231, 179, 55, 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(190, 136, 22, 0.08),
                inset 0 0 0 1px rgba(255, 224, 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(213, 162, 40, 0.16), transparent 68%),
                linear-gradient(180deg, #1a170f 0%, #0d0c09 100%) !important;
            border-bottom: 1px solid rgba(215, 164, 42, 0.45) !important;
            color: #e7bc50 !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: #edc45e !important;
    -webkit-text-fill-color: #edc45e !important;

    opacity: 1 !important;

    font-size: 17px !important;

    filter: drop-shadow(0 0 5px rgba(237, 196, 94, 0.42)) !important;
    text-shadow: 0 0 7px rgba(237, 196, 94, 0.22) !important;
}

        .container_right .top-players-card__title {
            position: relative !important;
            z-index: 2 !important;
            color: #edc45e !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(225, 177, 57, 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(238, 183, 43, 0.90) !important;
            background:
                radial-gradient(circle at 22% 50%, rgba(255, 202, 56, 0.18), transparent 38%),
                linear-gradient(90deg, #5d3d08 0%, #2b1c07 44%, #151008 100%) !important;
            box-shadow:
                inset 0 0 20px rgba(255, 194, 41, 0.09),
                0 0 11px rgba(211, 153, 29, 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(255, 239, 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: #ffd262 !important;
            filter: brightness(1.08) !important;
            box-shadow:
                inset 0 0 24px rgba(255, 200, 55, 0.14),
                0 0 17px rgba(226, 170, 39, 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(195, 107, 48, 0.55) !important;
            background:
                linear-gradient(
                    90deg,
                    rgba(89, 44, 16, 0.74),
                    rgba(28, 18, 12, 0.97) 56%,
                    rgba(10, 10, 9, 1)
                ) !important;
            box-shadow: inset 0 0 15px rgba(213, 115, 45, 0.04) !important;
        }

        .container_right .top-players-card__row--bronze:hover {
            border-color: rgba(236, 140, 72, 0.80) !important;
            filter: brightness(1.08) !important;
            box-shadow:
                inset 0 0 18px rgba(226, 130, 61, 0.07),
                0 0 11px rgba(195, 96, 38, 0.17) !important;
        }

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

        .container_right .top-players-card__row--muted {
            min-height: 49px !important;
            border: 1px solid rgba(176, 139, 54, 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(213, 164, 55, 0.42) !important;
            background:
                linear-gradient(90deg, rgba(46, 38, 21, 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: #2b1802 !important;
            background:
                linear-gradient(135deg, #fff2a8 0%, #e4a923 42%, #8f5f0a 100%) !important;
            box-shadow: 0 0 10px rgba(242, 184, 37, 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, #ffc17c 0%, #b9632e 50%, #63301b 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: #ffd45b;
            border: 1px solid rgba(234, 180, 44, 0.58);
            background: rgba(83, 55, 9, 0.62);
            box-shadow: 0 0 9px rgba(237, 183, 48, 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: #e89b61;
            border: 1px solid rgba(190, 103, 48, 0.42);
            background: rgba(73, 37, 17, 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: #e7dfd0 !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: #f2c24e !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: #e8a46d !important;
        }

        .container_right .top-players-card__row:hover .top-players-card__name {
            color: #ffda70 !important;
            text-shadow: 0 0 8px rgba(255, 206, 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: #9e8447;
            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: #ffdb6b !important;
            border: 1px solid rgba(225, 168, 39, 0.52) !important;
            background:
                linear-gradient(180deg, rgba(103, 68, 11, 0.90), rgba(42, 28, 8, 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: #f1b27f !important;
            border: 1px solid rgba(186, 98, 45, 0.48) !important;
            background:
                linear-gradient(180deg, rgba(90, 44, 18, 0.88), rgba(37, 20, 12, 0.97)) !important;
        }

        .container_right .top-players-card__level--muted {
            color: #a99f8d !important;
            border: 1px solid rgba(169, 132, 48, 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(232, 187, 64, 0.62) !important;
    border-radius: 9px !important;

    color: #f2c85a !important;

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(255, 215, 96, 0.15),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            rgba(91, 61, 10, 0.72) 0%,
            rgba(43, 29, 8, 0.88) 42%,
            rgba(20, 16, 9, 0.96) 100%
        ) !important;

    box-shadow:
        0 0 10px rgba(219, 168, 38, 0.16),
        inset 0 0 12px rgba(255, 213, 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(255, 231, 153, 0.06) 48%,
            transparent 100%
        ) !important;

    opacity: 0.75 !important;
}

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

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

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

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(255, 221, 112, 0.22),
            transparent 37%
        ),
        linear-gradient(
            135deg,
            rgba(112, 75, 12, 0.82) 0%,
            rgba(55, 37, 8, 0.93) 44%,
            rgba(24, 18, 8, 0.98) 100%
        ) !important;

    box-shadow:
        0 0 8px rgba(255, 204, 62, 0.28),
        0 0 20px rgba(218, 162, 28, 0.22),
        inset 0 0 15px rgba(255, 219, 102, 0.07) !important;

    filter:
        brightness(1.08) !important;
}

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

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

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(255, 224, 123, 0.24),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(115, 77, 12, 0.86) 0%,
            rgba(58, 39, 9, 0.95) 46%,
            rgba(24, 18, 8, 0.99) 100%
        ) !important;

    box-shadow:
        0 0 12px rgba(255, 205, 62, 0.30),
        inset 0 0 16px rgba(255, 220, 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(255, 235, 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(239, 190, 57, 0.54);
    border-radius: 50%;

    color: #ffd45d;

    background:
        radial-gradient(
            circle,
            rgba(105, 70, 10, 0.86),
            rgba(45, 29, 7, 0.92)
        );

    box-shadow:
        0 0 7px rgba(231, 177, 42, 0.20),
        inset 0 0 7px rgba(255, 226, 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(255, 212, 93, 0.30)
        );
}

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

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

    box-shadow:
        0 0 9px rgba(255, 205, 62, 0.33),
        inset 0 0 8px rgba(255, 229, 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(240, 191, 58, 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(255, 242, 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(219, 168, 38, 0.12),
            inset 0 0 12px rgba(255, 213, 92, 0.035);
    }

    50% {
        box-shadow:
            0 0 12px rgba(233, 181, 43, 0.23),
            0 0 20px rgba(206, 147, 20, 0.08),
            inset 0 0 14px rgba(255, 218, 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: #f6cc5c !important;

        border:
            1px solid rgba(232, 187, 64, 0.68) !important;

        background:
            radial-gradient(
                circle at 18% 50%,
                rgba(255, 215, 96, 0.16),
                transparent 34%
            ),
            linear-gradient(
                135deg,
                rgba(87, 59, 11, 0.94),
                rgba(39, 27, 9, 0.98)
            ) !important;

        box-shadow:
            0 0 11px rgba(219, 168, 38, 0.17),
            inset 0 0 12px rgba(255, 213, 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(219, 166, 38, 0.48) !important;
    border-radius: 15px !important;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(223, 169, 39, 0.09),
            transparent 42%
        ),
        linear-gradient(
            160deg,
            #17140d 0%,
            #0b0a08 56%,
            #070706 100%
        ) !important;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.52),
        0 0 18px rgba(212, 159, 30, 0.08),
        inset 0 0 0 1px rgba(255, 226, 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,
            #c9971d 20%,
            #f0c957 50%,
            #c9971d 80%,
            transparent
        ) !important;

    box-shadow:
        0 0 9px rgba(230, 178, 46, 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(212, 175, 55, 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(212, 175, 55, 0.22);

    background:
        linear-gradient(
            180deg,
            rgba(28, 24, 15, 0.96),
            rgba(15, 13, 9, 0.98)
        );
}


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

    color: #f0c85a;

    font-size: 17px;

    filter:
        drop-shadow(
            0 0 5px
            rgba(240, 200, 90, 0.28)
        );
}


.premium-points-widget__title {
    color: #efc454;

    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(230, 179, 48, 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(240, 193, 60, 0.64);

    border-radius: 50%;

    color: #ffda66;

    font-size: 27px;

    background:
        radial-gradient(
            circle at 35% 28%,
            #7b5511,
            #432c08 53%,
            #211705 100%
        );

    box-shadow:
        0 0 12px rgba(228, 172, 40, 0.22),
        inset 0 0 13px rgba(255, 223, 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(239, 190, 57, 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(228, 172, 40, 0.16),
            inset 0 0 13px rgba(255, 223, 116, 0.06);
    }

    50% {
        box-shadow:
            0 0 18px rgba(236, 182, 47, 0.34),
            0 0 28px rgba(212, 155, 25, 0.10),
            inset 0 0 15px rgba(255, 226, 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: #f1c759;

    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(235, 184, 50, 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(212, 175, 55, 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: #ffd65f;

    background:
        rgba(91, 61, 9, 0.70);

    border:
        1px solid rgba(219, 167, 39, 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: #f1c75a;

    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: #bda75f;
}


/* 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(246, 199, 66, 0.78);

    border-radius: 8px;

    color: #241803 !important;

    background:
        linear-gradient(
            180deg,
            #f4cf64 0%,
            #d6a62a 50%,
            #b78010 100%
        );

    box-shadow:
        0 0 10px rgba(230, 177, 43, 0.23),
        inset 0 1px 0 rgba(255, 244, 190, 0.35);

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

    letter-spacing: 0.6px;

    text-decoration: none !important;

    text-shadow:
        0 1px 0 rgba(255, 229, 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(255, 255, 229, 0.52),
            transparent
        );

    opacity: 0;

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


.premium-points-widget__button:hover {
    color: #1d1302 !important;

    transform:
        translateY(-2px);

    filter:
        brightness(1.08);

    box-shadow:
        0 0 12px rgba(239, 190, 56, 0.38),
        0 0 23px rgba(215, 155, 24, 0.17),
        inset 0 1px 0 rgba(255, 246, 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(212, 175, 55, 0.10);

    color: #81796c;

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

    letter-spacing: 0.35px;
}


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

    color: #a98a34;
}


/* 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;
    }
}
