/* ===== News Bell & Dropdown ===== */
.news-bell-wrap {
    position: relative;
}

.news-bell-btn {
    position: relative;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.news-bell-btn:hover {
    background: rgba(0, 217, 179, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.news-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 107, 107, 0.6); }
    50% { box-shadow: 0 0 14px rgba(255, 107, 107, 0.9); }
}

/* Dropdown */
.news-dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: 380px;
    max-height: 480px;
    background: rgba(18, 22, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.2s ease;
    overflow: hidden;
}

.news-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.news-dropdown-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.news-dropdown-header {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.news-dropdown-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-dropdown-body {
    max-height: 360px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.news-dropdown-body::-webkit-scrollbar {
    width: 4px;
}

.news-dropdown-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

/* News Item */
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}

.news-item:last-child {
    border-bottom: none;
}

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

.news-item-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.news-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.news-item-title {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.news-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-date {
    font-size: 0.65rem;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 0.15rem;
    white-space: nowrap;
}

.news-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
    .news-dropdown {
        width: 290px;
        right: -1rem;
    }
}
