/* ============================================================
   ARCA TV — Televiziunea românilor de pretutindeni
   v5 "PLATFORM" — real streaming-service UI
   Bricolage Grotesque + Instrument Sans · billboard hero ·
   Top-5 numbered rail · content-first cards · minimal chrome
   ============================================================ */
:root {
  --bg: #0b0c10;
  --bg-2: #0f1116;
  --panel: #14161d;
  --panel-2: #1a1d26;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f5f6f8;
  --muted: #9aa1ad;
  --gold: #f2b93b;
  --gold-2: #ffd875;
  --red: #e33b47;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.6);
  --nav-h: 68px;
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(242, 185, 59, 0.35); }

.wrap { width: min(1320px, 94vw); margin: 0 auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

/* ---------- Navbar (platform chrome) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.92), rgba(6, 7, 10, 0.0));
  transition: background 0.35s;
}
.nav.scrolled {
  background: rgba(9, 10, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 26px; width: min(1400px, 95vw); margin: 0 auto; height: 100%; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  padding: 8px 13px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--gold);
}
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-clock {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  padding: 7px 13px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.nav-clock::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 9px var(--red);
  animation: blink 1.7s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s, border-color 0.16s, opacity 0.16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-white, .btn-gold, .btn-red {
  background: #fff; color: #0b0c10;
}
.btn-white:hover, .btn-gold:hover, .btn-red:hover { background: #e8eaee; box-shadow: 0 10px 32px rgba(255, 255, 255, 0.12); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.09); color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-soft); color: var(--text);
  transition: background 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.13); }
.icon-btn svg { width: 17px; height: 17px; }

.nav-burger { display: none; }

/* ---------- Billboard hero ---------- */
.billboard {
  position: relative;
  min-height: 86vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.bb-bg {
  position: absolute; inset: 0; z-index: -3;
  background-size: cover; background-position: center 22%;
  transform: scale(1.03);
}
.bb-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.bb-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 16, 0.96) 8%, rgba(11, 12, 16, 0.55) 48%, rgba(11, 12, 16, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 4%, rgba(11, 12, 16, 0.35) 38%, transparent 62%),
    linear-gradient(180deg, rgba(11, 12, 16, 0.5), transparent 26%);
}
.bb-content { max-width: 640px; padding: calc(var(--nav-h) + 60px) 0 64px; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.kicker::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold);
}
.billboard h1, .hero h1 {
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 800;
  margin-bottom: 20px;
}
.billboard h1 em, .hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.billboard p.lead, .hero p.lead {
  font-size: 17.5px; color: #c6ccd6;
  max-width: 540px; margin-bottom: 30px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat {
  padding: 10px 18px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  display: flex; align-items: baseline; gap: 8px;
}
.stat b {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ---------- Ticker (platform strip) ---------- */
.ticker {
  display: flex; align-items: stretch;
  background: rgba(9, 10, 14, 0.75);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}
.ticker .t-label {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  padding: 11px 22px;
  border-right: 1px solid var(--line-soft);
  z-index: 2;
}
.ticker .t-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker .t-track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker:hover .t-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker .t-track a {
  display: flex; align-items: center; gap: 11px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  padding: 11px 26px 11px 15px;
  white-space: nowrap;
  transition: color 0.2s;
}
.ticker .t-track a:hover { color: var(--text); }
.ticker .t-track a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Hero fake-live channel ---------- */
.bb-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 960px) { .bb-grid { grid-template-columns: 1.05fr 0.95fr; gap: 46px; } }

.bb-live {
  position: relative; align-self: center; width: 100%;
  border-radius: 14px; overflow: hidden;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.bb-live-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; background: #0a0c10; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #929cac;
}
.bb-live-top .bl-on { display: flex; align-items: center; gap: 7px; color: #ff5340; }
.bb-live-top .bl-on::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: liveblink 1.3s ease-in-out infinite;
}
.bb-live-top .bl-clock { font-variant-numeric: tabular-nums; }
@keyframes liveblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.28; } }

.bb-live-screen { position: relative; aspect-ratio: 16/9; background-size: cover; background-position: center; overflow: hidden; }
.bb-live-screen #liveFrame, .bb-live-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.bb-live-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0 1px, transparent 1px 3px);
}
.bb-live-lower { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: flex; flex-direction: column; gap: 3px; max-width: calc(100% - 24px); }
.bb-live-lower .ll-show {
  align-self: flex-start; background: #e2483d; color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px;
}
.bb-live-lower .ll-title {
  background: rgba(4, 5, 8, 0.82); color: #fff; font-size: 13px; font-weight: 600;
  padding: 5px 11px; border-radius: 5px; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  backdrop-filter: blur(4px);
}
.bb-live-play {
  position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 5, 8, 0.34); cursor: pointer; border: 0;
}
.bb-live-play span {
  width: 68px; height: 68px; border-radius: 50%; background: #e2483d; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.bb-live-play:hover span { transform: scale(1.08); }
.bb-live-play span svg { width: 26px; height: 26px; margin-left: 3px; }
.bb-live-sound {
  position: absolute; right: 10px; bottom: 10px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(4, 5, 8, 0.7); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff;
  display: none; align-items: center; justify-content: center;
}
.bb-live.is-playing .bb-live-sound { display: flex; }
.bb-live-sound svg { width: 17px; height: 17px; }
.bb-live-sound.on { background: #e2483d; border-color: #e2483d; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section-top5 { padding-top: 34px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 20px;
}
.section-kicker {
  display: block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.section-head h2 { font-size: clamp(22px, 2.7vw, 32px); }
.section-head .sub { color: var(--muted); font-size: 14px; margin-top: 5px; }
.see-all {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600;
  color: var(--muted); white-space: nowrap;
  transition: color 0.2s, gap 0.2s;
}
.see-all:hover { color: var(--gold); gap: 10px; }

/* ---------- Rails ---------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(248px, 23vw, 330px);
  gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15, 17, 22, 0.9); border: 1px solid var(--line); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  opacity: 0; transition: opacity 0.25s, background 0.2s;
}
.rail-wrap:hover .rail-btn { opacity: 1; }
.rail-btn:hover { background: #fff; color: #0b0c10; border-color: #fff; }
.rail-btn.prev { left: -14px; }
.rail-btn.next { right: -14px; }
.rail-btn svg { width: 18px; height: 18px; }

/* ---------- Top-5 numbered rail ---------- */
.rail-top { grid-auto-columns: clamp(300px, 27vw, 400px); padding-left: 10px; }
.top-card {
  position: relative; display: grid;
  grid-template-columns: 74px 1fr;
  align-items: end;
  transition: transform 0.25s;
}
.top-card:hover { transform: translateY(-6px); }
.top-card .num {
  font-family: var(--font-display);
  font-size: 120px; font-weight: 800; line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--bg);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.38);
  z-index: 2;
  transform: translateX(12px);
  transition: -webkit-text-stroke-color 0.25s, color 0.25s;
}
.top-card:hover .num { -webkit-text-stroke-color: var(--gold); }
.top-card .tc-thumb {
  display: block; aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.top-card .tc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.top-card:hover .tc-thumb img { transform: scale(1.05); }
.top-card .tc-meta {
  position: absolute; left: 86px; right: 12px; bottom: 10px;
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(9, 10, 14, 0.0), rgba(9, 10, 14, 0.72));
  pointer-events: none;
}
.top-card .tc-meta b { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.top-card .tc-meta i { font-style: normal; font-size: 12px; color: #cdd3dc; }

/* ---------- Show cards ---------- */
.show-card {
  position: relative; display: block;
  border-radius: var(--r); overflow: hidden;
  background: var(--panel);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s;
}
.show-card:hover { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow); z-index: 2; }
.show-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.show-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1); }
.show-card:hover .thumb img { transform: scale(1.06); }
.show-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(9, 10, 13, 0.72));
}
.show-card .ch {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: rgba(9, 10, 14, 0.72); color: #dfe3ea;
  backdrop-filter: blur(6px);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  padding: 4px 9px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.play-badge {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: #0b0c10;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px) scale(0.92);
  transition: opacity 0.22s, transform 0.22s;
}
.show-card:hover .play-badge { opacity: 1; transform: translateY(0) scale(1); }
.play-badge svg { width: 16px; height: 16px; margin-left: 2px; }
.show-card .meta { padding: 13px 15px 15px; }
.show-card .meta .tag {
  display: inline-block; margin-bottom: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.show-card .meta h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 3px; }
.show-card .meta .host { font-size: 13px; color: var(--muted); }
.show-card .meta .eps {
  font-size: 12px; color: var(--muted); margin-top: 7px;
  display: flex; align-items: center; gap: 7px;
  font-variant-numeric: tabular-nums;
}
.show-card .meta .eps::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Catalog ---------- */
.grid-shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 16px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 24px; }
.chip {
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid transparent;
  color: var(--muted); font-size: 13.5px; font-weight: 600;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.chip.active { background: #fff; color: #0b0c10; }
.search-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 13px 18px; max-width: 560px;
  transition: border-color 0.2s, background 0.2s;
}
.search-box:focus-within { border-color: rgba(242, 185, 59, 0.6); background: var(--panel-2); }
.search-box svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.search-box input {
  flex: 1; background: none; border: 0; outline: none;
  color: var(--text); font-size: 15px; font-family: inherit;
}
.search-box input::placeholder { color: var(--muted); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 62px) 0 44px;
  background:
    radial-gradient(800px 380px at 85% -10%, rgba(242, 185, 59, 0.07), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin-bottom: 12px; }
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 740px; }

/* ---------- Show detail (billboard) ---------- */
.show-hero {
  position: relative; padding: calc(var(--nav-h) + 120px) 0 56px;
  overflow: hidden;
}
.show-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center 20%;
}
.show-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 16, 0.95) 12%, rgba(11, 12, 16, 0.6) 50%, rgba(11, 12, 16, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(11, 12, 16, 0.3) 34%, transparent 60%);
}
.show-hero-grid { display: grid; grid-template-columns: 1fr; gap: 0; align-items: end; }
.show-hero .poster { display: none; }
.show-hero .tag {
  display: inline-block; margin-bottom: 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.show-hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; margin-bottom: 16px; max-width: 800px; }
.show-hero .credits { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; font-size: 14.5px; color: var(--muted); }
.show-hero .credits b { color: var(--text); font-weight: 600; }
.show-hero .desc { color: #c6ccd6; font-size: 16.5px; max-width: 620px; margin-bottom: 28px; }
.show-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* player + episodes */
.player-shell {
  border-radius: var(--r); overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  position: relative;
}
.player-shell iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-poster { position: absolute; inset: 0; cursor: pointer; }
.player-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.player-poster::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(460px 260px at center, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}
.player-poster .big-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.96); color: #0b0c10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.player-poster:hover .big-play { transform: translate(-50%, -50%) scale(1.08); }
.player-poster .big-play svg { width: 30px; height: 30px; margin-left: 4px; }
.now-playing { margin: 16px 2px 0; font-size: 15px; color: var(--muted); }
.now-playing b { color: var(--text); font-weight: 600; }

.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; margin-top: 26px; }
.ep-card {
  display: block; border-radius: var(--r-sm); overflow: hidden;
  background: var(--panel);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: left; padding: 0; color: var(--text);
  border: 1px solid transparent;
}
.ep-card:hover { transform: translateY(-4px); background: var(--panel-2); box-shadow: var(--shadow); }
.ep-card.active { border-color: var(--gold); }
.ep-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0a0c11; display: block; }
.ep-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-card .dur {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0, 0, 0, 0.85); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 5px;
  font-variant-numeric: tabular-nums;
}
.ep-card .t { font-size: 13.5px; font-weight: 500; line-height: 1.38; padding: 11px 13px 13px; color: #d8dce3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-card.active .t { color: var(--gold); }

/* ---------- Team ---------- */
.grid-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.team-card {
  border-radius: var(--r); overflow: hidden;
  background: var(--panel);
  transition: transform 0.22s, box-shadow 0.22s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card .photo { aspect-ratio: 5/6; overflow: hidden; background: #0a0c11; position: relative; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .photo img { transform: scale(1.04); }
.team-card .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 72%, rgba(9, 10, 13, 0.55));
}
.team-card .photo.mono {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 32%, rgba(242, 185, 59, 0.16), #0a0c11 78%);
  font-family: var(--font-display); font-size: 50px; font-weight: 800; color: var(--gold);
}
.team-card .info { padding: 14px 16px 16px; }
.team-card .info h3 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.team-card .info .loc { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.team-card .info .loc svg { width: 12px; height: 12px; color: var(--gold); flex: 0 0 auto; }
.team-card .info .role { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--gold); }

/* ---------- Feature blocks ---------- */
.grid-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.feat {
  background: var(--panel); border-radius: var(--r);
  padding: 28px 26px;
  transition: transform 0.2s, background 0.2s;
}
.feat:hover { transform: translateY(-4px); background: var(--panel-2); }
.feat .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(242, 185, 59, 0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--muted); }

/* ---------- Banner CTA ---------- */
.banner {
  position: relative; overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(700px 300px at 90% 12%, rgba(242, 185, 59, 0.14), transparent 60%),
    var(--panel);
  padding: clamp(34px, 5vw, 58px);
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.banner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 10px; }
.banner p { color: var(--muted); max-width: 560px; font-size: 15.5px; }
.banner .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { background: var(--panel); border-radius: var(--r); padding: 32px; }
.contact-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 18px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }
.contact-row a:hover { color: var(--gold); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 13px 16px; color: var(--text); font-size: 15px; font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: rgba(242, 185, 59, 0.6); }
.form-field textarea { min-height: 130px; resize: vertical; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7, 8, 11, 0.94); backdrop-filter: blur(14px);
  display: none; padding: 11vh 20px 40px;
  overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-panel { max-width: 740px; margin: 0 auto; }
.search-panel .search-box { max-width: none; margin-bottom: 22px; background: var(--panel-2); border-color: var(--line); }
.search-results { display: flex; flex-direction: column; gap: 8px; }
.sr-item {
  display: flex; gap: 16px; align-items: center;
  background: var(--panel); border-radius: var(--r-sm);
  padding: 10px; transition: background 0.2s, transform 0.2s;
}
.sr-item:hover { background: var(--panel-2); transform: translateX(4px); }
.sr-item img { width: 124px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.sr-item .t { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.sr-item .s { font-size: 12px; font-weight: 600; color: var(--gold); margin-top: 4px; }
.search-hint { text-align: center; color: var(--muted); font-size: 14.5px; padding: 30px 0; }
.search-close {
  position: fixed; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); color: var(--text);
  font-size: 20px;
}
.search-close:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 6, 9, 0.96); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.video-modal.open { display: flex; }
.video-modal .shell { width: min(1120px, 94vw); }
.video-modal .player-shell { aspect-ratio: 16/9; }
.video-modal .vm-title { margin-top: 14px; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.vm-close {
  position: fixed; top: 22px; right: 26px; z-index: 310;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.09); border: 1px solid var(--line); color: var(--text); font-size: 20px;
}
.vm-close:hover { background: var(--red); border-color: var(--red); }

/* ---------- Footer ---------- */
footer { margin-top: 60px; }
.footer-panel {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: all 0.2s;
}
.socials a:hover { background: #fff; color: #0b0c10; transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}

/* ---------- Utility ---------- */
.muted { color: var(--muted); }
.prose p { margin-bottom: 18px; color: #c6ccd6; font-size: 16.5px; }
.prose { max-width: 800px; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 52px; }
.center { text-align: center; }
.badge-soon {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: rgba(242, 185, 59, 0.12); border-radius: 6px; padding: 4px 11px;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { background: rgba(9, 10, 14, 0.9); backdrop-filter: blur(12px); }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; align-items: stretch;
    background: rgba(9, 10, 14, 0.98); border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-links a.active::after { display: none; }
  .nav-burger {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-soft); color: var(--text);
  }
  .nav-cta-desktop, .nav-clock { display: none; }
  .billboard { min-height: 78vh; }
  .bb-content { padding-top: calc(var(--nav-h) + 46px); }
  .show-hero { padding-top: calc(var(--nav-h) + 80px); }
  .hero-stats { gap: 8px; }
  .stat { padding: 8px 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 78vw; }
  .rail-top { grid-auto-columns: 88vw; }
  .top-card .num { font-size: 88px; }
  .banner { flex-direction: column; align-items: flex-start; }
}
