/* ===================================================================
   ATLANTA BOT - MODERN DASHBOARD DESIGN SYSTEM
   Dark Mode, Glassmorphism, Discord-inspired Aesthetics
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Color Palette */
    --bg-base: #080b11;
    --bg-surface: #0f1523;
    --bg-card: rgba(18, 26, 43, 0.75);
    --bg-card-hover: rgba(26, 37, 61, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.65);
    --bg-input: #0b101c;
    --bg-input-focus: #0f172a;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    --border-active: #5865F2;

    /* Accents & Brand */
    --primary: #5865F2;
    --primary-hover: #4752c4;
    --primary-glow: rgba(88, 101, 242, 0.35);
    --primary-gradient: linear-gradient(135deg, #5865F2 0%, #7c3aed 100%);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --card-gradient: linear-gradient(180deg, rgba(30, 41, 69, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);

    /* Feedback Colors */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --info: #0ea5e9;
    --info-bg: rgba(14, 165, 233, 0.12);

    /* Typography */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px var(--primary-glow);
    --blur-glass: blur(16px);
}

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

body.hold-transition,
body {
    background-color: var(--bg-base) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-primary) !important;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-primary) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none !important;
    transition: all 0.2s ease;
}

a:hover {
    color: #818cf8;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Override AdminLTE / Bootstrap Wrappers */
.wrapper {
    background-color: var(--bg-base) !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

.content-wrapper {
    background-color: transparent !important;
    margin-left: 260px !important;
    padding: 24px 32px 36px 32px !important;
    flex: 1 0 auto !important;
    min-height: auto !important;
    box-sizing: border-box !important;
    transition: margin-left 0.3s ease;
}

@media (max-width: 768px) {
    .content-wrapper {
        margin-left: 0 !important;
        padding: 16px !important;
    }
}

/* ===================================================================
   TOPBAR / HEADER
   =================================================================== */
.main-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85) !important;
    backdrop-filter: var(--blur-glass) !important;
    -webkit-backdrop-filter: var(--blur-glass) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.main-header .logo {
    background: transparent !important;
    border-right: 1px solid var(--border-subtle) !important;
    height: 70px !important;
    line-height: 70px !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0 24px !important;
    color: #fff !important;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: 10px;
    box-shadow: 0 0 16px var(--primary-glow);
    color: white;
    font-size: 18px;
}

.logo-text {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.main-header .navbar {
    background: transparent !important;
    margin-left: 260px !important;
    height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px !important;
    border: none !important;
}

@media (max-width: 768px) {
    .main-header .navbar {
        margin-left: 0 !important;
    }
}

.sidebar-toggle {
    color: var(--text-secondary) !important;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

/* User Profile in Header */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary) !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-tag-text {
    font-weight: 600;
    font-size: 14px;
}

.dropdown-menu-modern {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 220px;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md);
    padding: 8px !important;
    display: none;
    z-index: 1050;
    backdrop-filter: var(--blur-glass);
}

.user-menu.open .dropdown-menu-modern,
.dropdown.open > .dropdown-menu {
    display: block !important;
    animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item-modern:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.dropdown-item-danger {
    color: var(--danger) !important;
}

.dropdown-item-danger:hover {
    background: var(--danger-bg) !important;
    color: #f87171 !important;
}

/* ===================================================================
   SIDEBAR
   =================================================================== */
.main-sidebar {
    background: rgba(11, 16, 26, 0.95) !important;
    border-right: 1px solid var(--border-subtle) !important;
    width: 260px !important;
    padding-top: 70px !important;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 990;
    box-shadow: var(--shadow-sm);
}

.sidebar {
    padding: 16px 12px !important;
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.sidebar-user-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.sidebar-user-info {
    overflow: hidden;
}

.sidebar-user-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.status-online { background-color: var(--success); box-shadow: 0 0 6px var(--success); }
.status-idle { background-color: var(--warning); box-shadow: 0 0 6px var(--warning); }
.status-dnd { background-color: var(--danger); box-shadow: 0 0 6px var(--danger); }
.status-offline { background-color: var(--text-dim); }

.sidebar-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    font-weight: 700;
    padding: 8px 12px;
    margin-top: 12px;
}

.sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13.5px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.sidebar-nav-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sidebar-nav-item.active a,
.sidebar-nav-item a.active {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.35);
    color: #fff;
    font-weight: 600;
}

.sidebar-nav-item a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}

.sidebar-nav-item.active a i,
.sidebar-nav-item a.active i {
    color: var(--primary);
}

/* ===================================================================
   CARDS & CONTAINERS (Glassmorphic)
   =================================================================== */
.modern-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.modern-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.modern-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.modern-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.modern-card-title i {
    color: var(--primary);
    font-size: 18px;
}

.modern-card-body {
    padding: 24px;
}

.modern-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* ===================================================================
   SELECTOR / GUILD CARDS GRID
   =================================================================== */
.selector-header-banner {
    background: var(--card-gradient);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.selector-header-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.guild-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.guild-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.guild-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.guild-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

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

.guild-icon-wrapper {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 16px;
}

.guild-icon-img {
    width: 88px;
    height: 88px;
    border-radius: 26px;
    object-fit: cover;
    border: 2px solid var(--border-subtle);
    background: var(--bg-surface);
    transition: border-color 0.2s ease;
}

.guild-card:hover .guild-icon-img {
    border-color: var(--primary);
}

.guild-icon-fallback {
    width: 88px;
    height: 88px;
    border-radius: 26px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-secondary);
}

.guild-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.guild-badge-owner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-bottom: 18px;
}

.guild-badge-admin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(88, 101, 242, 0.15);
    color: #818cf8;
    border: 1px solid rgba(88, 101, 242, 0.3);
    margin-bottom: 18px;
}

.btn-manage-guild {
    width: 100%;
    margin-top: auto;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-manage-guild:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 15px var(--primary-glow);
    color: white;
}

/* ===================================================================
   GUILD MANAGER / MODULAR TABS
   =================================================================== */
.guild-hero-card {
    background: var(--card-gradient);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.guild-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.guild-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    object-fit: cover;
}

.guild-hero-title {
    margin: 0 0 6px 0;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.guild-stats-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-stat-badge i {
    color: var(--primary);
}

/* Category Tabs Navigation */
.tabs-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle);
}

.tab-nav-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 10px 18px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-nav-btn i {
    font-size: 16px;
}

.tab-nav-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.tab-nav-btn.active {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.35);
    color: #fff;
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.2);
}

.tab-nav-btn.active i {
    color: var(--primary);
}

.tab-pane-content {
    display: none;
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   FORMS, INPUTS & TOGGLES
   =================================================================== */
.form-group-modern {
    margin-bottom: 22px;
}

.form-label-modern {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-sublabel {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
}

.input-modern,
.form-control {
    width: 100%;
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-modern:focus,
.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.25) !important;
    background-color: var(--bg-input-focus) !important;
}

select.form-control option {
    background-color: var(--bg-surface);
    color: #fff;
    padding: 8px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Modern Switch / Toggle */
.modern-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.modern-switch-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.switch-text-group {
    display: flex;
    flex-direction: column;
}

.switch-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

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

.switch-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

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

.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #1e293b;
    transition: 0.3s;
    border-radius: 34px;
    border: 1px solid var(--border-subtle);
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #94a3b8;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

input:checked + .slider-round {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

input:checked + .slider-round:before {
    transform: translateX(24px);
    background-color: #ffffff;
}

/* Checkbox Modern */
.custom-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.custom-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    background: var(--bg-input);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.custom-checkbox-label input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.custom-checkbox-label input[type="checkbox"]:checked::after {
    content: '✔';
    font-size: 11px;
    color: white;
}

/* Action Buttons */
.btn-modern-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-modern-primary:hover {
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
    transform: translateY(-1px);
    color: #fff !important;
}

.btn-modern-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-modern-danger {
    background: var(--danger-bg) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: var(--danger) !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-modern-danger:hover {
    background: var(--danger) !important;
    color: #fff !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

/* Alert Notification Pill */
.alert-modern {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-modern i {
    color: var(--primary);
    font-size: 20px;
}

/* Footer Modern */
footer.main-footer,
.main-footer {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 260px !important;
    width: calc(100% - 260px) !important;
    background: #090d16 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    padding: 18px 32px !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    clear: both !important;
    z-index: 800 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
}

footer.main-footer strong,
.main-footer strong {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

footer.main-footer a,
.main-footer a {
    color: var(--primary) !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .content-wrapper,
    footer.main-footer,
    .main-footer {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 16px 20px !important;
    }
}

/* ===================================================================
   MODERN MULTI-SELECT COMPONENT (ROLES & CHANNELS)
   =================================================================== */
.modern-multiselect {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}

.multiselect-box {
    min-height: 48px;
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    padding: 6px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.multiselect-box:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.multiselect-box.active,
.multiselect-box:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.25) !important;
    background-color: var(--bg-input-focus) !important;
}

.multiselect-placeholder {
    color: var(--text-dim);
    font-size: 13.5px;
}

.role-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(88, 101, 242, 0.18);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: #c7d2fe;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    transition: all 0.15s ease;
}

.role-badge-chip:hover {
    background: rgba(88, 101, 242, 0.28);
}

.role-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.role-badge-remove {
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #94a3b8;
    margin-left: 2px;
    transition: color 0.15s;
}

.role-badge-remove:hover {
    color: #ef4444;
}

.multiselect-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #0d1322 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65) !important;
    z-index: 1050;
    padding: 10px;
    display: none;
    animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.multiselect-dropdown.open {
    display: block;
}

.multiselect-search {
    width: 100%;
    background: #080c16 !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    margin-bottom: 8px;
    outline: none;
}

.multiselect-search:focus {
    border-color: var(--primary) !important;
}

.multiselect-options-list {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.multiselect-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s;
    color: var(--text-secondary);
    font-size: 13px;
    user-select: none;
}

.multiselect-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.multiselect-option.selected {
    background: rgba(88, 101, 242, 0.15);
    color: #fff;
}

.multiselect-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ===================================================================
   2-TIER CATEGORIZED NAVIGATION & SCHEDULED MESSAGES
   =================================================================== */

.category-nav-container {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-selector-pills {
    display: flex;
    gap: 8px;
    background: rgba(15, 23, 42, 0.7);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    overflow-x: auto;
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cat-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.cat-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.cat-btn i {
    font-size: 15px;
}

.subtabs-group-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.subtab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(18, 26, 43, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subtab-btn:hover {
    background: rgba(26, 37, 61, 0.8);
    border-color: var(--border-hover);
    color: #fff;
}

.subtab-btn.active {
    background: rgba(88, 101, 242, 0.2);
    border-color: var(--primary);
    color: #818cf8;
    font-weight: 600;
}

/* Scheduled Messages Cards & Badges */
.scheduled-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.scheduled-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}

.scheduled-badge-once {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}

.scheduled-badge-recurring {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}

.badge-status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}

.badge-status-paused {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}

.action-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.action-btn-trigger {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.35);
    color: #818cf8;
}

.action-btn-trigger:hover {
    background: var(--primary);
    color: #fff;
}

.action-btn-pause {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.action-btn-pause:hover {
    background: var(--warning);
    color: #000;
}

.action-btn-delete {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.action-btn-delete:hover {
    background: var(--danger);
    color: #fff;
}

/* ===================================================================
   MEE6-KILLER DESIGN SYSTEM: MODULES HUB & DISCORD EMBED LIVE PREVIEW
   =================================================================== */

/* Hub Search & Category Navigation */
.hub-header-wrapper {
    background: linear-gradient(135deg, rgba(30, 41, 69, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 25px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

.hub-search-container {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.hub-search-input {
    width: 100%;
    background: rgba(11, 16, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 16px 12px 44px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: all 0.25s ease;
}

.hub-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    background: rgba(15, 23, 42, 0.95);
}

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

.hub-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hub-chip-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hub-chip-btn:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.35);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.hub-chip-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

.hub-chip-badge {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

/* Modules Grid */
.modules-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.module-card {
    background: rgba(18, 26, 44, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    backdrop-filter: blur(14px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent-gradient, var(--primary-gradient));
    opacity: 0.8;
    transition: all 0.25s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(26, 37, 61, 0.85);
}

.module-card:hover::before {
    height: 4px;
    opacity: 1;
}

.module-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.module-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--card-icon-gradient, var(--primary-gradient));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.module-header-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.module-status-pill.active {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.module-status-pill.inactive {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #94a3b8;
}

.module-status-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.module-status-pill.active .dot {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.module-status-pill.inactive .dot {
    background: #64748b;
}

.module-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-card-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.module-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-configure-module {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-configure-module:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
    transform: translateY(-1px);
}

/* Sticky Module Breadcrumbs Top Bar */
.module-breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(18, 26, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 22px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.module-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.module-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.module-breadcrumb-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===================================================================
   DISCORD LIVE EMBED SIMULATOR (DISCOHOOK STYLE)
   =================================================================== */
.embed-builder-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 992px) {
    .embed-builder-layout {
        grid-template-columns: 1fr;
    }
}

.discord-preview-panel {
    background: #313338;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.discord-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.discord-msg-row {
    display: flex;
    gap: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.discord-bot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5865F2;
    flex-shrink: 0;
    object-fit: cover;
}

.discord-msg-content {
    flex: 1;
    min-width: 0;
}

.discord-msg-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.discord-bot-name {
    color: #f2f3f5;
    font-weight: 600;
    font-size: 15px;
}

.discord-app-tag {
    background: #5865F2;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.discord-timestamp {
    color: #949ba4;
    font-size: 12px;
}

.discord-embed-box {
    background: #2b2d31;
    border-left: 4px solid #5865F2;
    border-radius: 4px;
    padding: 14px 16px;
    margin-top: 6px;
    max-width: 520px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: border-color 0.15s ease;
}

.discord-embed-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #f2f3f5;
}

.discord-embed-author img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.discord-embed-title {
    font-size: 16px;
    font-weight: 700;
    color: #f2f3f5;
    margin-bottom: 8px;
    line-height: 1.3;
}

.discord-embed-title a {
    color: #00a8fc !important;
}

.discord-embed-desc {
    font-size: 14px;
    color: #dbdee1;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 12px;
}

.discord-embed-fields-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.discord-embed-field-item {
    min-width: 0;
}

.discord-embed-field-name {
    font-size: 13px;
    font-weight: 700;
    color: #f2f3f5;
    margin-bottom: 3px;
}

.discord-embed-field-value {
    font-size: 13px;
    color: #dbdee1;
    line-height: 1.35;
    word-break: break-word;
}

.discord-embed-thumb-img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 4px;
    float: right;
    margin-left: 12px;
    margin-bottom: 8px;
    object-fit: cover;
}

.discord-embed-main-img {
    max-width: 100%;
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.discord-embed-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #949ba4;
    margin-top: 10px;
}

.discord-embed-footer img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* Preset Colors Palette */
.color-presets-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.color-preset-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.color-preset-dot:hover {
    transform: scale(1.15);
    border-color: #ffffff;
}

/* ===================================================================
   LEADERBOARD PODIUM & RANKINGS (MEE6 STYLE)
   =================================================================== */
.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    margin: 35px 0 45px 0;
    padding: 0 15px;
}

.podium-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(18, 26, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    width: 200px;
    backdrop-filter: blur(14px);
    transition: all 0.25s ease;
    position: relative;
}

.podium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.podium-card.first {
    order: 2;
    border-color: rgba(234, 179, 8, 0.5);
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.15) 0%, rgba(18, 26, 44, 0.9) 100%);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.2);
    padding-top: 30px;
    margin-bottom: 20px;
}

.podium-card.second {
    order: 1;
    border-color: rgba(148, 163, 184, 0.4);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.1) 0%, rgba(18, 26, 44, 0.85) 100%);
}

.podium-card.third {
    order: 3;
    border-color: rgba(217, 119, 6, 0.4);
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.1) 0%, rgba(18, 26, 44, 0.85) 100%);
}

.podium-crown {
    position: absolute;
    top: -16px;
    font-size: 26px;
    color: #eab308;
    filter: drop-shadow(0 2px 8px rgba(234, 179, 8, 0.6));
}

.podium-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid;
    margin-bottom: 12px;
    object-fit: cover;
}

.podium-card.first .podium-avatar {
    border-color: #eab308;
    width: 76px;
    height: 76px;
}

.podium-card.second .podium-avatar {
    border-color: #94a3b8;
}

.podium-card.third .podium-avatar {
    border-color: #b45309;
}

.podium-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-align: center;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-level-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.podium-card.first .podium-level-badge {
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
}

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

/* Toast Notifications */
.modern-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.modern-toast {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    font-size: 14px;
    font-weight: 600;
    animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modern-toast.toast-success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.2);
}

.modern-toast.toast-error {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(239, 68, 68, 0.2);
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   WOLFBOT PRIME - CYBER-LUXURY DESIGN SYSTEM & EXCLUSIVE MODULES
   Obsidian, Neon Glow, Live Telemetry HUD, Cyberpunk Terminal
   =================================================================== */

/* Cyber Fonts & Headings */
.font-cyber {
    font-family: 'Orbitron', 'Outfit', sans-serif !important;
    letter-spacing: 0.05em;
}

.font-mono-code {
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
}

/* Neon Glow Accents */
.glow-cyan {
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.65);
}

.glow-purple {
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.65);
}

.glow-danger {
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
}

.glow-amber {
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

/* LIVE TELEMETRY HUD BAR */
.hud-telemetry-container {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 29, 0.95) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
}

.hud-telemetry-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #6366f1, #ec4899, #06b6d4);
    background-size: 200% 100%;
    animation: hudGlowScan 6s linear infinite;
}

@keyframes hudGlowScan {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.hud-telemetry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.hud-telemetry-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.hud-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hud-live-tag .pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.5s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
}

.hud-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}

.hud-metric-card {
    background: rgba(18, 26, 43, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-metric-card:hover {
    background: rgba(26, 37, 61, 0.85);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hud-metric-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

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

.hud-metric-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.hud-metric-val {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

/* Sound FX Toggle Button */
.sound-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.sound-toggle-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: #fff;
}

.sound-toggle-btn.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.5);
    color: #38bdf8;
}

/* ===================================================================
   MODULE 1: PANIC BUTTON & ANTI-NUKE VAULT
   =================================================================== */
.panic-vault-hero {
    background: radial-gradient(circle at 50% 30%, rgba(239, 68, 68, 0.15) 0%, rgba(15, 23, 42, 0.95) 75%);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.15);
}

.panic-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.panic-status-indicator.ready {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
}

.panic-status-indicator.locked {
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.8);
    color: #f87171;
    animation: panicFlash 1s infinite alternate;
}

@keyframes panicFlash {
    0% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
    100% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
}

.panic-btn-trigger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border: 2px solid #fca5a5;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 42px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.panic-btn-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 45px rgba(239, 68, 68, 0.75), inset 0 2px 8px rgba(255, 255, 255, 0.6);
}

.panic-btn-trigger:active {
    transform: scale(0.98);
}

.panic-btn-restore {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border: 2px solid #7dd3fc;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.panic-btn-restore:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 35px rgba(14, 165, 233, 0.65);
}

/* ===================================================================
   MODULE 2: BLOOMBERG WOLF TERMINAL 2.0
   =================================================================== */
.bloomberg-box {
    background: #090d16;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.bloomberg-top-bar {
    background: #0f172a;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bloomberg-ticker-ticker {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.crypto-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
}

.crypto-chip .up {
    color: #10b981;
    font-weight: 700;
}

.crypto-chip .down {
    color: #ef4444;
    font-weight: 700;
}

/* Fear & Greed Dial */
.fg-meter-card {
    background: rgba(18, 26, 43, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.fg-value-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 14px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(10, 15, 29, 0.9) 70%);
    border: 4px solid #10b981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}

.fg-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #34d399;
}

.fg-sentiment-badge {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #10b981;
}

/* Whale Transactions Table */
.whale-table-wrap {
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.whale-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.whale-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.whale-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-family: 'JetBrains Mono', monospace;
}

.whale-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* ===================================================================
   MODULE 3: ROUE DE LA FORTUNE & GIVEAWAYS
   =================================================================== */
.wheel-studio-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.wheel-canvas-container {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fortuneWheelCanvas {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.35), 0 0 80px rgba(168, 85, 247, 0.2);
}

.wheel-arrow-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 24px solid #f43f5e;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    z-index: 10;
}

.wheel-spin-btn {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    border: none;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 38px;
    border-radius: 40px;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wheel-spin-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.6);
}

.wheel-spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wheel-winner-banner {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    color: #fde047;
    font-weight: 700;
    display: none;
    animation: toastSlideUp 0.4s ease forwards;
}

/* ===================================================================
   MODULE 4: WOLF SHELL CYBER TERMINAL
   =================================================================== */
.wolf-terminal-window {
    background: #050811;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.1);
}

.terminal-header {
    background: #0a1120;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #6ee7b7;
    letter-spacing: 0.05em;
}

.terminal-screen {
    padding: 16px 20px;
    min-height: 280px;
    max-height: 420px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #34d399;
    line-height: 1.6;
}

.terminal-screen .line-system { color: #38bdf8; }
.terminal-screen .line-warn { color: #fbbf24; }
.terminal-screen .line-err { color: #f87171; }
.terminal-screen .line-accent { color: #c084fc; }
.terminal-screen .line-prompt { color: #a7f3d0; font-weight: 700; }

.terminal-input-row {
    display: flex;
    align-items: center;
    background: #070d18;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    gap: 10px;
}

.terminal-prompt-label {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #10b981;
    font-size: 13px;
    white-space: nowrap;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    flex: 1;
    outline: none;
}

.terminal-quick-cmds {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.terminal-cmd-pill {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.terminal-cmd-pill:hover {
    background: rgba(16, 185, 129, 0.25);
    color: #fff;
}



