:root {
  color-scheme: dark;
  --bg: #070817;
  --bg-2: #101846;
  --panel: #101225;
  --panel-2: #171a31;
  --line: rgba(255, 214, 90, .22);
  --text: #f8f8ff;
  --muted: #c9cde8;
  --gold: #ffd65a;
  --red: #d90a2c;
  --red-2: #ff2448;
  --blue: #172b7c;
  --green: #20c77a;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: radial-gradient(circle at top right, rgba(21, 45, 141, .45), transparent 34rem), var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header { background: linear-gradient(180deg, #17206a, #121749); border-bottom: 1px solid rgba(255,255,255,.12); position: sticky; top: 0; z-index: 20; }
.brandbar { max-width: 1180px; margin: 0 auto; min-height: 86px; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; background: linear-gradient(135deg, #e5062f, #540819); border: 1px solid rgba(255, 214, 90, .8); box-shadow: inset 0 0 24px rgba(255, 214, 90, .25); }
.brand strong { font-size: 30px; line-height: 1; letter-spacing: 0; }
.brand small { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 8px; padding: 0 18px; font-weight: 800; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 26px rgba(0,0,0,.24); }
.btn-red { background: linear-gradient(180deg, var(--red-2), #a9001d); color: #fff; border-color: rgba(255, 214, 90, .58); }
.btn-gold { background: linear-gradient(180deg, #ffe27a, #c98b0c); color: #141014; border-color: rgba(255,255,255,.28); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; }
.btn-large { min-height: 50px; padding-inline: 24px; }
.main-nav { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; background: rgba(5, 8, 42, .38); border-top: 1px solid rgba(255,255,255,.08); overflow-x: auto; }
.main-nav a { padding: 13px 14px; font-size: 14px; font-weight: 800; color: #f3f4ff; white-space: nowrap; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--gold); border-color: var(--gold); }
main { overflow: hidden; }
.hero { max-width: 1180px; min-height: 520px; margin: 0 auto; padding: 70px 22px 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 34px; align-items: center; }
.section-label { margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: 0; }
.hero h1::first-line, .page-hero h1 { color: #fff; }
.hero-lead, .page-hero p { max-width: 690px; color: var(--muted); font-size: 18px; margin: 24px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.age-note { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 0 16px; color: var(--muted); background: rgba(255,255,255,.04); font-weight: 700; }
.hero-media { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #0c1026; }
.hero-media img { width: 100%; height: 430px; object-fit: cover; }
.stats-strip { max-width: 1180px; margin: 0 auto 18px; padding: 0 22px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats-strip div, .category-card, .info-card, .post-card, .detail-block, .side-panel { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.stats-strip div { padding: 18px; text-align: center; }
.stats-strip strong { display: block; color: var(--gold); font-size: 26px; line-height: 1; }
.stats-strip span { display: block; color: var(--muted); margin-top: 7px; font-size: 13px; }
.category-grid { max-width: 1180px; margin: 0 auto; padding: 0 22px 48px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.two-col .category-grid { max-width: none; margin: 0; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card { min-height: 168px; padding: 22px 18px; background: linear-gradient(180deg, #1d35a1, #111851); }
.category-card span { display: block; color: var(--gold); font-size: 34px; font-weight: 900; line-height: 1; text-shadow: 0 0 24px rgba(255, 214, 90, .5); }
.category-card strong { display: block; margin-top: 12px; font-size: 17px; }
.category-card em { display: block; margin-top: 8px; color: #dbe0ff; font-size: 13px; font-style: normal; }
.content-band, .split-section, .news-section, .detail-layout, .two-col { max-width: 1180px; margin: 0 auto; padding: 58px 22px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .6fr); gap: 28px; align-items: start; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: 0; }
p { color: var(--muted); }
.info-card { padding: 24px; }
.info-card table { width: 100%; border-collapse: collapse; }
.info-card th, .info-card td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; }
.info-card th { color: var(--gold); width: 38%; }
.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .8fr); gap: 34px; align-items: center; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.feature-image { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.text-link { display: inline-flex; color: var(--gold); font-weight: 900; margin-top: 8px; border-bottom: 1px solid currentColor; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { padding: 22px; }
.post-card span, .detail-block span { color: var(--gold); font-weight: 900; font-size: 13px; }
.post-card h3 { font-size: 23px; line-height: 1.16; margin: 8px 0 12px; }
.page-hero { max-width: 1180px; margin: 0 auto; padding: 72px 22px 42px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; color: var(--muted); }
.breadcrumb a { color: var(--gold); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.detail-main { display: grid; gap: 16px; }
.detail-block { padding: 28px; }
.detail-block h2 { font-size: 28px; margin-top: 8px; }
.side-panel { position: sticky; top: 154px; padding: 22px; }
.side-panel h2 { font-size: 24px; }
.side-panel a { display: block; padding: 11px 0; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.09); }
.side-panel a:hover { color: var(--gold); }
.responsible-box { margin-top: 18px; padding: 16px; border-radius: 10px; background: rgba(217,10,44,.14); border: 1px solid rgba(217,10,44,.34); color: #ffd7df; font-size: 14px; }
.site-footer { max-width: 1180px; margin: 34px auto 0; padding: 34px 22px 50px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }
.site-footer strong { color: #fff; }
.site-footer p { margin: 8px 0 0; max-width: 640px; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.site-footer a { color: var(--gold); font-weight: 800; }
@media (max-width: 980px) {
  .brandbar, .site-footer { align-items: flex-start; flex-direction: column; }
  .hero, .two-col, .split-section, .detail-layout { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col .category-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-strip, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media img { height: 320px; }
  .side-panel { position: static; }
}
@media (max-width: 620px) {
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1; padding-inline: 10px; font-size: 13px; }
  .brand strong { font-size: 24px; }
  .hero { padding-top: 46px; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .hero-lead, .page-hero p { font-size: 16px; }
  .category-grid, .stats-strip, .post-grid { grid-template-columns: 1fr; }
  .two-col .category-grid { grid-template-columns: 1fr; }
  .content-band, .split-section, .news-section, .detail-layout, .two-col { padding-block: 38px; }
}
