:root {
  --primary: #160f07;
  --primary-dark: #0a0704;
  --primary-soft: #2d1f12;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  --bg: #fffbeb;
  --bg-card: #ffffff;
  --text: #160f07;
  --text-muted: #6b5344;
  --border: rgba(22, 15, 7, 0.12);
  --shadow: 0 8px 32px rgba(22, 15, 7, 0.1);
  --radius: 12px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

body.has-mobile-cta {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.update-bar {
  background: var(--primary-dark);
  color: #fcd9a8;
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: #fff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(22, 15, 7, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary);
  white-space: nowrap;
}

.logo em {
  color: var(--accent);
  font-style: normal;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav {
  flex: 1;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--primary);
  background: var(--accent-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary-dark);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn--header {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.hero {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(22, 15, 7, 0.88) 0%, rgba(45, 31, 18, 0.75) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 2.5rem 0 2rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.92);
}

.trust-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 1rem;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-bar__icon {
  font-size: 1.125rem;
}

/* GridTwoCol vitrine */
.casinos {
  padding: 2rem 0 2.5rem;
}

.casinos__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  font-weight: 800;
  text-align: center;
}

.grid-casinos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.grid-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.grid-card--top {
  border-left: 4px solid var(--accent);
}

.grid-card__banner {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}

.grid-card__rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
}

.grid-card--top .grid-card__rank {
  background: var(--accent);
  color: var(--primary-dark);
}

.grid-card__logo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg);
}

.grid-card__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.grid-card__head {
  flex: 1;
  min-width: 0;
}

.grid-card__badge {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.grid-card__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.grid-card__rating {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.grid-card__stars {
  color: var(--accent);
}

.grid-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
}

.grid-card__bonus {
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px dashed rgba(245, 158, 11, 0.45);
}

.grid-card__bonus-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}

.grid-card__bonus-value {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary);
}

.grid-card__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.375rem;
}

.grid-card__perks li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.grid-card__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.grid-card__body .btn {
  width: 100%;
}

.seo {
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.seo h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.seo__text p:last-child {
  margin-bottom: 0;
}

.faq {
  padding: 2rem 0;
}

.faq h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
}

.faq__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item h3 {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__item h3::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.faq__item.is-open h3::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  display: none;
}

.faq__item.is-open p {
  display: block;
}

.faq__more {
  display: inline-flex;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.faq__more:hover {
  text-decoration: underline;
}

.responsible {
  padding: 2rem 0;
  background: var(--primary-dark);
  color: #fcd9a8;
  text-align: center;
}

.responsible__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.375rem 0.875rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: #dc2626;
  border-radius: var(--radius-pill);
}

.responsible h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1.25rem;
}

.responsible p {
  margin: 0 0 0.5rem;
  max-width: 560px;
  margin-inline: auto;
}

.responsible__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.responsible__links a {
  color: var(--accent);
  font-weight: 700;
}

.responsible__links a:hover {
  text-decoration: underline;
}

.footer {
  padding: 2rem 0;
  background: var(--primary);
  color: #fcd9a8;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer__nav a {
  font-weight: 600;
  color: #fff;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__domain {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: #fff;
}

.footer__copy {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}

.footer__disclaimer {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  max-width: 640px;
  margin-inline: auto;
  opacity: 0.85;
}

.footer__age {
  margin: 0;
  font-size: 0.875rem;
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(22, 15, 7, 0.12);
}

.mobile-cta-bar .btn {
  width: 100%;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 2rem 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.page-content {
  padding: 2rem 0 2.5rem;
}

.page-content h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.page-content a {
  color: var(--accent-dark);
  font-weight: 600;
}

.page-content a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin-top: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

@media (min-width: 600px) {
  .trust-bar {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .grid-casinos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .grid-card--top {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .grid-card--top .grid-card__banner {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .grid-card--top .grid-card__body {
    flex: 1;
    justify-content: center;
    padding: 1.25rem 1.5rem;
  }

  .grid-card--top .grid-card__body .btn {
    width: auto;
    align-self: flex-start;
  }
}

@media (min-width: 900px) {
  .header__inner .btn--header {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    cursor: pointer;
    padding: 6px;
  }

  .nav-toggle-label span {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.2s;
  }

  .nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 280px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;
  }

  .nav__list a {
    padding: 0.75rem 0.5rem;
  }

  .btn--header {
    display: none;
  }

  .mobile-cta-bar {
    display: block;
  }
}
