/* ===== CHANNEL LIST PAGE SPECIFIC STYLES ===== */

/* Channel Hero */
.channel-hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0a0c0f, #11141a);
}

.channel-hero-content {
    max-width: 900px;
}

.channel-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

/* Quick Stats */
.quick-stats {
    padding: 60px 0;
    background: var(--dark-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    background: var(--dark-card);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.stat-detail {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Search Section */
.channel-search-section {
    padding: 40px 0;
    background: var(--dark-deep);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-box-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    background: var(--dark-card);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 60px;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-results-count {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 60px;
}

.filter-label {
    color: white;
    font-weight: 600;
    padding: 8px 0;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

/* Full Channel List */
.full-channel-list {
    padding: 80px 0;
    background: var(--dark-light);
}

.country-list-container {
    margin: 50px 0;
}

.region-heading {
    color: white;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.country-section {
    margin-bottom: 20px;
    border-radius: var(--border-radius-lg);
    background: var(--dark-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.country-section:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.country-header {
    background: linear-gradient(145deg, var(--dark-card), #1a1f2a);
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.country-header:hover {
    background: #1f2532;
    border-bottom-color: var(--gold);
}

.country-flag {
    font-size: 2rem;
    line-height: 1;
}

.country-name {
    flex: 1;
    color: white;
}

.channel-count {
    color: var(--gold);
    font-size: 0.95rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 5px 15px;
    border-radius: 40px;
    white-space: nowrap;
}

.country-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.arrow {
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.country-header[aria-expanded="true"] .arrow i {
    transform: rotate(180deg);
}

.channel-list-container {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-out;
    background: var(--dark-deep);
}

.country-header[aria-expanded="true"] + .channel-list-container {
    max-height: 8000px;
    transition: max-height 1.2s ease-in;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px 15px;
    padding: 25px 0;
}

.channel-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 15px;
    border-radius: 40px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: default;
}

.channel-item:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    transform: translateX(5px);
}

.channel-badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 8px;
    text-transform: uppercase;
}

.channel-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 15px;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
}

.channel-total {
    text-align: center;
    margin: 60px 0 20px;
    padding: 40px;
    background: linear-gradient(145deg, var(--dark-card), #1a1f2a);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gold);
}

.channel-total h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.channel-total p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-filters {
        border-radius: 30px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .channel-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .country-header {
        flex-wrap: wrap;
        padding: 15px;
    }
    
    .country-flag {
        font-size: 1.5rem;
    }
    
    .country-name {
        font-size: 1rem;
    }
    
    .channel-count {
        padding: 3px 10px;
        font-size: 0.8rem;
    }
    
    .country-badge {
        display: none;
    }
    
    .arrow {
        margin-left: auto;
    }
    
    .channel-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filters {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .channel-total h3 {
        font-size: 1.5rem;
    }
}