:root {
    --tvx-bg: #07111f;
    --tvx-bg-soft: #0d1b2f;
    --tvx-surface: rgba(10, 23, 42, 0.72);
    --tvx-surface-strong: rgba(8, 18, 34, 0.88);
    --tvx-card: rgba(255, 255, 255, 0.12);
    --tvx-card-hover: rgba(255, 255, 255, 0.18);
    --tvx-border: rgba(255, 255, 255, 0.18);
    --tvx-text: #f7fbff;
    --tvx-muted: #d0dced;
    --tvx-accent: #ff7a18;
    --tvx-accent-strong: #ffb347;
    --tvx-secondary: #00c2ff;
    --tvx-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 122, 24, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(0, 194, 255, 0.16), transparent 24%),
        linear-gradient(180deg, #09111d 0%, #0b1526 42%, #07111f 100%) !important;
    color: var(--tvx-text) !important;
    font-family: "Manrope", sans-serif !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
    pointer-events: none;
    z-index: -1;
}

.site-header {
    position: sticky !important;
    top: 0;
    backdrop-filter: blur(16px);
    background: rgba(6, 15, 28, 0.84) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18) !important;
}

.header-container,
.footer-container,
.site-wrap {
    max-width: 1320px !important;
}

.brand-link,
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-icon,
.footer-brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(255, 122, 24, 0.2);
}

.brand-copy,
.footer-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong,
.footer-brand-copy strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    color: #fff4de;
}

.brand-copy span,
.footer-brand-copy span {
    color: var(--tvx-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.top-nav a {
    border: 1px solid transparent;
    color: var(--tvx-text) !important;
}

.top-nav a:hover,
.top-nav a.active {
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.2), rgba(0, 194, 255, 0.18)) !important;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-wrap {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px) !important;
    gap: 18px !important;
    margin: 18px auto 26px !important;
}

main.content,
aside.sidebar,
.content-section,
.schedule-section,
.fb-comments-section,
.related-posts,
.stream-panel,
.episodes-list,
.program-list {
    position: relative;
}

.hero,
.content-section,
.schedule-section,
.sidebar,
.fb-comments-section,
.related-posts,
.stream-panel,
.episodes-list,
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid var(--tvx-border) !important;
    box-shadow: var(--tvx-shadow) !important;
}

.hero,
.content-section,
.schedule-section,
.sidebar,
.fb-comments-section,
.related-posts,
.stream-panel {
    border-radius: 22px !important;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    text-align: center;
    background-color: transparent !important;
    background-blend-mode: normal !important;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.12), rgba(6, 14, 26, 0.28)) !important;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1,
.hero h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.35rem !important;
    line-height: 1.05 !important;
    letter-spacing: 0;
    color: #ffffff !important;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    max-width: 62ch;
    color: #f3f8ff !important;
    font-size: 0.94rem !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

.hero .search-form {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero .search-form form {
    background: rgba(8, 18, 34, 0.44) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    border-radius: 18px !important;
    padding: 8px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
}

.hero .search-form input[type="search"] {
    background: transparent !important;
    color: #f5fbff !important;
}

.hero .search-form input[type="search"]::placeholder {
    color: #89a1be !important;
}

button,
.hero .search-form button,
.channel-tabs a.active,
.pagination .current,
.page-numbers.current {
    background: linear-gradient(135deg, var(--tvx-accent), var(--tvx-accent-strong)) !important;
    color: #07111f !important;
    font-weight: 800 !important;
    box-shadow: 0 16px 30px rgba(255, 122, 24, 0.18);
}

.channels-below-hero {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.channel,
.channels-below-hero .channel,
.extra-links .channel,
.card,
.day-tabs li a,
.channel-tabs a,
.page-numbers {
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--tvx-text) !important;
}

.channel:hover,
.channels-below-hero .channel:hover,
.extra-links .channel:hover,
.card:hover,
.channel-tabs a:hover,
.page-numbers:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 179, 71, 0.35) !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2) !important;
}

.channel .sub,
.breadcrumbs,
.breadcrumbs a,
.sidebar h4,
.post-meta,
.category-item a,
.footer-left div,
.footer-right a,
.text-muted {
    color: var(--tvx-muted) !important;
}

.channel .name,
.card h3 a,
.episodes-list .card h3 a,
.content-section p,
.content-section li,
.program-list,
.day-tabs li a,
.channel-tabs a {
    color: var(--tvx-text) !important;
}

.hero .post-meta {
    justify-content: center !important;
    text-align: center !important;
}

.hero .post-meta .category-item,
.post-meta .category-item {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.hero .post-meta .category-item a,
.post-meta .category-item a {
    color: #ffffff !important;
}

.content-section,
.schedule-section,
.sidebar,
.fb-comments-section,
.related-posts,
.stream-panel,
.breadcrumbs {
    background: rgba(9, 20, 37, 0.72) !important;
}

.sidebar h4,
.related-posts h2,
.fb-comments-title,
.content-section h1,
.content-section h2,
.schedule-section h2 {
    font-family: "Space Grotesk", sans-serif;
    color: #fff8ee !important;
}

.breadcrumbs {
    margin-bottom: 18px !important;
}

.episodes-list {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.card {
    overflow: hidden;
    padding: 8px !important;
}

.card .content {
    padding: 10px 6px 6px !important;
}

.episodes-list .card,
.related-posts .card {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px !important;
    background: linear-gradient(180deg, rgba(13, 24, 43, 0.96), rgba(9, 19, 34, 0.92)) !important;
}

.episodes-list .card .thumbnail,
.related-posts .card .thumbnail {
    width: 100% !important;
    height: 100px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

.episodes-list .card .content,
.related-posts .card .content {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.episodes-list .card h3,
.related-posts .card h3 {
    margin: 0 0 10px !important;
    line-height: 1.35 !important;
}

.episodes-list .card h3 a,
.related-posts .card h3 a {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #f8fbff !important;
}

.episodes-list .post-meta,
.related-posts .post-meta {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    color: #d9e7f8 !important;
}

.episodes-list .post-meta .category-item,
.related-posts .post-meta .category-item {
    background: rgba(255, 122, 24, 0.18) !important;
    border: 1px solid rgba(255, 179, 71, 0.28) !important;
    border-radius: 999px !important;
    padding: 4px 8px !important;
}

.episodes-list .post-meta .category-item a,
.related-posts .post-meta .category-item a {
    color: #fff2dc !important;
}

.content-section,
.schedule-section,
.fb-comments-section,
.related-posts {
    padding: 18px !important;
}

.stream-panel {
    padding: 16px !important;
}

.program-list li,
.content-section ul li {
    color: var(--tvx-text);
}

.home-page .hero {
    min-height: 250px !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 24px 26px !important;
    border-radius: 30px !important;
    background:
        linear-gradient(90deg, rgba(8, 16, 30, 0.88) 0%, rgba(8, 16, 30, 0.72) 42%, rgba(8, 16, 30, 0.36) 100%),
        url('/images/biggboss19.jpg') center right / cover no-repeat !important;
}

.home-page .hero::before {
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 179, 71, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(6, 14, 26, 0.04), rgba(6, 14, 26, 0.2)) !important;
}

.home-page .hero h1,
.home-page .hero h2,
.home-page .hero p {
    margin-left: 0 !important;
    text-align: left !important;
}

.home-page .hero h1,
.home-page .hero h2 {
    max-width: 11ch !important;
    font-size: 3.6rem !important;
}

.home-page .hero p {
    max-width: 42rem !important;
    font-size: 1.08rem !important;
}

.home-page .hero .search-form {
    justify-content: flex-start !important;
}

.home-page .hero .search-form form {
    width: min(680px, 100%) !important;
    margin: 18px 0 0 !important;
    background: rgba(8, 18, 34, 0.68) !important;
}

.home-page .channels-below-hero .channel {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 68px !important;
    padding: 12px !important;
    text-align: left !important;
    background: linear-gradient(180deg, rgba(13, 24, 43, 0.94), rgba(10, 20, 36, 0.92)) !important;
}

.home-page .channels-below-hero .channel img {
    width: 54px !important;
    height: 54px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.home-page .channels-below-hero .channel .name {
    margin-top: 0 !important;
    color: #f8fbff !important;
    font-size: 1rem !important;
}

.home-page .sidebar,
.home-page .breadcrumbs {
    background: linear-gradient(180deg, rgba(15, 28, 49, 0.92), rgba(10, 20, 36, 0.9)) !important;
}

.home-page .sidebar h4 {
    font-size: 1.35rem !important;
}

.site-footer {
    background: rgba(6, 15, 28, 0.84) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 18px;
}

.footer-left {
    gap: 16px !important;
}

@media (max-width: 980px) {
    .site-wrap {
        grid-template-columns: 1fr !important;
    }

    .channels-below-hero {
        grid-template-columns: 1fr !important;
    }

    .home-page .hero {
        min-height: 220px !important;
        padding: 20px !important;
        background:
            linear-gradient(180deg, rgba(8, 16, 30, 0.82), rgba(8, 16, 30, 0.56)),
            url('/images/biggboss19.jpg') center / cover no-repeat !important;
    }

    .episodes-list .card,
    .related-posts .card {
        grid-template-columns: 1fr !important;
    }

    .episodes-list .card .thumbnail,
    .related-posts .card .thumbnail {
        height: 180px !important;
    }
}

@media (max-width: 720px) {
    .brand-copy span,
    .footer-brand-copy span {
        display: none;
    }

    .hero {
        padding: 18px !important;
    }

    .hero h1,
    .hero h2 {
        max-width: none;
    }

    .home-page .hero,
    .home-page .hero h1,
    .home-page .hero h2,
    .home-page .hero p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-page .hero {
        align-items: center !important;
    }

    .home-page .hero .search-form {
        justify-content: center !important;
    }
}
