:root {
  --primary: #13091f;
  --primary-dark: #0a0512;
  --primary-soft: #2a1438;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #ffedd5;
  --gold: #fbbf24;
  --bg: #fff7ed;
  --bg-card: #ffffff;
  --text: #13091f;
  --text-muted: #5c4a6a;
  --border: rgba(19, 9, 31, 0.12);
  --border-accent: rgba(249, 115, 22, 0.45);
  --shadow: 0 8px 32px rgba(19, 9, 31, 0.1);
  --shadow-top: 0 12px 40px rgba(249, 115, 22, 0.18);
  --radius: 12px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta 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: var(--accent-light);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(19, 9, 31, 0.94) 0%, rgba(42, 20, 56, 0.85) 55%, rgba(249, 115, 22, 0.4) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 2.75rem 0 2.25rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero__lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(19, 9, 31, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  white-space: nowrap;
}

.logo em {
  color: var(--accent);
  font-style: normal;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.nav__list a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-toggle:checked ~ .nav {
  display: block;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  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);
  transform: translateY(-1px);
}

.btn--header {
  display: none;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 0.875rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.casinos {
  padding: 2rem 0 2.5rem;
}

.casinos__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  text-align: center;
  color: var(--primary);
}

/* CompactList vitrine */
.compact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compact-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compact-row--top {
  border-left-color: var(--gold);
  box-shadow: var(--shadow-top);
}

.compact-row__ribbon {
  position: absolute;
  top: 0;
  right: 1rem;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
}

.compact-row__head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.compact-row__rank {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
}

.compact-row--top .compact-row__rank {
  background: var(--accent);
}

.compact-row__logo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border-accent);
}

.compact-row__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.compact-row__meta {
  flex: 1;
  min-width: 0;
}

.compact-row__meta h2 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  color: var(--primary);
}

.compact-row__rating {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.compact-row__stars {
  color: var(--gold);
}

.compact-row__bonus-pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-align: center;
  align-self: flex-start;
}

.compact-row__bonus-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: 0.125rem;
}

.compact-row__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.compact-row__perks li {
  position: relative;
  padding-left: 1.125rem;
}

.compact-row__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.compact-row__cta {
  display: flex;
  align-items: center;
  justify-content: stretch;
}

.compact-row__cta .btn {
  width: 100%;
}

.seo {
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  color: var(--primary);
}

.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.375rem;
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  color: var(--primary);
}

.faq__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item h3 {
  margin: 0;
  padding: 1rem 2.5rem 1rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  color: var(--primary);
}

.faq__item h3::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
}

.faq__item.is-open h3::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: max-height 0.3s, padding 0.3s;
}

.faq__item.is-open p {
  max-height: 400px;
  padding: 0 1rem 1rem;
}

.faq__more {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.faq__more:hover {
  text-decoration: underline;
}

.responsible {
  padding: 2rem 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.responsible__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.responsible h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.responsible p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  opacity: 0.92;
  max-width: 560px;
  margin-inline: auto;
}

.responsible__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.responsible__links a {
  color: var(--accent-light);
  font-weight: 700;
  text-decoration: underline;
}

.footer {
  padding: 2rem 0;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 0.875rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.footer__nav a {
  font-weight: 600;
  color: #fff;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__domain {
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.25rem;
}

.footer__copy,
.footer__disclaimer,
.footer__age {
  margin: 0.375rem 0;
  opacity: 0.85;
}

.mobile-cta-bar {
  display: flex;
  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(--primary-dark);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.mobile-cta-bar .btn {
  width: 100%;
  font-size: 1rem;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.375rem, 4vw, 2rem);
}

.page-content {
  padding: 2rem 0 2.5rem;
}

.page-content h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  color: var(--primary);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content a {
  color: var(--accent);
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin-top: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

@media (min-width: 640px) {
  .compact-row__perks {
    grid-template-columns: 1fr 1fr;
  }

  .compact-row__bonus-pill {
    align-self: center;
  }
}

@media (min-width: 768px) {
  .header__inner {
    position: relative;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-left: auto;
  }

  .nav__list {
    display: flex;
    gap: 0.25rem;
    padding: 0;
  }

  .nav__list a {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-pill);
  }

  .btn--header {
    display: inline-flex;
    margin-left: 0.75rem;
  }

  .mobile-cta-bar {
    display: none;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }

  .compact-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 1.25rem;
  }

  .compact-row__head {
    flex: 0 0 auto;
    min-width: 280px;
  }

  .compact-row__bonus-pill {
    flex: 0 0 auto;
    min-width: 180px;
  }

  .compact-row__perks {
    flex: 1 1 200px;
    min-width: 200px;
  }

  .compact-row__cta {
    flex: 0 0 auto;
  }

  .compact-row__cta .btn {
    width: auto;
    min-width: 140px;
  }
}

@media (min-width: 900px) {
  .compact-row {
    flex-wrap: nowrap;
    gap: 1.25rem;
  }

  .compact-row__head {
    flex: 0 0 320px;
  }

  .compact-row__perks {
    flex: 1;
  }
}
