:root {
  --bg: #000;
  --bg-2: #0e0e0e;
  --card: transparent;
  --line: #1f1f1f;
  --text: #f5f5f5;
  --muted: #9b9b9b;
  --sky: #00afca;
  --gold: #f2c230;
  --tg: #2aabee;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { font: 800 19px/1 "Montserrat", sans-serif; text-decoration: none; letter-spacing: .02em; }
.logo span { color: var(--gold); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--tg); color: #fff; text-decoration: none;
  font-weight: 700; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 24px rgba(42, 171, 238, .3);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(42, 171, 238, .45); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn-lg { padding: 18px 32px; font-size: 18px; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(800px 400px at 85% -15%, rgba(242, 194, 48, .13), transparent 70%),
    radial-gradient(600px 300px at 0% 110%, rgba(242, 194, 48, .06), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: 40px; width: 360px; height: 360px;
  background: url("ornament.svg") center/contain no-repeat; opacity: .08; pointer-events: none;
}
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
h1, h2, h3 { font-family: "Montserrat", sans-serif; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.hero h1 { font-size: clamp(32px, 6vw, 60px); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 60ch; margin: 20px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { color: var(--muted); font-size: 14px; }

/* sections */
section { padding: 56px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
h2 { font-size: clamp(24px, 3.4vw, 34px); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 600; }
.search {
  width: 100%; max-width: 320px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  padding: 10px 16px; border-radius: 999px; font: inherit;
}
.search:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card .poster { border-radius: 10px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover .poster { transform: scale(1.03); box-shadow: 0 12px 32px rgba(0, 0, 0, .7), 0 0 0 2px var(--gold); }
.card:hover .card-title { color: var(--gold); }
.poster {
  position: relative; aspect-ratio: 2 / 3; container-type: inline-size; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(160deg, var(--c1), var(--c2));
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster::before {
  content: ""; position: absolute; inset: 0;
  background: url("ornament.svg") 120% -20%/80% no-repeat; opacity: .18;
}
.poster-title { position: relative; overflow-wrap: break-word; hyphens: auto; font: 700 clamp(13px, 10cqi, 22px)/1.15 "Montserrat", sans-serif; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.card-body { padding: 10px 2px 4px; }
.card-meta { color: var(--muted); font-size: 14px; }
.card-title { font-weight: 700; line-height: 1.3; margin-bottom: 2px; }
.card-kz { color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); display: none; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature b { display: block; font-family: "Montserrat", sans-serif; color: var(--gold); font-size: 28px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }

/* kazakh block */
.kz { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kz p { color: var(--muted); max-width: 70ch; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* cta band */
.cta {
  text-align: center; border-radius: 24px; padding: 48px 24px;
  background: radial-gradient(700px 260px at 50% 0%, rgba(242, 194, 48, .14), transparent 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.cta p { color: var(--muted); margin: 12px auto 28px; max-width: 50ch; }

/* film page */
.crumbs { color: var(--muted); font-size: 14px; padding-top: 24px; }
.crumbs a { color: var(--muted); }
.film { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 32px 0 56px; align-items: start; }
.film .poster { border-radius: var(--radius); }
.film .poster-title { font-size: clamp(18px, 10cqi, 30px); }
.film h1 { font-size: clamp(28px, 5vw, 48px); }
.film-kz { color: var(--gold); font-weight: 700; margin-top: 8px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 24px 0; color: var(--muted); }
.facts dt { color: var(--text); font-weight: 700; }
.facts dd { margin: 0; }
.film-desc { font-size: 18px; max-width: 62ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* sticky mobile cta */
.mobile-cta { display: none; }

@media (max-width: 720px) {
  .hero { padding: 48px 0 40px; }
  .hero::after { width: 220px; height: 220px; right: -80px; }
  section { padding: 40px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .poster-title { font-size: clamp(12px, 10cqi, 16px); }
  .card-body { padding: 8px 2px 4px; }
  .film { grid-template-columns: 1fr; gap: 24px; }
  .film .poster { max-width: 160px; }
  .top .btn-sm { display: none; }
  .search { max-width: none; }
  .mobile-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  }
  .mobile-cta .btn { width: 100%; justify-content: center; }
  body { padding-bottom: 88px; }
}

/* nav, badges, lists */
.nav { display: flex; gap: 20px; margin-left: auto; margin-right: 12px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--gold); color: #1a1405; font-weight: 700; font-size: 12px;
  padding: 4px 10px; border-radius: 999px;
}
.more { color: var(--gold); font-weight: 700; text-decoration: none; }
.list-head { padding: 24px 0 32px; }
.list-head h1 { font-size: clamp(28px, 5vw, 46px); }
.list-head .lead { margin: 14px 0 24px; }
select.chip { appearance: none; padding-right: 30px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239aa6b6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.facts a { color: var(--gold); text-decoration: none; }
.facts a:hover { text-decoration: underline; }
footer .wrap { flex-direction: column; }
.foot-links { line-height: 2; }
.foot-links b { color: var(--text); margin-right: 6px; }
.foot-links a { color: var(--muted); margin-right: 10px; text-decoration: none; white-space: nowrap; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .nav { margin-right: 0; gap: 14px; }
}

/* language switch */
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.lang b, .lang a { padding: 3px 9px; border-radius: 999px; }
.lang b { background: var(--text); color: var(--bg); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--text); }
.logo { white-space: nowrap; }
@media (max-width: 420px) {
  .nav .nav-catalog { display: none; }
  .nav { gap: 10px; font-size: 14px; }
}

.h1-year { color: var(--muted); font-weight: 600; }
