/* Lizaro Casino FR — dark gold / vintage saloon */
:root {
  --bg-primary: #1f1208;
  --black: #120b05;
  --secondary: #2b1a0d;
  --bg-secondary: #3a2412;
  --bg-secondary-hover: #4b2f18;
  --tab-accent: #241409;
  --primary: #b87a2a;
  --hover: #d59a45;
  --white: #f7e8c5;
  --text: rgba(247, 232, 197, 0.82);
  --muted: rgba(247, 232, 197, 0.58);
  --line: rgba(184, 122, 42, 0.28);
  --radius: 8px;
  --pill: 32px;
  --shell: 1180px;
  --pad: 16px;
}

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

html.bg, html {
  background: var(--bg-primary);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--white);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; text-wrap: balance; }
h1 { font-size: clamp(29px, 5.6vw, 50px); color: var(--primary); }
h2 { font-size: clamp(23px, 3.3vw, 33px); color: var(--primary); }
h3 { font-size: clamp(18px, 2.1vw, 21px); color: var(--white); }
p { margin: 0 0 14px; color: var(--text); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); }
a { color: var(--hover); }
:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

main > section { padding: 42px 0; }
main > section + section { border-top: 1px solid var(--line); }
@media (min-width: 768px) { main > section { padding: 58px 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 26px;
  border: 1px solid var(--primary); border-radius: var(--pill);
  background: var(--primary); color: var(--white);
  font: 700 12px/1 Helvetica, Arial, sans-serif;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; user-select: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn--primary:hover, .btn--primary:focus-visible { background: transparent; color: var(--primary); }
.btn--outline { background: transparent; color: var(--primary); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--primary); color: var(--white); }
[role="button"] { cursor: pointer; }
.section-cta { margin-top: 24px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: var(--secondary);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; min-height: 62px; flex-wrap: nowrap;
  padding-top: 8px; padding-bottom: 8px;
}
.header__logo img { width: 92px; height: auto; }
.header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
@media (max-width: 480px) {
  .header__actions .btn { min-height: 40px; padding: 10px 14px; font-size: 10px; letter-spacing: 0.04em; }
}
@media (min-width: 768px) { .header__logo img { width: 118px; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 62% at 50% 78%, rgba(18, 11, 5, 0.86) 0%, rgba(18, 11, 5, 0.34) 62%, rgba(18, 11, 5, 0) 100%),
    linear-gradient(180deg, rgba(18, 11, 5, 0.55) 0%, rgba(18, 11, 5, 0.5) 55%, var(--bg-primary) 100%);
}
.hero__content {
  max-width: 760px; margin: 0 auto;
  padding: 150px var(--pad) 48px;
  text-align: center;
}
.hero__content p { font-size: 17px; color: var(--white); margin-bottom: 26px; }
@media (min-width: 768px) {
  .hero__content { padding-top: 270px; padding-bottom: 72px; }
  .hero__content p { font-size: 18px; }
}

/* ---------- table of contents ---------- */
.toc { margin-top: 34px; margin-bottom: 6px; }
.toc__panel {
  background: var(--secondary); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.toc__panel h2 { font-size: 19px; margin-bottom: 16px; }
.toc__list {
  display: grid; gap: 10px; margin: 0; padding: 0;
  list-style: none; counter-reset: toc;
}
@media (min-width: 640px) { .toc__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .toc__list { grid-template-columns: repeat(3, 1fr); } }
.toc__list a {
  display: block; padding: 11px 16px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: var(--bg-secondary); color: var(--white);
  text-decoration: none; font-size: 15px;
  transition: background-color 0.16s ease;
}
.toc__list a::before {
  counter-increment: toc; content: counter(toc) ". ";
  color: var(--primary); font-weight: 700;
}
.toc__list a:hover { background: var(--bg-secondary-hover); }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto; margin: 20px 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--secondary);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
caption { text-align: left; padding: 13px 14px 11px; color: var(--muted); font-size: 13px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
thead th {
  background: var(--tab-accent); color: var(--primary);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
}
tbody td:first-child { color: var(--white); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- game tiles ---------- */
.games__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
@media (min-width: 560px) { .games__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 860px) { .games__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .games__grid { grid-template-columns: repeat(6, 1fr); } }

.game {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-secondary);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.game > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.game__name {
  display: block; padding: 9px 10px 11px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--white);
}
.game__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(18, 11, 5, 0.86);
  opacity: 0; transition: opacity 0.18s ease;
}
.game__overlay .btn { min-height: 38px; padding: 10px 20px; font-size: 11px; }
.game:hover { border-color: var(--primary); transform: translateY(-2px); }
.game:hover .game__overlay,
.game:focus-within .game__overlay { opacity: 1; }
@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
  .game__overlay {
    position: static; opacity: 1; background: transparent;
    flex-direction: row; gap: 8px; padding: 0 8px 10px;
  }
  .game__overlay .btn { flex: 1; padding: 10px 8px; }
}

/* ---------- provider logos ---------- */
.logos {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: center; margin-top: 24px;
}
.logos figure { margin: 0; }
.logos img {
  width: 132px; height: 56px; object-fit: contain; padding: 8px 12px;
  background: var(--bg-secondary); border: 1px solid var(--line); border-radius: var(--radius);
}

/* ---------- bonus banner ---------- */
.banner {
  display: grid; gap: 0; align-items: center; overflow: hidden; margin: 26px 0;
  border: 1px solid var(--primary); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(184, 122, 42, 0.16) 0%, rgba(43, 26, 13, 0.9) 62%, var(--bg-primary) 100%);
}
@media (min-width: 720px) { .banner { grid-template-columns: 260px 1fr; } }
.banner > img { width: 100%; height: 100%; max-height: 280px; object-fit: cover; }
.banner__body { padding: 24px; }
.banner__body h3 { color: var(--primary); }

/* ---------- steps ---------- */
.steps {
  counter-reset: step; list-style: none; margin: 22px 0; padding: 0;
  display: grid; gap: 12px;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  position: relative; padding: 46px 18px 18px;
  background: var(--bg-secondary); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; color: var(--text);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 15px; left: 18px;
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary); color: var(--black);
  font-weight: 700; font-size: 13px;
}

/* ---------- split (mobile app) ---------- */
.split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1.25fr 0.75fr; } }
.split img { border-radius: var(--radius); margin: 0 auto; }
.split .btn { margin-top: 8px; }

/* ---------- rating note ---------- */
.note-box {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; margin-bottom: 20px;
  background: var(--secondary); border: 1px solid var(--primary); border-radius: var(--radius);
}
.note-box strong { font-size: 34px; color: var(--primary); line-height: 1; }
.note-box span { flex: 1 1 260px; font-size: 14px; color: var(--text); }

/* ---------- pros / cons ---------- */
.pros-cons { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons {
  padding: 22px; border-radius: var(--radius);
  background: var(--bg-secondary); border: 1px solid var(--line);
}
.pros { border-color: rgba(184, 122, 42, 0.55); }
.cons { background: var(--secondary); }
.pros ul, .cons ul { margin: 0; padding-left: 0; list-style: none; }
.pros li, .cons li {
  position: relative; padding-left: 24px; margin-bottom: 9px;
  font-size: 15px; color: var(--text);
}
.pros li::before, .cons li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}
.cons li::before { background: var(--muted); }

/* ---------- player reviews ---------- */
.reviews { display: grid; gap: 16px; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review {
  padding: 20px; background: var(--bg-secondary);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.review__stars { color: var(--hover); font-size: 15px; letter-spacing: 3px; margin-bottom: 10px; }
.review p { margin: 0 0 12px; font-size: 15px; }
.review footer { font-size: 13px; font-weight: 700; color: var(--white); }
.review footer span { display: block; margin-top: 3px; font-weight: 400; color: var(--muted); font-size: 12px; }

/* ---------- security cards ---------- */
.cards { display: grid; gap: 16px; margin: 22px 0; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  padding: 22px; background: var(--bg-secondary);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.card p { font-size: 15px; margin: 0; }

/* ---------- FAQ light island ---------- */
.faq { background: #f4f2ee; }
.faq h2 { color: #241409; }
.faq > .container > p { color: #4a4640; }
.faq details {
  background: #fff; border: 1px solid #e3ded5; border-radius: var(--radius);
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; padding: 16px 18px; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  font-weight: 700; font-size: 16px; color: #1f1208;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding: 0 18px 18px; color: #45403a; font-size: 15px; }
.faq .section-cta { margin-top: 22px; }

/* ---------- footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line); padding: 32px 0 40px; }
.footer p { font-size: 13px; color: var(--muted); }
.badge {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px;
  border: 2px solid var(--primary); border-radius: 50%;
  color: var(--primary); font-weight: 700; font-size: 13px;
}

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