:root {
    --ink: #122c3a;
    --muted: #5f7079;
    --paper: #f5f6f3;
    --line: #dce3e1;
    --accent: #f4c17e;
    --teal: #862343;
    --primary-bg: #fff;
    --text-color: var(--ink);
    --accent-color: var(--teal);
    --error-color: #a32c36;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--teal); text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .btn { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.2; letter-spacing: -.045em; }
h3 { line-height: 1.35; }
:focus-visible { outline: 3px solid #b45f09; outline-offset: 4px; }
.container, .footer-content { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; background: white; padding: 12px; z-index: 2000; }
.skip-link:focus { top: 12px; }
header { position: sticky; top: 0; z-index: 100; }
.navbar { background: #fff; border-bottom: 1px solid var(--line); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 22px; }
.navbar-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; flex: 0 0 42px; height: 38px; background: var(--teal); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -1px; border-radius: 10px; box-shadow: 3px 3px 0 var(--accent); }
.brand-name { font-size: 23px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.brand-tv { color: #9b5100; margin: 0 3px; }
.brand-name small { display: block; font-size: 8px; font-weight: 600; letter-spacing: 2px; margin-top: 9px; color: var(--muted); }
.navbar-nav { display: flex; align-items: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.nav-link { display: block; padding: 9px 16px; color: var(--muted); text-decoration: none; border-radius: 7px; font-size: 14px; font-weight: 600; }
.nav-link i { display: none; }
.nav-link:hover, .nav-link.active { color: var(--teal); background: #edf3f0; }
.navbar-toggler { display: none; border: 1px solid var(--line); border-radius: 7px; background: white; width: 42px; height: 40px; padding: 10px; }
.navbar-toggler-icon { display: block; height: 16px; background: linear-gradient(var(--ink),var(--ink)) top/100% 2px no-repeat, linear-gradient(var(--ink),var(--ink)) center/100% 2px no-repeat, linear-gradient(var(--ink),var(--ink)) bottom/100% 2px no-repeat; }
.hero-section { margin: 32px 0 22px; padding: 48px; border-radius: 18px; color: #fff; background: var(--ink); position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-content h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 750; line-height: 1.12; letter-spacing: -.05em; margin-bottom: 18px; }
.hero-content p { color: #c7d8db; max-width: 550px; margin-bottom: 24px; font-size: 16px; }
.hero-content strong { color: #fff; font-weight: 600; }
.btn, .contact-form button { display: inline-flex; gap: 18px; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border-radius: 7px; border: 1px solid transparent; font-size: 14px; line-height: 1.4; font-weight: 700; text-decoration: none; transition: background .18s; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffcc90; }
.btn-outline { border-color: #68858b; color: #fff; }
.btn-outline:hover { background: #ffffff12; }
.search-bar { display: flex; align-items: center; gap: 28px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.search-bar > label { flex-shrink: 0; font-size: 14px; font-weight: 700; }
.search-bar form { display: flex; flex: 1; gap: 10px; }
.search-bar input { width: 100%; min-width: 0; padding: 10px 14px; background: #f5f7f6; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 14px; }
.search-bar input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.search-bar button { background: var(--teal); color: #fff; gap: 8px; }
.search-bar button:hover { background: #23616a; }
.hub-section, .why-choose { margin: 46px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.section-heading h2 { margin: 0; }
.section-heading .eyebrow { color: var(--teal); }
.section-heading > p { max-width: 335px; margin: 0; font-size: 13px; color: var(--muted); }
.channel-feed { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.channel-card { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.channel-card:hover { border-color: #719590; box-shadow: 0 6px 18px #123c3c0c; transform: translateY(-3px); }
.channel-card img { flex: 0 0 52px; width: 52px; height: 44px; object-fit: contain; }
.channel-card span { font-size: 14px; font-weight: 700; }
.channel-card::after { content: '↗'; margin-left: auto; color: #7c9295; font-size: 16px; }
.bigg-boss-feed { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.bigg-boss-feed .channel-card { display: grid; grid-template-columns: 1fr auto; gap: 0; padding: 0; overflow: hidden; align-items: center; }
.bigg-boss-feed .channel-card img { grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid var(--line); }
.bigg-boss-feed .channel-card span { padding: 15px 18px; font-size: 14px; }
.bigg-boss-feed .channel-card::after { padding-right: 18px; }
.why-choose { padding-top: 32px; border-top: 1px solid var(--line); }
.why-choose > h2 { margin-bottom: 24px; }
.why-choose-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #e3ece6; color: var(--teal); font-size: 16px; margin-bottom: 16px; }
.why-choose-item h3 { font-size: 16px; margin-bottom: 7px; }
.why-choose-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.seo-copy { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 30px; margin: 38px 0 48px; background: #eaf0eb; border-radius: 12px; }
.seo-copy h2, .seo-copy h3 { font-size: 17px; letter-spacing: -.3px; margin-bottom: 10px; }
.seo-copy p { color: #4f6569; font-size: 13px; margin: 0; }
.content-section { padding: 30px; margin: 24px 0 42px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.content-section h2 { margin-bottom: 16px; }
.content-section h3 { margin-top: 30px; font-size: 18px; }
.content-section p, .content-section li { color: var(--muted); }
.content-section article { max-width: 850px; margin: auto; }
.content-section li { margin-bottom: 8px; }
.content-section p i, .content-section li i { color: var(--teal); margin-right: 5px; }
.channel-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.channel-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; font-weight: 650; text-decoration: none; }
.channel-tabs a:hover, .channel-tabs a.active { background: var(--teal); color: white; border-color: var(--teal); }
.day-tabs ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.day-tabs li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 13px; }
.day-tabs li:hover, .day-tabs li.active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.program-list { margin-top: 20px; border: 1px solid var(--line); border-radius: 9px; padding: 16px; min-height: 100px; }
.program-list ul { list-style: none; padding: 0; margin: 0; }
.program-list li { display: flex; gap: 20px; padding: 12px; margin: 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.program-list li:last-child { border-bottom: 0; }
.program-list .time { flex: 0 0 85px; font-weight: 700; color: var(--teal); }
.text-center { text-align: center; }
.text-error-color { color: var(--error-color); }
.contact-form { max-width: 650px; margin: 28px 0 0; }
.contact-form label { display: block; font-size: 14px; font-weight: 650; margin: 16px 0 6px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #f9faf8; color: var(--ink); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button { margin-top: 15px; background: var(--teal); color: white; }
.success-message, .error-message { margin-top: 20px; padding: 14px; border-radius: 7px; }
.success-message { background: #e2f2e7; color: #17522c; }
.error-message { background: #fbecef; color: var(--error-color); }
footer { margin-top: 36px; padding: 30px 0; background: var(--ink); color: #baccd2; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.footer-left p { margin: 0; }
.footer-right { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-right a { color: #d6e1e3; text-decoration: none; }
.footer-right a:hover { text-decoration: underline; }
.footer-right i { display: none; }
@media (max-width: 991px) {
    .navbar .container { flex-wrap: wrap; min-height: 74px; gap: 0; }
    .navbar-brand { margin: 17px 0; }
    .navbar-toggler { display: block; }
    .navbar-collapse { display: none; width: 100%; }
    .navbar-collapse.show { display: block; }
    .navbar-nav { padding-bottom: 15px; }
    .home-hero { padding: 35px; gap: 30px; }
    .hero-guide { padding: 15px; }
    .tv-screen { padding: 20px; }
    .channel-feed { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bigg-boss-feed { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .bigg-boss-feed .channel-card span { font-size: 12px; padding: 12px; }
    .search-bar { gap: 15px; }
}
@media (max-width: 700px) {
    .container, .footer-content { width: calc(100% - 32px); }
    .hero-section { margin-top: 20px; padding: 28px 24px; border-radius: 12px; }
    .home-hero { grid-template-columns: 1fr; gap: 28px; }
    .hero-content h1 { font-size: clamp(2rem,7.5vw,3rem); }
    .hero-content p { font-size: 14px; }
    .hero-guide { transform: none; }
    .tv-screen { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 20px; }
    .screen-play { margin: 0; }
    .tv-screen strong { font-size: 22px; }
    .tv-screen > span:last-child { grid-column: 2; margin: 0; font-size: 8px; }
    .search-bar { flex-direction: column; align-items: stretch; gap: 9px; padding: 16px; }
    .search-bar > label { font-size: 13px; }
    .search-bar button { padding: 10px 14px; }
    .section-heading { display: block; margin-bottom: 16px; }
    .section-heading > p { margin-top: 10px; max-width: none; }
    .hub-section, .why-choose { margin: 34px 0; }
    .channel-card { gap: 10px; padding: 15px 12px; }
    .channel-card img { width: 35px; height: 34px; flex-basis: 35px; }
    .channel-card span { font-size: 12px; }
    .channel-card::after { font-size: 12px; }
    .bigg-boss-feed { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .bigg-boss-feed .channel-card span { padding: 12px; }
    .bigg-boss-feed .channel-card::after { padding-right: 10px; }
    .why-choose-grid { grid-template-columns: 1fr; gap: 24px; }
    .why-choose-item { position: relative; padding-left: 55px; }
    .feature-icon { position: absolute; top: 0; left: 0; }
    .seo-copy { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .content-section { padding: 22px; }
    .footer-content { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 360px) {
    .brand-name { font-size: 20px; }
    .brand-mark { flex-basis: 35px; height: 34px; }
    .brand-name small { font-size: 7px; }
    .hero-actions .btn { width: 100%; }
    .channel-card::after { display: none; }
    .channel-card { gap: 7px; }
    .search-bar form { flex-wrap: wrap; }
    .search-bar button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

.feature-icon { font-size: 17px; font-weight: 750; }

/* Compact serial-directory homepage. */
.serial-intro { margin: 24px 0 16px; padding: 22px 24px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 5px; }
.serial-intro h1 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3; letter-spacing: -.5px; }
.serial-intro p { margin: 0 0 17px; color: var(--muted); font-size: 14px; }
.serial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; font-size: 13px; font-weight: 650; }
.serial-actions .btn-primary { background: var(--teal); color: white; min-height: 40px; padding: 10px 16px; }
.serial-actions .btn-primary:hover { background: #6b1833; }
.hub-section { margin: 26px 0; }
.section-heading { align-items: center; margin-bottom: 14px; padding: 11px 16px; border-radius: 4px; background: var(--teal); color: white; }
.section-heading h2 { font-size: 18px; letter-spacing: 0; }
.section-heading > p { color: #fff; font-size: 12px; max-width: none; }
.channel-card { border-radius: 5px; padding: 16px; }
.channel-card span { font-size: 13px; }
.bigg-boss-feed { gap: 14px; }
.bigg-boss-feed .channel-card span { font-size: 13px; }
.search-bar { border-radius: 5px; padding: 12px 16px; }
.serial-information { margin: 24px 0 32px; padding: 20px 24px; background: white; border: 1px solid var(--line); border-radius: 5px; }
.serial-information h2 { font-size: 18px; letter-spacing: 0; margin-bottom: 10px; }
.serial-information p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.serial-information p:last-child { margin-bottom: 0; }
.brand-name small { letter-spacing: 1px; font-size: 8px; }
.navbar-nav { flex-wrap: wrap; }
@media (max-width: 700px) {
    .serial-intro { padding: 18px; margin-top: 16px; }
    .serial-intro p { font-size: 13px; }
    .serial-actions { gap: 12px 18px; }
    .section-heading { padding: 10px 13px; }
    .section-heading > p { margin-top: 5px; }
    .channel-card { padding: 13px 10px; }
    .channel-card span { font-size: 12px; }
    .serial-information { padding: 18px; }
}
