/* ============================================
   ALL-IN-ONE BOT - PREMIUM DASHBOARD THEME
   Modern Discord-inspired Design
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #1e1e2a;
    --bg-hover: #252535;
    
    --accent-primary: #5865f2;
    --accent-secondary: #7289da;
    --accent-gradient: linear-gradient(135deg, #5865f2 0%, #7289da 50%, #5865f2 100%);
    
    --green: #23a559;
    --red: #ed4245;
    --yellow: #f0b232;
    --pink: #eb459e;
    --cyan: #00d4aa;
    --purple: #9b59b6;
    
    --text-primary: #ffffff;
    --text-secondary: #b9bbbe;
    --text-muted: #72767d;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(88, 101, 242, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: var(--radius-full); }

/* Background Animation */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(88, 101, 242, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(114, 137, 218, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 50%, rgba(35, 165, 89, 0.05) 0%, transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(88, 101, 242, 0.3); } 50% { box-shadow: 0 0 40px rgba(88, 101, 242, 0.5); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.animate-fade { animation: fadeIn 0.6s ease-out; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    margin-left: 8px;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.active { display: block; }

.mobile-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent-gradient);
    background-size: 200% auto;
    color: white;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-success {
    background: linear-gradient(135deg, var(--green), #2ecc71);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(35, 165, 89, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, var(--red), #c0392b);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-hover);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(88, 101, 242, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px;
}

.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.btn-ghost-danger { background: transparent; color: var(--text-muted); padding: 8px 12px; }
.btn-ghost-danger:hover { color: var(--red); background: rgba(237, 66, 69, 0.1); }

.btn-glow { animation: glow 3s ease-in-out infinite; }

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

@keyframes shine { 0% { left: -100%; } 50%, 100% { left: 100%; } }

.btn-save { margin-top: 24px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 80px;
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line { display: block; color: var(--text-primary); }

.title-gradient {
    display: block;
    background: var(--accent-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 64px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Floating Cards */
.hero-floating {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.floating-card i { color: var(--accent-primary); }
.card-1 { top: 20%; left: 5%; animation-delay: 0s; }
.card-2 { top: 30%; right: 5%; animation-delay: 1s; }
.card-3 { bottom: 25%; left: 10%; animation-delay: 2s; }

/* ============================================
   FEATURES SECTION
   ============================================ */
.features, .commands-section, .cta-section {
    padding: 100px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 64px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.feature-card.featured {
    border-color: rgba(88, 101, 242, 0.3);
    background: linear-gradient(145deg, var(--bg-card), rgba(88, 101, 242, 0.05));
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-gradient);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.feature-icon-wrapper { position: relative; margin-bottom: 24px; }

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    z-index: 1;
}

.feature-icon-bg {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 64px;
    height: 64px;
    background: var(--accent-primary);
    border-radius: var(--radius-lg);
    opacity: 0.2;
    filter: blur(16px);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-muted);
}

/* Commands Categories */
.commands-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.command-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.command-category:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.command-category i {
    font-size: 32px;
    color: var(--accent-primary);
    margin-bottom: 12px;
    display: block;
}

.command-category span {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.category-count {
    background: rgba(88, 101, 242, 0.2);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* CTA Section */
.cta-section {
    text-align: center;
    position: relative;
}

.cta-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 64px 32px;
    position: relative;
    overflow: hidden;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-container {
    padding: 100px 32px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-welcome {
    background: linear-gradient(135deg, var(--bg-card), rgba(88, 101, 242, 0.1));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-avatar {
    position: relative;
}

.welcome-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
}

.avatar-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--green);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
}

.welcome-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-text p {
    color: var(--text-secondary);
}

.welcome-stats {
    display: flex;
    gap: 24px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.mini-stat i { color: var(--accent-primary); }

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 12px;
}

/* Server Grid */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeIn 0.5s ease-out backwards;
}

.server-card:hover {
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.server-banner {
    height: 80px;
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
}

.banner-blur {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    opacity: 0.5;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
}

.owner-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--yellow);
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.server-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: -32px auto 0;
    position: relative;
    border: 4px solid var(--bg-card);
}

.server-icon img {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-lg) - 4px);
    object-fit: cover;
}

.icon-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid var(--border-color);
    border-radius: calc(var(--radius-lg) + 2px);
    transition: var(--transition);
}

.icon-ring.active { border-color: var(--green); }

.server-info {
    padding: 16px 20px;
    text-align: center;
}

.server-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-meta {
    margin-bottom: 12px;
}

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

.meta-item.owner { color: var(--yellow); }
.meta-item i { margin-right: 4px; }

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: rgba(35, 165, 89, 0.15);
    color: var(--green);
}

.status-inactive {
    background: rgba(237, 66, 69, 0.15);
    color: var(--red);
}

.server-actions {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 64px 32px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* ============================================
   SETTINGS LAYOUT (Server Page)
   ============================================ */
.settings-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 70px;
}

.settings-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    padding: 24px 16px;
}

.sidebar-header { margin-bottom: 24px; }

.sidebar-server {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.sidebar-server img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
}

.sidebar-server-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.server-name-small {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.server-member-count {
    font-size: 12px;
    color: var(--text-muted);
}

.sidebar-nav { margin-top: 16px; }

.sidebar-section { margin-bottom: 24px; }

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 12px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: rgba(88, 101, 242, 0.15);
    color: var(--accent-primary);
}

.sidebar-link i { width: 20px; text-align: center; }

.sidebar-premium { margin-top: auto; padding-top: 24px; }

.premium-card {
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.premium-label {
    font-size: 10px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.premium-tier {
    font-size: 16px;
    font-weight: 700;
}

/* Settings Content */
.settings-content {
    flex: 1;
    margin-left: 280px;
    padding: 32px;
    max-width: 900px;
}

.settings-section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.settings-section.active { display: block; }

.section-header-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.section-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.section-icon.green { background: linear-gradient(135deg, var(--green), #2ecc71); }
.section-icon.red { background: linear-gradient(135deg, var(--red), #c0392b); }
.section-icon.yellow { background: linear-gradient(135deg, var(--yellow), #f39c12); }
.section-icon.purple { background: linear-gradient(135deg, var(--purple), #8e44ad); }
.section-icon.pink { background: linear-gradient(135deg, var(--pink), #e91e63); }
.section-icon.cyan { background: linear-gradient(135deg, var(--cyan), #00bcd4); }
.section-icon.blue { background: var(--accent-gradient); }

.section-header-inline h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.section-header-inline p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Stats Grid */
.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card-new {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.stat-card-new:hover {
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-4px);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card-icon.blue { background: rgba(88, 101, 242, 0.15); color: var(--accent-primary); }
.stat-card-icon.green { background: rgba(35, 165, 89, 0.15); color: var(--green); }
.stat-card-icon.purple { background: rgba(155, 89, 182, 0.15); color: var(--purple); }
.stat-card-icon.yellow { background: rgba(240, 178, 50, 0.15); color: var(--yellow); }

.stat-card-value {
    font-size: 28px;
    font-weight: 800;
}

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

/* Quick Actions */
.quick-actions {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.quick-actions h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-actions h3 i { color: var(--yellow); }

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(88, 101, 242, 0.1);
}

.action-btn i { color: var(--accent-primary); }

/* ============================================
   FORMS
   ============================================ */
.settings-form { max-width: 600px; }

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-label i { color: var(--accent-primary); }

.form-input-new, .form-select-new, .form-textarea-new {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.form-input-new:focus, .form-select-new:focus, .form-textarea-new:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.15);
}

.form-input-new::placeholder { color: var(--text-muted); }

.form-textarea-new {
    min-height: 120px;
    resize: vertical;
}

.select-wrapper {
    position: relative;
}

.select-wrapper .select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.form-select-new {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.form-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.hint-tag {
    background: rgba(88, 101, 242, 0.15);
    color: var(--accent-primary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    margin-right: 4px;
}

/* Toggle Switch */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.toggle-info { flex: 1; }

.toggle-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-title i { color: var(--accent-primary); font-size: 14px; }

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

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider-new {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.toggle-slider-new::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider-new {
    background: var(--green);
    border-color: var(--green);
}

.toggle-switch input:checked + .toggle-slider-new::before {
    transform: translateX(24px);
    background: white;
}

/* Auto-mod Options */
.automod-options {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.option-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
}

/* Subsections */
.subsection {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.subsection-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subsection-title i { color: var(--accent-primary); }

/* Level Roles */
.level-roles-list { margin-bottom: 20px; }

.level-role-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.lr-level {
    background: var(--accent-gradient);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

.lr-role {
    flex: 1;
    color: var(--text-secondary);
    font-size: 14px;
}

.add-level-role {
    display: flex;
    gap: 12px;
    align-items: center;
}

.add-level-role .form-input-new { width: 100px; }
.flex-1 { flex: 1; }

/* Leaderboard */
.leaderboard-list { }

.leaderboard-item-new {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: var(--transition);
}

.leaderboard-item-new:hover {
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateX(4px);
}

.lb-rank {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.lb-rank.rank-1 { background: linear-gradient(135deg, #ffd700, #ffb700); color: #000; }
.lb-rank.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
.lb-rank.rank-3 { background: linear-gradient(135deg, #cd7f32, #b87333); color: #fff; }

.lb-user { flex: 1; }
.lb-name { font-weight: 600; font-size: 14px; }
.lb-stats { font-size: 12px; color: var(--text-muted); }

.lb-xp {
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badwords */
.badwords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    min-height: 50px;
}

.badword-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(237, 66, 69, 0.15);
    color: var(--red);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
}

.badword-tag i {
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.badword-tag i:hover { opacity: 1; }

.add-badword {
    display: flex;
    gap: 12px;
}

.add-badword .form-input-new { flex: 1; }

/* Giveaways */
.giveaways-list { }

.giveaway-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.giveaway-prize {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.giveaway-prize i { color: var(--pink); margin-right: 8px; }

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

/* Commands List */
.commands-list { }

.command-category-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
}

.category-header {
    padding: 16px 20px;
    background: var(--bg-card);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-header i { color: var(--accent-primary); }

.cmd-count {
    background: rgba(88, 101, 242, 0.2);
    color: var(--accent-primary);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    margin-left: auto;
}

.category-commands { padding: 12px; }

.cmd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cmd-item:hover { background: rgba(255, 255, 255, 0.03); }

.cmd-name {
    font-family: monospace;
    background: rgba(88, 101, 242, 0.15);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.cmd-desc {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Loading & Empty States */
.loading-state, .empty-state-small {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
}

.loading-state i, .empty-state-small i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
    min-width: 280px;
}

.toast.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(20px); }
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.toast-success .toast-icon {
    background: rgba(35, 165, 89, 0.15);
    color: var(--green);
}

.toast-error .toast-icon {
    background: rgba(237, 66, 69, 0.15);
    color: var(--red);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 32px;
}

.footer.compact {
    padding: 24px 32px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .settings-sidebar { display: none; }
    .settings-content { margin-left: 0; padding: 24px 16px; }
    .settings-section { display: block !important; margin-bottom: 32px; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 16px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero { padding: 100px 20px 60px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-item { width: 100%; justify-content: center; }
    
    .hero-floating { display: none; }
    
    .features, .commands-section, .cta-section { padding: 60px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    
    .dashboard-container { padding: 90px 16px 16px; }
    .dashboard-welcome { flex-direction: column; text-align: center; }
    .welcome-content { flex-direction: column; }
    .welcome-stats { justify-content: center; }
    
    .servers-grid { grid-template-columns: 1fr; }
    
    .filter-tabs { justify-content: center; }
    
    .footer-content { flex-direction: column; text-align: center; }
    
    .toast-container { left: 16px; right: 16px; bottom: 16px; }
    .toast { min-width: auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    
    .section-title { font-size: 28px; }
    
    .stats-grid-4 { grid-template-columns: 1fr 1fr; }
    
    .add-level-role { flex-direction: column; }
    .add-level-role .form-input-new { width: 100%; }
    
    .add-badword { flex-direction: column; }
}


/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.lang-btn i:first-child {
    color: var(--accent-primary);
}

.lang-btn i:last-child {
    font-size: 10px;
    transition: var(--transition);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(88, 101, 242, 0.15);
    color: var(--accent-primary);
}

.lang-option span {
    font-size: 18px;
}

.mobile-lang {
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    padding-top: 8px;
}


/* ============================================
   ANALYTICS PAGE STYLES
   ============================================ */

.analytics-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.analytics-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.analytics-server-icon,
.analytics-server-icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.analytics-server-icon-placeholder {
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.analytics-title h1 {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.analytics-title h1 i {
    color: var(--accent-primary);
}

.analytics-title p {
    color: var(--text-secondary);
    font-size: 14px;
}

.analytics-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--text-secondary);
    gap: 20px;
}

.analytics-loading i {
    color: var(--accent-primary);
}

/* Overview Cards */
.analytics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.overview-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.overview-icon.blue { background: rgba(88, 101, 242, 0.2); color: var(--accent-primary); }
.overview-icon.green { background: rgba(35, 165, 89, 0.2); color: var(--green); }
.overview-icon.red { background: rgba(237, 66, 69, 0.2); color: var(--red); }
.overview-icon.yellow { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }

.overview-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.overview-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Issues Alert */
.issues-alert {
    background: linear-gradient(135deg, rgba(237, 66, 69, 0.1), rgba(240, 178, 50, 0.1));
    border: 1px solid rgba(237, 66, 69, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 30px;
}

.issues-alert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
    color: var(--red);
    margin-bottom: 16px;
}

.issues-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.issue-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: var(--radius-md);
}

.issue-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.issue-icon.green { background: rgba(35, 165, 89, 0.2); color: var(--green); }
.issue-icon.yellow { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }
.issue-icon.orange { background: rgba(230, 126, 34, 0.2); color: #e67e22; }
.issue-icon.red { background: rgba(237, 66, 69, 0.2); color: var(--red); }

.issue-info { flex: 1; }
.issue-type { font-weight: 600; font-size: 14px; }
.issue-desc { font-size: 13px; color: var(--text-secondary); }

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

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

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

.analytics-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.analytics-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--accent-primary);
}

/* DNA Info */
.dna-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dna-item {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--radius-md);
}

.dna-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.dna-value {
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.dna-settings h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* Channel List */
.channel-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.channel-rank {
    width: 28px;
    height: 28px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.channel-name {
    flex: 1;
    font-size: 14px;
}

.channel-violations {
    font-size: 13px;
    color: var(--red);
    font-weight: 500;
}

/* Violators List */
.violators-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.violator-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.violator-rank {
    width: 28px;
    height: 28px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.violator-rank.top-1 { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #000; }
.violator-rank.top-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
.violator-rank.top-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }

.violator-info { flex: 1; }
.violator-id { font-weight: 600; font-size: 14px; }
.violator-stats { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }

.trust-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.trust-badge.trust-low { background: rgba(237, 66, 69, 0.2); color: var(--red); }
.trust-badge.trust-medium { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }
.trust-badge.trust-high { background: rgba(35, 165, 89, 0.2); color: var(--green); }

.tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: var(--bg-hover);
    color: var(--text-secondary);
}

.tag.tag-toxic { background: rgba(237, 66, 69, 0.2); color: var(--red); }
.tag.tag-spammer { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }
.tag.tag-helpful { background: rgba(35, 165, 89, 0.2); color: var(--green); }
.tag.tag-trusted { background: rgba(88, 101, 242, 0.2); color: var(--accent-primary); }

.violator-counts {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.violator-counts i { margin-right: 4px; }

/* Mod List */
.mod-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mod-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.mod-rank {
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.mod-info { flex: 1; }
.mod-id { font-weight: 600; font-size: 14px; }
.mod-stats { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.mod-breakdown {
    display: flex;
    gap: 8px;
}

.mod-stat {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}

.mod-stat.warn { background: rgba(240, 178, 50, 0.2); color: var(--yellow); }
.mod-stat.timeout { background: rgba(88, 101, 242, 0.2); color: var(--accent-primary); }
.mod-stat.ban { background: rgba(237, 66, 69, 0.2); color: var(--red); }

/* Chart Container */
.chart-container {
    height: 300px;
    position: relative;
}

/* Empty State */
.empty-state-small {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Button Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}


/* Sidebar Badge */
.sidebar-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    margin-left: auto;
}

.sidebar-badge.new {
    background: linear-gradient(135deg, var(--green), #00d26a);
    color: #fff;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.analytics-link {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(35, 165, 89, 0.1));
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.analytics-link:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(35, 165, 89, 0.2));
}
