/* Rajdhani - logo font */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap');

/* ── Ratz-GG Brand — Lilac Purple Identity ──────────────── */

.brand-ratz-gg {
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: #ddd6fe;
    background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 18%, #c4b5fd 45%, #a78bfa 72%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.9))
        drop-shadow(0 0 18px rgba(139, 92, 246, 0.55));
    animation: ratz-glow 3s ease-in-out infinite alternate;
}

@keyframes ratz-glow {
    from { filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.6)); }
    to { filter: drop-shadow(0 0 15px rgba(167, 139, 250, 0.9)); }
}

.brand-ratz-gg--sm { font-size: 15px; letter-spacing: 0.03em; }
.brand-ratz-gg--hub {
    font-size: clamp(32px, 5vw, 46px);
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 6px;
}

.brand-ratz-sub {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700; font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.40); line-height: 1.2;
}

.hub-brand-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.50);
    margin-top: 4px; letter-spacing: 0.04em;
}

/* ── Sidebar Header ─────────────────────────────────────── */
.sidebar-hdr {
    padding: 10px 6px;
    border-bottom: 1px solid rgba(176,124,255,0.08);
    display: flex; align-items: center; justify-content: center;
    min-height: 60px; flex-shrink: 0;
    background: rgba(10, 10, 16, 0.8);
    position: relative; z-index: 1;
}

.nav-sidebar.expanded .sidebar-hdr {
    padding: 12px 14px; justify-content: flex-start; gap: 10px;
}
.nav-sidebar:not(.expanded) .sidebar-hdr { justify-content: center; padding: 10px 0; }

.sb-toggle {
    background: rgba(176,124,255,0.06);
    border: 1px solid rgba(176,124,255,0.10);
    color: rgba(176,124,255,0.5); width: 36px; height: 36px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: all 0.25s; flex-shrink: 0;
    border-radius: 8px; margin: 0 auto;
}
.sb-toggle svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.sb-toggle--open svg { transform: rotate(180deg); }
.sb-toggle:hover {
    color: #B07CFF; background: rgba(176, 124, 255, 0.12);
    border-color: rgba(176, 124, 255, 0.25);
}

.sb-logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.40); line-height: 1.1; margin-top: 1px;
}

.nav-sidebar:not(.expanded) .sb-logo { display: none; }
.nav-sidebar .sb-logo {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; margin: 0 auto; text-align: center;
}

/* ── Streamer Items ─────────────────────────────────────── */
.streamer-item {
    display: flex; align-items: center; gap: 8px; padding: 4px 6px;
    border-radius: 8px; cursor: pointer; transition: all 0.2s;
    margin-bottom: 2px; justify-content: center; position: relative;
    text-decoration: none; color: #fff;
}
.streamer-item:link, .streamer-item:visited,
.streamer-item:hover, .streamer-item:active {
    text-decoration: none; color: #fff;
}
.nav-sidebar.expanded .streamer-item { padding: 6px 12px; justify-content: flex-start; }
.streamer-item:hover { background: rgba(176, 124, 255, 0.06); }
.streamer-item.offline { opacity: 0.45; }
.streamer-item.offline:hover { opacity: 0.75; }

.streamer-section-label {
    font-size: 9px; font-weight: 700; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 1px; padding: 12px 0 6px; line-height: 1; text-align: center;
}
.nav-sidebar.expanded .streamer-section-label { padding: 12px 14px 6px; text-align: left; }

img.streamer-avatar, div.streamer-avatar {
    width: 26px; height: 26px; min-width: 26px; min-height: 26px;
    border-radius: 50%; background: var(--bg-card);
    border: 1.5px solid var(--border); flex-shrink: 0; object-fit: cover; display: block;
}
.nav-sidebar.expanded img.streamer-avatar,
.nav-sidebar.expanded div.streamer-avatar {
    width: 24px; height: 24px; min-width: 24px; min-height: 24px;
}
.streamer-item:not(.offline) img.streamer-avatar,
.streamer-item:not(.offline) div.streamer-avatar {
    border-color: var(--red); box-shadow: 0 0 8px rgba(248, 113, 113, 0.35);
}

.streamer-info { flex: 1; min-width: 0; display: none; }
.nav-sidebar.expanded .streamer-info { display: block; }
.streamer-name {
    font-size: 11px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;
}
.streamer-desc {
    font-size: 9px; color: rgba(255,255,255,0.40);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.2; margin-top: 1px;
}
.streamer-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 9px; color: var(--text-muted); margin-top: 2px; line-height: 1.2;
}
.streamer-meta .viewer-count { color: var(--red); font-weight: 700; flex-shrink: 0; }

.streamer-live-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--red);
    flex-shrink: 0; box-shadow: 0 0 6px var(--red); animation: streamer-pulse 2s infinite; display: none;
}
.nav-sidebar.expanded .streamer-live-dot { display: block; }

@keyframes streamer-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 4px rgba(248, 113, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
}

.twitch-badge {
    flex-shrink: 0; width: 12px; height: 12px; opacity: 0.2;
    transition: opacity 0.2s; display: none;
}
.nav-sidebar.expanded .twitch-badge { display: block; }
.streamer-item:hover .twitch-badge { opacity: 0.7; }
