/* ============================================================
   Parimatch satellite — editorial review redesign
   Brand: black base + acid-yellow accent, pill buttons
   Prefix: pm-  ·  Mobile-first · 480 / 768 / 1024 / 1280
   ============================================================ */

:root {
  --pm-bg:        #0a0a0a;
  --pm-surface:   #141414;
  --pm-surface-2: #1a1a1a;
  --pm-surface-3: #242424;
  --pm-accent:    #e8ff00;
  --pm-accent-dim:#c8dd00;
  --pm-text:      #ffffff;
  --pm-muted:     #a6a6a6;
  --pm-muted-2:   #6f6f6f;
  --pm-border:    rgba(255,255,255,0.09);
  --pm-border-2:  rgba(255,255,255,0.16);
  --pm-radius:    20px;
  --pm-radius-sm: 12px;
  --pm-header-h:  70px;
  --pm-promo-h:   44px;
  --pm-maxw:      1240px;
  --pm-ff-head:   "Anton", "Montserrat", system-ui, sans-serif;
  --pm-ff-body:   "Roboto", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--pm-bg); color: var(--pm-text);
  font-family: var(--pm-ff-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pm-accent); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--pm-accent-dim); }

.pm-wrap { width: 100%; max-width: var(--pm-maxw); margin: 0 auto; padding: 0 16px; }

/* ---------- Promo bar ---------- */
.pm-promo {
  min-height: var(--pm-promo-h); background: var(--pm-accent); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 14px; text-align: center; padding: 8px 44px; position: relative;
}
.pm-promo__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #0a0a0a; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px;
}

/* ---------- Header ---------- */
.pm-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--pm-header-h);
  background: rgba(0,0,0,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--pm-border);
}
.pm-header__inner { min-height: var(--pm-header-h); display: flex; align-items: center; gap: 16px; }
.pm-logo { display: flex; align-items: center; }
.pm-logo img { height: 28px; width: auto; }

.pm-nav { display: none; }
.pm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.pm-nav__item { position: relative; }
.pm-nav__link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--pm-text);
  font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 8px; white-space: nowrap;
}
.pm-nav__link:hover { color: var(--pm-accent); background: var(--pm-surface); }
.pm-nav__caret { font-size: 10px; opacity: .7; }
.pm-nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--pm-surface-2);
  border: 1px solid var(--pm-border); border-radius: var(--pm-radius-sm); padding: 8px;
  list-style: none; margin: 6px 0 0; display: none; box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
.pm-nav__item:hover .pm-nav__sub { display: block; }
.pm-nav__sub a { display: block; color: var(--pm-text); font-size: 14px; padding: 9px 12px; border-radius: 8px; }
.pm-nav__sub a:hover { background: var(--pm-surface-3); color: var(--pm-accent); }

.pm-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pm-lang { display: flex; align-items: center; gap: 4px; }
.pm-lang__item {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--pm-muted); border: 1px solid transparent;
}
.pm-lang__item:hover { color: var(--pm-text); background: var(--pm-surface); }
.pm-lang__item.is-active { color: #0a0a0a; background: var(--pm-accent); }
.pm-lang__flag { width: 18px; height: 13px; border-radius: 2px; display: block; overflow: hidden; }
.pm-lang__label { display: none; }

/* ---------- Buttons ---------- */
.pm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; font-family: var(--pm-ff-body);
  font-size: 14px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.pm-btn:active { transform: translateY(1px); }
.pm-btn--primary { background: var(--pm-accent); color: #0a0a0a; }
.pm-btn--primary:hover { background: #f2ff4d; color: #0a0a0a; }
.pm-btn--ghost { background: transparent; color: var(--pm-text); border-color: var(--pm-border-2); }
.pm-btn--ghost:hover { border-color: var(--pm-accent); color: var(--pm-accent); }
.pm-btn--lg { min-height: 54px; padding: 0 36px; font-size: 16px; }
.pm-btn--block { width: 100%; }
.pm-header__actions .pm-btn { padding: 0 16px; min-height: 40px; }
.pm-header__actions .pm-btn--ghost { display: none; }

/* ---------- Mobile nav burger ---------- */
.pm-nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.pm-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; flex: none; border: 1px solid var(--pm-border-2); border-radius: 10px; cursor: pointer;
}
.pm-burger span { display: block; width: 18px; height: 2px; background: var(--pm-text); border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.pm-nav__mobile-actions { display: none; }

/* ---------- Rating stars ---------- */
.pm-stars { --v: 4.3; display: inline-block; font-size: 18px; line-height: 1; position: relative; letter-spacing: 2px; }
.pm-stars::before { content: "★★★★★"; color: rgba(255,255,255,.18); }
.pm-stars::after {
  content: "★★★★★"; color: var(--pm-accent); position: absolute; left: 0; top: 0; overflow: hidden;
  width: calc(var(--v) / 5 * 100%); white-space: nowrap;
}

/* ---------- HERO (review header) ---------- */
.pm-hero {
  position: relative; overflow: hidden; border-radius: var(--pm-radius); margin-top: 18px;
  border: 1px solid var(--pm-border);
  background: radial-gradient(130% 130% at 82% 12%, #26330f 0%, #0f0f0f 52%, #060606 100%);
}
.pm-hero__media { position: absolute; inset: 0; z-index: 0; }
.pm-hero::after {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: linear-gradient(90deg, rgba(6,6,6,.94) 0%, rgba(6,6,6,.62) 46%, rgba(6,6,6,.08) 78%);
}
.pm-hero__inner { position: relative; z-index: 2; padding: 34px 22px; }
.pm-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pm-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: rgba(232,255,0,.12); color: var(--pm-accent);
  border: 1px solid rgba(232,255,0,.3);
}
.pm-tag--muted { background: var(--pm-surface); color: var(--pm-muted); border-color: var(--pm-border); }
.pm-hero__title {
  font-family: var(--pm-ff-head); font-weight: 400; line-height: 1.02;
  font-size: clamp(28px, 6vw, 54px); text-transform: uppercase; margin: 0 0 16px; letter-spacing: .01em;
}
.pm-hero__sub { color: #d7d7d7; font-size: 16px; margin: 0 0 26px; max-width: 620px; }
.pm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pm-hero__rate { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.pm-hero__score {
  font-family: var(--pm-ff-head); font-size: 40px; line-height: 1; color: var(--pm-accent);
}
.pm-hero__score small { font-size: 16px; color: var(--pm-muted); }
.pm-hero__ratemeta { font-size: 13px; color: var(--pm-muted); }

/* ---------- Quick facts card ---------- */
.pm-facts {
  background: var(--pm-surface); border: 1px solid var(--pm-border); border-radius: var(--pm-radius);
  padding: 22px; margin-top: 14px;
}
.pm-facts__title {
  font-family: var(--pm-ff-head); text-transform: uppercase; font-weight: 400; font-size: 18px;
  margin: 0 0 14px; letter-spacing: .02em; color: var(--pm-accent);
}
.pm-facts__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.pm-facts__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--pm-border); font-size: 14px; }
.pm-facts__row:last-child { border-bottom: 0; }
.pm-facts__k { color: var(--pm-muted); }
.pm-facts__v { color: var(--pm-text); font-weight: 600; text-align: right; }

/* ---------- Content layout ---------- */
.pm-layout { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }

/* TOC / aside */
.pm-aside { display: none; }
.pm-toc { position: sticky; top: calc(var(--pm-header-h) + 16px); }
.pm-toc__title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-muted); margin: 0 0 12px; }
.pm-toc__list { list-style: none; margin: 0 0 22px; padding: 0; border-left: 2px solid var(--pm-border); }
.pm-toc__list a { display: block; color: var(--pm-muted); font-size: 13.5px; line-height: 1.4; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; }
.pm-toc__list a:hover { color: var(--pm-text); border-left-color: var(--pm-accent); }
.pm-toc__list a.is-active { color: var(--pm-accent); border-left-color: var(--pm-accent); font-weight: 700; }
.pm-cta-card {
  background: linear-gradient(150deg, #1c2606, var(--pm-surface)); border: 1px solid rgba(232,255,0,.25);
  border-radius: var(--pm-radius); padding: 20px; text-align: center;
}
.pm-cta-card h4 { font-family: var(--pm-ff-head); text-transform: uppercase; font-weight: 400; font-size: 20px; margin: 0 0 6px; }
.pm-cta-card p { color: var(--pm-muted); font-size: 13px; margin: 0 0 16px; }

/* ---------- Article ---------- */
.pm-article { max-width: 780px; }
.pm-article > p { color: #d0d0d0; margin: 0 0 18px; }
.pm-article strong { color: var(--pm-text); font-weight: 700; }
.pm-lead > p:first-of-type { font-size: 18px; color: #e4e4e4; }
.pm-article h2 {
  font-family: var(--pm-ff-head); text-transform: uppercase; font-weight: 400;
  font-size: clamp(22px, 4vw, 30px); margin: 46px 0 16px; line-height: 1.08; scroll-margin-top: calc(var(--pm-header-h) + 16px);
}
.pm-article h2::before { content: ""; display: block; width: 46px; height: 4px; background: var(--pm-accent); border-radius: 2px; margin-bottom: 16px; }

.pm-list { margin: 4px 0 24px; padding: 0; list-style: none; display: grid; gap: 2px; }
.pm-list li {
  position: relative; padding: 12px 14px 12px 42px; color: #d0d0d0;
  background: var(--pm-surface); border: 1px solid var(--pm-border); border-radius: var(--pm-radius-sm);
}
.pm-list li::before {
  content: "✓"; position: absolute; left: 14px; top: 12px; color: var(--pm-accent); font-weight: 800;
}

.pm-table-wrap { overflow-x: auto; margin: 6px 0 28px; border-radius: var(--pm-radius-sm); border: 1px solid var(--pm-border); }
.pm-table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 15px; }
.pm-table th, .pm-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--pm-border); }
.pm-table thead th { background: var(--pm-surface-2); color: var(--pm-accent); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.pm-table tbody tr:hover { background: var(--pm-surface); }
.pm-table td:first-child { color: var(--pm-text); font-weight: 600; width: 40%; }
.pm-table td { color: var(--pm-muted); }

.pm-media {
  margin: 10px 0 30px; border-radius: var(--pm-radius); overflow: hidden; border: 1px dashed var(--pm-border-2);
  background: repeating-linear-gradient(45deg, rgba(232,255,0,.05) 0 14px, transparent 14px 28px), var(--pm-surface-2);
  min-height: 240px; display: flex; align-items: center; justify-content: center; color: var(--pm-muted);
  font-size: 13px; letter-spacing: .05em; text-align: center; font-weight: 700; text-transform: uppercase; padding: 24px;
}

/* ---------- FAQ ---------- */
.pm-faq { max-width: 780px; }
details.pm-faq__item { border: 1px solid var(--pm-border); border-radius: var(--pm-radius-sm); margin-bottom: 10px; background: var(--pm-surface); overflow: hidden; }
details.pm-faq__item[open] { border-color: rgba(232,255,0,.3); }
.pm-faq__q {
  cursor: pointer; color: var(--pm-text); font-family: var(--pm-ff-body); font-size: 16px; font-weight: 700;
  padding: 18px 48px 18px 18px; position: relative; line-height: 1.4; list-style: none;
}
.pm-faq__q::-webkit-details-marker { display: none; }
.pm-faq__q::after { content: "+"; position: absolute; right: 18px; top: 15px; font-size: 24px; color: var(--pm-accent); transition: transform .2s ease; }
details[open] .pm-faq__q::after { content: "–"; }
.pm-faq__a { padding: 0 18px 20px; color: #cfcfcf; margin: 0; }

/* ---------- Section head ---------- */
.pm-section { margin-top: 52px; }
.pm-section__title { font-family: var(--pm-ff-head); text-transform: uppercase; font-weight: 400; font-size: clamp(22px, 4vw, 30px); margin: 0 0 18px; }
.pm-section__title::before { content: ""; display: block; width: 46px; height: 4px; background: var(--pm-accent); border-radius: 2px; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.pm-footer { margin-top: 66px; border-top: 1px solid var(--pm-border); background: #050505; }
.pm-footer__inner { padding: 40px 16px 30px; display: grid; gap: 24px; }
.pm-footer__logo img { height: 26px; }
.pm-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.pm-footer__nav a { color: var(--pm-muted); font-size: 14px; font-weight: 600; }
.pm-footer__nav a:hover { color: var(--pm-accent); }
.pm-footer__legal { color: var(--pm-muted-2); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pm-footer__age { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--pm-muted); color: var(--pm-text); font-weight: 800; font-size: 12px; flex: none; }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 480px) {
  .pm-lang__label { display: inline; }
  .pm-facts__grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .pm-facts__grid .pm-facts__row:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 768px) {
  .pm-wrap { padding: 0 24px; }
  .pm-hero__inner { padding: 48px 40px; max-width: 720px; }
  .pm-header__actions .pm-btn--ghost { display: inline-flex; }
}
@media (max-width: 1023.98px) {
  .pm-burger { display: flex; }
  .pm-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    background: var(--pm-surface-2); border-top: 1px solid var(--pm-border); border-bottom: 1px solid var(--pm-border);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .pm-nav-toggle:checked ~ .pm-nav { max-height: calc(100vh - var(--pm-header-h)); overflow-y: auto; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
  .pm-nav__list { flex-direction: column; gap: 0; padding: 10px 16px 0; }
  .pm-nav__link { width: 100%; padding: 13px 4px; border-radius: 0; }
  .pm-nav__sub {
    position: static; display: block; margin: 0 0 6px 4px; padding: 0; border: none;
    background: transparent; box-shadow: none;
  }
  .pm-nav__sub a { padding: 8px 10px; font-size: 13.5px; color: var(--pm-muted); }
  .pm-nav__mobile-actions { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-top: 1px solid var(--pm-border); margin-top: 6px; }
  .pm-nav-toggle:checked ~ .pm-header__actions .pm-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pm-nav-toggle:checked ~ .pm-header__actions .pm-burger span:nth-child(2) { opacity: 0; }
  .pm-nav-toggle:checked ~ .pm-header__actions .pm-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (min-width: 1024px) {
  .pm-nav { display: block; position: static; max-height: none; overflow: visible; background: none; border: none; }
  .pm-nav__mobile-actions { display: none; }
  .pm-burger { display: none; }
  .pm-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 48px; }
  .pm-aside { display: block; }
  .pm-facts__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .pm-wrap { padding: 0 32px; }
}
