﻿:root {
  --ink: #111827;
  --muted: #5b677a;
  --soft: #f5f6f8;
  --line: #dfe4ea;
  --paper: #ffffff;
  --orange: #ff8a00;
  --orange-dark: #e87900;
  --blue: #165dff;
  --green: #10a66a;
  --red: #e63b55;
  --shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f2f3f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.age-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  background: #111827;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}
.age-strip span:first-child { color: #ffd166; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand img { width: 178px; height: auto; }
.nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  color: #303a4a;
  font-size: 14px;
  font-weight: 900;
}
.nav a:hover { color: var(--orange-dark); }

.title-band,
.offer-board,
.section,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.title-band { padding: 38px 0 18px; }
.title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.title-meta span {
  padding: 7px 11px;
  border: 1px solid #d8dee7;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 {
  max-width: 980px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 950;
}
h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 950; }
h3 { font-size: 22px; font-weight: 950; }

.offer-board {
  display: grid;
  gap: 14px;
  padding: 0 0 32px;
}
.offer-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 92px minmax(0, 1fr) 180px;
  grid-template-areas:
    "logo score main cta";
  gap: 18px;
  align-items: center;
  min-height: 182px;
  padding: 22px 20px 18px 40px;
  border: 1px solid #d8dde5;
  background: #fff;
  box-shadow: 0 3px 0 rgba(17, 24, 39, 0.02);
}
.offer-row.best { border-color: #ffc46b; box-shadow: 0 16px 36px rgba(255, 138, 0, 0.12); }
.rank-flag {
  position: absolute;
  left: -10px;
  top: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #232832;
  color: #fff;
  font-weight: 950;
  font-size: 15px;
}
.rank-flag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  border-top: 8px solid #0f1218;
  border-left: 10px solid transparent;
}
.logo-box {
  grid-area: logo;
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 9px;
  border-radius: 5px;
  background: #111827;
}
.logo-box img { max-height: 44px; width: 100%; object-fit: contain; }
.score {
  grid-area: score;
  white-space: nowrap;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
}
.score span:first-child { color: var(--orange); }
.score span:last-child { color: #64748b; font-weight: 700; }
.offer-main { grid-area: main; min-width: 0; }
.offer-title {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 950;
}
.offer-main ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #1f2937;
  font-size: 16px;
}
.offer-main li {
  position: relative;
  padding-left: 22px;
}
.offer-main li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}
.offer-main p {
  margin: 12px 0 0;
  color: #687386;
  font-size: 12px;
  line-height: 1.45;
}
.play-btn {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.play-btn:hover { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 10px 20px rgba(232,121,0,.25); }

.section { padding: 54px 0; }
.section-head { display: grid; gap: 13px; margin-bottom: 24px; }
.section-head.compact { margin-bottom: 18px; }
.section-head p {
  max-width: 940px;
  margin: 0;
  color: #4b5565;
  font-size: 17px;
}
.eyebrow {
  width: fit-content;
  padding: 7px 11px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.casino-reviews { padding-top: 26px; }
.review-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.review-card.reverse { grid-template-columns: 280px minmax(0, 1fr); }
.review-card.reverse .review-copy { order: 2; }
.review-card.reverse .phone-shot { order: 1; }
.review-copy p { margin: 12px 0 0; color: #4b5565; }
.review-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.review-specs span {
  padding: 7px 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a4b00;
  font-size: 13px;
  font-weight: 950;
}
.phone-shot {
  max-width: 280px;
  justify-self: center;
  padding: 10px;
  border: 1px solid #d8dde5;
  border-radius: 24px;
  background: #111827;
  box-shadow: 0 18px 35px rgba(17,24,39,.2);
}
.phone-shot img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: top center;
  border-radius: 17px;
}

.info-grid,
.tile-grid,
.step-list,
.condition-list,
.risk-grid {
  display: grid;
  gap: 14px;
}
.info-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-grid article,
.tile-grid article,
.condition-list article,
.risk-grid article,
.faq-list details {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 18px rgba(17,24,39,.04);
}
.info-grid p,
.tile-grid p,
.condition-list p,
.risk-grid p,
.step-list p,
.faq-list p,
.footer p { margin: 10px 0 0; color: #4b5565; }
.tile-grid article { border-top: 4px solid var(--orange); }

.steps-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1120px) / 2));
  background: #111827;
  color: #fff;
}
.steps-section .section-head p { color: #cbd5e1; }
.step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-list article {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
}
.step-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  background: var(--orange);
  color: #111827;
  font-weight: 950;
}
.step-list p { color: #cbd5e1; }

.condition-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.condition-list article { border-left: 4px solid var(--blue); }
.condition-list h3, .risk-grid h3 { font-size: 19px; }

.score-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1120px) / 2));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}`r`n
.risk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.risk-grid article { border-top: 4px solid var(--red); }

.law-section {
  padding: 28px;
  border: 1px solid #b6d7ff;
  background: #eef6ff;
}
.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 18px;
  background: #111827;
  color: #fff;
  font-weight: 950;
}

.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 0; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-weight: 950;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list h3 { font-size: 20px; }
.faq-list p { padding: 0 20px 20px; }

.footer {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}
.footer-logo { width: 178px; height: auto; margin-bottom: 10px; }
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.footer-logos img { width: auto; height: 36px; max-width: 140px; object-fit: contain; }

@media (max-width: 1080px) {
  .offer-row {
    grid-template-columns: 90px 1fr 170px;
    grid-template-areas:
      "logo main cta"
      "score main cta";
  }
  .condition-list,
  .risk-grid
  .tile-grid.four,
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr; gap: 10px; }
  .nav { justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .offer-row {
    grid-template-columns: 84px 1fr;
    grid-template-areas:
      "logo score"
      "main main"
      "cta cta";
    padding: 20px 16px 16px 32px;
  }
  .play-btn { width: 100%; }
  .review-card,
  .review-card.reverse { grid-template-columns: 1fr; }
  .review-card.reverse .review-copy,
  .review-card.reverse .phone-shot { order: initial; }
  .phone-shot img { height: 380px; }
  .info-grid.three,
  .info-grid.two,
  .footer { grid-template-columns: 1fr; }
  .footer-logos { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .title-band,
  .offer-board,
  .section,
  .footer { width: min(100% - 24px, 1120px); }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .offer-title { font-size: 22px; }
  .condition-list,
  .risk-grid,
  .tile-grid.four,
  .step-list { grid-template-columns: 1fr; }
  .logo-box { width: 84px; }
  .law-section { padding: 20px; }
  .phone-shot { max-width: 250px; }
  .phone-shot img { height: 350px; }
}

/* Top 3 offer accents */
.offer-row.best,
.offer-row:nth-child(2),
.offer-row:nth-child(3) {
  border-left-width: 5px;
}

.offer-row.best {
  border-color: #ffc46b;
  background: linear-gradient(90deg, #fff8eb 0%, #ffffff 34%, #ffffff 100%);
  box-shadow: 0 16px 36px rgba(255, 138, 0, 0.12);
}

.offer-row:nth-child(2) {
  border-left-color: #94a3b8;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 34%, #ffffff 100%);
}

.offer-row:nth-child(3) {
  border-left-color: #d97706;
  background: linear-gradient(90deg, #fff7ed 0%, #ffffff 30%, #ffffff 100%);
}

.offer-row.best .rank-flag { background: #ff8a00; }
.offer-row:nth-child(2) .rank-flag { background: #64748b; }
.offer-row:nth-child(3) .rank-flag { background: #b45309; }

.offer-row.best .offer-main::before,
.offer-row:nth-child(2) .offer-main::before,
.offer-row:nth-child(3) .offer-main::before {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.offer-row.best .offer-main::before {
  content: "Top 1 · najlepszy no-deposit";
  background: #ffedd5;
  color: #9a3412;
}

.offer-row:nth-child(2) .offer-main::before {
  content: "Top 2 · bez promokodu";
  background: #e2e8f0;
  color: #334155;
}

.offer-row:nth-child(3) .offer-main::before {
  content: "Top 3 · ekskluzywny kod";
  background: #fef3c7;
  color: #92400e;
}

/* BONUS888 CSS logo */
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(145deg, #111827 0%, #1f2937 58%, #0b1020 100%);
  color: #ff8a00;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 2px 0 #7c2d12, 0 0 18px rgba(255, 138, 0, 0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 18px rgba(17,24,39,.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, .7);
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 30px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

.brand-word span {
  color: #ff8a00;
  font-weight: 1000;
  text-shadow: 0 1px 0 #7c2d12, 0 0 12px rgba(255, 138, 0, .18);
}

.footer-brand-logo {
  margin-bottom: 12px;
}

.footer-brand-logo .brand-mark {
  width: 42px;
  height: 42px;
  font-size: 33px;
}

.footer-brand-logo .brand-word {
  font-size: 28px;
}

@media (max-width: 620px) {
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 31px;
  }

  .brand-word {
    font-size: 25px;
  }
}

/* Reworked methodology block */
.score-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  gap: 30px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: var(--shadow);
}

.method-copy {
  position: sticky;
  top: 96px;
}

.method-copy h2 {
  margin-top: 13px;
}

.method-copy p {
  margin: 14px 0 0;
  color: #4b5565;
  font-size: 17px;
}

.method-checklist {
  position: relative;
  display: grid;
  gap: 12px;
}

.method-checklist::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: #fed7aa;
}

.check-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid #eadfd3;
  background: rgba(255, 255, 255, .86);
}

.check-item.strong {
  border-color: #ffb45c;
  background: #fff7ed;
}

.check-item span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111827;
  color: #ff8a00;
  font-weight: 950;
  box-shadow: 0 0 0 6px #fff7ed;
}

.check-item.strong span {
  background: #ff8a00;
  color: #111827;
}

.check-item p {
  margin: 0;
  color: #4b5565;
}

.check-item strong {
  display: block;
  margin-bottom: 3px;
  color: #111827;
  font-size: 18px;
}

@media (max-width: 900px) {
  .method-panel {
    grid-template-columns: 1fr;
  }

  .method-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .method-panel {
    padding: 18px;
  }

  .check-item {
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }

  .check-item span {
    width: 44px;
    height: 44px;
  }

  .method-checklist::before {
    left: 22px;
  }
}


/* Keep main H1 on one line on desktop */
.title-band h1 {
  max-width: none;
  white-space: nowrap;
  font-size: 54px;
}

@media (max-width: 1120px) {
  .title-band h1 {
    font-size: 48px;
  }
}

@media (max-width: 820px) {
  .title-band h1 {
    white-space: normal;
    font-size: 34px;
  }
}

/* Auto-updated date badge */
.title-meta .updated-badge {
  border-color: #ffb45c;
  background: #fff7ed;
  color: #9a3412;
}

.title-meta .updated-badge time {
  color: #111827;
  font-weight: 1000;
}

/* Table of contents after offer list */
.toc-section {
  width: min(1120px, calc(100% - 32px));
  margin: 4px auto 34px;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid #d8dde5;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, .12);
}

.toc-copy {
  padding: 6px 4px 4px;
}

.toc-kicker {
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 9px;
  background: rgba(255, 138, 0, .16);
  color: #ffb45c;
  border: 1px solid rgba(255, 180, 92, .32);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.toc-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 1000;
}

.toc-copy p {
  max-width: 430px;
  margin: 10px 0 0;
  color: #cbd5e1;
}

.toc-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.toc-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 850;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.toc-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 0, .55);
  background: rgba(255, 138, 0, .14);
}

.toc-links span {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  background: #ff8a00;
  color: #111827;
  font-size: 12px;
  font-weight: 1000;
}

@media (max-width: 900px) {
  .toc-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .toc-section {
    width: min(100% - 24px, 1120px);
    padding: 16px;
  }

  .toc-links {
    grid-template-columns: 1fr;
  }
}

/* Mobile burger navigation */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #111827;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .12);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .18s ease, opacity .18s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    position: sticky;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    justify-content: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: #111827;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
    overflow: visible;
  }

  .site-header.menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #f8fafc;
    font-size: 15px;
  }

  .nav a::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: #ff8a00;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, .14);
  }

  .nav a:hover {
    color: #fff;
    border-color: rgba(255, 138, 0, .48);
    background: rgba(255, 138, 0, .14);
  }
}

@media (max-width: 620px) {
  .nav {
    left: 12px;
    right: 12px;
  }
}

/* JS-driven offer CTA buttons */
button.play-btn {
  border: 0;
  font: inherit;
  cursor: pointer;
}

button.play-btn:focus-visible {
  outline: 3px solid rgba(255, 138, 0, .34);
  outline-offset: 3px;
}

/* Author badge in first screen */
.title-meta .author-badge {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}
