/* Live TV Page - Modern Design */






/* Popular News Section */
.popular-news-section {
    padding: 60px 0;
    background: #1a1a1a;
}

.youtube-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.youtube-video-card {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.youtube-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.youtube-video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 15px;
}

.play-btn {
    background: #d10000;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.video-duration {
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-content {
    padding: 15px;
}

.video-content h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.no-videos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
}

.no-videos i {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 15px;
}

.no-videos p {
    color: #888;
    margin: 5px 0;
}

.admin-notice {
    color: #ffcc00 !important;
    font-size: 14px;
}

.admin-notice a {
    color: #ffcc00;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .youtube-videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .youtube-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .youtube-videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-thumbnail {
        height: 200px;
    }
}











.live-tv-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    font-family: 'SolaimanLipi', 'Noto Sans Bengali', Arial, sans-serif;
    min-height: 100vh;
}

.live-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.live-hero {
    position: relative;
    background: linear-gradient(135deg, #d10000 0%, #ff3333 100%);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.live-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.live-hero-content {
    position: relative;
    z-index: 2;
}

.live-status {
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.live-pulse {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.live-text {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.live-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.live-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

.stat-count {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Main Content */
.live-main-section {
    padding: 60px 0;
}

.live-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Player Container */
.live-player-container {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2a2a2a;
    border-bottom: 2px solid #d10000;
}

.player-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.player-controls {
    display: flex;
    gap: 10px;
}

.ctrl-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ctrl-btn:hover {
    background: #d10000;
    transform: translateY(-2px);
}

/* YouTube Player */
.youtube-live-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-live-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Live Chat */
.live-chat {
    background: #2a2a2a;
    padding: 20px;
    border-top: 1px solid #333;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.online-count {
    font-size: 0.9rem;
    color: #00ff00;
}

.chat-messages {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.chat-message {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 10px;
    margin-bottom: 10px;
    background: #333;
    border-radius: 8px;
}

.message-content {
    flex: 1;
}

.message-time {
    font-size: 0.8rem;
    color: #888;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #333;
    color: #fff;
}

.chat-input button {
    background: #d10000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* Sidebar */
.live-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2a2a2a;
    border-bottom: 2px solid #d10000;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.card-header i {
    color: #d10000;
    font-size: 1.1rem;
}

/* Schedule List */
.schedule-list {
    padding: 15px;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #2a2a2a;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-item.current {
    background: rgba(209, 0, 0, 0.2);
    border: 1px solid #d10000;
}

.schedule-item:hover {
    transform: translateX(5px);
    background: #333;
}

.schedule-time {
    min-width: 60px;
    margin-right: 15px;
}

.schedule-time .time {
    font-weight: bold;
    color: #ffcc00;
}

.live-indicator {
    color: #d10000;
    font-size: 0.8rem;
    font-weight: bold;
}

.schedule-info {
    flex: 1;
}

.schedule-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.schedule-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #888;
}

.schedule-action {
    margin-left: 10px;
}

.remind-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remind-btn:hover {
    background: #d10000;
    transform: scale(1.1);
}

/* Upcoming List */
.upcoming-list {
    padding: 15px;
}

.upcoming-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: #2a2a2a;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.upcoming-item:hover {
    transform: translateX(5px);
    background: #333;
}

.upcoming-image {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
}

.upcoming-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upcoming-time {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

.upcoming-info {
    flex: 1;
}

.upcoming-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.watch-later-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

.watch-later-btn:hover {
    background: #d10000;
}

/* Social Feed */
.social-feed {
    padding: 15px;
}

.social-post {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.post-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-user strong {
    display: block;
    font-size: 0.9rem;
}

.post-user span {
    font-size: 0.8rem;
    color: #888;
}

.social-post p {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.post-stats {
    display: flex;
    gap: 15px;
}

.post-stats span {
    font-size: 0.8rem;
    color: #888;
}

/* Programs Section */
.live-programs-section {
    padding: 60px 0;
    background: #1a1a1a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 0;
}

.view-all {
    color: #d10000;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #ff3333;
    transform: translateX(5px);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.program-card {
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 15px;
}

.play-btn {
    background: #d10000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: #ff3333;
}

.duration {
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.program-content {
    padding: 20px;
}

.program-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.program-content p {
    margin: 0 0 15px 0;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.program-meta {
    display: flex;
    gap: 15px;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #888;
}

.no-programs {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-programs i {
    font-size: 3rem;
    color: #666;
    margin-bottom: 20px;
}

.no-programs p {
    font-size: 1.1rem;
    color: #888;
}



/* Channel Logo Styles */
.channel-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d10000;
}

.post-avatar {
    margin-right: 12px;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.post-user strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.post-user span {
    color: #888;
    font-size: 12px;
}

.post-content {
    margin-bottom: 12px;
}

.post-content p {
    margin: 0;
    line-height: 1.4;
    color: #ccc;
}

.post-stats {
    display: flex;
    gap: 15px;
}

.post-stats span {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Hero Logo */
.channel-logo-hero img {
    max-width: 100px;
    border-radius: 10px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}





/* Live News Ticker */
.live-news-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #d10000 0%, #ff3333 100%);
    color: white;
    display: flex;
    z-index: 1000;
    height: 31px;
    box-shadow: 0 -5px 20px rgba(209, 0, 0, 0.3);
}

.ticker-header {
    background: rgba(0,0,0,0.2);
    padding: 0 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
}

.ticker-contents {
    flex: 1;
    padding: 0 25px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ticker-contents::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: linear-gradient(90deg, transparent 0%, #d10000 100%);
}

.ticker-contents a {
    color: white;
    text-decoration: none;
    margin-right: 30px;
    white-space: nowrap;
    font-weight: 500;
    transition: color 0.3s ease;
}

.ticker-contents a:hover {
    color: #ffcccc;
    text-decoration: underline;
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .live-main-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .live-container {
        padding: 0 15px;
    }
    
    .live-title {
        font-size: 2.5rem;
    }
    
    .live-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .player-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .live-hero {
        padding: 60px 0;
    }
    
    .live-title {
        font-size: 2rem;
    }
    
    .live-subtitle {
        font-size: 1rem;
    }
    
    .chat-input {
        flex-direction: column;
    }
    
    .ticker-header {
        min-width: 120px;
        padding: 0 15px;
    }
    









    
}