@charset "UTF-8";

/*
  GrandPashaBet Rehber — style.css (єдиний файл стилів)

  • Палітра — змінні в :root (hex-fallback + oklch у @supports).
  • Mobile First: базові стилі під 360px, брейкпоінти 768px (tablet) і 1024px (desktop).
  • Після змін збільште ?v=1 → ?v=2 у <link> на всіх сторінках (кеш статики — 1 рік).
*/

:root {
  --bg: #041020;
  --card: #091b31;
  --card2: #10253e;
  --line: #2b3e57;
  --text: #edf2f9;
  --muted: #aebcce;
  --accent: #f9cc21;
  --accent-ink: #091628;
  --green: #37bb62;
  --red: #c50516;
  --focus: #f9cc21;
  --accent-bg: rgba(249,204,33,.12);
  --green-bg: rgba(55,187,98,.12);
  --footer-bg: #020917;
  --fh: Unbounded,"Arial Black",system-ui,sans-serif;
  --fb: Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --r: 16px;
}

@supports (color: oklch(0.5 0.1 100)) {
  :root {
    --bg: oklch(0.17 0.04 255);
    --card: oklch(0.22 0.05 255);
    --card2: oklch(0.26 0.055 255);
    --line: oklch(0.36 0.05 255);
    --text: oklch(0.96 0.01 255);
    --muted: oklch(0.79 0.03 255);
    --accent: oklch(0.86 0.17 92);
    --accent-ink: oklch(0.2 0.04 255);
    --green: oklch(0.7 0.17 150);
    --red: oklch(0.52 0.21 27);
    --focus: oklch(0.86 0.17 92);
    --footer-bg: oklch(0.14 0.035 255);
  }
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 124px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--fb);
  overflow-wrap: break-word;
}

h1,h2,h3 {
  font-family: var(--fh);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  hyphens: auto;
}

h1 {
  font-weight: 900;
  font-size: clamp(1.55rem,6.2vw,2.75rem);
}

h2 {
  font-weight: 700;
  font-size: clamp(1.3rem,4.6vw,2rem);
}

h3 {
  font-weight: 700;
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-underline-offset: .18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 68ch;
}

.fine {
  font-size: .85rem;
  color: var(--muted);
}

.kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.todo {
  background: var(--accent-bg);
  outline: 1px dashed var(--accent);
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 .3em;
  color: var(--accent);
  font-weight: 700;
}

/* buttons / badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .7em 1.4em;
  border: 2px solid transparent;
  border-radius: 12px;
  font: 700 1rem/1.2 var(--fb);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  min-height: 44px;
  padding: .5em 1.1em;
  font-size: .95rem;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6em;
  padding: .2em .65em;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 800 .8rem/1.2 var(--fb);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* header (mobile: 2 rows; ≥768: 1 row) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hdr {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px 10px;
  padding-block: 8px;
}

.logo {
  grid-area: 1/1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 900 .85rem/1 var(--fh);
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.1;
}

.logo-text small {
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted);
}

.hdr-badge {
  grid-area: 1/2;
}

.hdr-cta {
  grid-area: 1/3;
}

.nav {
  grid-area: 2/1/3/4;
}

.nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li {
  flex: 1;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  background: var(--card);
}

/* hero */
.hero {
  padding: 28px 0 36px;
  background: radial-gradient(90% 70% at 90% 0%,rgba(249,204,33,.14),transparent 60%),linear-gradient(180deg,var(--card),var(--bg));
}

.hero-grid {
  display: grid;
  gap: 24px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 12px;
}

.bonus-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card2);
}

.bonus-amount {
  margin: 0 0 8px;
  font: 800 1.5rem/1.2 var(--fh);
  color: var(--accent);
}

.facts {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

/* technical pages: breadcrumbs, layout, E-E-A-T */
.page {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 24px;
  padding-bottom: 48px;
}

.page>* {
  min-width: 0;
}

.crumbs {
  padding-top: 12px;
  font-size: .9rem;
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.crumbs li {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.crumbs li+li::before {
  content: "›";
  margin-right: 8px;
}

.eeat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: .92rem;
}

.eeat dt {
  font-weight: 700;
  color: var(--text);
}

.eeat dd {
  margin: 0;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 84px;
  }
  .container {
    padding-inline: 24px;
  }
  .hdr {
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
  }
  .nav {
    grid-area: 1/2;
  }
  .hdr-badge {
    grid-area: 1/3;
  }
  .hdr-cta {
    grid-area: 1/4;
  }
  .nav ul {
    justify-content: flex-end;
  }
  .nav li {
    flex: 0 0 auto;
  }
  .nav a {
    padding: 0 14px;
    font-size: 1rem;
  }
  .hero {
    padding: 56px 0 64px;
  }
  .hero-grid {
    grid-template-columns: 1.25fr .75fr;
    align-items: start;
    gap: 32px;
  }
  .cta-row {
    flex-direction: row;
  }
  .page {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .page {
    grid-template-columns: minmax(0,1fr) 300px;
    align-items: start;
  }
  .page>.crumbs {
    grid-column: 1/-1;
  }
}

/* sections */
.section {
  padding: 36px 0;
}

.section-head {
  max-width: 70ch;
  margin-bottom: 24px;
}

.grid-3 {
  display: grid;
  gap: 16px;
}

.card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 48px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent);
}

.card h3 {
  margin-top: 8px;
}

.card p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: .9rem;
}

/* steps */
.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.steps li {
  position: relative;
  padding: 16px 16px 16px 68px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  counter-increment: s;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 1rem/1 var(--fh);
}

.steps strong {
  display: block;
  margin-bottom: 2px;
}

.steps span {
  color: var(--muted);
}

/* responsible gambling plate */
.rg {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--green);
  border-radius: var(--r);
  background: var(--green-bg);
}

.rg h2 {
  margin: 0;
  color: var(--green);
  font-size: 1.25rem;
}

.rg p {
  margin: 0;
}

.rg .btn {
  justify-self: start;
}

/* FAQ (native <details>) */
.faq details {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details:target {
  border-color: var(--accent);
}

.faq .ans {
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq .ans p:last-child {
  margin-bottom: 0;
}

.faq-group {
  margin: 28px 0 12px;
  font-size: 1.15rem;
}

.more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* content pages */
.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.2rem,4vw,1.6rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,.prose li {
  max-width: 75ch;
}

.prose ul,.prose ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: .5em;
}

.notice {
  margin: 1.5em 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--card);
}

.notice.green {
  border-color: var(--green);
}

.notice p {
  margin: 0;
}

.table-wrap {
  margin: 1em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

th,td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tr:last-child td,tr:last-child th {
  border-bottom: 0;
}

tbody th {
  background: none;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

th {
  background: var(--card2);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

caption {
  caption-side: bottom;
  padding: 10px 14px;
  color: var(--muted);
  font-size: .9rem;
  text-align: left;
}

/* aside cross-linking */
.side {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.side-title {
  margin: 0 0 10px;
  font: 800 1rem/1.3 var(--fb);
}

.side ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side a,.side .is-active {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.side a {
  color: var(--text);
}

.side a:hover {
  background: var(--card2);
}

.side .is-active {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

@media (min-width: 1024px) {
  .side {
    position: sticky;
    top: 96px;
  }
}

/* footer */
.site-footer {
  margin-top: 24px;
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
  color: var(--muted);
  font-size: .92rem;
}

.foot-grid {
  display: grid;
  gap: 28px;
}

.foot-title {
  margin: 0 0 8px;
  color: var(--text);
  font: 800 1rem/1.3 var(--fb);
}

.foot-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.legal {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.legal p {
  margin: 0;
}

.legal strong {
  color: var(--text);
}

.rg-mini {
  padding: 12px 14px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: var(--green-bg);
  color: var(--text);
}

.copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

@media (min-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .grid-3 {
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
  }
  .steps {
    grid-template-columns: repeat(2,1fr);
  }
  .rg {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px;
  }
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4,1fr);
  }
  .steps li {
    padding: 68px 16px 16px;
  }
  .steps li::before {
    top: 16px;
  }
}

/* cookie banner (position:fixed → без впливу на CLS) */
.cookie {
  position: fixed;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 90;
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card2);
  box-shadow: 0 8px 32px rgba(0,0,0,.55);
}

.cookie[hidden] {
  display: none;
}

.cookie p {
  margin: 0;
  font-size: .9rem;
}

.cookie .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie .btn {
  flex: 1 1 140px;
}
