/* ============================================
   NEXUS NEON ZG - PREMIUM GLASSMORPHISM & EFFECTS
   ============================================ */

/* General Scrollbar Polish */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Glassmorphism for Sidebars & Panels */
#sidebar, #guild-sidebar {
    background: rgba(18, 19, 21, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

#chat-header {
    background: rgba(18, 19, 21, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#user-panel {
    background: rgba(18, 19, 21, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Micro-animations for Guilds */
.guild-item {
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.guild-item:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 242, 255, 0.2);
}

/* Micro-animations for Channels */
.channel {
    transition: all 0.2s ease !important;
    position: relative;
    overflow: hidden;
}
.channel:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    padding-left: 12px;
}
.channel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--neon-primary, #00f2ff);
    transition: height 0.2s ease;
    border-radius: 0 4px 4px 0;
}
.channel.selected::before {
    height: 60%;
}

/* Premium Voice UI Panel */
#voice-area {
    background: linear-gradient(180deg, rgba(11, 14, 20, 0.9) 0%, rgba(18, 19, 21, 0.95) 100%) !important;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

/* Voice UI Buttons */
.pvu-btn {
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.pvu-btn:hover {
    transform: scale(1.1) translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.pvu-btn.danger:hover {
    background: rgba(237, 66, 69, 0.8) !important;
    box-shadow: 0 8px 16px rgba(237, 66, 69, 0.3);
}
.pvu-btn.primary:hover {
    background: rgba(0, 242, 255, 0.2) !important;
    border-color: var(--neon-primary) !important;
    box-shadow: 0 8px 16px rgba(0, 242, 255, 0.2);
}

/* Message Hover Actions */
.message-row {
    transition: background 0.15s ease !important;
}
.message-row:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Modal Glassmorphism */
.modal-content, .pvu-modal-content {
    background: rgba(30, 31, 34, 0.85) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5) !important;
    border-radius: 16px !important;
}
