
/* ═══════════════════════════════════════════
   CATEGORIES BAR — targeting .cs-cat-pill
   (used in home.blade.php > cs-categories-section)
   ═══════════════════════════════════════════ */

.cs-categories-section {
    width: 100%;
    background: #04060f;
    border-top: 1px solid rgba(0,240,255,.08);
    border-bottom: 1px solid rgba(0,240,255,.12);
    padding: 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    overflow: hidden;
}

.cs-categories-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cs-categories-bar::-webkit-scrollbar { display: none; }

.cs-cat-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 14px !important;
    background: rgba(0,240,255,.04) !important;
    color: #6fa8cc !important;
    border: 1px solid rgba(0,240,255,.12) !important;
    border-radius: 3px !important;
    font-family: 'Orbitron', 'Consolas', monospace !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
    flex-shrink: 0 !important;
}

.cs-cat-pill:hover {
    background: rgba(0,240,255,.1) !important;
    border-color: rgba(0,240,255,.4) !important;
    color: #00f0ff !important;
    box-shadow: 0 0 8px rgba(0,240,255,.25) !important;
    text-decoration: none !important;
}

.cs-cat-pill.active {
    background: rgba(0,240,255,.15) !important;
    border-color: #00f0ff !important;
    color: #00f0ff !important;
    box-shadow: 0 0 12px rgba(0,240,255,.35) !important;
}

/* Per-category color via CSS variable */
.cs-cat-pill:not(.cs-cat-pill--all) {
    border-color: rgba(var(--cs-cat-color, #00f0ff), .15) !important;
}
.cs-cat-pill:not(.cs-cat-pill--all):hover {
    border-color: var(--cs-cat-color, #00f0ff) !important;
    color: var(--cs-cat-color, #00f0ff) !important;
    box-shadow: 0 0 8px color-mix(in srgb, var(--cs-cat-color, #00f0ff) 40%, transparent) !important;
}

.cs-cat-icon {
    font-size: 12px !important;
    opacity: 0.7 !important;
    flex-shrink: 0 !important;
}
.cs-cat-icon i { line-height: 1 !important; }
.cs-cat-name { line-height: 1 !important; }

/* ─── ALSO style the secondary bar (categories.blade.php) ─── */
.categories-bar-wrapper {
    width: 100%;
    background: #04060f;
    border-bottom: 1px solid rgba(0,240,255,.12);
    overflow: hidden;
    display: none; /* HIDDEN: duplicate bar, home already has cs-categories-section */
}
