/* casinos-en-chile.cl — dark theme */
:root {
  --bg: #070d24;
  --bg-2: #0b1431;
  --panel: #0e1838;
  --panel-2: #132049;
  --line: rgba(110, 140, 255, .18);
  --line-2: rgba(110, 140, 255, .32);
  --text: #eef1fb;
  --muted: #aab3d1;
  --red: #ec2534;
  --red-2: #ff4150;
  --green: #1dbf57;
  --green-2: #27d867;
  --gold: #ffbf1f;
  --blue: #2f7bff;
  --purple: #8d5cff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--font);
  color: var(--muted);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47, 123, 255, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(141, 92, 255, .10), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: #ffd768; }
p { margin: 0 0 1em; }
strong, b { color: var(--text); font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- headings ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; }
h1 .accent { color: var(--red); }
h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; position: relative; padding-left: 18px; margin-top: .2em; }
h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--gold), var(--red)); }
h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 700; margin-top: 1.4em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 10px;
  font: 700 15px/1.2 var(--font); text-align: center; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: linear-gradient(180deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 6px 18px rgba(236, 37, 52, .35); }
.btn--red:hover { color: #fff; box-shadow: 0 8px 24px rgba(236, 37, 52, .5); }
.btn--green { background: linear-gradient(180deg, var(--green-2), var(--green)); color: #fff; box-shadow: 0 6px 16px rgba(29, 191, 87, .28); }
.btn--green:hover { color: #fff; box-shadow: 0 8px 22px rgba(29, 191, 87, .45); }
.btn--outline { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .55); }
.btn--outline:hover { color: #111; background: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 13, 36, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.header__logo { flex: none; }
.header__logo img { width: 150px; height: auto; }
.header__cta { margin-left: auto; min-height: 40px; padding: 8px 18px; font-size: 14px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; color: var(--text); font-weight: 600; font-size: 15px; border-radius: 8px; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--gold); }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: -8px; background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 6px; }
.nav__toggle .ico { transition: transform .2s; }
.nav__submenu {
  position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 8px; list-style: none;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.nav__submenu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: 15px; }
.nav__submenu a:hover, .nav__submenu a[aria-current="page"] { background: var(--panel-2); color: var(--gold); }
@media (hover: hover) and (min-width: 1025px) {
  .nav__item--sub:hover .nav__submenu, .nav__item--sub:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: none; }
  .nav__item--sub:hover .nav__toggle .ico { transform: rotate(180deg); }
}
.nav__item--sub.is-open .nav__submenu { opacity: 1; visibility: visible; transform: none; }
.nav__item--sub.is-open .nav__toggle .ico { transform: rotate(180deg); }
.header__burger { display: none; width: 44px; height: 44px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; position: relative; }
.header__burger span, .header__burger span::before, .header__burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; content: ""; }
.header__burger span { top: 21px; }
.header__burger span::before { left: 0; top: -6px; }
.header__burger span::after { left: 0; top: 6px; }
.header__burger[aria-expanded="true"] span { background: transparent; }
.header__burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-top: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--muted); opacity: .7; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- sections ---------- */
.main { display: block; }
.section { padding: 28px 0; }
.section--hero { padding: 36px 0 20px; }
.section > .container > :last-child { margin-bottom: 0; }

.main ul:not([class]), .main ol:not([class]) { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.main ul:not([class]) > li, .main ol:not([class]) > li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.main ul:not([class]) > li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2 6 9.6l4.5-4.8' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/100% no-repeat;
}
.main ol:not([class]) { counter-reset: n; }
.main ol:not([class]) > li { counter-increment: n; }
.main ol:not([class]) > li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 12px/20px var(--font); text-align: center; }

/* ---------- hero / text-image ---------- */
.text-image {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center;
  background: linear-gradient(135deg, rgba(19, 32, 73, .9), rgba(14, 24, 56, .9));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px;
}
.text-image > img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.text-image__content > :last-child { margin-bottom: 0; }
.text-image__content h2 { margin-top: 0; }
.text-image--hero { background: none; border: 0; padding: 0; gap: 40px; }
.text-image--hero h1 { margin-bottom: .45em; }
.text-image--hero p { color: #c9d0e8; font-size: 17px; }
.text-image--hero .btn { margin: 4px 0 18px; padding: 12px 28px; font-size: 16px; }
.text-image--hero > img { border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); }

/* chips (links list under hero) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 8px 0 0; padding: 0; }
.chips__item a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 14px;
}
.chips__item a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.chips__item a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- TOC ---------- */
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.toc details { padding: 6px 24px; }
.toc__title { cursor: pointer; list-style: none; padding: 12px 0; font: 700 18px/1.3 var(--font-head); color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.toc details[open] .toc__title::after { transform: rotate(-135deg); }
.toc__list { columns: 2; column-gap: 32px; margin: 0; padding: 4px 0 18px; list-style: none; counter-reset: toc; }
.toc__list li { break-inside: avoid; counter-increment: toc; padding: 5px 0 5px 34px; position: relative; }
.toc__list li::before { content: counter(toc); position: absolute; left: 0; top: 5px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); font: 600 12px/22px var(--font); text-align: center; }
.toc__list a { color: var(--muted); }
.toc__list a:hover { color: var(--gold); }

/* ---------- listing (top casinos) ---------- */
.listing-panel { background: rgba(14, 24, 56, .92); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 14px; margin-bottom: 24px; box-shadow: var(--shadow); }
.listing__head, .listing__item {
  display: grid; align-items: center; gap: 16px;
  grid-template-columns: 34px minmax(150px, 1.2fr) 150px minmax(170px, 1.3fr) minmax(170px, 1.3fr) 260px;
}
.listing__head { padding: 10px 12px; margin-bottom: 6px; background: var(--panel-2); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.listing { list-style: none; margin: 0; padding: 0; }
.listing__item { position: relative; padding: 12px; border-bottom: 1px solid var(--line); }
.listing__item:last-child { border-bottom: 0; }
.listing__item:hover { background: rgba(47, 123, 255, .06); }
.listing__item--top { background: linear-gradient(90deg, rgba(255, 191, 31, .10), transparent 60%); border-radius: 10px; }
.listing__label { position: absolute; top: -2px; left: 52px; padding: 2px 8px; border-radius: 0 0 6px 6px; background: var(--gold); color: #1a1300; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.listing__num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); font-weight: 700; font-size: 14px; }
.listing__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.listing__brand img { width: 84px; height: auto; border-radius: 8px; flex: none; }
.listing__name { margin: 0; color: var(--text); font-weight: 700; }
.listing__rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { --pct: 100%; position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: rgba(255, 255, 255, .18); }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: var(--gold); white-space: nowrap; }
.listing__score { color: var(--text); font-weight: 700; font-size: 14px; }
.listing__score span { color: var(--muted); font-weight: 400; }
.listing__bonus { margin: 0; color: var(--gold); font-weight: 700; font-size: 14px; line-height: 1.4; }
.listing__pros { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.4; }
.listing__pros li { position: relative; padding-left: 20px; margin: 2px 0; }
.listing__pros li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 6px; border-left: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(-45deg); }
.listing__actions { display: flex; gap: 8px; justify-content: flex-end; }
.listing__actions .btn { min-height: 38px; padding: 8px 14px; font-size: 13px; flex: 1; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--panel-2); color: var(--text); font-weight: 700; font-size: 14px; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.table--facts { min-width: 0 !important; }
.table--facts td:first-child { width: 38%; color: var(--text); font-weight: 600; white-space: nowrap; }

/* ---------- games grid ---------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; list-style: none; margin: 8px 0 28px; padding: 0; }
.game-card {
  position: relative; overflow: hidden; border-radius: 12px; background: var(--panel);
  border: 1px solid rgba(141, 92, 255, .55); box-shadow: 0 0 0 1px rgba(141, 92, 255, .15), 0 0 18px rgba(141, 92, 255, .25);
  transition: transform .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(141, 92, 255, .5), 0 0 26px rgba(141, 92, 255, .45); }
.game-card img { width: 100%; aspect-ratio: 213 / 120; object-fit: cover; }
.game-card__name { margin: 0; padding: 10px 12px; text-align: center; color: var(--text); font-weight: 700; font-size: 14px; line-height: 1.3; }

/* ---------- figure ---------- */
.custom-image { margin: 8px 0 24px; }
.custom-image img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- bonus list ---------- */
.bonus-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; list-style: none; margin: 8px 0 24px; padding: 0; }
.bonus-list__item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s; }
.bonus-list__item:hover { border-color: var(--line-2); }
.bonus-list__item-tag { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(236, 37, 52, .15); color: var(--red-2); border: 1px solid rgba(236, 37, 52, .35); }
.bonus-list__item--blue-tag .bonus-list__item-tag { background: rgba(47, 123, 255, .15); color: #7fb0ff; border-color: rgba(47, 123, 255, .4); }
.bonus-list__item-name { margin: 0 0 8px; color: var(--text); font: 700 17px/1.3 var(--font-head); }
.bonus-list__item-text { margin: 0; font-size: 14px; }

/* ---------- advantages list ---------- */
.advantages-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; list-style: none; margin: 8px 0 24px; padding: 0; }
.advantages-list__item { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.advantages-list__item-name { margin: 0 0 10px; font-size: 18px; }
.advantages-list__item p { font-size: 15px; }
.advantages-list__item > :last-child { margin-bottom: 0; }

/* ---------- steps ---------- */
.steps-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; margin: 8px 0 24px; padding: 0; }
.steps-list__item { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps-list__item-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); font-weight: 800; font-family: var(--font-head); }
.steps-list__item-title { margin: 4px 0 6px; color: var(--text); font-weight: 700; font-size: 16px; }
.steps-list__item-text { margin: 0; font-size: 14px; }

/* ---------- pros / cons ---------- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 24px; }
.pros, .cons { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 3px solid var(--green); }
.cons { border-top-color: var(--red); }
.pros-cons__title { margin: 0 0 12px; color: var(--text); font: 700 17px/1.3 var(--font-head); }
.pros__list, .cons__list { list-style: none; margin: 0; padding: 0; }
.pros__list li, .cons__list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15px; }
.pros__list li::before, .cons__list li::before { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.pros__list li::before { content: "+"; background: var(--green); }
.cons__list li::before { content: "–"; background: var(--red); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin: 8px 0 24px; }
.faq__item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--text); font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq__answer { padding: 0 20px 16px; }
.faq__answer > :last-child { margin-bottom: 0; }

/* ---------- contact form ---------- */
.contact-form { max-width: 720px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.contact-form__title { grid-column: 1 / -1; margin: 0; color: var(--text); font: 800 22px/1.2 var(--font-head); }
.contact-form__item { display: grid; gap: 6px; }
.contact-form__item:nth-of-type(3), .contact-form__item:nth-of-type(4) { grid-column: 1 / -1; }
.contact-form__label { color: var(--text); font-size: 14px; font-weight: 600; }
.contact-form__label._required::after { content: " *"; color: var(--red-2); }
.contact-form__input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 400 15px/1.4 var(--font); }
.contact-form__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 191, 31, .2); }
textarea.contact-form__input { resize: vertical; min-height: 120px; }
.contact-form__submit { justify-self: start; }
.contact-form__ok { grid-column: 1 / -1; margin: 0; color: var(--green-2); font-weight: 600; }

/* ---------- footer ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(5, 9, 26, .9); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-top: 32px; padding-bottom: 24px; }
.footer__brand img { width: 150px; }
.footer__rg { display: flex; align-items: center; gap: 14px; max-width: 520px; }
.footer__rg p { margin: 0; font-size: 14px; }
.footer__age { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--red); color: var(--text); font: 800 15px/1 var(--font-head); }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer__nav a { color: var(--muted); font-size: 14px; }
.footer__nav a:hover { color: var(--gold); }
.footer__bottom { padding-bottom: 24px; }
.footer__bottom p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.scroll-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.scroll-top:hover { color: var(--gold); border-color: var(--gold); }
.scroll-top[hidden] { display: none; }

/* ---------- восстановленные компоненты шаблона (igen) ---------- */
/* «чипсы» без ссылок — те же плашки, что и ссылки шаблона */
.chips__item > span {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 14px;
}
.chips__item > span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.section--hero .chips { margin-top: 20px; }
/* «текст + картинка» с картинкой слева */
.text-image--left { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.text-image > img { height: auto; }
/* своя картинка над текстом — не выше 460px */
.section .custom-image:not(.custom-image--band) img { max-height: 460px; object-fit: cover; }
/* широкая полоса-картинка над текстом раздела */
.custom-image--band img { aspect-ratio: 1136 / 325; object-fit: cover; box-shadow: var(--shadow); }
/* карточки (bonus-list) из общих блоков: ярлык — h3, название — p */
h3.bonus-list__item-tag { font-family: var(--font); line-height: 1.4; letter-spacing: 0; }
.bonus-list > .bonus-list__item:first-child .bonus-list__item-tag { background: rgba(47, 123, 255, .15); color: #7fb0ff; border-color: rgba(47, 123, 255, .4); }
.bonus-list__item > img { width: 100%; aspect-ratio: 213 / 120; object-fit: cover; border-radius: 10px; margin: 0 0 12px; }
/* шаги: номер в круге с градиентом, как акцент заголовков */
.steps-list__item-num { background: linear-gradient(180deg, var(--gold), var(--red)); border: 0; color: #fff; }
.steps-list__item-wrapper { min-width: 0; }
/* подсказка (callout) с иконкой подарка шаблона */
.rvcl-tip {
  margin: 8px 0 24px; padding: 16px 20px 16px 58px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: url("img/gift.webp") 18px 50% / 26px no-repeat, linear-gradient(90deg, rgba(236, 37, 52, .12), rgba(14, 24, 56, .9) 45%);
  color: var(--text);
}
@media (max-width: 760px) {
  .text-image--left { grid-template-columns: 1fr; }
  .chips { gap: 8px; }
  .chips__item > span { padding: 8px 12px; font-size: 13px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .listing__head { display: none; }
  .listing__item { grid-template-columns: 34px minmax(140px, 1fr) minmax(160px, 1.2fr) 220px; grid-template-areas: "num brand bonus actions" "num rating pros actions"; row-gap: 8px; }
  .listing__num { grid-area: num; } .listing__brand { grid-area: brand; } .listing__rating { grid-area: rating; }
  .listing__bonus { grid-area: bonus; } .listing__pros { grid-area: pros; } .listing__actions { grid-area: actions; flex-direction: column; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .header__burger { display: block; }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; padding: 16px 20px 40px; overflow-y: auto;
    background: var(--bg); border-top: 1px solid var(--line); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 14px 4px; font-size: 17px; }
  .nav__toggle { width: 44px; height: 44px; margin: 0; }
  .nav__submenu { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 0 0 12px; }
  .nav__item--sub.is-open .nav__submenu { display: block; }
  body.nav-open { overflow: hidden; }
  .text-image { grid-template-columns: 1fr; gap: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 20px 0; }
  .header__logo img { width: 124px; }
  .header__cta { display: none; }
  .header__burger { margin-left: auto; }
  .text-image { padding: 18px; }
  .text-image--hero { padding: 0; }
  .toc details { padding: 4px 16px; }
  .toc__list { columns: 1; }
  .listing-panel { padding: 8px; }
  .listing__item { grid-template-columns: 34px 1fr; grid-template-areas: "num brand" "rating rating" "bonus bonus" "pros pros" "actions actions"; padding: 18px 10px 14px; }
  .listing__actions { flex-direction: row; }
  .listing__label { left: 10px; }
  .pros-cons { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .table--facts td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
