/* Global Styles */
:root {
    --primary-color: #e50914;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --border-color: #e1e1e1;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --black: #000000;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', 'SolaimanLipi', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f5f5;
    direction: rtl;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Login Button */
.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background-color: #f40612;
    transform: translateY(-2px);
}

.btn-login i {
    font-size: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    color: var(--light-text);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

/* Login Form Styles */
.login-container {
    padding: 20px 0;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.1);
}

.forgot-password {
    text-align: left;
    margin-top: 8px;
}

.forgot-password a {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #f40612;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--light-text);
}

.register-link a {
    color: var(--primary-color);
    margin-right: 5px;
    font-weight: 500;
}

/* Header Styles */
.header {
    background-color: #000000;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.header-ads {
    background-color: var(--bg-light);
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    color: var(--light-text);
    border: 1px dashed #ccc;
}

/* Navigation */
.main-nav {
    background-color: #000000;
    border-top: 1px solid #333;
}

.main-nav ul {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 10px;
}

.main-nav li {
    position: relative;
}

.main-nav li:not(:last-child)::after {
    content: '|';
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

.main-nav a {
    color: var(--white);
    display: block;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.main-nav i {
    margin-left: 5px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
}

.hero-content {
    max-width: 70%;
    background: rgba(0,0,0,0.7);
    padding: 25px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.hero-content .category-tag {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.hero-content p {
    margin-bottom: 15px;
    font-size: 16px;
    opacity: 0.9;
}

.hero-content .read-more {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-content .read-more:hover {
    background: #c11119;
    transform: translateY(-2px);
}

/* Breaking News Enhanced */
.breaking-news {
    background: linear-gradient(90deg, #e50914, #ff6b6b);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.breaking-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M20 50c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.breaking-label {
    background-color: rgba(0,0,0,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-left: 15px;
    position: relative;
    z-index: 1;
}

.breaking-label i {
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.ticker {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 24px;
}

.ticker ul {
    position: absolute;
    width: 100%;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker li {
    display: inline-block;
    padding: 0 20px;
    position: relative;
}

.ticker li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -10px;
    color: rgba(255,255,255,0.5);
}

.ticker a {
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.ticker a:hover {
    color: #ffeb3b;
    transform: translateX(3px);
}

/* Category Boxes */
.category-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.category-box {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.category-box-header {
    background: var(--primary-color);
    color: white;
    padding: 12px 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-box-header a {
    color: white;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.category-box-header a:hover {
    opacity: 1;
}

.category-box-content {
    padding: 15px;
}

/* Video Carousel */
.video-carousel {
    margin: 30px 0;
    position: relative;
}

.video-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.video-carousel-header h2 {
    font-size: 22px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.video-carousel-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.video-carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.video-carousel-container::-webkit-scrollbar {
    display: none;
}

.video-item-large {
    flex: 0 0 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-item-large:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item-large:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(229, 9, 20, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--light-text);
    font-size: 13px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    padding: 40px 0;
    margin: 40px 0;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30 50c0-11 9-20 20-20s20 9 20 20-9 20-20 20-20-9-20-20z" fill="none" stroke="%23e50914" stroke-width="0.5" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-content h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.newsletter-content p {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #c11119;
}

/* Trending Now */
.trending-now {
    margin: 40px 0;
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.trending-header h2 {
    font-size: 22px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.trending-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trending-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.trending-item:hover {
    transform: translateY(-5px);
}

.trending-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    margin: 15px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.trending-content {
    padding: 15px;
}

.trending-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.trending-meta {
    display: flex;
    justify-content: space-between;
    color: var(--light-text);
    font-size: 13px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .category-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-slide {
        height: 400px;
        padding: 20px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .category-boxes {
        grid-template-columns: 1fr;
    }
    
    .trending-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 350px;
    }
    
    .hero-content h2 {
        font-size: 22px;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 0;
    }
    
    .newsletter-form button {
        padding: 15px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Main Content */
main {
    display: flex;
    margin: 20px auto;
    gap: 20px;
}

.content-area {
    flex: 2.5;
}

.sidebar {
    flex: 1;
}

/* Breaking News */
.breaking-news {
    background-color: #fff8e1;
    border-right: 4px solid #ffc107;
    padding: 10px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    background-color: #ff5722;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
}

.ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.ticker ul {
    position: absolute;
    width: 100%;
    animation: ticker 15s linear infinite;
}

.ticker li {
    white-space: nowrap;
    padding: 0 15px 0 0;
}

.ticker a {
    color: #e65100;
    font-weight: 500;
}

.ticker a:hover {
    color: #ff6f00;
    text-decoration: underline;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Section Titles */
.section-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 70px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.see-all {
    font-size: 14px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.see-all i {
    font-size: 12px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.main-news {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.main-news .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    padding: 15px;
}

.main-news .news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--secondary-color);
}

.news-card h3 a:hover {
    color: var(--primary-color);
}

.news-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card h4 a {
    color: var(--secondary-color);
}

.news-meta {
    font-size: 13px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--light-text);
    font-size: 14px;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Movie Section */
.movie-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.movie-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.movie-card:hover {
    transform: translateY(-5px);
}

.movie-poster {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #c11119;
    color: white;
    transform: translateY(-2px);
}

.movie-card h4 {
    font-size: 14px;
    margin: 10px 0 5px;
    padding: 0 5px;
    text-align: center;
    font-weight: 500;
}

.movie-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    color: var(--light-text);
    padding: 0 5px 10px;
}

.movie-meta i {
    color: #ffc107;
    margin-left: 3px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.category-news {
    background-color: var(--white);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--box-shadow);
}

.news-list {
    margin-top: 15px;
}

.news-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-thumb {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.news-info h4 a {
    color: var(--text-color);
}

.news-info h4 a:hover {
    color: var(--primary-color);
}

/* Sidebar */
.sidebar-widget {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--box-shadow);
}

.widget-title {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Popular News */
.popular-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-number {
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.popular-content h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.popular-content h4 a {
    color: var(--text-color);
}

.popular-content h4 a:hover {
    color: var(--primary-color);
}

/* Video Widget */
.video-widget {
    margin-bottom: 15px;
}

.video-thumb {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.video-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(229, 9, 20, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button.small {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.video-widget h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.video-widget h4 a {
    color: var(--secondary-color);
}

.video-list {
    margin-top: 15px;
}

.video-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.video-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.video-thumb-small {
    position: relative;
    flex: 0 0 80px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
}

.video-item h5 {
    font-size: 13px;
    line-height: 1.4;
}

.video-item h5 a {
    color: var(--text-color);
}

/* Ad Widget */
.ad-widget {
    background-color: var(--bg-light);
    border: 1px dashed #ccc;
    padding: 30px 15px;
    text-align: center;
    color: var(--light-text);
    font-weight: bold;
    border-radius: 4px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 40px;
}

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

.footer-widget h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

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

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.copyright {
    color: #999;
}

.footer-menu {
    display: flex;
    gap: 20px;
}

.footer-menu a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .main-news {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }
    
    .content-area, .sidebar {
        width: 100%;
    }
    
    .main-nav ul {
        padding: 0 5px;
    }
    
    .main-nav a {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .header-ads {
        display: none;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .main-nav ul {
        justify-content: flex-start;
    }
    
    .main-nav li:not(:last-child)::after {
        margin: 0 2px;
    }
    
    .main-nav a {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .breaking-news {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .ticker {
        width: 100%;
    }
    
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Custom Fonts */
@font-face {
    font-family: 'Hind Siliguri';
    src: url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
    font-display: swap;
}

@font-face {
    font-family: 'SolaimanLipi';
    src: url('https://www.omicronlab.com/fonts/SolaimanLipi_20-04-07.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
