:root {
  --pm-bg: #000000;
  --pm-panel: #111111;
  --pm-panel-2: #1a1a1a;
  --pm-line: #262626;
  --pm-accent: #f8ff13;
  --pm-accent-2: #e8ff00;
  --pm-text: #ffffff;
  --pm-muted: #a0a0a0;
  --pm-header-h: 72px;
  --pm-promo-h: 44px;
  --pm-radius: 24px;
  --pm-radius-sm: 12px;
  --pm-maxw: 1280px;
  --pm-font-head: "Montserrat", system-ui, sans-serif;
  --pm-font-body: "Roboto", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { 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;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--pm-accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--pm-accent-2); }

h1, h2, h3 {
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }

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

/* ---------- Legal / static text pages (privacy, responsible gambling, about, contact) ---------- */
main > article {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}
main > article h1 { font-size: clamp(28px, 4.5vw, 44px); }

/* ---------- Promo bar ---------- */
.pm-promo {
  background: var(--pm-accent);
  color: #000;
  min-height: var(--pm-promo-h);
  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: #000;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

/* ---------- Header ---------- */
.pm-header {
  background: var(--pm-bg);
  border-bottom: 1px solid var(--pm-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.pm-header__inner {
  min-height: var(--pm-header-h);
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--pm-maxw);
  margin: 0 auto;
  padding: 10px 16px;
}
.pm-logo { flex: none; }
.pm-logo img { height: 22px; width: auto; }

@media (max-width: 479px) {
  .pm-header__inner { gap: 8px; padding: 8px 12px; }
  .pm-burger { flex-shrink: 0; padding: 4px 2px; }
  .pm-logo img { height: 16px; }
  .pm-header__actions { flex-shrink: 0; gap: 6px; }
  .pm-lang { gap: 0; }
  .pm-lang a { padding: 5px 6px; font-size: 12px; }
}
@media (max-width: 340px) {
  .pm-logo img { height: 12px; }
  .pm-header__inner { gap: 6px; padding: 8px 8px; }
  .pm-lang { gap: 0; }
  .pm-lang a { padding: 4px 5px; font-size: 11px; }
}

.pm-burger {
  background: none; border: 0; color: var(--pm-text);
  font-size: 24px; line-height: 1; cursor: pointer; padding: 4px; display: inline-flex;
}

.pm-nav { display: none; flex: 1; }
.pm-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; gap: 2px 14px; align-items: center;
}
.pm-nav__toggle {
  background: none; border: 0; cursor: pointer; font-family: inherit;
  color: var(--pm-text); font-size: 14px; font-weight: 500;
  padding: 8px 2px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.pm-nav__toggle:hover { color: var(--pm-accent); }
.pm-nav a {
  color: var(--pm-text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 2px;
  white-space: nowrap;
}
.pm-nav a:hover { color: var(--pm-accent); }

/* Dropdown */
.pm-nav__has-sub { position: relative; display: flex; align-items: center; }
.pm-nav__caretbtn {
  background: none; border: 0; cursor: pointer; color: var(--pm-text);
  padding: 8px 4px; display: inline-flex; align-items: center;
}
.pm-nav__caretbtn:hover { color: var(--pm-accent); }
.pm-nav__caret { font-size: 10px; opacity: .8; transition: transform .18s ease; }
.pm-nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--pm-panel-2);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: 6px 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  z-index: 50;
  animation: pm-drop .2s ease;
}
@keyframes pm-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.pm-nav__has-sub.is-open .pm-nav__sub { display: flex; flex-wrap: nowrap; gap: 4px; }
.pm-nav__has-sub.is-open .pm-nav__caret { transform: rotate(180deg); }
.pm-nav__sub li { width: auto; list-style: none; }
.pm-nav__sub a {
  display: block;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.pm-nav__sub a:hover { background: var(--pm-panel); color: var(--pm-accent); }

/* Footer support button */
.pm-support-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  background: var(--pm-panel-2);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  color: var(--pm-text);
  font-family: var(--pm-font-head);
  font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  font-size: 15px;
  transition: transform .15s ease, border-color .18s ease, box-shadow .18s ease;
}
.pm-support-btn svg { color: var(--pm-accent); flex: none; }
.pm-support-btn:hover { transform: translateY(-2px); border-color: var(--pm-accent); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.5); }

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

/* CTA block inside mobile nav */
.pm-nav__cta { display: none; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--pm-line); }
.pm-nav.is-open .pm-nav__cta { display: flex; }
.pm-nav.is-open .pm-nav__cta .pm-btn { flex: 1; }

/* Lang switcher */
.pm-lang { display: flex; align-items: center; gap: 2px; }
.pm-lang a {
  color: var(--pm-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
  letter-spacing: .04em;
}
.pm-lang a:hover { color: var(--pm-text); }
.pm-lang a.is-active { color: #000; background: var(--pm-accent); }

/* Buttons */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--pm-radius);
  font-family: var(--pm-font-head);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.pm-btn--primary { background: var(--pm-accent); color: #000; }
.pm-btn--primary:hover { background: var(--pm-accent-2); color: #000; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(248,255,19,.28); }
.pm-btn--ghost { background: var(--pm-panel-2); color: var(--pm-text); }
.pm-btn--ghost:hover { background: #2a2a2a; color: #fff; transform: translateY(-1px); }
.pm-btn--lg { min-height: 52px; padding: 0 32px; font-size: 17px; }

.pm-header__actions .pm-btn { padding: 0 16px; min-height: 40px; display: none; }

/* ---------- Hero ---------- */
.pm-hero { padding: 20px 0 8px; }
.pm-hero__banner { position: relative; border-radius: 16px; overflow: hidden; display: block; background: var(--pm-panel); }
.pm-hero__banner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 100%); pointer-events: none; }
.pm-hero__content { position: absolute; inset: 0; z-index: 2; padding: 28px 24px 34px; max-width: 640px; display: flex; flex-direction: column; justify-content: flex-end; }
.pm-hero__content h1 { font-size: clamp(28px, 6vw, 52px); }
.pm-hero__sub { color: var(--pm-text); font-size: clamp(15px, 2.4vw, 19px); max-width: 560px; margin-bottom: 20px; }
.pm-hero__eyebrow {
  display: inline-block;
  font-family: var(--pm-font-head);
  font-weight: 800; font-style: italic; text-transform: uppercase;
  color: var(--pm-accent);
  font-size: clamp(34px, 8vw, 72px);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 2px 30px rgba(248,255,19,.25);
}

/* ---------- Media placeholders ---------- */
.pm-media {
  border-radius: var(--pm-radius-sm);
  border: 1px dashed rgba(248,255,19,.4);
  background:
    repeating-linear-gradient(45deg, rgba(248,255,19,.05) 0 12px, transparent 12px 24px),
    var(--pm-panel-2);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--pm-muted);
  margin: 8px 0 24px;
  padding: 24px;
}
.pm-media__tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--pm-accent);
  background: rgba(248,255,19,.08);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .04em;
}
.pm-media__hint { font-size: 12px; }
.pm-media--filled { border: 0; background: none; padding: 0; min-height: 0; display: block; overflow: hidden; }
.pm-media--filled img { width: 100%; height: auto; display: block; border-radius: var(--pm-radius-sm); }
.pm-media--filled:hover { transform: none; border: 0; }
[id$="_MEDIA_HERO"] {
  position: static; margin: 0; border: 0; border-radius: 0;
  background: var(--pm-panel); z-index: 1; height: 580px;
  display: block; padding: 0;
}
[id$="_MEDIA_HERO"] .pm-media__tag,
[id$="_MEDIA_HERO"] .pm-media__hint { display: none; }
[id$="_MEDIA_HERO"] img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; border-radius: 0; }

@media (max-width: 767px) {
  /* Split into two independently-framed cards instead of one overlaid banner: on narrow
     screens the title/subtitle/button need more vertical room than a fixed-height overlay
     can safely give them, so text gets its own card (read first), image its own frame below. */
  .pm-hero__banner {
    display: flex; flex-direction: column; gap: 14px;
    background: none; border-radius: 0; overflow: visible;
  }
  .pm-hero__banner::after { display: none; }

  .pm-hero__content {
    position: static;
    inset: auto;
    z-index: auto;
    order: 1;
    max-width: 100%;
    padding: 22px 20px 26px;
    background: var(--pm-panel-2);
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-radius-sm);
  }
  .pm-hero__sub { max-width: 100%; }

  [id$="_MEDIA_HERO"] {
    position: relative; height: 240px; min-height: 0; order: 2;
    border: 1px solid rgba(248,255,19,.4);
    border-radius: var(--pm-radius-sm);
    overflow: hidden;
  }
  [id$="_MEDIA_HERO"] img { object-position: center 35%; border-radius: inherit; }
}

@media (max-width: 380px) {
  [id$="_MEDIA_HERO"] { height: 200px; min-height: 0; }
}

.pm-media img { width: 100%; height: auto; border-radius: inherit; }

/* ---------- Main content ---------- */
.pm-main { padding: 24px 0 40px; }
.pm-intro { color: var(--pm-text); }
.pm-intro p:first-child { font-size: 18px; }

.pm-section { padding: 26px 0; border-top: 1px solid var(--pm-line); }
.pm-section:first-of-type { border-top: 0; }
.pm-section h2 { font-size: clamp(22px, 4vw, 32px); color: var(--pm-text); }
.pm-section h2 .pm-accent { color: var(--pm-accent); }
.pm-section h3 {
  font-size: 18px; color: var(--pm-accent); text-transform: none; font-style: normal;
  font-weight: 700; margin-top: 1.4em;
}
.pm-section p { color: var(--pm-muted); }

/* Lists */
.pm-list { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; gap: 8px; }
.pm-list li {
  position: relative; padding-left: 26px; color: var(--pm-text);
}
.pm-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; background: var(--pm-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Tables */
.pm-tablewrap { margin: 6px 0 22px; border-radius: var(--pm-radius-sm); border: 1px solid var(--pm-line); overflow: hidden; }
.pm-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pm-table th, .pm-table td { text-align: left; padding: 12px 14px; font-size: 14px; overflow-wrap: anywhere; word-break: break-word; }
.pm-table thead th {
  background: var(--pm-accent); color: #000;
  font-family: var(--pm-font-head); font-style: italic; text-transform: uppercase; font-weight: 800;
  font-size: 13px;
}
.pm-table tbody tr { border-top: 1px solid var(--pm-line); }
.pm-table tbody tr:nth-child(even) { background: var(--pm-panel); }
.pm-table td { color: var(--pm-muted); }
.pm-table td:first-child { color: var(--pm-text); font-weight: 500; }

/* CTA strip */
.pm-ctastrip {
  margin: 28px 0;
  background: linear-gradient(90deg, var(--pm-accent), var(--pm-accent-2));
  border-radius: var(--pm-radius-sm);
  padding: 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between;
}
.pm-ctastrip h3 { color: #000; margin: 0; font-size: clamp(20px, 3.5vw, 28px); }
.pm-ctastrip .pm-btn--primary { background: #000; color: var(--pm-accent); }
.pm-ctastrip .pm-btn--primary:hover { background: #111; color: var(--pm-accent-2); }

/* ---------- FAQ ---------- */
.pm-faq { padding: 30px 0; border-top: 1px solid var(--pm-line); }
.pm-faq h2 { font-size: clamp(22px, 4vw, 32px); color: var(--pm-text); margin-bottom: 20px; }
.pm-faq details {
  background: var(--pm-panel);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.pm-faq summary {
  cursor: pointer; list-style: none; padding: 16px 20px;
  font-weight: 600; color: var(--pm-text); display: flex; justify-content: space-between; gap: 14px;
}
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq summary::after { content: "+"; color: var(--pm-accent); font-size: 22px; line-height: 1; }
.pm-faq details[open] summary::after { content: "\2212"; }
.pm-faq details[open] summary { background: var(--pm-panel-2); }
.pm-faq p { color: var(--pm-muted); padding: 4px 20px 18px; margin: 0; }

/* ---------- Footer ---------- */
.pm-footer { background: #060606; border-top: 1px solid var(--pm-line); padding: 40px 0 24px; }
.pm-footer__logo img { height: 22px; margin-bottom: 22px; }
.pm-footer__cols { display: grid; grid-template-columns: 1fr; gap: 28px; }
.pm-footer h4 {
  font-family: var(--pm-font-head); font-style: italic; text-transform: uppercase;
  font-weight: 800; font-size: 15px; color: var(--pm-text); margin: 0 0 14px;
}
.pm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-footer ul a { color: var(--pm-muted); font-size: 14px; }
.pm-footer ul a:hover { color: var(--pm-text); }
.pm-footer__bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--pm-line);
  color: var(--pm-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}
.pm-age { display: inline-flex; align-items: center; gap: 8px; }
.pm-age b { color: var(--pm-text); }

/* ---------- Breakpoints ---------- */
/* ---------- Scroll reveal + micro animations ---------- */
.pm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.pm-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pm-reveal { opacity: 1; transform: none; transition: none; }
  .pm-nav__sub, .pm-hero__content { animation: none !important; }
}
.pm-hero__content { animation: pm-drop .5s ease both; }
.pm-hero__eyebrow { animation: pm-glow 3.2s ease-in-out infinite; }
@keyframes pm-glow {
  0%, 100% { text-shadow: 0 2px 30px rgba(248,255,19,.25); }
  50% { text-shadow: 0 2px 44px rgba(248,255,19,.6); }
}
.pm-media { transition: border-color .25s ease, transform .25s ease; }
.pm-media:hover { border-color: var(--pm-accent); transform: translateY(-2px); }
.pm-list li { transition: transform .15s ease; }
.pm-list li:hover { transform: translateX(4px); }
.pm-list li:hover::before { background: var(--pm-accent-2); }

/* ---------- Mobile nav ---------- */
.pm-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--pm-panel);
  border-bottom: 1px solid var(--pm-line);
  padding: 10px 16px 16px;
  max-height: calc(100vh - var(--pm-header-h));
  overflow-y: auto;
  animation: pm-drop .22s ease;
}
.pm-nav.is-open > ul { flex-direction: column; flex-wrap: wrap; align-items: stretch; gap: 2px; }
.pm-nav.is-open .pm-nav__has-sub { flex-wrap: wrap; }
.pm-nav.is-open .pm-nav__toggle { flex: 1; }
.pm-nav.is-open .pm-nav__caretbtn { padding: 13px 10px; }
.pm-nav.is-open .pm-nav__sub { flex-basis: 100%; width: 100%; }
.pm-nav.is-open > ul > li > a,
.pm-nav.is-open .pm-nav__toggle {
  width: 100%; padding: 13px 6px; border-radius: 10px; font-size: 16px; justify-content: space-between;
}
.pm-nav.is-open > ul > li > a:hover,
.pm-nav.is-open .pm-nav__toggle:hover { background: var(--pm-panel-2); }
.pm-nav.is-open .pm-nav__sub {
  position: static; box-shadow: none; border: 0; padding: 0 0 6px 10px; animation: none;
}
.pm-nav.is-open .pm-nav__has-sub.is-open .pm-nav__sub { flex-direction: column; gap: 2px; }

@media (min-width: 480px) {
  .pm-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .pm-footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .pm-burger { display: none; }
  .pm-nav { display: block; }
  .pm-nav__cta { display: none !important; }
  .pm-header__actions .pm-btn { display: inline-flex; }
  .pm-footer__cols { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1280px) {
  .pm-nav > ul { gap: 2px 20px; }
}
