﻿/* ==========================================
   Terddv Game Portal - Channel/Category Pages
   Bright & Friendly Theme
   ========================================== */

.gd-channel-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 30px;
    background: linear-gradient(135deg, var(--gd-primary) 0%, var(--gd-purple) 100%);
    border-radius: var(--gd-radius-lg);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--gd-shadow);
}

.gd-channel-banner::before {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.gd-channel-banner::after {
    content: "";
    position: absolute;
    right: 50px;
    bottom: -40px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.gd-channel-icon-lg {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.gd-channel-icon-lg::before {
    content: "";
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 6px;
}

.gd-channel-info { z-index: 1; color: #fff; }

.gd-channel-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.gd-channel-count {
    font-size: 0.86rem;
    opacity: 0.9;
    color: #fff;
}

.gd-game-count {
    color: var(--gd-text-soft);
    font-size: 0.84rem;
    margin-bottom: 16px;
    padding: 0 4px;
}

.gd-game-count strong {
    color: var(--gd-primary);
    font-weight: 700;
}

.gd-section--compact .gd-game-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .gd-section--compact .gd-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gd-channel-banner {
        padding: 20px 24px;
        gap: 14px;
    }

    .gd-channel-name { font-size: 1.2rem; }
    .gd-channel-icon-lg { width: 48px; height: 48px; }
}

@media (max-width: 640px) {
    .gd-section--compact .gd-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gd-channel-banner {
        padding: 16px 18px;
        gap: 12px;
        margin-bottom: 20px;
    }
    .gd-channel-name { font-size: 1.1rem; }
    .gd-channel-count { font-size: 0.8rem; }
    .gd-channel-icon-lg { width: 40px; height: 40px; }
    .gd-channel-icon-lg::before { width: 20px; height: 20px; }

    .gd-game-count { font-size: 0.78rem; margin-bottom: 12px; }
}
