:root {
  /* TBN logo colors: orange accent, blue secondary, on deep navy */
  --bg: #070b14;
  --bg-2: #0c1322;
  --card: #101a2d;
  --panel: linear-gradient(180deg, #0f1a30, #0a1120);
  --line: #1e2b45;
  --text: #eef0f5;
  --soft: #c6d4ee;
  --muted: #8a97b2;
  --accent: #f26a3d;
  --accent-2: #ff8a5c;
  --blue: #2f8fe0;
  --red: #e3262f;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, .5);
  --wrap: 1280px;
  --font: "Jost", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Noto Serif Armenian", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
/* Cormorant defaults to old-style figures, which sit oddly beside Armenian letters */
h1, h2, h3, .poster-title, .motto { font-variant-numeric: lining-nums; }
h1 { font: 400 clamp(1.8rem, 4vw, 2.9rem)/1.2 var(--serif); letter-spacing: .005em; }
h2 { font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.3 var(--serif); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { color: var(--accent-2); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin: .4em 0; }
.plain a { color: var(--muted); }
.plain a:hover { color: var(--accent-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, .82); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid rgba(30, 43, 69, .6);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
/* The official logo has dark-gray "ARMENIA" text, so it sits on a white badge */
.logo { display: inline-flex; align-items: center; flex: none; background: #fff; border-radius: 9px; padding: 4px 9px; }
.logo img { height: 40px; width: auto; }
.site-footer .logo img { height: 50px; }
.nav { display: flex; gap: 6px; margin: 0 auto; align-items: center; }
.nav a { white-space: nowrap; padding: 8px 12px; font-size: 15px; color: var(--text); opacity: .85; transition: color .2s, opacity .2s; }
.nav a:hover { opacity: 1; color: var(--accent-2); }
.nav a.active { color: var(--accent-2); opacity: 1; }
.nav a.nav-cta { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }
.nav a.nav-cta:hover { border-color: var(--accent); }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(227, 38, 47, .55); font-size: 14px; font-weight: 500;
  background: rgba(227, 38, 47, .1); transition: background .2s;
}
.live-pill:hover, .live-pill.active { background: rgba(227, 38, 47, .22); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Loading */
.loading { min-height: 60vh; display: grid; place-items: center; }
.loading span { width: 36px; height: 36px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
main { min-height: 70vh; outline: none; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Hero */
.hero { padding: 56px 0 40px; background: radial-gradient(900px 420px at 75% 30%, rgba(242, 106, 61, .09), transparent 65%), radial-gradient(700px 400px at 10% 10%, rgba(47, 143, 224, .16), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { display: block; }
.hero p.lead { font-size: 1.05rem; color: var(--muted); max-width: 44ch; margin: 0 0 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  font: 500 15px var(--font); transition: border-color .2s, background .2s, transform .15s;
}
.btn:hover { border-color: var(--accent); }
.btn.accent-btn { background: var(--accent); border-color: var(--accent); color: #000; }
.btn.accent-btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }

/* Ask / search bar */
.ask { position: relative; display: flex; align-items: center; gap: 10px; max-width: 520px; border: 1px solid rgba(242, 106, 61, .55); border-radius: 999px; padding: 6px 6px 6px 18px; background: rgba(7, 11, 20, .6); }
.ask::before { content: "✦"; color: var(--accent-2); font-size: 14px; }
.ask input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 15px var(--font); padding: 8px 0; }
.ask input:focus { outline: none; }
.ask input::placeholder { color: var(--muted); }
.ask button, .round-go { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: #000; cursor: pointer; font-size: 18px; display: grid; place-items: center; transition: background .2s; }
.ask button:hover, .round-go:hover { background: var(--accent-2); }

.discover { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.discover h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .2em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7, 11, 20, .35); color: var(--soft); font: 14px var(--font); cursor: pointer; transition: border-color .2s, color .2s; }
.chip:hover, .chip.active { border-color: var(--accent); color: var(--accent-2); }
.bigsearch { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 18px; background: rgba(7, 11, 20, .55); }
.bigsearch:focus-within { border-color: var(--accent); }
.bigsearch input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 17px var(--font); padding: 8px 0; }
.bigsearch input:focus { outline: none; }
.bigsearch .ico { width: 14px; height: 14px; border: 2px solid var(--accent-2); border-radius: 50%; position: relative; flex: none; }
.bigsearch .ico::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--accent-2); right: -4px; bottom: -6px; transform: rotate(-45deg); }

/* Player */
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .badge { position: absolute; top: 14px; left: 14px; z-index: 2; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(7, 11, 20, .7); backdrop-filter: blur(6px); color: #fff; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.12); }
.player-poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px;
  padding: 26px; cursor: pointer; border: 0; width: 100%; color: #fff; font-family: inherit; text-align: left;
  background: linear-gradient(90deg, rgba(3,12,15,.92) 0%, rgba(3,12,15,.55) 45%, rgba(3,12,15,.1) 100%), url("https://tbn.am/wp-content/uploads/2018/06/TBN-BANNER.jpg") center / cover;
}
.player-poster .poster-title { font: 400 clamp(1.2rem, 2.4vw, 1.75rem)/1.2 var(--serif); max-width: 16ch; }
.player-poster .poster-sub { color: var(--accent-2); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.poster-bar { display: flex; align-items: center; gap: 12px; margin-top: 10px; width: min(70%, 380px); }
.play-ico { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent-2); display: grid; place-items: center; flex: none; transition: background .2s; }
.play-ico::after { content: ""; border-left: 12px solid var(--accent-2); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.player-poster:hover .play-ico { background: rgba(242, 106, 61, .2); }
.poster-bar i { flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) 40%, rgba(255,255,255,.2) 40%); }
.player-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); }

/* Rows */
.section { padding: 30px 0; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.row-head h2 { margin: 0; padding-left: 12px; border-left: 3px solid var(--accent); line-height: 1.1; }
.row-head .tools { display: flex; align-items: center; gap: 8px; }
.row-head a.more { color: var(--muted); font-size: 14px; margin-right: 6px; }
.row-head a.more:hover { color: var(--accent-2); }
.arrow { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 16px; line-height: 1; transition: border-color .2s; }
.arrow:hover { border-color: var(--accent); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); } }
.rail.people { grid-auto-columns: 150px; gap: 22px; }
.rail.people .person img { width: 120px; margin: 0 auto; }
.rail.people .person small { font-size: .8rem; }

.grid { display: grid; gap: 22px 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 10px; }
.thumb { position: relative; aspect-ratio: 16 / 9; background: var(--card); overflow: hidden; border-radius: 10px; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.card:hover .thumb img { transform: scale(1.05); }
.card:hover .thumb { border-color: rgba(242, 106, 61, .6); }
.thumb .play-sm { position: absolute; left: 10px; bottom: 9px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--accent-2); background: rgba(0,0,0,.55); display: grid; place-items: center; }
.thumb .play-sm::after { content: ""; border-left: 9px solid var(--accent-2); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.thumb.noimg { display: grid; place-items: center; background: linear-gradient(135deg, #14223d, #0a1120); }
.thumb.noimg::after { content: "TBN"; font: 400 30px var(--serif); color: rgba(242, 106, 61, .35); letter-spacing: .12em; }
.card h3 { font: 500 1rem/1.4 var(--font); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { color: var(--accent-2); }
.card .src { font-size: .84rem; color: var(--muted); margin-top: -4px; }

/* Lists / filters */
.page-head { padding: 40px 0 8px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 26px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--soft); cursor: pointer; font: 14px var(--font); transition: border-color .2s, color .2s; }
.tab:hover { border-color: var(--accent); }
.tab.active { background: var(--accent); border-color: var(--accent); color: #000; }
.search { flex: 1; min-width: 200px; max-width: 380px; margin-left: auto; }
.search input { width: 100%; padding: 11px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: 15px var(--font); }
.search input:focus { outline: none; border-color: var(--accent); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font: 500 14px var(--font); }
.pager button:hover:not(:disabled) { border-color: var(--accent); }
.pager button.active { background: var(--accent); border-color: var(--accent); color: #000; }
.pager button:disabled { opacity: .35; cursor: default; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }

/* Article */
.article { max-width: 860px; margin: 0 auto; padding: 40px 24px 50px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent-2); }
.meta { font-size: .85rem; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .78rem; color: var(--accent-2); }
.article .cover { border-radius: var(--radius); overflow: hidden; margin: 22px 0 28px; border: 1px solid var(--line); }
.prose { font-size: 1.08rem; line-height: 1.85; color: #dde2ec; overflow-wrap: anywhere; }
.prose img { height: auto; border-radius: 10px; margin: 20px auto; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; margin: 20px 0; }
.prose p { margin: 0 0 1.1em; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Live */
.live-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 30px 0 46px; }
.side-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side-box + .side-box { margin-top: 16px; }
.side-box h3 { font: 400 1.2rem var(--serif); padding-left: 10px; border-left: 3px solid var(--accent); }
.mini { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mini:first-of-type { border-top: 0; }
.mini img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; flex: none; background: var(--card); }
.mini span { font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini:hover span { color: var(--accent-2); }

/* About / support */
.about-hero { padding: 60px 0 26px; text-align: center; }
.about-hero .eyebrow { justify-content: center; }
.about-hero .motto { font: 400 clamp(1.7rem, 4vw, 2.8rem)/1.2 var(--serif); color: var(--accent-2); margin: 0 auto; max-width: 22ch; }
.prose-wide { max-width: 860px; margin: 0 auto; font-size: 1.08rem; line-height: 1.85; color: #dde2ec; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 22px 18px; }
.person { text-align: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 2px solid var(--line); background: var(--card); transition: border-color .2s; }
.person:hover img { border-color: var(--accent); }
.person b { display: block; margin-top: 12px; font-weight: 500; }
.person small { color: var(--muted); display: block; line-height: 1.4; }
.ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 28px 0; }
.way { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.way h3 { font: 400 1.3rem var(--serif); color: var(--accent-2); }
.way p { margin: 0; color: var(--muted); }
.cta-box { background: radial-gradient(500px 200px at 50% 0%, rgba(242, 106, 61, .18), transparent 70%), var(--bg-2); border: 1px solid rgba(242, 106, 61, .4); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.cta-box h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; max-width: 1060px; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--soft); }
.field b { color: var(--accent); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font: 15px var(--font); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .btn:disabled { opacity: .6; cursor: wait; }
.form-msg { margin: 0; font-size: 14px; }
.form-msg.ok { color: #7fd1a0; }
.form-msg.err { color: #ff8f8f; }
.contact-side li { margin: 0 0 14px; }
@media (max-width: 860px) {
  .contact-grid, .field-row { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #05080f; margin-top: 40px; padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { margin: 0 0 12px; font: 400 1.15rem var(--serif); color: var(--text); }
.site-footer p { font-size: .92rem; margin-top: 14px; }
.copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Hero slider: a question pill wired to a featured video card */
.stage { position: relative; display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s;
}
.slide.active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.slide h1 { font: 500 clamp(1.9rem, 3.6vw, 3rem)/1.18 var(--font); letter-spacing: -.01em; margin-bottom: 34px; }
.slide h1 .accent { display: block; color: var(--accent); }
.q-pill {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; width: min(100%, 460px); margin-left: 8%;
  padding: 8px 8px 8px 20px; border-radius: 999px; border: 1.5px solid var(--accent); background: rgba(7, 11, 20, .85);
  color: var(--text); font: 16px var(--font); text-align: left; cursor: pointer; transition: box-shadow .25s;
}
.q-pill:hover { box-shadow: 0 0 0 6px rgba(242, 106, 61, .12); }
.q-pill .spark { color: var(--blue); font-size: 18px; }
.q-pill .q-text { flex: 1; min-height: 1.5em; }
.q-pill .q-text::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--accent-2); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.q-pill .q-go { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 20px; }
.hero-mark { margin: 46px 0 0 0; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.hero-mark .dot { background: var(--red); }

.feature {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: #000 center / cover no-repeat; box-shadow: var(--shadow); display: block; cursor: pointer; color: #fff;
}
.feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,11,20,.94) 0%, rgba(7,11,20,.7) 42%, rgba(7,11,20,.15) 75%, rgba(7,11,20,.35) 100%); transition: opacity .3s; }
.feature:hover::before { opacity: .85; }
.feature .f-text { position: absolute; left: 6%; top: 11%; right: 40%; }
.feature h3 { font: 500 clamp(1.15rem, 2.1vw, 1.75rem)/1.22 var(--font); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature .f-by { display: block; font: 600 13px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .14em; color: var(--accent-2); text-transform: uppercase; }
.feature .f-cat { display: block; margin-top: 4px; font: 12px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .1em; color: var(--soft); text-transform: uppercase; }
.feature .f-bar { position: absolute; left: 6%; right: 5%; bottom: 9%; display: flex; align-items: center; gap: 14px; }
.f-play { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(242, 106, 61, .25); }
.f-play::after { content: ""; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.f-bar i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.f-bar i b { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.slide.active .f-bar i b { animation: fill var(--slide-ms, 8s) linear forwards; }
.stage.paused .slide.active .f-bar i b { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.f-bar .f-time { font: 12px ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--soft); letter-spacing: .08em; white-space: nowrap; }
.feature .live-tag { position: absolute; right: 5%; top: 9%; }
.feature.playing { cursor: default; }
.feature.playing::before { display: none; }
.feature iframe, .feature video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feature.playing .badge { position: absolute; top: 14px; left: 14px; right: auto; z-index: 2; }
.feature .live-tag { position: absolute; z-index: 1; }

.wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.wire path { fill: none; stroke: rgba(198, 212, 238, .55); stroke-width: 1.5; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.wire.draw path { transition: stroke-dashoffset 1.1s ease .25s; stroke-dashoffset: 0; }

.dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(198, 212, 238, .35); cursor: pointer; transition: width .3s, background .3s; }
.dots button.active { width: 30px; background: var(--accent); }

@media (max-width: 980px) {
  .slide { grid-template-columns: 1fr; gap: 24px; }
  .slide h1 { margin-bottom: 20px; }
  .q-pill { margin-left: 0; }
  .wire, .hero-mark { display: none; }
}
@media (max-width: 520px) {
  .feature .f-text { right: 8%; }
  .feature h3 { -webkit-line-clamp: 2; }
  .q-pill { font-size: 14px; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .live-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid .player { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .live-pill { margin-left: auto; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; margin: 0;
  }
  .nav.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav a { padding: 12px 14px; font-size: 16px; border-radius: 10px; }
  .nav a.nav-cta { border-radius: 10px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 860px) {
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .header-row { gap: 12px; }
  .logo img { height: 34px; }
  .live-pill { padding: 7px 12px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .search { max-width: none; margin-left: 0; }
  .grid { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 78%; }
  .row-head .arrow { display: none; }
  .player-poster { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
