    
    /* Advent Calendar Banner */
.advent-header-banner {
    position: relative;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.advent-header-banner:hover {
    opacity: 0.9;
}

.advent-banner-inner {
    height: 40px;
    background: linear-gradient(to left, var(--bg-secondary) 0%, #ef4444 298%);
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0.5rem;
    padding: 0 0.75rem;
    transition: all 0.2s ease;
}

.advent-banner-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.advent-header-banner:hover .advent-banner-icon {
    transform: scale(1.1);
}

.advent-banner-text {
    margin-left: 0.5rem;
    overflow: hidden;
    font-weight: 700;
}

.advent-banner-amount {
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
}

.advent-banner-label {
    font-size: 12px;
    color: #ef4444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.advent-banner-bg {
    position: absolute;
    right: 0;
    height: 100%;
    opacity: 0.3;
    mix-blend-mode: luminosity;
}

.advent-snow {
    position: absolute;
    animation: fadeIn 0.3s ease;
}

.advent-snow-1 {
    left: 2.5rem;
    top: 0.5rem;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
}

.advent-snow-2 {
    right: 0.75rem;
    top: 0.5rem;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
}

.advent-snow-3 {
    bottom: 0;
    left: 3rem;
    transform: translateY(50%);
    width: 10px;
    height: 10px;
}

.advent-snow-4 {
    bottom: 0;
    right: 0.625rem;
    transform: translateY(50%);
    width: 12px;
    height: 12px;
}

@keyframes snowFloat {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-60%) rotate(10deg); }
}

.advent-header-banner:hover .advent-snow {
    animation: snowFloat 1s ease-in-out infinite;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .advent-banner-inner {
        height: 44px;
        padding: 0 0.5rem;
    }
    
    .advent-banner-icon {
        width: 30px;
        height: 30px;
    }
    
    .advent-banner-amount {
        font-size: 12px;
    }
    
    .advent-banner-label {
        font-size: 10px;
    }
}
    
    * {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    *::-webkit-scrollbar {
        display: none;
    }
    
    @keyframes pulse-glow {
        0%, 100% { box-shadow: 0 0 8px rgba(84, 176, 228, 0.4); }
        50% { box-shadow: 0 0 16px rgba(84, 176, 228, 0.8); }
    }
    
    @keyframes slide-up {
        from { transform: translateY(10px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    @keyframes fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .animate-pulse-glow {
        animation: pulse-glow 2s ease-in-out infinite;
    }
    
    .animate-slide-up {
        animation: slide-up 0.3s ease-out;
    }
    
    .animate-fade-in {
        animation: fade-in 0.3s ease-out;
    }
    
    .mega-menu-visible {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .chat-bar {
        background: linear-gradient(135deg, rgb(23 28 40) 0%, rgb(22 24 35) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        height: 100vh;
        width: 420px;
        position: fixed;
        right: 0;
        top: 0;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
        border-left: 1px solid rgba(84, 176, 228, 0.15);
    }

    .chat-bar.closed {
        transform: translateX(100%);
    }
    
    .chat-header {
        border-bottom: 1px solid rgba(84, 176, 228, 0.1);
        padding: 16px;
        flex-shrink: 0;
        position: relative;
        overflow: visible;
    }

    .chat-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: radial-gradient(ellipse at top, rgba(84, 176, 228, 0.12) 0%, transparent 70%);
        pointer-events: none;
    }

    .chat-header-content {
        position: relative;
        z-index: 1;
    }

    .chat-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .chat-title-section {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .chat-title {
        font-size: 18px;
        font-weight: 600;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 10px;
        letter-spacing: -0.5px;
    }

    .chat-status-indicator {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 5px 12px;
        border-radius: 20px;
    }

    .status-dot {
        width: 8px;
        height: 8px;
        background: #22c55e;
        border-radius: 50%;
    }

    .online-count {
        color: #22c55e;
        font-size: 13px;
        font-weight: 600;
    }

    .chat-actions {
        display: flex;
        gap: 8px;
    }

    .chat-action-btn {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: #a1a1aa;
        cursor: pointer;
        transition: all 0.2s;
    }

    .chat-action-btn:hover {
        background: rgba(84, 176, 228, 0.2);
        border-color: rgba(84, 176, 228, 0.4);
        color: #54b0e4;
        transform: translateY(-2px);
    }

    .chat-messages-container {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 5px;
        scroll-behavior: smooth;
        position: relative;
    }

    .message-group {
        margin-bottom: 20px;
        animation: slideIn 0.3s ease;
    }

    .discord-message {
        display: flex;
        gap: 12px;
        padding: 2px 12px;
        margin-bottom: 4px;
        border-radius: 8px;
        transition: all 0.2s;
        position: relative;
    }

    .discord-message:hover {
        background: rgba(255, 255, 255, 0.02);
    }

    .message-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        flex-shrink: 0;
        position: relative;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .message-avatar:hover {
        transform: scale(1.1);
    }

    .message-content-wrapper {
        flex: 1;
        min-width: 0;
    }

    .message-header {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 4px;
    }

    .message-username {
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
    }

    .message-username:hover {
        text-decoration: underline;
    }

    .message-timestamp {
        color: #6b7280;
        font-size: 11px;
    }

    .message-text {
        color: #e5e7eb;
        font-size: 12px;
        line-height: 1.5;
        word-wrap: break-word;
    }

    .message-text .mention {
        color: #54b0e4;
        background: rgba(84, 176, 228, 0.1);
        padding: 0 2px;
        border-radius: 3px;
        cursor: pointer;
    }

    .message-text .mention:hover {
        background: rgba(84, 176, 228, 0.2);
    }

    .system-message {
        text-align: center;
        padding: 8px 16px;
        margin: 16px 0;
    }

    .system-message-content {
        display: inline-block;
        padding: 6px 14px;
        background: rgba(84, 176, 228, 0.1);
        border: 1px solid rgba(84, 176, 228, 0.2);
        border-radius: 20px;
        color: #a1a1aa;
        font-size: 12px;
    }

    .reply-context {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-left: 52px;
        margin-bottom: 4px;
        position: relative;
    }

    .reply-line {
        position: absolute;
        left: -32px;
        top: 8px;
        width: 32px;
        height: 16px;
        border-left: 2px solid rgba(84, 176, 228, 0.3);
        border-top: 2px solid rgba(84, 176, 228, 0.3);
        border-top-left-radius: 8px;
    }

    .reply-content {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 2px 8px;
        background: rgba(84, 176, 228, 0.05);
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
        transition: background 0.2s;
    }

    .reply-content:hover {
        background: rgba(84, 176, 228, 0.1);
    }

    .reply-avatar {
        width: 16px;
        height: 16px;
        border-radius: 50%;
    }

    .reply-username {
        font-weight: 600;
        font-size: 12px;
    }

    .reply-text {
        color: #a1a1aa;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    .reply-preview-bar {
        background: rgba(84, 176, 228, 0.1);
        border-left: 3px solid #54b0e4;
        padding: 8px 16px;
        margin: 0 16px;
        border-radius: 6px;
        animation: slideDown 0.2s ease;
    }

    .reply-preview-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .reply-preview-info {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .reply-preview-info i {
        color: #54b0e4;
        font-size: 12px;
    }

    .reply-preview-text {
        color: #a1a1aa;
        font-size: 12px;
    }

    .reply-preview-text strong {
        color: #54b0e4;
    }

    .reply-preview-message {
        color: #6b7280;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
        margin-left: 8px;
    }

    .reply-cancel-btn {
        background: transparent;
        border: none;
        color: #6b7280;
        cursor: pointer;
        padding: 4px;
        border-radius: 4px;
        transition: all 0.2s;
    }

    .reply-cancel-btn:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #e5e7eb;
    }

    .message-actions-bar {
        position: absolute;
        top: -16px;
        right: 16px;
        background: rgba(32, 34, 46, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 4px;
        display: none;
        gap: 2px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 10;
        animation: fadeIn 0.1s ease;
    }

    .message-action-icon {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-radius: 6px;
        color: #a1a1aa;
        cursor: pointer;
        transition: all 0.2s;
    }

    .message-action-icon:hover {
        background: rgba(84, 176, 228, 0.2);
        color: #54b0e4;
    }

    .message-reactions {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 6px;
    }

    .reaction-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 2px 6px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s;
        user-select: none;
    }

    .reaction-pill:hover {
        background: rgba(84, 176, 228, 0.1);
        border-color: rgba(84, 176, 228, 0.3);
    }

    .reaction-pill.user-reacted {
        background: rgba(84, 176, 228, 0.2);
        border-color: #54b0e4;
    }

    .reaction-emoji {
        font-size: 14px;
        line-height: 1;
    }

    .reaction-count {
        font-size: 11px;
        color: #a1a1aa;
        font-weight: 600;
    }

    .add-reaction-btn {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px dashed rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        color: #6b7280;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 10px;
    }

    .add-reaction-btn:hover {
        background: rgba(84, 176, 228, 0.1);
        border-color: rgba(84, 176, 228, 0.3);
        color: #54b0e4;
    }

    .emoji-reaction-picker {
        position: absolute;
        background: rgba(32, 34, 46, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        display: none;
        animation: scaleIn 0.2s ease;
    }

    .quick-reactions {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .quick-emoji {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.2s;
        user-select: none;
    }

    .quick-emoji:hover {
        background: rgba(84, 176, 228, 0.2);
        transform: scale(1.2);
    }

    .chat-input-section {
        padding: 10px;
        background: linear-gradient(180deg, transparent 0%, rgba(32, 34, 46, 0.5) 100%);
        border-top: 1px solid rgba(84, 176, 228, 0.1);
    }

    .chat-input-wrapper {
        position: relative;
        border: 1px solid rgba(84, 176, 228, 0.2);
        border-radius: 12px;
        padding: 12px;
        transition: all 0.3s;
    }

    .chat-input {
        width: 100%;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 14px;
        outline: none;
        resize: none;
        max-height: 120px;
    }

    .chat-input::placeholder {
        color: #6b7280;
    }

    .input-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
    }

    .input-tools {
        display: flex;
        gap: 8px;
    }

    .tool-btn {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        color: #a1a1aa;
        cursor: pointer;
        transition: all 0.2s;
    }

    .tool-btn:hover {
        background: rgba(84, 176, 228, 0.15);
        color: #54b0e4;
        transform: scale(1.1);
    }

    .send-button {
        padding: 8px 16px;
        background: linear-gradient(135deg, #54b0e4 0%, #3a8cc1 100%);
        border: none;
        border-radius: 8px;
        color: #fff;
        font-weight: 600;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .send-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(84, 176, 228, 0.4);
    }
    
    #settingsModal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 9999;
        animation: fadeIn 0.3s ease;
    }
    
    #settingsModal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .settings-modal-content {
        background: linear-gradient(135deg, rgba(32, 34, 46, 0.98) 0%, rgba(28, 30, 40, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        max-width: 600px;
        width: 90%;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(84, 176, 228, 0.1);
        animation: slideUp 0.3s ease;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(30px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .settings-modal-header {
        background: linear-gradient(135deg, rgba(84, 176, 228, 0.1) 0%, transparent 100%);
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-between;
    }
    
    .settings-modal-body {
        padding: 24px;
    }
    
    .settings-section {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }
    
    .settings-section:hover {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(84, 176, 228, 0.2);
    }
    
    .color-picker-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 10px;
        margin-top: 15px;
    }
    
    .color-option {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 2px solid transparent;
    }
    
    .color-option:hover {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(84, 176, 228, 0.4);
    }
    
    .color-option.active {
        border-color: #54b0e4;
        box-shadow: 0 0 20px rgba(84, 176, 228, 0.6);
        transform: scale(1.15);
    }
    
    .icon-grid {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 10px;
        margin-top: 15px;
    }
    
    .icon-option {
        padding: 8px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        background: rgba(255, 255, 255, 0.02);
        border: 2px solid transparent;
    }
    
    .icon-option:hover {
        background: rgba(84, 176, 228, 0.1);
        transform: scale(1.1);
    }
    
    .icon-option.active {
        background: rgba(84, 176, 228, 0.15);
        border-color: #54b0e4;
    }

    @media (max-width: 768px) {
        .chat-bar {
            width: 100%;
        }
        
        .reply-preview-message {
            max-width: 150px;
        }
        
        .reply-text {
            max-width: 150px;
        }
    }

    .chat-lock-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 20, 30, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .chat-lock-content {
        text-align: center;
        padding: 30px;
    }

    .lock-icon {
        font-size: 48px;
        color: #54b0e4;
        margin-bottom: 20px;
    }

    .lock-title {
        font-size: 20px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 8px;
    }

    .lock-subtitle {
        font-size: 14px;
        color: #a1a1aa;
        margin-bottom: 20px;
    }

    .lock-button {
        display: inline-block;
        padding: 10px 24px;
        background: linear-gradient(135deg, #54b0e4 0%, #3a8cc1 100%);
        color: #fff;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s;
    }

    .lock-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(84, 176, 228, 0.4);
    }

    .content-shrink {
        transition: margin-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin-right: 420px;
    }
    
    .support-chat-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #54b0e4 0%, #3a8cc1 100%);
        color: white;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        font-size: 9px;
        box-shadow: 0 0 8px rgba(84, 176, 228, 0.4);
        animation: support-pulse 2s ease-in-out infinite;
    }

    @keyframes support-pulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 0 8px rgba(84, 176, 228, 0.4);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 0 12px rgba(84, 176, 228, 0.6);
        }
    }

    .support-chat-badge i {
        font-size: 8px;
    }
    
    .premium-chat-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #54b0e4 0%, #29b6f6 100%);
        color: white;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        font-size: 9px;
        box-shadow: 0 0 8px rgba(84, 176, 228, 0.4);
        animation: premium-pulse 2s ease-in-out infinite;
    }

    @keyframes premium-pulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 0 8px rgba(84, 176, 228, 0.4);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 0 12px rgba(84, 176, 228, 0.6);
        }
    }

    .premium-chat-badge i {
        font-size: 8px;
    }
    
    @media (max-width: 768px) {
        .content-shrink {
            margin-right: 0;
        }
    }
    /* ========================================
   GLOBAL BACKGROUND EFFECTS
   ======================================== */

.global-bg-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Animated Gradient Orbs */
.global-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: globalOrbFloat 20s ease-in-out infinite;
}

.global-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(84, 176, 228, 0.25) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.global-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -7s;
}

.global-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes globalOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Floating Particles */
.global-particles {
    position: absolute;
    inset: 0;
}

.global-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(84, 176, 228, 0.5);
    border-radius: 50%;
    animation: globalParticle 15s linear infinite;
}

.global-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.global-particles span:nth-child(2) { left: 20%; animation-delay: -2s; }
.global-particles span:nth-child(3) { left: 35%; animation-delay: -4s; }
.global-particles span:nth-child(4) { left: 50%; animation-delay: -6s; }
.global-particles span:nth-child(5) { left: 65%; animation-delay: -8s; }
.global-particles span:nth-child(6) { left: 75%; animation-delay: -10s; }
.global-particles span:nth-child(7) { left: 85%; animation-delay: -12s; }
.global-particles span:nth-child(8) { left: 90%; animation-delay: -14s; }
.global-particles span:nth-child(9) { left: 25%; animation-delay: -1s; }
.global-particles span:nth-child(10) { left: 55%; animation-delay: -3s; }

@keyframes globalParticle {
    0% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Grid Pattern */
.global-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(84, 176, 228, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(84, 176, 228, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .global-orb,
    .global-particles span {
        animation: none !important;
    }
}
/* Clean Mega Menu Design */
.mega-menu-clean {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mega-menu-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, 
        rgba(32, 34, 46, 0.98) 0%, 
        rgba(26, 28, 38, 0.96) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(84, 176, 228, 0.08);
}

.mega-menu-backdrop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(ellipse at top, 
        rgba(84, 176, 228, 0.08) 0%, 
        transparent 60%);
    pointer-events: none;
}

.mega-menu-backdrop.rewards-backdrop::after {
    background: radial-gradient(ellipse at top, 
        rgba(251, 191, 36, 0.08) 0%, 
        transparent 60%);
}

/* Header Section */
.mega-menu-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #54b0e4 0%, #29b6f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(84, 176, 228, 0.25);
}

.header-icon.rewards-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.25);
}

.header-text h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.header-text p {
    color: #6b7280;
    font-size: 12px;
}

/* Links Grid */
.mega-links-grid {
    display: grid;
    gap: 3px;
    margin: 0 -6px;
}

.mega-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    background: transparent;
}

.mega-link-item:hover {
    background: rgba(84, 176, 228, 0.06);
    transform: translateX(6px);
}

.mega-link-item.featured {
    background: linear-gradient(135deg, 
        rgba(84, 176, 228, 0.06) 0%, 
        rgba(41, 182, 246, 0.03) 100%);
    border: 1px solid rgba(84, 176, 228, 0.1);
}

.mega-link-item.featured:hover {
    background: linear-gradient(135deg, 
        rgba(84, 176, 228, 0.1) 0%, 
        rgba(41, 182, 246, 0.05) 100%);
    border-color: rgba(84, 176, 228, 0.2);
}

.mega-link-item.rewards-featured {
    background: linear-gradient(135deg, 
        rgba(251, 191, 36, 0.06) 0%, 
        rgba(245, 158, 11, 0.03) 100%);
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.mega-link-item.rewards-featured:hover {
    background: linear-gradient(135deg, 
        rgba(251, 191, 36, 0.1) 0%, 
        rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(251, 191, 36, 0.2);
}

.link-icon-wrapper {
    width: 32px;
    height: 32px;
    background: rgba(84, 176, 228, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54b0e4;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-icon-wrapper.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.link-icon-wrapper.gold {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.link-icon-wrapper.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.mega-link-item:hover .link-icon-wrapper {
    transform: scale(1.1);
    background: rgba(84, 176, 228, 0.15);
}

.mega-link-item:hover .link-icon-wrapper.purple {
    background: rgba(168, 85, 247, 0.15);
}

.mega-link-item:hover .link-icon-wrapper.gold {
    background: rgba(251, 191, 36, 0.15);
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.link-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.link-desc {
    color: #6b7280;
    font-size: 11px;
}

.link-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.link-badge.gold-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.link-counter {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Footer Stats */
.mega-menu-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 11px;
}

.footer-stat i {
    color: #54b0e4;
    font-size: 10px;
}

.footer-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.08);
}

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

/* Vault Dropdown Styles */
.vault-dropdown {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.vault-dropdown .dropdown-backdrop,
.dropdown-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, 
        rgba(32, 34, 46, 0.98) 0%, 
        rgba(26, 28, 38, 0.96) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(84, 176, 228, 0.1);
}

.vault-dropdown .dropdown-content,
.dropdown-content {
    position: relative;
    z-index: 1;
    padding: 8px;
}

.vault-dropdown .dropdown-item,
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.vault-dropdown .dropdown-item:hover,
.dropdown-item:hover {
    background: rgba(84, 176, 228, 0.08);
    transform: translateX(4px);
}

.vault-dropdown .dropdown-icon,
.dropdown-icon {
    width: 36px;
    height: 36px;
    background: rgba(84, 176, 228, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54b0e4;
    font-size: 16px;
    transition: all 0.3s ease;
}

.dropdown-icon.gold {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.dropdown-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.vault-dropdown .dropdown-item:hover .dropdown-icon,
.dropdown-item:hover .dropdown-icon {
    transform: scale(1.1);
}

.vault-dropdown .dropdown-text,
.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.vault-dropdown .dropdown-title,
.dropdown-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.vault-dropdown .dropdown-desc,
.dropdown-desc {
    color: #6b7280;
    font-size: 11px;
}

/* Responsive */
@media (max-width: 640px) {
    .mega-menu-clean {
        width: calc(100vw - 24px);
    }
    
    .mega-menu-footer {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-divider {
        display: none;
    }
}
/* Enhanced Profile Dropdown Styles */
.profile-avatar-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(84, 176, 228, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.profile-avatar-wrapper:hover .profile-avatar {
    border-color: #54b0e4;
    transform: scale(1.05);
}

.profile-avatar-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84, 176, 228, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.profile-avatar-wrapper:hover .profile-avatar-glow {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

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

.country-flag {
    position: absolute;
    left: -2px;
    top: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #23242d;
    z-index: 3;
}

.profile-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #23242d;
    border-radius: 50%;
    z-index: 3;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
}

/* Dropdown Container */
.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 340px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                0 0 120px rgba(84, 176, 228, 0.15),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: dropdownSlide 0.3s ease;
    z-index: 1000;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-dropdown-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, 
        rgba(32, 34, 46, 0.99) 0%, 
        rgba(26, 28, 38, 0.97) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.profile-dropdown-content {
    position: relative;
    z-index: 1;
}

/* PERFECT HEADER DESIGN */
.profile-perfect-header {
    position: relative;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.header-gradient-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, 
        rgba(84, 176, 228, 0.12) 0%, 
        rgba(41, 182, 246, 0.06) 30%,
        transparent 70%);
    pointer-events: none;
}

.header-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(84, 176, 228, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Avatar Showcase */
.avatar-showcase {
    position: relative;
    margin-bottom: 20px;
}

.avatar-glow-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(84, 176, 228, 0.3) 90deg,
        rgba(41, 182, 246, 0.3) 180deg,
        transparent 270deg,
        transparent 360deg
    );
    animation: rotateGlow 8s linear infinite;
    filter: blur(8px);
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-container {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(84, 176, 228, 0.3);
    background: linear-gradient(145deg, #2a2c38, #1f2129);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.level-float-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: linear-gradient(135deg, #54b0e4 0%, #29b6f6 100%);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 3px solid #20222e;
    box-shadow: 0 4px 12px rgba(84, 176, 228, 0.4);
    animation: levelPulse 3s ease-in-out infinite;
}

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

/* User Identity */
.user-identity {
    text-align: center;
    margin-bottom: 24px;
}

.user-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.user-status {
    display: flex;
    justify-content: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(84, 176, 228, 0.1);
    border: 1px solid rgba(84, 176, 228, 0.2);
    border-radius: 20px;
    color: #54b0e4;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-badge:hover {
    background: rgba(84, 176, 228, 0.15);
    transform: translateY(-1px);
}

.status-badge i {
    font-size: 10px;
}

/* Progress Showcase */
.progress-showcase {
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
}

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

.progress-title {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.progress-percent {
    color: #54b0e4;
    font-size: 13px;
    font-weight: 700;
}

.progress-track {
    height: 8px;
    background: linear-gradient(90deg, 
        rgba(84, 176, 228, 0.1) 0%, 
        rgba(84, 176, 228, 0.05) 100%);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #54b0e4 0%, #29b6f6 100%);
    border-radius: 4px;
    position: relative;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(84, 176, 228, 0.3);
}

.progress-sparkle {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: sparkleSlide 2.5s ease-in-out infinite;
}

@keyframes sparkleSlide {
    to { left: 100%; }
}

.progress-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.xp-current {
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 600;
}

.xp-total {
    color: #6b7280;
    font-size: 12px;
}

/* Menu Items */
.profile-menu {
    padding: 12px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.profile-menu-item:hover {
    background: rgba(84, 176, 228, 0.06);
    transform: translateX(2px);
}

.menu-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, 
        rgba(84, 176, 228, 0.12) 0%, 
        rgba(84, 176, 228, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54b0e4;
    font-size: 15px;
    transition: all 0.3s ease;
}

.profile-menu-item:hover .menu-item-icon {
    background: linear-gradient(135deg, 
        rgba(84, 176, 228, 0.18) 0%, 
        rgba(84, 176, 228, 0.12) 100%);
}

.menu-item-text {
    flex: 1;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
}

.menu-item-arrow {
    color: #6b7280;
    font-size: 10px;
    transition: all 0.2s ease;
}

.profile-menu-item:hover .menu-item-arrow {
    color: #54b0e4;
    transform: translateX(3px);
}

/* Currency Toggle */
.toggle-item {
    cursor: default;
}
@media (max-width: 639px) {
    button, a, input, textarea, select {
        min-height: 34px!important;
    }
}

.currency-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(107, 114, 128, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.currency-toggle.active {
    background: linear-gradient(135deg, #54b0e4 0%, #29b6f6 100%);
    border-color: rgba(84, 176, 228, 0.3);
}

.currency-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.currency-toggle.active .currency-toggle-thumb {
    transform: translateX(20px);
}

/* Footer */
.profile-footer {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.footer-link:hover {
    background: rgba(84, 176, 228, 0.06);
    color: #54b0e4;
    border-color: rgba(84, 176, 228, 0.15);
}

.footer-link.logout:hover {
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.15);
}

.footer-link i {
    font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .profile-dropdown {
        width: calc(100vw - 24px);
        right: -8px;
    }
}
/* Mobile Perfect Header */
.mobile-perfect-header {
    height: 56px;
    background: transparent;
}

.mobile-header-glass {
    position: absolute;
    inset: 0;
    background: rgba(32, 34, 46, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(84, 176, 228, 0.1);
}

.mobile-header-container {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile Logo */
.mobile-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-logo-icon {
    width: 30px;
    height: 30px;
}

.mobile-logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
}

/* Mobile Actions Container */
.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Notifications */
.mobile-notifications-wrapper {
    position: relative;
}

.mobile-notif-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.mobile-notif-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.mobile-notif-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(32, 34, 46, 0.98);
}

/* Notifications Dropdown */
.mobile-notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    max-width: calc(100vw - 24px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: dropIn 0.3s ease;
}

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

.notif-dropdown-inner {
    background: rgba(32, 34, 46, 0.99);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(84, 176, 228, 0.1);
    border-radius: 16px;
}

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

.notif-header h3 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.mark-all-read {
    font-size: 11px;
    color: #54b0e4;
    background: transparent;
    border: none;
    cursor: pointer;
}

.notif-list {
    max-height: 300px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    transition: background 0.2s ease;
}

.notif-item.unread {
    background: rgba(84, 176, 228, 0.05);
}

.notif-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(84, 176, 228, 0.1);
    border-radius: 8px;
    color: #54b0e4;
    font-size: 14px;
}

.notif-content {
    flex: 1;
}

.notif-message {
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notif-time {
    color: #6b7280;
    font-size: 11px;
}

.notif-empty {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.notif-empty i {
    font-size: 32px;
    margin-bottom: 12px;
}

.notif-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.view-all-link {
    display: block;
    text-align: center;
    color: #54b0e4;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}



.wallet-icon-wrapper {
    height: 36px;
    padding: 0 10px;
    background: linear-gradient(to right, #54b0e4, #29b6f6);
    display: flex;
    align-items: center;
}

.wallet-icon {
    width: 14px;
    height: 14px;
    color: white;
}

.wallet-balance {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

/* Mobile Profile */
.mobile-profile-wrapper {
    position: relative;
}

.mobile-profile-trigger {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.profile-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 2px solid rgba(84, 176, 228, 0.2);
    object-fit: cover;
}

.profile-level-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #54b0e4 0%, #29b6f6 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(32, 34, 46, 0.98);
}

/* Mobile Profile Menu */
.mobile-profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-width: calc(100vw - 24px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: dropIn 0.3s ease;
}

.profile-menu-inner {
    background: rgba(32, 34, 46, 0.99);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(84, 176, 228, 0.1);
    border-radius: 20px;
}

/* Reuse desktop styles for profile perfect header */
.mobile-profile-menu .profile-perfect-header {
    padding: 24px 20px 20px;
}

.mobile-profile-menu .avatar-container {
    width: 64px;
    height: 64px;
}

.mobile-profile-menu .level-float-badge {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.mobile-profile-menu .user-name {
    font-size: 18px;
}

.mobile-profile-menu .progress-showcase {
    padding: 14px;
}

/* Hide logo text on very small screens */
@media (max-width: 360px) {
    .mobile-logo-text {
        display: none;
    }
    
    .mobile-header-actions {
        gap: 8px;
    }
}

/* Scrollbar for notifications */
.notif-list::-webkit-scrollbar {
    width: 4px;
}

.notif-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.notif-list::-webkit-scrollbar-thumb {
    background: rgba(84, 176, 228, 0.2);
    border-radius: 2px;
}
.mobile-perfect-header {
    height: 56px;
    background: transparent;
}

.mobile-header-glass {
    position: absolute;
    inset: 0;
    background: rgba(32, 34, 46, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(84, 176, 228, 0.1);
}

.mobile-header-container {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-logo-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    flex-shrink: 0;
}

.mobile-logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-wallet-button {
    display: inline-flex !important;
    align-items: stretch !important;
    height: 36px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: linear-gradient(to right, rgba(84, 176, 228, 0.25) 0%, rgba(41, 182, 246, 0.25) 100%) !important;
    border-radius: 9px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.wallet-icon-section {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    background: linear-gradient(to right, #54b0e4, #29b6f6) !important;
    height: 100% !important;
}

.wallet-svg-icon {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}

.wallet-amount-section {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    white-space: nowrap !important;
}

.mobile-profile-wrapper {
    position: relative;
}

.mobile-profile-trigger {
    position: relative;
    width: 36px !important;
    height: 36px !important;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-profile-img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(84, 176, 228, 0.2) !important;
    object-fit: cover !important;
    display: block !important;
}

.mobile-profile-level {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px !important;
    height: 16px !important;
    background: linear-gradient(135deg, #54b0e4 0%, #29b6f6 100%) !important;
    color: white !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 2px solid rgba(32, 34, 46, 0.98) !important;
}

.mobile-profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-width: calc(100vw - 24px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.mobile-profile-menu[style*="display: block"] {
    animation: dropIn 0.3s ease;
}

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

.profile-menu-inner {
    background: rgba(32, 34, 46, 0.99);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(84, 176, 228, 0.1);
    border-radius: 20px;
}

.mobile-profile-menu .profile-perfect-header {
    padding: 24px 20px 20px;
}

.mobile-profile-menu .avatar-container {
    width: 64px;
    height: 64px;
}

.mobile-profile-menu .level-float-badge {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.mobile-profile-menu .user-name {
    font-size: 18px;
}

.mobile-profile-menu .progress-showcase {
    padding: 14px;
}

@media (max-width: 360px) {
    .mobile-logo-text {
        display: none;
    }
    
    .mobile-header-actions {
        gap: 8px;
    }
}
.tracker-section-wrapper {
    position: relative;
}

.tracker-section-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(84, 176, 228, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.mobile-menu-section {
    margin-bottom: 12px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.5px;
    padding: 8px 12px 4px 12px;
    text-transform: uppercase;
}
.guest-mobile-header {
    height: 56px;
}

.guest-mobile-header-bg {
    position: absolute;
    inset: 0;
    background: rgba(32, 34, 46, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-bar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 420px;
    position: fixed;
    right: 0;
    top: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.chat-bar.closed {
    transform: translateX(100%);
}

/* Mobile Chat Styles */
@media (max-width: 768px) {
    .chat-bar {
        width: 100%;
        z-index: 10000 !important;
    }
    
    .chat-bar.closed {
        transform: translateX(100%);
    }
    
    /* Hide header when chat is open on mobile */
    .nav-header.hide-when-chat-open {
        transform: translateY(-100%);
        transition: transform 0.25s ease;
    }
    
    /* Mobile close button */
    #mobile-chat-close {
        position: fixed;
        top: 10px;
        right: 12px;
        z-index: 10001;
        background: rgba(32, 34, 46, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #fff;
        border-radius: 999px;
        width: 40px;
        height: 40px;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        cursor: pointer;
    }
    
    body.chat-open #mobile-chat-close {
        display: flex;
    }
    
    /* Prevent body scroll when chat is open */
    body.chat-open {
        overflow: hidden;
    }
}

/* Online Users Bar */
.online-users-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(16, 185, 129, 0.06);
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
    font-size: 12px;
    font-weight: 500;
    color: #10b981;
}

.online-users-bar i {
    font-size: 8px;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Messages Container */
.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chat-messages-container::-webkit-scrollbar {
    display: none;
}

/* Reply Preview Bar */
.reply-preview-bar {
    padding: 10px 14px;
    background: rgba(84, 176, 228, 0.06);
    border-top: 1px solid rgba(84, 176, 228, 0.1);
    border-bottom: 1px solid rgba(84, 176, 228, 0.1);
}

.reply-preview-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reply-preview-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.reply-preview-info > i {
    color: #54b0e4;
    font-size: 12px;
}

.reply-preview-text {
    font-size: 12px;
    color: #9ca3af;
}

.reply-preview-text strong {
    color: #54b0e4;
}

.reply-preview-message {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.reply-cancel-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 6px;
    color: #6b7280;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reply-cancel-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Message Group */
.message-group {
    margin-bottom: 2px;
}

/* Reply Context */
.reply-context {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 48px;
    margin-bottom: 2px;
    font-size: 11px;
}

.reply-line {
    width: 24px;
    height: 12px;
    border-left: 2px solid rgba(84, 176, 228, 0.3);
    border-top: 2px solid rgba(84, 176, 228, 0.3);
    border-radius: 4px 0 0 0;
    margin-top: 6px;
}

.reply-content {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    max-width: calc(100% - 40px);
    overflow: hidden;
}

.reply-avatar {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.reply-username {
    font-weight: 600;
    flex-shrink: 0;
    font-size: 11px;
}

.reply-text {
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
}

/* Discord Message */
.discord-message {
    display: flex;
    align-items: flex-start;
    padding: 6px 10px;
    border-radius: 6px;
    position: relative;
    transition: background 0.15s ease;
}

.discord-message:hover {
    background: rgba(255, 255, 255, 0.02);
}

.discord-message.has-reply {
    margin-left: 0;
}

/* Message Actions Bar */
.message-actions-bar {
    position: absolute;
    top: -12px;
    right: 8px;
    display: flex;
    gap: 2px;
    padding: 3px;
    background: #20222e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.message-action-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.message-action-icon:hover {
    background: rgba(84, 176, 228, 0.15);
    color: #54b0e4;
}

/* Avatar */
.message-avatar {
    min-width: 36px;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.message-avatar:hover {
    opacity: 0.85;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Message Content */
.message-content-wrapper {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.message-username {
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.message-username:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.message-username i {
    margin-right: 4px;
}

.message-timestamp {
    font-size: 10px;
    color: #4b5563;
}

/* Badges */
.premium-chat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 4px;
    font-size: 9px;
    color: #000;
}

.support-chat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;
    background: linear-gradient(135deg, #54b0e4 0%, #3b9dd4 100%);
    border-radius: 4px;
    font-size: 9px;
    color: #fff;
}

.tier-badge img {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/* Message Text */
.message-text {
    font-size: 13px;
    color: #d1d5db;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
}

.message-text a {
    color: #54b0e4;
    text-decoration: none;
}

.message-text a:hover {
    text-decoration: underline;
}

.message-text img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    margin-top: 6px;
}

/* Reactions */
.message-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.reaction-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reaction-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.reaction-pill.user-reacted {
    background: rgba(84, 176, 228, 0.12);
    border-color: rgba(84, 176, 228, 0.25);
}

.reaction-emoji {
    font-size: 13px;
    line-height: 1;
}

.reaction-count {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

.reaction-pill.user-reacted .reaction-count {
    color: #54b0e4;
}

.add-reaction-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    color: #6b7280;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-reaction-btn:hover {
    background: rgba(84, 176, 228, 0.12);
    border-color: rgba(84, 176, 228, 0.2);
    color: #54b0e4;
}

/* Skeleton Loading */
.discord-message.animate-pulse {
    display: flex;
    gap: 10px;
    padding: 6px 10px;
}

.discord-message.animate-pulse .rounded-full {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    flex-shrink: 0;
    animation: skeletonPulse 1.8s ease-in-out infinite;
}

.discord-message.animate-pulse .flex-1 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.discord-message.animate-pulse .h-3 {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    animation: skeletonPulse 1.8s ease-in-out infinite;
}

@keyframes skeletonPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Chat Input Area */
.chat-input-area {
    padding: 12px;
    background: rgba(32, 34, 46, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 52;
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.chat-input-wrapper:focus-within {
    background: rgba(84, 176, 228, 0.04);
    border-color: rgba(84, 176, 228, 0.15);
}

.chat-textarea {
    flex: 1;
    padding: 8px 0;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #e5e7eb;
    resize: none;
    max-height: 80px;
    line-height: 1.4;
}

.chat-textarea::placeholder {
    color: #4b5563;
}

.chat-textarea:focus {
    outline: none;
}

.chat-input-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gif-picker-btn {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gif-picker-btn:hover {
    background: rgba(84, 176, 228, 0.1);
    border-color: rgba(84, 176, 228, 0.2);
    color: #54b0e4;
}

.chat-input-tool {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-input-tool:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #54b0e4 0%, #3b9dd4 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(84, 176, 228, 0.3);
}

/* GIF Picker Modal */
.gif-picker-modal {
    position: absolute;
    bottom: 70px;
    left: 12px;
    right: 12px;
    max-height: 340px;
    background: #20222e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.gif-picker-header {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gif-search-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.gif-search-input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 13px;
    color: #e5e7eb;
    transition: all 0.2s ease;
}

.gif-search-input::placeholder {
    color: #4b5563;
}

.gif-search-input:focus {
    outline: none;
    background: rgba(84, 176, 228, 0.05);
    border-color: rgba(84, 176, 228, 0.2);
}

.gif-search-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(84, 176, 228, 0.1);
    border: 1px solid rgba(84, 176, 228, 0.2);
    border-radius: 8px;
    color: #54b0e4;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gif-search-btn:hover {
    background: rgba(84, 176, 228, 0.15);
}

.gif-categories {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.gif-categories::-webkit-scrollbar {
    display: none;
}

.gif-category-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gif-category-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #9ca3af;
}

.gif-category-btn.active {
    background: rgba(84, 176, 228, 0.1);
    border-color: rgba(84, 176, 228, 0.2);
    color: #54b0e4;
}

.gif-picker-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gif-picker-content::-webkit-scrollbar {
    display: none;
}

.gif-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px;
    color: #6b7280;
    font-size: 13px;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gif-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gif-item:hover {
    transform: scale(1.03);
}

.gif-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Emoji Reaction Picker */
.emoji-reaction-picker {
    position: absolute;
    background: #20222e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 200;
}

.quick-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    max-width: 190px;
}

.quick-emoji {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-emoji:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.15);
}

/* Settings Modal */
#settingsModal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#settingsModal.active {
    display: flex;
}

.settings-modal-content {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    background: #20222e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: settingsIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes settingsIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.settings-modal-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(84, 176, 228, 0.06) 0%, transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-modal-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.settings-modal-header h3 i {
    color: #54b0e4;
    font-size: 15px;
}

.settings-modal-header p {
    font-size: 12px;
    color: #6b7280;
    margin: 4px 0 0 0;
}

.settings-close-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: #6b7280;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.settings-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.settings-modal-body::-webkit-scrollbar {
    display: none;
}

.settings-section {
    margin-bottom: 22px;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-section h4 i {
    color: #54b0e4;
    font-size: 12px;
}

.settings-section p {
    font-size: 11px;
    color: #6b7280;
    margin: 0 0 10px 0;
}

.settings-input {
    width: 100%;
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 14px;
    color: #e5e7eb;
    transition: all 0.2s ease;
}

.settings-input::placeholder {
    color: #4b5563;
}

.settings-input:focus {
    outline: none;
    background: rgba(84, 176, 228, 0.04);
    border-color: rgba(84, 176, 228, 0.25);
}

#settings-name-status {
    font-size: 11px;
    margin-top: 8px;
}

/* Color Picker */
.color-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.color-option:hover {
    transform: scale(1.12);
}

.color-option.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.icon-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-option.active {
    background: rgba(84, 176, 228, 0.1);
    border-color: #54b0e4;
}

.icon-option img {
    width: 32px;
    height: 32px;
}

/* Chat Lock Overlay */
.chat-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(32, 34, 46, 0.96);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.chat-lock-content {
    text-align: center;
    padding: 28px;
}

.lock-icon {
    width: 56px;
    height: 56px;
    background: rgba(84, 176, 228, 0.1);
    border: 1px solid rgba(84, 176, 228, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: #54b0e4;
}

.lock-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.lock-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 18px;
}

.lock-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #54b0e4 0%, #3b9dd4 100%);
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lock-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(84, 176, 228, 0.3);
    color: white;
}

/* Desktop content shrink when chat open */
.content-shrink {
    transition: margin-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 420px;
}

@media (max-width: 768px) {
    .content-shrink {
        margin-right: 0;
    }
    
    .chat-messages-container {
        padding: 10px;
    }
    
    .discord-message {
        padding: 5px 8px;
    }
    
    .message-avatar {
        min-width: 32px;
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
    
    .message-username {
        font-size: 12px;
    }
    
    .message-text {
        font-size: 12px;
    }
    
    .chat-input-area {
        padding: 10px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
    
    .gif-picker-modal {
        left: 8px;
        right: 8px;
        bottom: 62px;
        max-height: 280px;
    }
    
    #settingsModal {
        padding: 0;
        align-items: flex-end;
    }
    
    .settings-modal-content {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }
    
    .icon-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .reply-preview-message {
        max-width: 150px;
    }
    
    .reply-text {
        max-width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .settings-modal-content,
    .online-users-bar i,
    .quick-emoji,
    .color-option,
    .icon-option,
    .gif-item,
    .message-action-icon,
    .chat-bar {
        animation: none !important;
        transition: opacity 0.15s ease, background 0.15s ease !important;
    }
}
.site-footer {
    border-top: 1px solid var(--border-primary);
    margin-top: 3rem;
}

.footer-main {
    padding: 2.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

/* Brand Section */
.footer-brand {
    max-width: 260px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.footer-logo img {
    height: 28px;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
}

.footer-social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    border-color: #e1306c;
    color: #e1306c;
}

.footer-social-link.trustpilot:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

/* Navigation Columns */
.footer-nav-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.875rem;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-link {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: #54b0e4;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid var(--border-primary);
    padding: 1.25rem 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-payments-label {
    font-size: 0.625rem;
    color: var(--text-tertiary);
    margin-right: 0.375rem;
}

.footer-payment-icon {
    width: 32px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
}

.footer-payment-icon img {
    max-width: 18px;
    max-height: 12px;
    object-fit: contain;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal-link {
    font-size: 0.625rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #54b0e4;
}

.footer-legal-divider {
    width: 3px;
    height: 3px;
    background: var(--border-primary);
    border-radius: 50%;
}

/* ==================== TABLET ==================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-primary);
        margin-bottom: 0.5rem;
    }
    
    .footer-brand-info {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-tagline {
        display: none;
    }
}

/* ==================== MOBILE ==================== */
@media (max-width: 640px) {
    .site-footer {
        margin-top: 2rem;
    }
    
    .footer-main {
        padding: 1.5rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }
    
    /* Brand - full width on mobile */
    .footer-brand {
        grid-column: span 2;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-bottom: 1.25rem;
    }
    
    .footer-brand-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-logo {
        margin-bottom: 0;
    }
    
    .footer-logo img {
        height: 26px;
    }
    
    .footer-tagline {
        display: block;
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        max-width: 280px;
    }
    
    .footer-socials {
        gap: 0.375rem;
    }
    
    .footer-social-link {
        width: 34px;
        height: 34px;
    }
    
    /* Nav columns - 2 per row */
    .footer-nav {
        text-align: center;
    }
    
    .footer-nav-title {
        font-size: 0.625rem;
        margin-bottom: 0.625rem;
    }
    
    .footer-nav-list {
        gap: 0.375rem;
    }
    
    .footer-nav-link {
        font-size: 0.75rem;
    }
    
    /* Bottom bar - stack on mobile */
    .footer-bottom {
        padding: 1rem 0 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-copyright {
        order: 3;
        font-size: 0.625rem;
    }
    
    .footer-legal-links {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 0.75rem;
    }
    
    .footer-legal-divider {
        display: none;
    }
    
    .footer-legal-link {
        font-size: 0.6875rem;
    }
    
    .footer-payments {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-payments-label {
        width: 100%;
        text-align: center;
        margin-bottom: 0.375rem;
        margin-right: 0;
    }
    
    .footer-payment-icon {
        width: 30px;
        height: 20px;
    }
    
    .footer-payment-icon img {
        max-width: 16px;
        max-height: 11px;
    }
}

/* ==================== SMALL MOBILE ==================== */
@media (max-width: 380px) {
    .footer-grid {
        gap: 1.25rem 0.75rem;
    }
    
    .footer-nav-link {
        font-size: 0.6875rem;
    }
    
    .footer-legal-link {
        font-size: 0.625rem;
    }
}

.chat-bar .chat-rooms-wrapper {
    border-bottom: 1px solid rgba(84, 176, 228, 0.15) !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: block !important;
    width: 100% !important;
}

.chat-bar .chat-rooms-tabs {
    display: flex !important;
    gap: 4px !important;
    padding: 10px 12px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    margin: 0 !important;
    background: transparent !important;
}

.chat-bar .chat-rooms-tabs::-webkit-scrollbar {
    display: none !important;
}

/* ============================================
   ROOM TAB BUTTONS
   ============================================ */
.chat-bar .chat-room-tab {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid transparent !important;
    color: #72757d !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    position: relative !important;
    flex-shrink: 0 !important;
    outline: none !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

.chat-bar .chat-room-tab i {
    font-size: 14px !important;
    opacity: 0.6 !important;
    transition: all 0.2s ease !important;
    color: inherit !important;
}

.chat-bar .chat-room-tab .room-name {
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    color: inherit !important;
}

/* Hashtag prefix */
.chat-bar .chat-room-tab .room-name::before {
    content: '#' !important;
    opacity: 0.4 !important;
    margin-right: 2px !important;
}

/* ============================================
   TAB HOVER STATE
   ============================================ */
.chat-bar .chat-room-tab:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #dcddde !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.chat-bar .chat-room-tab:hover i {
    opacity: 1 !important;
}

/* ============================================
   TAB ACTIVE STATE
   ============================================ */
.chat-bar .chat-room-tab.active {
    background: rgba(84, 176, 228, 0.15) !important;
    color: #ffffff !important;
    border-color: rgba(84, 176, 228, 0.3) !important;
}

.chat-bar .chat-room-tab.active i {
    color: var(--room-color, #54b0e4) !important;
    opacity: 1 !important;
}

/* Left accent bar on active tab */
.chat-bar .chat-room-tab.active::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3px !important;
    height: 55% !important;
    background: var(--room-color, #54b0e4) !important;
    border-radius: 0 4px 4px 0 !important;
}

/* Room-specific active backgrounds */
.chat-bar .chat-room-tab.active[data-room="general"] {
    background: rgba(84, 176, 228, 0.15) !important;
    border-color: rgba(84, 176, 228, 0.3) !important;
}

.chat-bar .chat-room-tab.active[data-room="offers"] {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.chat-bar .chat-room-tab.active[data-room="proofs"] {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

/* ============================================
   UNREAD BADGE
   ============================================ */
.chat-bar .room-unread-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 6px !important;
    background: linear-gradient(135deg, #ed4245 0%, #c53030 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    margin-left: 6px !important;
    box-shadow: 0 2px 6px rgba(237, 66, 69, 0.5) !important;
    animation: room-badge-pulse 2s ease-in-out infinite !important;
    line-height: 1 !important;
}

@keyframes room-badge-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(237, 66, 69, 0.5);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 3px 10px rgba(237, 66, 69, 0.7);
    }
}

/* ============================================
   ROOM INDICATOR BAR
   ============================================ */
.chat-bar .chat-room-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 14px !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 12px !important;
    margin: 0 !important;
}

.chat-bar .chat-room-indicator i {
    font-size: 13px !important;
    color: var(--room-color, #54b0e4) !important;
}

.chat-bar .chat-room-indicator .room-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.chat-bar .chat-room-indicator .room-description {
    color: #6b7280 !important;
    font-size: 11px !important;
    margin-left: auto !important;
    font-weight: 400 !important;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.chat-bar .chat-empty-state {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 20px !important;
    text-align: center !important;
}

.chat-bar .chat-empty-state .empty-icon {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: rgba(84, 176, 228, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
}

.chat-bar .chat-empty-state .empty-icon i {
    font-size: 28px !important;
    color: #54b0e4 !important;
    opacity: 0.8 !important;
}

.chat-bar .chat-empty-state h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #e5e7eb !important;
    margin: 0 0 8px 0 !important;
}

.chat-bar .chat-empty-state p {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    max-width: 220px !important;
}

/* ============================================
   ROOM COLOR VARIABLES
   ============================================ */
.chat-bar .chat-room-tab[data-room="general"] { --room-color: #54b0e4; }
.chat-bar .chat-room-tab[data-room="offers"] { --room-color: #22c55e; }
.chat-bar .chat-room-tab[data-room="proofs"] { --room-color: #f59e0b; }
.chat-bar .chat-room-tab[data-room="trading"] { --room-color: #8b5cf6; }
.chat-bar .chat-room-tab[data-room="vip"] { --room-color: #a855f7; }
.chat-bar .chat-room-tab[data-room="support"] { --room-color: #ef4444; }

/* ============================================
   TRANSITIONS FOR ROOM SWITCHING
   ============================================ */
.chat-bar .chat-messages-container.switching {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.chat-bar .chat-messages-container.room-loaded #chat {
    animation: room-fade-in 0.25s ease !important;
}

@keyframes room-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TOTAL UNREAD BADGE (on open chat button)
   Only style the badge, don't touch the button itself
   ============================================ */
.chat-total-unread-badge {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    background: linear-gradient(135deg, #ed4245 0%, #c53030 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #1a1c24 !important;
    box-shadow: 0 2px 8px rgba(237, 66, 69, 0.6) !important;
    z-index: 100 !important;
    line-height: 1 !important;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .chat-bar .chat-rooms-tabs {
        padding: 8px 10px !important;
        gap: 4px !important;
    }
    
    .chat-bar .chat-room-tab {
        padding: 8px 12px !important;
        font-size: 12px !important;
        gap: 6px !important;
    }
    
    .chat-bar .chat-room-tab i {
        font-size: 14px !important;
    }
    
    /* Show only icons on mobile, except active tab */
    .chat-bar .chat-room-tab .room-name {
        display: none !important;
    }
    
    .chat-bar .chat-room-tab.active .room-name {
        display: inline !important;
    }
    
    .chat-bar .chat-room-indicator {
        padding: 6px 10px !important;
    }
    
    .chat-bar .chat-room-indicator .room-description {
        display: none !important;
    }
    
    .chat-bar .room-unread-badge {
        min-width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
        padding: 0 4px !important;
    }
    
    /* Fix input area cutting off messages */
    .chat-bar .chat-messages-container {
        padding-bottom: 20px !important;
    }
    
    .chat-bar #chat {
        padding-bottom: 15px !important;
    }
    
    /* Ensure last message is visible */
    .chat-bar .message-group:last-child {
        margin-bottom: 10px !important;
    }
    
    /* New messages indicator mobile */
    .chat-bar .new-messages-indicator {
        padding: 8px 14px !important;
        font-size: 12px !important;
        bottom: 8px !important;
    }
}

/* ============================================
   NEW MESSAGES INDICATOR
   ============================================ */
.chat-bar .new-messages-indicator {
    position: sticky !important;
    bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #54b0e4 0%, #3d8cc4 100%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(84, 176, 228, 0.4) !important;
    z-index: 100 !important;
    transition: all 0.2s ease !important;
    animation: indicator-bounce-in 0.3s ease !important;
    margin: 0 auto !important;
    width: fit-content !important;
}

.chat-bar .new-messages-indicator:hover {
    background: linear-gradient(135deg, #63bfed 0%, #4a9ad4 100%) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(84, 176, 228, 0.5) !important;
}

.chat-bar .new-messages-indicator i {
    font-size: 12px !important;
    animation: indicator-arrow-bounce 1s ease-in-out infinite !important;
}

@keyframes indicator-bounce-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes indicator-arrow-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* ============================================
   MESSAGES CONTAINER SCROLL FIX
   ============================================ */
.chat-bar .chat-messages-container {
    scroll-behavior: smooth !important;
    padding-bottom: 15px !important;
}

.chat-bar #chat {
    padding-bottom: 10px !important;
}

/* ============================================
   FORCE VISIBILITY
   ============================================ */
.chat-bar .chat-rooms-wrapper,
.chat-bar .chat-rooms-tabs,
.chat-bar .chat-room-tab,
.chat-bar .chat-room-indicator {
    visibility: visible !important;
    opacity: 1 !important;
}