/* ============================================================
   Parimatch CZ satellite — style.css
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1280
   Class prefix: pm-
   ============================================================ */

:root {
  --pm-bg:          #0A0A0A;
  --pm-surface:     #17171A;
  --pm-surface-2:   #1F1F23;
  --pm-surface-3:   #26262B;
  --pm-accent:      #F8FF13;
  --pm-accent-dim:  #d9e000;
  --pm-text:        #FFFFFF;
  --pm-text-muted:  #9A9A9A;
  --pm-odds:        #4DA8DA;
  --pm-border:      rgba(255,255,255,0.09);
  --pm-radius:      22px;
  --pm-radius-sm:   14px;
  --pm-header-h:    64px;
  --pm-promo-h:     44px;
  --pm-maxw:        1480px;
  --pm-font-head:   "Archivo", "Arial Narrow", system-ui, sans-serif;
  --pm-font-body:   "Hanken Grotesk", -apple-system, "Segoe UI", Helvetica, Arial, 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-font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

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); }

h1, h2, h3, h4 {
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-style: italic;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1rem; text-wrap: pretty; }

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

/* ---------- Buttons ---------- */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .16s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.pm-btn:hover { transform: translateY(-1px); }

.pm-btn--primary {
  background: var(--pm-accent);
  color: #0A0A0A;
  box-shadow: 0 6px 20px rgba(248,255,19,.18);
}
.pm-btn--primary:hover { background: #ffff3d; color: #0A0A0A; box-shadow: 0 10px 26px rgba(248,255,19,.32); }

.pm-btn--ghost {
  background: transparent;
  color: var(--pm-text);
  border-color: rgba(255,255,255,.28);
}
.pm-btn--ghost:hover { border-color: var(--pm-accent); color: var(--pm-accent); }

.pm-btn--lg { min-height: 52px; padding: 14px 34px; font-size: 16px; }

/* Shine sweep on primary buttons */
.pm-btn--primary { position: relative; overflow: hidden; }
.pm-btn--primary::before {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
.pm-btn--primary:hover::before { left: 140%; }

/* ---------- Promo bar ---------- */
.pm-promo {
  background: var(--pm-accent);
  color: #0A0A0A;
  min-height: var(--pm-promo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px 44px;
  text-align: center;
}
.pm-promo__text {
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 14px;
}
.pm-promo__close {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: 0;
  color: #0A0A0A;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.pm-promo.pm-hidden { display: none; }

/* ---------- Header ---------- */
.pm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0d0d0f;
  border-bottom: 1px solid var(--pm-border);
}
.pm-header__inner {
  min-height: var(--pm-header-h);
  display: flex;
  align-items: center;
  gap: 14px;
}
.pm-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.pm-logo img { height: 40px; width: auto; }

.pm-nav {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  min-width: 0;
  margin-left: 28px;
}
.pm-nav a {
  color: var(--pm-text);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex: 0 0 auto;
}
.pm-nav a:hover { color: var(--pm-accent); border-bottom-color: var(--pm-accent); }

/* Nav dropdown */
.pm-nav__drop { position: relative; flex: 0 0 auto; }
.pm-nav__droptoggle {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  color: var(--pm-text); font-size: 14px; font-weight: 600;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.pm-nav__droptoggle:hover { color: var(--pm-accent); }
.pm-nav__caret { font-size: 10px; color: var(--pm-text-muted); transition: transform .2s ease; }
.pm-nav__drop:hover .pm-nav__caret { transform: rotate(180deg); color: var(--pm-accent); }
.pm-nav__dropmenu {
  position: absolute; left: 0; top: calc(100% + 10px);
  background: var(--pm-surface-2);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  padding: 8px;
  min-width: 210px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
  z-index: 40;
}
.pm-nav__drop:hover .pm-nav__dropmenu,
.pm-nav__drop:focus-within .pm-nav__dropmenu { opacity: 1; visibility: visible; transform: translateY(0); }
.pm-nav__dropmenu a {
  padding: 10px 12px; border-radius: 9px; border-bottom: 0;
  font-size: 14px; font-weight: 600; color: var(--pm-text);
}
.pm-nav__dropmenu a:hover { background: var(--pm-surface-3); color: var(--pm-accent); }

.pm-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* Search */
.pm-iconbtn {
  background: none; border: 0; cursor: pointer;
  color: var(--pm-text-muted);
  display: inline-flex; padding: 6px;
  transition: color .18s ease;
}
.pm-iconbtn:hover { color: var(--pm-accent); }

/* Language switcher */
.pm-lang { position: relative; }
.pm-lang__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pm-surface-2);
  border: 1px solid var(--pm-border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--pm-text);
  cursor: pointer;
  min-height: 36px;
}
.pm-lang__flag { width: 20px; height: 14px; border-radius: 2px; display: block; overflow: hidden; }
.pm-lang__caret { color: var(--pm-text-muted); font-size: 10px; }
.pm-lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--pm-surface-2);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  padding: 6px;
  min-width: 120px;
  display: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.pm-lang.pm-open .pm-lang__menu { display: block; }
.pm-lang__item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--pm-text);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
}
.pm-lang__item:hover { background: var(--pm-surface-3); color: var(--pm-text); }
.pm-lang__item[aria-current="true"] { color: var(--pm-accent); }

/* Hamburger */
.pm-burger {
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  padding: 0;
}
.pm-burger span { width: 22px; height: 2px; background: var(--pm-text); border-radius: 2px; transition: .2s; }

.pm-login-desktop { display: none; }

/* Mobile drawer */
.pm-drawer {
  position: fixed; inset: 0;
  z-index: 60;
  display: none;
}
.pm-drawer.pm-open { display: block; }
.pm-drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.pm-drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(84%, 340px);
  background: #101013;
  border-right: 1px solid var(--pm-border);
  padding: 18px;
  overflow-y: auto;
}
.pm-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pm-drawer__list { display: flex; flex-direction: column; gap: 2px; margin: 0 0 18px; }
.pm-drawer__list a {
  color: var(--pm-text);
  font-weight: 600; font-size: 15px;
  padding: 12px 10px;
  border-radius: 10px;
}
.pm-drawer__list a:hover { background: var(--pm-surface-2); color: var(--pm-accent); }
.pm-drawer__group {
  padding: 14px 10px 6px;
  font-family: var(--pm-font-head);
  font-style: italic; font-weight: 800;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pm-text-muted);
}
.pm-drawer__list a.pm-drawer__sub { padding-left: 22px; font-size: 14px; }
.pm-drawer__cta { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Hero ---------- */
.pm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--pm-border);
  background: linear-gradient(180deg, #141416 0%, #0b0b0d 100%);
  min-height: clamp(340px, 46vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pm-hero__media {
  position: absolute; inset: 0;
  border: 0;
  background:
    radial-gradient(90% 120% at 82% 12%, rgba(248,255,19,.18), transparent 52%),
    repeating-linear-gradient(135deg, rgba(248,255,19,.04) 0 14px, transparent 14px 28px),
    var(--pm-surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: flex-start; justify-content: flex-end;
}
.pm-hero__medialabel {
  margin: 16px 18px;
  font: 700 11px/1 var(--pm-font-body);
  letter-spacing: .14em;
  color: rgba(248,255,19,.4);
}
.pm-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,10,.94) 0%, rgba(8,8,10,.72) 42%, rgba(8,8,10,.35) 100%);
}
.pm-hero__body {
  position: relative;
  max-width: 780px;
  padding-top: 56px;
  padding-bottom: 40px;
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.pm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.pm-hero__stats {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 34px;
}
.pm-hero__stats li {
  background: rgba(23,23,26,.85);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  padding: 16px 18px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  backdrop-filter: blur(6px);
}
.pm-hero__stats strong {
  font: 800 italic clamp(22px, 3vw, 30px)/1 var(--pm-font-head);
  color: var(--pm-accent);
}
.pm-hero__stats span { font-size: 12.5px; color: var(--pm-text-muted); margin-top: 6px; }

.pm-hero__eyebrow {
  display: inline-block;
  font: 800 italic 12px/1 var(--pm-font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pm-accent);
  background: rgba(248,255,19,.1);
  border: 1px solid rgba(248,255,19,.3);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.pm-hero__title { font-size: clamp(28px, 6vw, 52px); margin-bottom: 16px; }
.pm-hero__subtitle { color: #d8d8dc; font-size: clamp(15px, 2.2vw, 19px); max-width: 620px; margin-bottom: 26px; }

/* ---------- Category chips ---------- */
.pm-chips {
  display: flex; gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: auto;
  padding: 18px 16px;
  scrollbar-width: none;
  border-bottom: 1px solid var(--pm-border);
}
.pm-chips::-webkit-scrollbar { display: none; }
.pm-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--pm-text);
  font-weight: 600; font-size: 14px;
  min-height: 44px;
}
.pm-chip:hover { border-color: var(--pm-accent); color: var(--pm-accent); }

/* ---------- Main content ---------- */
.pm-main { padding: 40px 0 8px; }
.pm-intro { font-size: 17px; color: #cececf; }
.pm-intro p:first-child::first-letter {
  font-family: var(--pm-font-head);
  font-weight: 800; font-style: italic;
  font-size: 3em; line-height: .8;
  float: left; margin: 6px 12px 0 0;
  color: var(--pm-accent);
}

.pm-section { padding: 26px 0; border-top: 1px solid var(--pm-border); }
.pm-section:first-of-type { border-top: 0; }
.pm-section h2 {
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--pm-accent);
}
.pm-section p { color: #c7c7c9; }

.pm-list { list-style: none; padding: 0; margin: 8px 0 4px; display: grid; gap: 10px; }
.pm-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  color: #d5d5d7;
  font-size: 15px;
}
.pm-list li::before {
  content: "";
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--pm-accent);
}

/* Table */
.pm-table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--pm-radius-sm); border: 1px solid var(--pm-border); }
.pm-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.pm-table th, .pm-table td { padding: 14px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--pm-border); }
.pm-table thead th {
  background: var(--pm-surface-2);
  font-family: var(--pm-font-head); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; font-size: 12px;
  color: var(--pm-accent);
}
.pm-table tbody tr:last-child td { border-bottom: 0; }
.pm-table tbody tr:hover { background: var(--pm-surface); }
.pm-table td:first-child { color: #fff; font-weight: 600; }

/* Media placeholders */
.pm-media {
  margin: 22px 0;
  min-height: 240px;
  border-radius: var(--pm-radius);
  border: 2px dashed rgba(248,255,19,.35);
  background:
    repeating-linear-gradient(135deg, rgba(248,255,19,.05) 0 12px, transparent 12px 24px),
    var(--pm-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--pm-text-muted);
}
.pm-media__tag {
  font-family: var(--pm-font-body);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--pm-accent);
  font-size: 14px;
}
.pm-media__hint { font-size: 12px; color: var(--pm-text-muted); }
.pm-media--filled {
  border: 0;
  background: var(--pm-surface);
  padding: 0;
  overflow: hidden;
  min-height: 0;
}
.pm-media--filled img { width: 100%; height: auto; display: block; border-radius: var(--pm-radius); }

/* Inline content images on internal pages — same treatment as .pm-media--filled above:
   centered in the content column, rounded corners, never wider than the column. */
.pm-main img[style*="max-width:min(1024px"] {
  display: block;
  margin: 22px auto;
  border-radius: var(--pm-radius);
}
/* Portrait screenshots: cap the rendered height so tall images don't dominate the page */
img[src$="app22.webp"],
img[src$="app23.webp"],
img[src$="withdrawal19.webp"] {
  width: auto;
  max-height: 300px;
}

/* ---------- FAQ ---------- */
.pm-faq { padding: 30px 0 10px; border-top: 1px solid var(--pm-border); }
.pm-faq__item {
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.pm-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-family: var(--pm-font-head);
  font-weight: 800; font-style: italic;
  font-size: 16px;
  color: #fff;
}
.pm-faq__item summary::-webkit-details-marker { display: none; }
.pm-faq__item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; color: var(--pm-accent);
  transition: transform .2s ease;
}
.pm-faq__item[open] summary::after { content: "–"; }
.pm-faq__item[open] summary { color: var(--pm-accent); }
.pm-faq__answer { padding: 0 20px 20px; color: #c7c7c9; font-size: 15px; }

/* ---------- Internal linking (pm-deck) ---------- */
.pm-deck {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px 0;
  background: transparent; border: 0;
}
.pm-deck__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--pm-font-head); font-weight: 800; font-style: italic;
  font-size: 14px; letter-spacing: .3px;
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}
@keyframes pm-deck-glow {
  0%, 100% { box-shadow: 0 0 6px 0 rgba(248,255,19,.35); }
  50% { box-shadow: 0 0 22px 4px rgba(248,255,19,.65); }
}
.pm-deck__link:hover { transform: translateY(-2px); animation: pm-deck-glow 1.4s ease-in-out infinite; }
.pm-deck__link--primary { background: var(--pm-accent); color: #0A0A0A; }
.pm-deck__link--primary:hover { background: #ffff3d; }
.pm-deck__link--secondary { background: transparent; color: var(--pm-text); border-color: var(--pm-border); }
.pm-deck__link--secondary:hover { border-color: var(--pm-accent); color: var(--pm-accent); }
.pm-deck-more { padding: 26px 0; border-top: 1px solid var(--pm-border); }
.pm-deck-more__title { font-size: 18px; padding-left: 14px; border-left: 4px solid var(--pm-accent); margin-bottom: 14px; }
.pm-deck-more__list { display: grid; gap: 10px; }
.pm-deck-more__item {
  display: block; padding: 12px 16px;
  background: var(--pm-surface); border: 1px solid var(--pm-border); border-radius: 10px;
  color: var(--pm-text); font-size: 14px; font-weight: 600;
}
.pm-deck-more__item:hover { border-color: var(--pm-accent); color: var(--pm-accent); }

/* ---------- Article author card ---------- */
.article-author {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
}
.author-avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pm-accent);
  color: #0A0A0A;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pm-font-head); font-weight: 800; font-style: italic; font-size: 15px;
}
.author-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.author-name { color: var(--pm-text); font-weight: 700; font-size: 15px; }
.author-name:hover { color: var(--pm-accent); }
.author-role { color: var(--pm-text-muted); font-size: 13px; }
.author-cta { margin-left: auto; min-height: 38px; padding: 8px 20px; font-size: 13px; }

/* Author bio (about page) */
.author-bio {
  margin: 0 0 24px;
  padding: 22px 24px;
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-left: 4px solid var(--pm-accent);
  border-radius: var(--pm-radius-sm);
}
.author-bio__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--pm-font-head); font-weight: 800; font-style: italic;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--pm-accent);
}
.author-bio__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.author-bio__name { color: var(--pm-text); font-weight: 700; font-size: 16px; }
.author-bio p { color: #c7c7c9; font-size: 15px; }
.author-bio p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.pm-footer {
  background: #0d0d0f;
  border-top: 1px solid var(--pm-border);
  margin-top: 40px;
  padding: 40px 0 28px;
}
.pm-footer__top { display: flex; flex-direction: column; gap: 22px; }
.pm-footer__logo img { height: 40px; }
.pm-footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.pm-footer__links a { color: var(--pm-text-muted); font-size: 14px; font-weight: 600; }
.pm-footer__links a:hover { color: var(--pm-accent); }
.pm-footer__note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pm-border);
  color: var(--pm-text-muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.pm-footer__age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--pm-text-muted);
  color: var(--pm-text-muted);
  font-weight: 800; font-size: 13px;
  margin-right: 10px; vertical-align: middle;
}
.pm-footer__copy { margin-top: 14px; color: var(--pm-text-muted); font-size: 13px; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes pmFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pmPop { 0% { opacity: 0; transform: scale(.9); } 60% { transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pmFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pmPulseRing { 0% { box-shadow: 0 0 0 0 rgba(248,255,19,.4); } 70% { box-shadow: 0 0 0 14px rgba(248,255,19,0); } 100% { box-shadow: 0 0 0 0 rgba(248,255,19,0); } }

/* Hero entrance (staggered) */
.pm-hero__eyebrow { animation: pmFadeUp .6s .05s both; }
.pm-hero__title   { animation: pmFadeUp .6s .16s both; }
.pm-hero__subtitle{ animation: pmFadeUp .6s .28s both; }
.pm-hero__cta     { animation: pmFadeUp .6s .40s both; }
.pm-hero__stats li { animation: pmPop .5s both; }
.pm-hero__stats li:nth-child(1) { animation-delay: .50s; }
.pm-hero__stats li:nth-child(2) { animation-delay: .60s; }
.pm-hero__stats li:nth-child(3) { animation-delay: .70s; }
.pm-hero__stats li:nth-child(4) { animation-delay: .80s; }

/* Scroll reveal */
.pm-reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.pm-reveal.pm-in { opacity: 1; transform: none; }

/* Card / chip hover motion */
.pm-chip { transition: transform .18s ease, border-color .18s ease, color .18s ease; }
.pm-chip:hover { transform: translateY(-3px); }
.pm-list li { transition: transform .18s ease, border-color .18s ease; }
.pm-list li:hover { transform: translateX(4px); border-color: rgba(248,255,19,.35); }
.pm-hero__stats li:hover { transform: translateY(-4px); border-color: rgba(248,255,19,.35); }

/* Scroll-to-top */
.pm-top {
  position: fixed; right: 20px; bottom: 20px;
  z-index: 70;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--pm-accent);
  color: #0A0A0A;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .18s ease;
}
.pm-top.pm-show { opacity: 1; transform: none; pointer-events: auto; animation: pmPulseRing 2.4s ease-out 1s 2; }
.pm-top:hover { background: #ffff3d; transform: translateY(-3px); }
.pm-top svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pm-reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 480px) {
  .pm-container { padding-left: 20px; padding-right: 20px; }
  .pm-hero__body { padding-top: 68px; padding-bottom: 48px; }
}

@media (min-width: 768px) {
  body { font-size: 17px; }
  .pm-media { min-height: 300px; }
  .pm-footer__top { flex-direction: row; align-items: center; justify-content: space-between; }
  .pm-hero__body { padding-top: 96px; padding-bottom: 60px; }
  .pm-hero__stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (min-width: 1024px) {
  .pm-burger { display: none; }
  .pm-nav { display: flex; gap: 12px; }
  .pm-nav a, .pm-nav__droptoggle { font-size: 13px; }
  .pm-login-desktop { display: inline-flex; }
  .pm-logo img { height: 44px; }
  .pm-hero__body { padding-top: 116px; padding-bottom: 72px; }
}

@media (min-width: 1280px) {
  .pm-nav { gap: 20px; }
  .pm-nav a, .pm-nav__droptoggle { font-size: 14px; }
}

/* ============================================================
   Small-screen (phone) adaptation — up to 767px
   ============================================================ */
@media (max-width: 767px) {
  /* Buttons: full-width, comfortable tap targets — never exceed viewport */
  .pm-btn { width: 100%; max-width: 100%; box-sizing: border-box; }
  .pm-header__actions .pm-btn { width: auto; }              /* keep Sign Up compact in header */
  .pm-hero__cta { flex-direction: column; align-items: stretch; }
  .pm-hero__cta .pm-btn { width: 100%; }
  .pm-drawer__cta .pm-btn { width: 100%; }

  /* Header: keep everything inside the viewport */
  .pm-header__inner { gap: 6px; flex-wrap: nowrap; }
  .pm-logo img { height: 30px; }
  .pm-header__actions { gap: 4px; min-width: 0; }
  .pm-header__actions .pm-iconbtn { display: none; }        /* drop search to save room */
  .pm-header__actions .pm-btn--primary {
    padding: 8px 10px; font-size: 10.5px; min-height: 38px;
    white-space: nowrap; flex: 0 0 auto;
  }
  .pm-lang__toggle { padding: 5px 6px; min-height: 34px; }

  /* Images & media: never overflow, keep aspect on small screens */
  .pm-media { min-height: 180px; margin: 18px 0; }
  .pm-content-img, .pm-main img, .pm-section img { width: 100%; height: auto; border-radius: var(--pm-radius-sm); }
  /* ...except portrait screenshots, which stay height-capped on mobile too */
  img[src$="app22.webp"],
  img[src$="app23.webp"],
  img[src$="withdrawal19.webp"] {
    width: auto;
    max-width: 100%;
    max-height: 300px;
  }

  /* Tables: stack into rows — NO horizontal scroll */
  .pm-table-wrap { overflow: visible; border: 0; margin: 16px 0; }
  .pm-table { min-width: 0; width: 100%; border-collapse: collapse; display: block; }
  .pm-table thead { display: none; }
  .pm-table tbody, .pm-table tr, .pm-table td { display: block; width: 100%; box-sizing: border-box; }
  .pm-table tr {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius-sm);
    margin-bottom: 12px;
    padding: 6px 4px;
  }
  .pm-table td {
    border: 0;
    border-bottom: 1px solid var(--pm-border);
    padding: 10px 14px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    text-align: right;
  }
  .pm-table tr td:last-child { border-bottom: 0; }
  .pm-table td::before {
    content: attr(data-label);
    font-family: var(--pm-font-head);
    font-style: italic; font-weight: 800;
    text-transform: uppercase; letter-spacing: .03em;
    font-size: 11px;
    color: var(--pm-accent);
    text-align: left;
    flex: 0 0 auto;
  }
  .pm-table td:first-child { font-size: 15px; }

  /* Hero text scale */
  .pm-hero__title { font-size: clamp(26px, 8vw, 34px); }
  .pm-hero__subtitle { font-size: 15px; }
  .pm-hero__body { text-align: left; }
  .pm-hero__cta { justify-content: stretch; }

  /* Sections tighter */
  .pm-section { padding: 22px 0; }
  .pm-section h2 { font-size: clamp(20px, 6vw, 26px); }

  /* Chips: wrap into rows — no horizontal scroll */
  .pm-chips { flex-wrap: wrap; overflow-x: visible; padding: 14px 16px; }
  .pm-chip { flex: 0 0 auto; padding: 9px 15px; font-size: 13px; min-height: 40px; }

  /* Scroll-to-top smaller and clear of edges */
  .pm-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }

  /* FAQ summary padding for thumb */
  .pm-faq__item summary { padding: 16px 46px 16px 16px; font-size: 15px; }
}

@media (max-width: 380px) {
  .pm-logo img { height: 26px; }
  .pm-header__inner { gap: 4px; }
  .pm-header__actions { gap: 3px; }
  .pm-header__actions .pm-btn--primary { padding: 6px 7px; font-size: 9.5px; letter-spacing: 0; }
  .pm-lang__caret { display: none; }
  .pm-lang__toggle { padding: 4px 5px; }
}

@media (max-width: 340px) {
  .pm-burger { width: 32px; }
  .pm-logo img { height: 24px; }
}
