/* ==========================================================================
   PayPeak Casinos — neon stylesheet
   1. Tokens
   2. Base & typography
   3. Buttons & helpers
   4. Header
   5. Hero
   6. Casino cards
   7. Sidebar
   8. Content blocks
   9. Tables, FAQ, myths
   10. CTA band & footer
   11. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --bg: #050B07;
  --bg-2: #08120C;
  --surface: #0C1710;
  --surface-2: #112018;
  --line: #1D3A28;
  --line-2: #172B1E;

  --neon: #57F03A;
  --neon-bright: #8CFF6B;
  --neon-dim: #2C9B24;

  --ink: #E9F7E7;
  --ink-soft: #A2BCA6;
  --ink-mute: #708D77;
  --on-neon: #04140A;

  --glow-s: 0 0 0 1px rgba(87, 240, 58, .16), 0 0 22px rgba(87, 240, 58, .10);
  --glow-m: 0 0 0 1px rgba(87, 240, 58, .30), 0 0 34px rgba(87, 240, 58, .20);
  --glow-btn: 0 6px 22px rgba(87, 240, 58, .35);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;

  --header-h: 76px;
  --maxw: 1240px;

  --f-display: "Archivo", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 2. Base & typography -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(900px 420px at 50% -140px, rgba(87, 240, 58, .16), transparent 70%),
    radial-gradient(700px 500px at 100% 12%, rgba(87, 240, 58, .05), transparent 70%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  text-align: center;
  font-family: var(--f-display);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: #fff;
}
h1 {
  font-size: clamp(2rem, 6vw, 3.3rem); font-weight: 800;
  text-shadow: 0 0 26px rgba(87, 240, 58, .35);
}
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: clamp(1.18rem, 2.6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.1em; max-width: 72ch; color: var(--ink-soft); }
a { color: var(--neon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--neon-bright); }
img, svg { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); font-weight: 700; }

ul, ol { list-style: none; padding: 0; margin: 0 0 1.2em; max-width: 72ch; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.45em; }
.prose li { margin-bottom: .5em; color: var(--ink-soft); }
.prose li::marker { color: var(--neon); }
.prose .tick-list, .prose .cross-list, .prose .faq, .prose .picks { list-style: none; padding-left: 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--neon); color: var(--on-neon); padding: 12px 18px;
}
.skip-link:focus { left: 0; }

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

/* 3. Buttons & helpers --------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 18px; }

.section { padding-block: 46px; }
.section--tight { padding-block: 28px; }
.section--panel { background: linear-gradient(180deg, var(--bg-2), transparent); }

.section-head { margin-bottom: 26px; }
.section-head p { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn--neon {
  background: linear-gradient(180deg, var(--neon-bright), #34D726);
  color: var(--on-neon); box-shadow: var(--glow-btn);
}
.btn--neon:hover { color: var(--on-neon); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(87, 240, 58, .5); }
.btn--ghost {
  background: rgba(87, 240, 58, .06); color: var(--neon);
  border-color: rgba(87, 240, 58, .35);
}
.btn--ghost:hover { background: rgba(87, 240, 58, .14); color: var(--neon-bright); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: .92rem; }

/* 4. Header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 11, 7, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.header.is-stuck { border-bottom-color: rgba(87, 240, 58, .28); }
.header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: center;
}
.brand { display: block; line-height: 0; }
.brand img { height: 42px; width: auto; }

/* Body copy fills the content column */
.prose p, .prose ul, .prose ol, .prose .callout,
.prose .tick-list, .prose .cross-list, .prose .table-scroll { max-width: none; }

/* Centred UI blocks */
.hero, .section-head, .cta-band, .figure figcaption,
.c-card, .info-card, .myth, .aside__box, .note, .footer__inner { text-align: center; }
.hero p, .section-head p, .cta-band p, .info-card p, .myth p, .note, .footer p { margin-inline: auto; }
.aside__item, .calc__row, .faq summary, .faq details p, .callout { text-align: left; }
.calc h3, .calc__note { text-align: center; }
.c-card__features li { text-align: center; }

/* 5. Hero ---------------------------------------------------------------- */
.hero { padding-block: 54px 46px; }
.hero h1 { margin-bottom: .5em; max-width: 18ch; margin-inline: auto; }
.hero__lede { font-size: 1.1rem; max-width: 64ch; }
.hero .btn { margin-top: 10px; }

/* 6. Casino cards -------------------------------------------------------- */
.cards-top { display: grid; gap: 16px; }
.cards-rows { display: grid; gap: 12px; }

.c-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 18px 18px;
  display: grid; gap: 14px; justify-items: center;
}
.c-card__rank {
  position: absolute; top: -1px; left: 18px;
  min-width: 40px; padding: 7px 10px 9px;
  background: rgba(87, 240, 58, .14); color: var(--neon);
  border: 1px solid rgba(87, 240, 58, .3); border-top: 0;
  font-family: var(--f-display); font-weight: 800; font-size: .95rem; line-height: 1;
  border-radius: 0 0 12px 12px;
}
.c-card__tag {
  position: absolute; top: 14px; right: 14px;
  background: rgba(87, 240, 58, .1); color: var(--neon);
  border: 1px solid rgba(87, 240, 58, .28);
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.c-card__logo {
  width: 100%; max-width: 220px; margin-top: 12px;
  border-radius: 14px; overflow: hidden; line-height: 0;
  border: 1px solid var(--line-2);
}
.c-card__logo img { width: 100%; }
.c-card__id { display: grid; gap: 3px; }
.c-card__name { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: #fff; }
.c-card__meta { font-size: .78rem; color: var(--ink-mute); }

.c-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.c-card__fact {
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2);
  border-radius: var(--radius-m); padding: 11px 12px;
}
.c-card__label {
  display: block; font-size: .72rem; font-weight: 700;
  color: var(--ink-mute); margin-bottom: 3px;
}
.c-card__value { font-family: var(--f-display); font-weight: 700; font-size: .98rem; color: var(--ink); }
.c-card__value--bonus { color: var(--neon-bright); }
.c-card__payout {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem; color: var(--neon);
}
.c-card__payout svg { width: 16px; height: 16px; flex: none; }

.c-card__features { display: grid; gap: 8px; width: 100%; margin: 0; max-width: none; }
.c-card__features li {
  display: flex; gap: 8px; align-items: flex-start; justify-content: center; text-align: center;
  font-size: .88rem; color: var(--ink-soft); padding: 0; border: 0;
}
.c-card__features svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--neon); }

.c-card__cta { display: grid; gap: 8px; width: 100%; }
.c-card__terms { font-size: .72rem; color: var(--ink-mute); }
.c-card__terms a { color: var(--ink-mute); }

.c-card--top.is-first {
  border-color: rgba(87, 240, 58, .45);
  box-shadow: var(--glow-m);
}
.c-card--top.is-first .c-card__rank { background: var(--neon); color: var(--on-neon); border-color: var(--neon); }

/* Mini picks inside the text */
.picks { display: grid; gap: 12px; margin: 24px 0 26px; }
.pick {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 14px; text-align: center;
}
.pick__logo { width: 84px; border-radius: 12px; overflow: hidden; line-height: 0; border: 1px solid var(--line-2); }
.pick__logo img { width: 100%; }
.pick__name { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: #fff; }
.pick__note { font-size: .87rem; margin: 3px 0 10px; }
.pick__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.pick__time {
  font-size: .8rem; font-weight: 700; color: var(--neon);
  background: rgba(87, 240, 58, .1); border: 1px solid rgba(87, 240, 58, .25);
  padding: 4px 10px; border-radius: 999px;
}

/* 7. Sidebar ------------------------------------------------------------- */
.aside { align-self: start; }
.aside__box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 18px;
}
.aside__box + .aside__box { margin-top: 14px; }
.aside__title { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; margin: 0 0 4px; }
.aside__sub { font-size: .82rem; color: var(--ink-mute); margin-bottom: 14px; }
.aside__item {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line-2); text-align: left;
}
.aside__item:first-of-type { border-top: 0; padding-top: 2px; }
.aside__logo { width: 74px; border-radius: 10px; overflow: hidden; line-height: 0; border: 1px solid var(--line-2); }
.aside__logo img { width: 100%; }
.aside__name { font-family: var(--f-display); font-weight: 700; font-size: .95rem; line-height: 1.2; color: #fff; }
.aside__meta { font-size: .78rem; color: var(--neon); }
.aside__note {
  font-size: .76rem; color: var(--ink-mute); margin: 14px 0 0;
  padding-top: 12px; border-top: 1px solid var(--line-2);
}

/* 8. Content blocks ------------------------------------------------------- */
.content-grid { display: grid; gap: 34px; }
.content-grid > * { min-width: 0; }
.prose { min-width: 0; }
.block { scroll-margin-top: calc(var(--header-h) + 16px); }
.block + .block { margin-top: 46px; }
.prose h3 { margin-top: 1.8em; }

.figure {
  margin: 0 auto 24px; max-width: 640px;
  border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line);
}
.figure img { width: 100%; }
.figure figcaption {
  background: var(--surface); padding: 10px 14px;
  font-size: .82rem; color: var(--ink-mute); border-top: 1px solid var(--line);
}

.cards-2 { display: grid; gap: 14px; margin-bottom: 26px; }
.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 20px 18px;
}
.info-card h3 { font-size: 1.06rem; margin: 0 0 .4em; }
.info-card p { font-size: .94rem; margin: 0; }
.info-card__step {
  display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 12px;
  border-radius: 50%; background: rgba(87, 240, 58, .12); color: var(--neon);
  border: 1px solid rgba(87, 240, 58, .3);
  font-family: var(--f-display); font-weight: 800; font-size: .9rem;
}
.info-card__pct {
  display: inline-block; margin-bottom: 10px;
  background: rgba(87, 240, 58, .12); color: var(--neon);
  border: 1px solid rgba(87, 240, 58, .3);
  font-family: var(--f-display); font-weight: 800; font-size: .86rem;
  padding: 5px 13px; border-radius: 999px;
}

.callout {
  background: rgba(87, 240, 58, .06); border: 1px solid rgba(87, 240, 58, .22);
  border-radius: var(--radius-m); padding: 18px 20px; margin: 0 0 26px; max-width: 72ch;
}
.callout p:last-child { margin-bottom: 0; }
.callout ul { margin-bottom: 0; }

.tick-list, .cross-list { display: grid; gap: 10px; margin: 0 0 1.2em; max-width: 66ch; }
.tick-list li, .cross-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .94rem; color: var(--ink-soft); margin-bottom: 0; text-align: left;
}
.tick-list svg, .cross-list svg { width: 17px; height: 17px; flex: none; margin-top: 4px; }
.tick-list svg { color: var(--neon); }
.cross-list svg { color: #FF6B6B; }
.info-card .tick-list, .info-card .cross-list { margin-bottom: 0; }

.calc {
  background: linear-gradient(180deg, rgba(87, 240, 58, .1), rgba(87, 240, 58, .03));
  border: 1px solid rgba(87, 240, 58, .3);
  border-radius: var(--radius-l); padding: 22px; margin: 0 auto 26px; max-width: 640px;
}
.calc h3 { font-size: 1.05rem; margin-bottom: 14px; }
.calc__row {
  display: flex; justify-content: space-between; gap: 16px; padding: 11px 0;
  border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); text-align: left;
}
.calc__row:first-of-type { border-top: 0; }
.calc__row b { font-family: var(--f-display); color: var(--neon-bright); white-space: nowrap; }
.calc__note {
  margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  color: #fff; font-weight: 600; font-size: .95rem;
}

.note { font-size: .88rem; color: var(--ink-mute); margin: 22px auto 0; max-width: 70ch; }

/* 9. Tables, myths, FAQ --------------------------------------------------- */
.table-scroll { overflow-x: auto; margin: 0 auto 26px; -webkit-overflow-scrolling: touch; }
table {
  width: 100%; min-width: 520px; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-m); overflow: hidden; font-size: .94rem;
}
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-2); color: var(--ink-soft); }
th {
  background: rgba(87, 240, 58, .08); color: var(--neon);
  font-family: var(--f-display); font-weight: 700;
}
tbody tr:last-child td { border-bottom: 0; }
td b { font-family: var(--f-display); color: var(--neon-bright); }

.myths { display: grid; gap: 12px; margin-bottom: 26px; }
.myth {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 18px;
}
.myth h3 { font-size: 1.02rem; margin: 0 0 .4em; color: var(--neon-bright); }
.myth p { font-size: .94rem; margin: 0; }

.faq { display: grid; gap: 10px; margin-bottom: 26px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 2px 18px;
}
.faq details[open] { border-color: rgba(87, 240, 58, .3); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 0; cursor: pointer; list-style: none; text-align: left;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--neon); border-bottom: 2px solid var(--neon);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { font-size: .94rem; margin: 0 0 16px; max-width: none; }

/* 10. CTA band & footer --------------------------------------------------- */
.cta-band {
  background: linear-gradient(180deg, rgba(87, 240, 58, .12), rgba(87, 240, 58, .03));
  border: 1px solid rgba(87, 240, 58, .3);
  border-radius: var(--radius-l); padding: 34px 24px;
  box-shadow: var(--glow-s);
}
.cta-band h2 { margin-bottom: .35em; }
.cta-band p { margin-bottom: 20px; }

.footer { border-top: 1px solid var(--line-2); margin-top: 40px; background: var(--bg-2); }
.footer__inner { padding-block: 38px 28px; display: grid; gap: 18px; justify-items: center; }
.footer img { height: 96px; width: auto; }
.footer p { font-size: .92rem; max-width: 70ch; margin: 0; }
.footer__legal {
  border-top: 1px solid var(--line-2); padding-block: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; text-align: left;
  font-size: .82rem; color: var(--ink-mute);
}
.footer__legal-row { display: flex; gap: 12px; align-items: center; }
.footer__copy { margin-left: auto; }
.age {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 2px solid var(--neon); border-radius: 50%; color: var(--neon);
  font-family: var(--f-display); font-weight: 800; font-size: .85rem;
}

/* 11. Responsive ---------------------------------------------------------- */
@media (min-width: 600px) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .picks { grid-template-columns: 1fr 1fr; }
  .myths { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  body { font-size: 17.5px; }
  .section { padding-block: 64px; }
  .hero { padding-block: 76px 60px; }
  .header__inner { min-height: 88px; }
  .brand img { height: 52px; }
  .cta-band { padding: 46px 34px; }

  /* Top 3 — narrow vertical cards, three in a row */
  .cards-top { grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
  .c-card--top {
    display: flex; flex-direction: column; align-items: center; padding: 28px 20px 20px;
  }
  .c-card--top > * + * { margin-top: 14px; }
  .c-card--top .c-card__cta { margin-top: auto; padding-top: 14px; }

  /* The rest — full-width horizontal, short */
  .c-card--row {
    grid-template-columns: 54px 152px minmax(118px, 1fr) minmax(130px, 1.05fr) 132px 172px;
    align-items: center; justify-items: center; gap: 18px; padding: 14px 20px;
  }
  .c-card--row .c-card__rank {
    position: static; border: 1px solid rgba(87, 240, 58, .3); border-radius: 12px;
    padding: 9px 6px; font-size: 1.05rem; min-width: 42px;
  }
  .c-card--row .c-card__logo { margin-top: 0; max-width: none; width: 100%; }
  .c-card--row .c-card__facts { display: contents; }
  .c-card--row .c-card__fact { background: none; border: 0; padding: 0; }
  .c-card--row .c-card__cta { justify-self: stretch; }
  .c-card--row .c-card__tag,
  .c-card--row .c-card__features { display: none; }

  .picks { grid-template-columns: repeat(3, 1fr); }
  .picks--two { grid-template-columns: repeat(2, 1fr); }
  .pick { grid-template-columns: 1fr; justify-items: center; }
  .pick__logo { width: 100%; max-width: 190px; }
  .pick .btn { width: 100%; }
  .myths { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .content-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; align-items: start; }
  .aside { position: sticky; top: calc(88px + 18px); }
  .cards-2--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .header, .aside, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
