/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f4f6f9;
    color: #1e2a3a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ===== HEADER ===== */
.header {
    background-color: #0b1a2e;
    color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.logo i {
    color: #e50914;
}

.logo .highlight {
    color: #e50914;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 500;
    font-size: 15px;
    flex-wrap: wrap;
}

.nav-menu .nav-link {
    color: #aaa;
    transition: 0.2s;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu .nav-link:hover {
    color: #fff;
}

.nav-menu .nav-link.active {
    color: #e50914;
    border-bottom-color: #e50914;
}

.live-badge {
    background-color: #e50914;
    color: #fff;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    animation: pulse 1.5s infinite;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-badge i {
    font-size: 10px;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.search-icon {
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    transition: 0.2s;
    padding: 4px 8px;
}

.search-icon:hover {
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

/* ===== PAGE TITLE ===== */
.page-title {
    background: linear-gradient(135deg, #0b1a2e, #1a2e42);
    color: #fff;
    padding: 40px 0;
}

.page-title-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-title h1 {
    font-size: 32px;
    font-weight: 700;
}

.page-title p {
    color: #aaa;
    margin-top: 6px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
}

/* ===== VIDEO GRID ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.video-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.video-thumb {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 32px;
    position: relative;
    background: #1e2a3a;
}

.video-thumb .duration {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.video-thumb .new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e50914;
    color: #fff;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.video-thumb .live-badge-thumb {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e50914;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 1.5s infinite;
}

.video-thumb .live-badge-thumb i {
    font-size: 10px;
}

.video-info {
    padding: 14px 16px 18px;
}

.video-info .video-category {
    font-size: 12px;
    color: #e50914;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-info h4 {
    font-size: 15px;
    margin: 4px 0 6px;
    line-height: 1.3;
}

.video-info h4 a:hover {
    color: #e50914;
}

.video-info .video-meta {
    font-size: 13px;
    color: #777;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    border-left: 5px solid #e50914;
    padding-left: 14px;
}

.section-header a {
    font-size: 15px;
    color: #e50914;
    font-weight: 600;
}

.section-header a:hover {
    text-decoration: underline;
}

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: 0.2s;
    border-left: 4px solid transparent;
}

.blog-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-left-color: #e50914;
}

.blog-card .blog-category {
    font-size: 12px;
    color: #e50914;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.blog-card h4 {
    margin: 6px 0 8px;
    font-size: 17px;
}

.blog-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.blog-card .blog-date {
    font-size: 13px;
    color: #999;
    margin-top: 10px;
    display: block;
}

/* ===== FILTERS ===== */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    background: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters select,
.filters input {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    flex: 1;
    min-width: 140px;
}

.filters button {
    padding: 10px 28px;
    background: #e50914;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.filters button:hover {
    background: #b20710;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0b1a2e;
    color: #aaa;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #aaa;
    transition: 0.2s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-col p i {
    width: 20px;
    color: #e50914;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo i {
    color: #e50914;
}

.footer-logo .highlight {
    color: #e50914;
}

.footer-desc {
    margin: 10px 0 16px;
    font-size: 14px;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    color: #aaa;
    font-size: 22px;
    transition: 0.2s;
}

.socials a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e3347;
    padding: 16px 40px;
    text-align: center;
    font-size: 13px;
    margin-top: 30px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 14px;
        font-size: 14px;
    }

    .nav-menu .nav-link {
        padding: 4px 0;
    }

    .mobile-toggle {
        display: block;
    }

    .page-title-inner {
        padding: 0 20px;
    }

    .container {
        padding: 20px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        padding: 0 20px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .socials {
        justify-content: center;
    }

    .footer-bottom {
        padding: 16px 20px;
    }

    .filters {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .video-info h4 {
        font-size: 13px;
    }

    .video-info .video-meta {
        font-size: 11px;
        gap: 10px;
    }

    .page-title h1 {
        font-size: 24px;
    }
}