/* ============================================
   Colorpaletter Game Portal - Channel/Category Page Styles
   ============================================ */

/* Channel page header banner */
.clp-channel-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--clp-primary), var(--clp-secondary));
    border-radius: var(--clp-radius-lg);
    margin-bottom: 28px;
    box-shadow: 0 6px 20px rgba(92, 124, 250, 0.2);
    position: relative;
    overflow: hidden;
}

.clp-channel-banner::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.clp-channel-banner::after {
    content: "";
    position: absolute;
    right: 40px;
    bottom: -60px;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.clp-channel-icon-lg {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.clp-channel-icon-lg::before {
    content: "";
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 4px;
}

.clp-channel-info {
    z-index: 1;
    color: #ffffff;
}

.clp-channel-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.clp-channel-count {
    font-size: 0.88rem;
    opacity: 0.9;
}

/* Game count display */
.clp-game-count {
    color: var(--clp-text-light);
    font-size: 0.88rem;
    margin-bottom: 16px;
    padding: 0 4px;
}

.clp-game-count strong {
    color: var(--clp-primary);
    font-weight: 700;
}

/* Compact grid for "More Games" section */
.clp-section--compact .clp-game-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

@media (max-width: 1024px) {
    .clp-section--compact .clp-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .clp-section--compact .clp-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .clp-channel-banner {
        padding: 18px 20px;
    }

    .clp-channel-name {
        font-size: 1.15rem;
    }
}


/* Channel Article Section */
.clp-channel-article {
    background: var(--clp-card-bg);
    border-radius: var(--clp-radius);
    padding: 28px 32px;
    margin-top: 30px;
    border: 1px solid var(--clp-border);
    box-shadow: var(--clp-shadow);
}

.clp-channel-article h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--clp-text);
}

.clp-channel-article h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 20px 0 8px;
    color: var(--clp-text);
}

.clp-channel-article p {
    color: var(--clp-text-light);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    .clp-channel-article {
        padding: 20px 18px;
    }
}