/* ============================================
   Jyxon.top - Category / Channel Page Styles
   ============================================ */

/* Editor's Picks (shared with index) */
.jx-editor-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}

.jx-ep-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid #e5e7eb;
    transition: all 0.25s;
}

.jx-ep-card:hover {
    transform: translateY(-3px);
    border-color: #22c55e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.jx-ep-card a { display: block; }

.jx-ep-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jx-ep-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 14px 14px;
    color: #fff;
}

.jx-ep-overlay h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.jx-ep-overlay p {
    font-size: 0.74rem;
    color: #d1d5db;
    line-height: 1.4;
    margin: 0;
}

/* Gaming Tips */
.jx-gaming-tips {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jx-gaming-tips h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.jx-channel-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    margin-top: 24px;
}

/* Sidebar category list */
.jx-channel-side {
    position: sticky;
    top: 120px;
    align-self: start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jx-channel-side h3 {
    font-size: 0.78rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.jx-channel-side a {
    display: block;
    padding: 9px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #6b7280;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: all 0.2s;
}

.jx-channel-side a:hover,
.jx-channel-side a.jx-active {
    background: rgba(34, 197, 94, 0.06);
    color: #22c55e;
}

/* Main game list area */
.jx-channel-main {
    min-width: 0;
}

.jx-channel-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.jx-channel-sort span {
    font-size: 0.82rem;
    color: #9ca3af;
}

.jx-channel-sort select {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    outline: none;
}

@media (max-width: 768px) {
    .jx-channel-layout {
        grid-template-columns: 1fr;
    }

    .jx-channel-side {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 12px;
    }

    .jx-channel-side h3 {
        width: 100%;
    }

    .jx-channel-side a {
        display: inline-block;
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .jx-editor-picks { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .jx-editor-picks { grid-template-columns: 1fr; }
}
