/**
 * Streaming Platform Specific Styles - NEW VERSION
 */

/* Basic page structure */
body.streaming-page {
    background-color: #121212 !important;
    color: #fff !important;
    overflow-x: hidden;
}

/* Main content container */
.streaming-content {
    display: block !important;
    width: 100% !important;
    padding-top: 40px !important;
    min-height: 500px !important;
    background-color: #121212 !important;
}

/* Section styling */
.streaming-section {
    margin-bottom: 40px !important;
    position: relative !important;
    padding: 20px 0 !important;
}

.section-title {
    color: white !important;
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
    padding-left: 5px !important;
    font-weight: 600 !important;
}

/* Video row container */
.video-row {
    display: flex !important;
    overflow-x: auto !important;
    gap: 16px !important;
    padding: 10px 0 20px !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
    margin: 0 !important;
}

.video-row::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari and Opera */
}

/* Individual video item */
.video-item {
    flex: 0 0 auto !important;
    width: 300px !important;
    transition: transform 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

.video-item:hover {
    transform: scale(1.05) !important;
    z-index: 5 !important;
}

/* Video thumbnail container */
.video-container {
    display: block !important;
    position: relative !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    aspect-ratio: 16/9 !important;
    margin-bottom: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    min-height: 150px !important;
}

/* Play button overlay */
.play-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 10 !important;
}

.video-item:hover .play-overlay {
    opacity: 1 !important;
}

.play-overlay i {
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(0, 179, 255, 0.8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 1.2rem !important;
}

/* Video text */
.video-title {
    font-size: 0.9rem !important;
    margin: 8px 0 4px !important;
    color: white !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: 500 !important;
}

.video-info {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Navigation arrows */
.row-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.row-nav.prev {
    left: 10px !important;
}

.row-nav.next {
    right: 10px !important;
}

.row-nav:hover {
    background: rgba(0, 179, 255, 0.8) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Feature hero */
.feature-video {
    position: relative !important;
    height: 70vh !important;
    min-height: 500px !important;
}

.feature-video-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 2rem !important;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%) !important;
}

.feature-video-content h2 {
    font-size: 2.5rem !important;
    color: white !important;
    margin-bottom: 1rem !important;
}

.feature-video-content p {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px !important;
    margin-bottom: 1.5rem !important;
}

/* Button styles */
.play-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background-color: #00b3ff !important;
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.play-button:hover {
    background-color: #0099ff !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3) !important;
}

/* About section fixes */
.about-section {
    background-color: #121212 !important;
    color: white !important;
    padding: 60px 0 !important;
    margin-top: 40px !important;
}

.about-section h2 {
    color: white !important;
    font-size: 2rem !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.about-section p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
}

/* News section fixes */
.news-section {
    background-color: #121212 !important;
    padding: 60px 0 !important;
    text-align: center !important;
}

.news-section .section-title {
    color: white !important;
    font-size: 2rem !important;
    margin-bottom: 20px !important;
}

/* Footer fixes */
.footer {
    background-color: #0a0a0a !important;
    padding: 60px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Badge for new content */
.badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.new-badge {
    background-color: #00b3ff !important;
    color: white !important;
}

/* Social media icons */
.social-icon {
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    margin: 0 5px !important;
    text-decoration: none !important;
}

.social-icon:hover {
    background-color: #00b3ff !important;
    color: white !important;
    transform: translateY(-5px) !important;
}

/* Ensure Bootstrap overrides */
.container-fluid {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Fix form elements */
.form-control {
    padding: 12px 15px !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 4px 0 0 4px !important;
}

/* Gap utilities */
.gap-4 {
    gap: 1.5rem !important;
}

/* Responsive fixes */
@media (max-width: 767px) {
    .video-item {
        width: 220px !important;
    }
    
    .feature-video-content h2 {
        font-size: 1.8rem !important;
    }
    
    .feature-video-content p {
        font-size: 1rem !important;
    }
}
