/* GTI TV Page Specific Styles */

.page-header.tv-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 140px 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    text-align: center;
    margin-top: 186px;
}

.tv-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.tv-badge i {
    color: #ff6b6b;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

/* Featured Video Section */
.featured-video-section {
    padding: 60px 20px 80px 20px;
    margin-top: 186px; /* Account for fixed navbar + donors banner */
    background: #0f0f1a;
}

.video-player-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-player {
    position: relative;
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.video-placeholder i {
    font-size: 80px;
    color: var(--primary-green);
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-placeholder i:hover {
    transform: scale(1.1);
}

.video-placeholder span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-placeholder p {
    opacity: 0.7;
}

.video-info {
    margin-top: 40px;
    padding: 10px 0;
    color: var(--white);
}

.video-badge {
    display: inline-block;
    background: #ff6b6b;
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.video-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 800px;
}

.video-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.video-meta i {
    margin-right: 6px;
}

.video-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.video-share span {
    color: rgba(255, 255, 255, 0.6);
}

.video-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.video-share a:hover {
    background: var(--primary-green);
}

/* Categories */
.categories-section {
    padding: 50px 20px;
    background: #0f0f1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* Episodes Grid */
.episodes-section {
    padding: 80px 20px;
    background: #0f0f1a;
}

.episodes-section .section-header h2 {
    color: var(--white);
}

.episodes-section .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.episode-card {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
}

.episode-card:hover {
    transform: translateY(-8px);
}

.episode-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.play-btn-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.9);
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.episode-card:hover .play-btn-small {
    opacity: 1;
}

.episode-content {
    padding: 24px;
}

.episode-category {
    display: inline-block;
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.episode-content h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.episode-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.episode-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.load-more {
    text-align: center;
}

/* Subscribe Section */
.subscribe-section {
    padding: 80px 20px;
    background: #1a1a2e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subscribe-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.subscribe-text h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.subscribe-text p {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-form {
    display: flex;
    gap: 12px;
}

.subscribe-input {
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    min-width: 300px;
    font-size: 1rem;
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subscribe-platforms {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-platforms span {
    margin-right: 16px;
}

.platform-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s;
}

.platform-link:hover {
    color: var(--primary-green);
}

.platform-link i {
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 992px) {
    .episodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subscribe-content {
        flex-direction: column;
        text-align: center;
    }
    
    .subscribe-form {
        width: 100%;
    }
    
    .subscribe-input {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .episodes-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 8px;
    }
}
