:root {
  color-scheme: light;
  /* Палитра оригинала (Wix 2022–2023, mancavegaming.net): фон сайта чёрный (--color_11 0,0,0), текст белый,
     ссылки и акцент в постах #d92b2b (--ricos-action-color), акцент темы #ff4700 (--color_18),
     логотип тёмно-красный. Шапка и подвал остаются чёрными, основная часть светлая (правило скилла).
     Заголовки Oswald (как в оригинале), интерфейс и текст Inter. Контраст: #d92b2b/белый 4.85, #b81f1f/белый 6.45. */
  --accent: #d92b2b;
  --accent-dark: #b81f1f;
  --hot: #ff4700;
  --tint: #fdf2f2;
  --tint-line: #f5d3d3;
  --ink: #0b0b0b;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --line: #ececec;
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --ui: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--ui); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 8px 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main > section.wrap { margin-top: 64px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* шапка: чёрная, как у оригинала, полоса акцента */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 3px solid var(--accent); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo img { width: 260px; height: auto; }
.menu { display: flex; gap: 4px; flex-wrap: wrap; }
.menu a { color: #f2f2f2; text-decoration: none; font: 500 15px/1 var(--ui); padding: 12px 12px; border-radius: 8px; }
.menu a:hover, .menu a[aria-current] { color: #fff; background: rgba(217, 43, 43, .35); }
.burger { display: none; background: none; border: 1px solid #444; color: #fff; font-size: 22px; border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 960px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; padding: 8px 20px 16px; border-bottom: 3px solid var(--accent); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 8px; }
  .logo img { width: 200px; }
}

/* кнопки, плашки */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none; font: 600 15px/1.2 var(--ui); border: 2px solid var(--accent); }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent-dark); }
.btn.ghost:hover { background: var(--tint); color: var(--accent-dark); }
.eyebrow, .kicker { font: 600 12px/1.4 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 6px; }
.chip { display: inline-block; font: 600 12px/1 var(--ui); text-decoration: none; color: var(--accent-dark); background: var(--tint); border: 1px solid var(--tint-line); padding: 7px 10px; border-radius: 999px; margin-bottom: 8px; }
.badge { display: inline-block; background: var(--accent); color: #fff; font: 600 12px/1 var(--ui); padding: 6px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }
.t { font-size: 19px; margin: 4px 0 6px; }
.t a { color: var(--ink); text-decoration: none; }
.t a:hover { color: var(--accent); }
.desc { color: #444; margin: 0; font-size: 15px; }

/* заголовок секции */
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--line); margin: 0 0 22px; position: relative; }
.head::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 72px; height: 3px; background: var(--accent); }
.head h2 { font-size: 26px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .02em; }
.head a { font: 600 14px var(--ui); text-decoration: none; padding: 10px 0; }

/* hero */
.hero { background: var(--tint); border-bottom: 1px solid var(--tint-line); padding: 52px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .lead { font-size: 18px; color: #333; max-width: 560px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-card { background: var(--card); border: 1px solid var(--tint-line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(217, 43, 43, .10); }
.hero-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--ink); }
.card-body { padding: 16px 18px 18px; }
.hero-card .t { font-size: 24px; margin-top: 10px; }

/* карточки и сетки */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover, .lead-card:hover { border-color: var(--tint-line); box-shadow: 0 8px 24px rgba(217, 43, 43, .10); }
.thumb { display: block; background: var(--ink); }
.thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ph { display: grid; place-items: center; aspect-ratio: 16/9; color: #fff; font: 600 20px var(--head); }
.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.lead-card { border: 1px solid var(--line); border-radius: 14px; padding: 0 0 20px; overflow: hidden; }
.lead-card > img, .lead-card > a > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--ink); margin-bottom: 14px; }
.lead-card > :not(a:first-child) { margin-left: 20px; margin-right: 20px; }
.lead-card .t { font-size: 26px; }
.rows { display: grid; gap: 14px; align-content: start; }
.row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.row img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: var(--ink); }
.row .t { font-size: 17px; margin: 0; }
.pop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pop-card { position: relative; }
.num { position: absolute; top: 10px; left: 10px; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font: 600 18px var(--head); }
.pop-card .t { font-size: 17px; }
.topics { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 14px; padding: 32px; }
.topics h2 { margin: 0 0 4px; font-size: 26px; text-transform: uppercase; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tint-line); color: var(--ink); text-decoration: none; font: 500 15px var(--ui); }
.pill small { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.pill:hover { border-color: var(--accent); }
.list { list-style: none; padding: 0; margin: 0; }
.list > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.wide-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.wide-row img { width: 200px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; background: var(--ink); }
.wide-row .t { margin-top: 0; }
.about { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 14px; padding: 32px; }
.about h2 { margin-top: 0; font-size: 28px; }
.facts { display: flex; gap: 32px; margin: 18px 0 22px; flex-wrap: wrap; }
.facts b { display: block; font: 600 36px/1 var(--head); color: var(--accent-dark); }

/* страницы и посты */
.page { max-width: 860px; margin: 0 auto; padding: 32px 20px 24px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.meta .chip { margin: 0; }
.note { background: var(--tint); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; font-size: 15px; }
.page .lead { font-size: 18px; }
.hub section { margin-top: 40px; }
.body { font-size: 17px; }
.body img { margin: 18px auto; border-radius: 10px; max-height: 640px; width: auto; }
.body h2 { font-size: 28px; margin-top: 36px; }
.body h3 { font-size: 22px; margin-top: 28px; }
.body table { display: block; overflow-x: auto; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; max-width: 100%; }
.body td, .body th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; min-width: 90px; }
.body tr:first-child td { background: var(--ink); color: #fff; font-weight: 600; }
.body tr:first-child td a { color: #ffb4b4; }
.body tr:nth-child(even) td { background: #fafafa; }
.body li p { margin: 4px 0; }
.related { margin: 48px auto 0; }

/* подвал: чёрный, как у оригинала */
.foot { background: var(--ink); color: #cfcfcf; border-top: 3px solid var(--accent); margin-top: 72px; padding: 40px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot p { margin: 12px 0 0; }
.foot a { color: #f2f2f2; text-decoration: none; display: inline-block; padding: 6px 0; }
.foot a:hover { color: #ff8a8a; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot .small { color: #9a9a9a; margin-top: 28px; }

@media (max-width: 900px) {
  .hero-grid, .feat, .foot-grid { grid-template-columns: 1fr; }
  .pop { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; }
  .pop-card { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .hero { padding: 32px 0; }
  .wide-row { grid-template-columns: 1fr; }
  .wide-row img { width: 100%; }
  .row { grid-template-columns: 96px 1fr; }
  .row img { width: 96px; }
  .about { grid-template-columns: 1fr; padding: 22px; }
  .about img { width: 120px; }
  .topics { padding: 22px; }
  main > section.wrap { margin-top: 48px; }
}
