
/* 240Hz HIGH REFRESH COMPOSITOR PIPELINE (4.16ms FRAME BUDGET) */
html {
    overscroll-behavior-y: none;
    -webkit-text-size-adjust: 100%;
}

body {
    overscroll-behavior-y: none;
    overflow-x: hidden;
}

*, *::before, *::after {
    -webkit-tap-highlight-color: transparent;
}


/* GPU HARDWARE ACCELERATION & EXTENSION JANK IMMUNITY */
html, body {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content,
.sidebar,
.spatial-sidebar,
.glass-panel,
.server-card,
.settings-panel,
.crimson-hero,
.card,
.toggle-container {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

/* Containment to isolate DOM mutations caused by Chrome Extensions */
.glass-panel,
.settings-panel,
.server-card {
    contain: layout style;
}

.tab-content {
    contain: layout;
}

/* Optimized Backdrop Filter Performance */
.sidebar, .glass-panel, .server-card, .login-card, .spatial-sidebar {
    will-change: auto;
}

/* Reduce repaint lag during scrolling */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-margin-top: 80px;
    }
}

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


:root, html {
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Anti-Extension Immunity (DarkReader, ForceDark, HighContrast) */
html[data-darkreader-mode],
html[data-darkreader-scheme="dark"],
[data-darkreader-inline-bgcolor] {
    --darkreader-inline-bgcolor: initial !important;
    --darkreader-inline-bgimage: initial !important;
    --darkreader-inline-border: initial !important;
    --darkreader-inline-color: initial !important;
}

:root {
    /* FIXSUBOT MASTER DESIGN SYSTEM (Cyberpunk Crimson & Royal Violet) */
    --brand-crimson: #ff3366;
    --brand-crimson-glow: rgba(255, 51, 102, 0.35);
    --brand-violet: #9d4edd;
    --brand-purple: #7928ca;
    --brand-gradient: #ff3366;
    --brand-gradient-hover: #ff4d7d;
    --brand-glow: none;
    --brand-glow-subtle: 0 0 15px rgba(157, 78, 221, 0.2);
    
    --bg-dark-primary: #0a0204;
    --bg-dark-secondary: #120719;
    
    --glass-card-bg: rgba(22, 12, 28, 0.85);
    --glass-card-border: 1px solid rgba(255, 51, 102, 0.16);
    --glass-card-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 51, 102, 0.05);
    
    --glass-bg: rgba(22, 12, 28, 0.85);
    --glass-border: rgba(255, 51, 102, 0.16);
    --glass-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 51, 102, 0.05);
    
    --accent: #ff3366;
    --accent-glow: rgba(255, 51, 102, 0.4);
    --accent-hover: #ff4d7d;
    
    --text-pure: #ffffff;
    --text-main: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    
    --transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #0a0204;
    background-color: #150508;
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

.app-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid var(--glass-border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.user-profile img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.user-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.user-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links li a:hover,
.nav-links li.active a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transform: none;
}

.logout-btn {
    text-decoration: none;
    color: #ff4d4d;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: rgba(255, 77, 77, 0.05);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.logout-btn:hover {
    background: rgba(255, 77, 77, 0.2);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 3rem 4rem;
    overflow-y: auto;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: #fff;
    -webkit-background-clip: text; background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== GRID & CARDS ===== */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.badge.active {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge.inactive {
    background: rgba(255, 255, 255, 0.05);
    color: #999;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-card {
    will-change: transform;
    transform: translateZ(0);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.server-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.server-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.server-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.server-info h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.btn {
    text-decoration: none;
    text-align: center;
    padding: 0.9rem;
    border-radius: 14px;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    color: #fff;
    cursor: pointer;
    border: none;
}

.btn-manage {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-manage:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-add {
    background: #ff007f;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    filter: brightness(1.1);
}

/* ===== FLOATING ROBOT ===== */
.floating-robot {
    position: absolute;
    bottom: -20px;
    right: 40px;
    width: 250px;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
    animation: floatbot 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

@keyframes floatbot {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.login-card h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: #fff;
    -webkit-background-clip: text; background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-card p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.login-btn-large {
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.login-card h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: #fff;
    -webkit-background-clip: text; background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-card p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.login-btn-large {
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
    .app-container {
        flex-direction: column;
    }

    .floating-robot {
        display: none;
    }
}

/* =========================================
   GOD-TIER GLASSMORPHISM OVERRIDES 
   ========================================= */

body {
    background-color: #0a0204;
    background-color: #150508;
    color: var(--text-main);
}

/* Glass Panels Enforcement */
.glass-panel, .server-card, .sidebar, .login-card, .spatial-sidebar, .card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    transition: var(--transition);
}

.server-card:hover, .glass-panel:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px hsla(var(--hue-primary), 80%, 50%, 0.2), inset 0 0 0 1px hsla(0, 0%, 100%, 0.2) !important;
}

/* Buttons Enforcements */
.btn-add, .btn-primary, .btn-upgrade {
    background: hsl(var(--hue-primary), 100%, 50%) !important;
    box-shadow: 0 4px 15px var(--accent-glow) !important;
    border: none !important;
    color: white !important;
    transition: var(--transition) !important;
}

.btn-add:hover, .btn-primary:hover, .btn-upgrade:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px var(--accent-glow) !important;
    filter: brightness(1.2) !important;
}

.btn-manage, .btn-secondary {
    background: hsla(0, 0%, 100%, 0.05) !important;
    border: 1px solid hsla(0, 0%, 100%, 0.1) !important;
    color: var(--text-main) !important;
    transition: var(--transition) !important;
}

.btn-manage:hover, .btn-secondary:hover {
    background: hsla(0, 0%, 100%, 0.1) !important;
    box-shadow: 0 4px 15px hsla(0, 0%, 100%, 0.1) !important;
}

/* Custom Scrollbar for all */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: hsla(0, 0%, 100%, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Animated Neon glow for titles */
.neon-title, .header h1, .active-bot-name {
    text-shadow: 0 0 20px var(--accent-glow) !important;
}

/* Fix mobile sidebar and topbar styles */
@media (max-width: 768px) {
    .mobile-topbar {
        background: hsla(230, 15%, 10%, 0.8) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid var(--glass-border) !important;
    }
}

.mobile-topbar-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
}
.mobile-topbar-logo::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url('/images/bot-logo.png'), url('/images/bot-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}
/* ========================================================
   [GOD-TIER] UX/UI ENHANCEMENTS (ETAP 3)
   ======================================================== */

/* 36. Morphing Loader Button */
.btn-loading {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.8;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.loader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 33. Onboarding Tour Overlay (FixsuBot God-Tier) */
.fixsu-tour-backdrop, .tour-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    background: rgba(10, 2, 4, 0.82) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 100040 !important;
    pointer-events: auto !important;
    transition: opacity 0.25s ease !important;
}

.fixsu-tour-spotlight {
    position: fixed !important;
    border-radius: 14px !important;
    pointer-events: none !important;
    z-index: 100045 !important;
    box-shadow: 0 0 0 9999px rgba(10, 2, 4, 0.82), 0 0 28px rgba(255, 51, 102, 0.65), inset 0 0 15px rgba(255, 51, 102, 0.3) !important;
    border: 2px solid #ff3366 !important;
    transition: top 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.32s ease,
                opacity 0.2s ease !important;
}

.fixsu-tour-card, .tour-tooltip {
    position: fixed !important;
    z-index: 100060 !important;
    background: rgba(18, 7, 26, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 51, 102, 0.4) !important;
    border-radius: 20px !important;
    padding: 22px 24px !important;
    color: #ffffff !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 51, 102, 0.25) !important;
    box-sizing: border-box !important;
    max-width: 420px !important;
    animation: fixsuTourPopIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    overflow: hidden !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

@keyframes fixsuTourPopIn {
    0% { opacity: 0; transform: scale(0.92) translateY(12px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.fixsu-tour-progress-track {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.fixsu-tour-progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #ff3366, #9d4edd) !important;
    transition: width 0.32s ease !important;
    box-shadow: 0 0 10px #ff3366 !important;
}

.fixsu-tour-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
}

.fixsu-tour-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 51, 102, 0.15) !important;
    border: 1px solid rgba(255, 51, 102, 0.35) !important;
    color: #ff3366 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
}

.fixsu-tour-badge-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #ff3366 !important;
    box-shadow: 0 0 8px #ff3366 !important;
}

.fixsu-tour-close-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}
.fixsu-tour-close-btn:hover {
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.fixsu-tour-content {
    margin-bottom: 20px !important;
}

.fixsu-tour-title {
    margin: 0 0 8px 0 !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}

.fixsu-tour-title i {
    color: #ff3366 !important;
    font-size: 1.05rem !important;
    filter: drop-shadow(0 0 6px rgba(255, 51, 102, 0.6)) !important;
}

.fixsu-tour-desc {
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: #cbd5e1 !important;
}

.fixsu-tour-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.fixsu-tour-skip-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}
.fixsu-tour-skip-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.fixsu-tour-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.fixsu-tour-prev-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    padding: 9px 15px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}
.fixsu-tour-prev-btn:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.fixsu-tour-next-btn, .tour-next-btn {
    background: linear-gradient(135deg, #ff3366, #9d4edd) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 0 4px 18px rgba(255, 51, 102, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.fixsu-tour-next-btn:hover, .tour-next-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(255, 51, 102, 0.65) !important;
    filter: brightness(1.1) !important;
}

@media (max-width: 768px) {
    .fixsu-tour-card, .tour-tooltip {
        left: 12px !important;
        right: 12px !important;
        bottom: max(14px, env(safe-area-inset-bottom, 14px)) !important;
        top: auto !important;
        width: calc(100% - 24px) !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 16px 18px !important;
        border-radius: 18px !important;
    }
    .fixsu-tour-title {
        font-size: 1.05rem !important;
    }
    .fixsu-tour-desc {
        font-size: 0.86rem !important;
        line-height: 1.45 !important;
    }
    .fixsu-tour-footer {
        padding-top: 10px !important;
        margin-top: 4px !important;
    }
    .fixsu-tour-next-btn, .fixsu-tour-prev-btn, .tour-next-btn {
        padding: 8px 14px !important;
        font-size: 0.84rem !important;
    }
}

/* 32. Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.1);
    margin: 20px 0;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.empty-state p {
    color: var(--text-muted, #999);
    margin: 0 0 20px 0;
}

/* PREMIUM BADGE AND LOCK */
.premium-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #ffe066;
    color: #1a0f00;
    padding: 5px 12px 5px 10px;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 8px;
    transform: rotate(12deg);
    box-shadow: 0 4px 18px rgba(255, 170, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.8px;
    border: 1px solid #ffe57f;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.premium-badge::before {
    content: '👑';
    font-size: 0.85rem;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}
.premium-badge:hover {
    transform: rotate(0deg) scale(1.15);
    background: #fff099;
    box-shadow: 0 6px 28px rgba(255, 170, 0, 0.9), 0 0 25px rgba(255, 215, 0, 0.8);
    color: #000;
    border-color: #ffffff;
}
.premium-lock-wrapper {
    position: relative;
}
.premium-lock-wrapper.is-locked::after {
    content: '👑 KUP PREMIUM ABY ODBLOKOWAĆ';
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 20, 0.75);
    backdrop-filter: blur(3.5px);
    z-index: 9;
    border-radius: inherit;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px dashed rgba(255, 51, 102, 0.5);
    box-shadow: inset 0 0 25px rgba(255, 51, 102, 0.15);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}
.premium-lock-wrapper.is-locked:hover::after {
    background: rgba(255, 51, 102, 0.3);
    backdrop-filter: blur(2px);
    color: #fff;
    border-color: #ff3366;
    text-shadow: 0 0 15px rgba(255, 51, 102, 0.9), 0 0 8px rgba(255, 215, 0, 0.9);
    box-shadow: inset 0 0 35px rgba(255, 51, 102, 0.35), 0 0 25px rgba(255, 51, 102, 0.4);
}

/* SIDEBAR GOLD BADGE */
.sidebar-gold-badge {
    background: #ffe066;
    color: #1a0f00;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.4);
    border: 1px solid #ffe57f;
    margin-left: auto;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sidebar-gold-badge::before {
    content: '👑';
    font-size: 0.65rem;
}
.sidebar-gold-badge:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}

/* CRIMSON & ROYAL VIOLET THEME ENFORCEMENT */
.glass-panel, .server-card, .login-card, .card {
    background: var(--glass-card-bg) !important;
    border: var(--glass-card-border) !important;
    border-radius: 20px !important;
    box-shadow: var(--glass-card-shadow) !important;
}

.server-card:hover, .glass-panel:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 51, 102, 0.45) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 51, 102, 0.22) !important;
}

.btn-add, .btn-primary, .btn-upgrade {
    background: #ff3366 !important;
    box-shadow: 0 4px 18px rgba(255, 51, 102, 0.35) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-add:hover, .btn-primary:hover, .btn-upgrade:hover {
    transform: translateY(-2px) !important;
    background: #ff4d7d !important;
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.55) !important;
}

.btn-manage, .btn-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 51, 102, 0.2) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-manage:hover, .btn-secondary:hover {
    background: rgba(255, 51, 102, 0.14) !important;
    border-color: rgba(255, 51, 102, 0.45) !important;
    box-shadow: 0 4px 18px rgba(255, 51, 102, 0.22) !important;
    transform: translateY(-2px) !important;
}

.header h1 {
    color: #ffffff !important;
}
