/* ============================================================
   Parimatch satellite — style.css
   Brand: Parimatch | prefix: pm-
   Mobile-first · breakpoints 480 / 768 / 1024 / 1280
   ============================================================ */

:root {
  --pm-bg:        #0D0D0D;
  --pm-surface:   #1A1A1A;
  --pm-surface-2: #242424;
  --pm-border:    #2E2E2E;
  --pm-accent:    #EDFF00;
  --pm-accent-2:  #F0E500;
  --pm-text:      #FFFFFF;
  --pm-text-dim:  #A0A0A0;
  --pm-green:     #2F9E2F;
  --pm-radius:    20px;
  --pm-radius-sm: 10px;
  --pm-header-h:  70px;
  --pm-promo-h:   44px;
  --pm-maxw:      1280px;
  --pm-font:      "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", 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);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

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

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

h1, h2, h3 { font-family: var(--pm-font); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }

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

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

/* ---------- Header ---------- */
.pm-header {
  position: sticky; top: 0; z-index: 40;
  min-height: var(--pm-header-h);
  background: var(--pm-bg);
  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 img { height: 30px; width: auto; }

.pm-nav { display: none; }
.pm-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.pm-nav a {
  color: var(--pm-text); font-weight: 500; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.pm-nav a:hover { color: var(--pm-accent); }

.pm-dropdown { position: relative; }
.pm-dropdown__menu {
  position: absolute; top: 130%; left: 0; min-width: 190px;
  background: var(--pm-surface); border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm); padding: 8px;
  display: none; flex-direction: column; gap: 2px; z-index: 50;
}
.pm-dropdown:hover .pm-dropdown__menu { display: flex; }
.pm-dropdown__menu a { padding: 8px 12px; border-radius: 8px; }
.pm-dropdown__menu a:hover { background: var(--pm-surface-2); }

.pm-header__right { margin-left: auto; display: flex; align-items: center; gap: 10px; } .pm-menu-toggle {
   display: none;
   margin-left: auto;
   width: 44px;
   height: 44px;
   border: 1px solid var(--pm-border);
   border-radius: 12px;
   background: var(--pm-surface);
   color: var(--pm-text);
   align-items: center;
   justify-content: center;
   flex-direction: column;
   gap: 4px;
   cursor: pointer;
   padding: 0;
 }
 .pm-menu-toggle span {
   display: block;
   width: 20px;
   height: 2px;
   background: currentColor;
   border-radius: 999px;
   transition: transform .2s ease, opacity .2s ease;
 }
 .pm-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
 .pm-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
 .pm-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
 .pm-mobile-menu {
   display: none;
   position: fixed;
   top: var(--pm-header-h);
   left: 0;
   right: 0;
   z-index: 45;
   padding: 14px 16px 20px;
   background: rgba(13, 13, 13, 0.98);
   border-bottom: 1px solid var(--pm-border);
   backdrop-filter: blur(16px);
 }
 .pm-mobile-menu.is-open { display: block; }
 body.pm-menu-open { overflow: hidden; }
 .pm-mobile-menu__inner {
   display: flex;
   flex-direction: column;
   gap: 14px;
   background: var(--pm-surface);
   border: 1px solid var(--pm-border);
   border-radius: var(--pm-radius);
   padding: 16px;
 }
 .pm-mobile-nav ul {
   list-style: none;
   margin: 0;
   padding: 0;
   display: flex;
   flex-direction: column;
   gap: 8px;
 }
 .pm-mobile-nav a {
   display: block;
   padding: 10px 12px;
   border-radius: 10px;
   color: var(--pm-text);
   font-weight: 600;
   background: transparent;
 }
 .pm-mobile-nav a:hover { background: var(--pm-surface-2); color: var(--pm-accent); }
 .pm-mobile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* ---------- Buttons ---------- */
.pm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border-radius: var(--pm-radius); border: 1px solid transparent;
  font-family: var(--pm-font); font-weight: 700; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.pm-btn-primary { background: var(--pm-accent); color: #0D0D0D; }
.pm-btn-primary:hover { background: var(--pm-accent-2); color: #0D0D0D; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(237,255,0,.25); }
.pm-btn-secondary { background: transparent; color: var(--pm-text); border-color: var(--pm-border); }
.pm-btn-secondary:hover { border-color: var(--pm-accent); color: var(--pm-accent); }
.pm-btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }

/* ---------- Lang switcher ---------- */
.pm-lang { display: flex; align-items: center; gap: 4px; }
.pm-lang__item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  color: var(--pm-text-dim); font-weight: 600; font-size: 13px;
  border: 1px solid transparent;
}
.pm-lang__item:hover { color: var(--pm-text); background: var(--pm-surface); }
.pm-lang__item.is-active { color: #0D0D0D; background: var(--pm-accent); }
.pm-lang__item.is-active:hover { color: #0D0D0D; background: var(--pm-accent-2); }
.pm-flag { width: 20px; height: 14px; border-radius: 2px; display: block; overflow: hidden; }

.pm-icon { width: 20px; height: 20px; stroke: currentColor; fill: none; }

/* ---------- Hero ---------- */
.pm-hero { padding: 20px 0 12px; }
.pm-hero__banner {
  position: relative; border-radius: var(--pm-radius);
  overflow: hidden; min-height: 360px;
  background: radial-gradient(120% 140% at 80% 20%, #1f2a10 0%, #0d0d0d 60%), var(--pm-surface);
  display: flex; align-items: center;
}
.pm-hero__media { position: absolute; inset: 0; z-index: 0; }
.pm-hero__content { position: relative; z-index: 1; padding: 28px 24px; max-width: 620px; }
.pm-hero__banner::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.75) 45%, rgba(13,13,13,.25) 100%); }
.pm-hero__eyebrow { color: var(--pm-text-dim); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.pm-hero__content h1 { font-size: clamp(26px, 5vw, 44px); margin-top: 10px; }
.pm-hero__content p { color: #e8e8e8; font-size: 15px; margin: 14px 0 22px; }

/* ---------- Category tiles ---------- */
.pm-tiles { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 12px 0; }
.pm-tile {
  background: var(--pm-surface); border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm); padding: 22px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 20px; letter-spacing: .04em;
  transition: border-color .2s ease, transform .15s ease;
}
.pm-tile:hover { border-color: var(--pm-accent); transform: translateY(-2px); }
.pm-tile__dot { width: 38px; height: 38px; border-radius: 50%; background: var(--pm-accent); opacity: .85; }

/* ---------- Games strip ---------- */
.pm-section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 24px 0 12px; }
.pm-section-head h2 { font-size: 20px; margin: 0; }
.pm-section-head .pm-muted { color: var(--pm-text-dim); font-weight: 400; }

.pm-games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pm-game-card {
  border-radius: var(--pm-radius-sm); overflow: hidden;
  aspect-ratio: 5 / 3; background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  transition: transform .15s ease, border-color .2s ease;
}
.pm-game-card img { width: 100%; height: 100%; object-fit: cover; }
.pm-game-card:hover { transform: translateY(-3px); border-color: var(--pm-accent); }

/* ---------- Payments strip ---------- */
.pm-payments { margin: 28px 0; background: var(--pm-surface); border: 1px solid var(--pm-border); border-radius: var(--pm-radius); padding: 20px; }
.pm-payments h2 { font-size: 18px; }
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pm-chip { background: var(--pm-surface-2); border: 1px solid var(--pm-border); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: #e6e6e6; }
.pm-chip--accent { background: rgba(237,255,0,.12); border-color: rgba(237,255,0,.4); color: var(--pm-accent); }

/* ---------- Main article ---------- */
.pm-main { padding: 20px 0 40px; }
.pm-article { max-width: 860px; margin: 0 auto; }
.pm-article > p { color: #d7d7d7; margin: 0 0 18px; }
.pm-section { margin: 34px 0; }
.pm-section h2 { font-size: clamp(21px, 3vw, 28px); color: var(--pm-text); border-left: 4px solid var(--pm-accent); padding-left: 14px; }
.pm-section p { color: #d3d3d3; margin: 0 0 16px; }
.pm-section .pm-intro-lead { color: #eaeaea; font-size: 17px; }

.pm-list { margin: 8px 0 18px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.pm-list li { position: relative; padding-left: 26px; color: #d3d3d3; }
.pm-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--pm-accent); border-radius: 2px; }

/* Tables */
.pm-table-wrap { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--pm-border); border-radius: var(--pm-radius-sm); }
.pm-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.pm-table th, .pm-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--pm-border); font-size: 14px; }
.pm-table thead th { background: var(--pm-surface-2); color: var(--pm-accent); font-weight: 700; }
.pm-table tbody tr:last-child td { border-bottom: none; }
.pm-table tbody tr:hover { background: rgba(255,255,255,.02); }

/* ---------- Media placeholders ---------- */
.pm-media {
  margin: 22px 0; min-height: 220px; border-radius: var(--pm-radius);
  background: repeating-linear-gradient(45deg, #161616 0 22px, #1c1c1c 22px 44px);
  border: 2px dashed var(--pm-accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 20px;
}
.pm-media__id { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; color: var(--pm-accent); font-size: 15px; letter-spacing: .04em; }
.pm-media__hint { color: var(--pm-text-dim); font-size: 12px; }
.pm-media--hero { min-height: 100%; border: none; border-radius: 0; align-items: flex-end; justify-content: flex-end; padding: 16px; background: repeating-linear-gradient(45deg, #10160a 0 26px, #161c0d 26px 52px); }
.pm-media--hero .pm-media__id, .pm-media--hero .pm-media__hint { text-align: right; }

/* ---------- FAQ ---------- */
.pm-faq { margin: 20px auto 0; max-width: 860px; }
.pm-faq h2 { font-size: clamp(22px, 3vw, 30px); text-align: center; margin-bottom: 22px; }
.pm-faq__item { background: var(--pm-surface); border: 1px solid var(--pm-border); border-radius: var(--pm-radius-sm); margin-bottom: 10px; overflow: hidden; }
.pm-faq__item summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pm-faq__item summary::-webkit-details-marker { display: none; }
.pm-faq__item summary::after { content: "+"; color: var(--pm-accent); font-size: 22px; font-weight: 700; line-height: 1; transition: transform .2s ease; }
.pm-faq__item[open] summary::after { transform: rotate(45deg); }
.pm-faq__item p { margin: 0; padding: 0 20px 20px; color: var(--pm-text-dim); }

/* ---------- Footer ---------- */
.pm-footer { border-top: 1px solid var(--pm-border); background: #080808; padding: 40px 0 30px; margin-top: 20px; }
.pm-footer__top { display: flex; flex-direction: column; gap: 22px; }
.pm-footer__logo img { height: 26px; }
.pm-footer__links { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.pm-footer__links a { color: var(--pm-text-dim); font-weight: 500; font-size: 14px; }
.pm-footer__links a:hover { color: var(--pm-accent); }
.pm-footer__copy { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pm-border); color: var(--pm-text-dim); font-size: 13px; }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 480px) {
  .pm-tiles { grid-template-columns: repeat(3, 1fr); }
  .pm-games { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  body { font-size: 17px; }
  .pm-wrap { padding: 0 24px; }
  .pm-games { grid-template-columns: repeat(4, 1fr); }
  .pm-hero__banner { min-height: 420px; }
  .pm-hero__content { padding: 40px; }
}

@media (max-width: 1023px) {
  .pm-header__right .pm-btn,
  .pm-header__right .pm-lang {
    display: none;
  }
  .pm-menu-toggle {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .pm-nav { display: block; }
  .pm-games { grid-template-columns: repeat(6, 1fr); }
  .pm-menu-toggle,
  .pm-mobile-menu { display: none !important; }
}

@media (min-width: 1280px) {
  .pm-wrap { padding: 0 20px; }
}
