:root {
  --primary: #1b1a1b;
  --primary-dark: #0f0e10;
  --primary-soft: #2d2c2e;
  --accent: #00b67a;
  --accent-dark: #009966;
  --accent-light: #ecfdf5;
  --gold: #fbbf24;
  --bg: #fafafa;
  --bg-card: #ffffff;
  --text: #1b1a1b;
  --text-muted: #5c5b5d;
  --border: rgba(27, 26, 27, 0.12);
  --border-accent: rgba(0, 182, 122, 0.45);
  --shadow: 0 8px 32px rgba(27, 26, 27, 0.1);
  --shadow-glow: 0 12px 40px rgba(0, 182, 122, 0.22);
  --radius: 14px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", 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: 280px;
  background:
    linear-gradient(135deg, rgba(27, 26, 27, 0.93) 0%, rgba(45, 44, 46, 0.82) 55%, rgba(0, 182, 122, 0.45) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.625rem, 5vw, 2.375rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero__lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(27, 26, 27, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
}

.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;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-label span {
  display: block;
  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-toggle:checked ~ .nav {
  display: block;
}

.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);
}

.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;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: var(--accent-light);
  border-bottom: 1px solid var(--border-accent);
}

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-card);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent);
}

.casinos {
  padding: 2rem 0 2.5rem;
}

.casinos__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  text-align: center;
}

.carousel-wrap {
  position: relative;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  background: var(--bg-card);
  color: var(--accent);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0 1rem;
  margin: 0 -0.25rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  position: relative;
  flex: 0 0 min(88vw, 320px);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  overflow: visible;
}

.carousel-card--top {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.carousel-card__ribbon {
  position: absolute;
  top: 12px;
  right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}

.carousel-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  gap: 0.625rem;
  padding-top: 0.25rem;
}

.carousel-card__rank {
  position: absolute;
  top: 0;
  left: 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%;
  z-index: 1;
}

.carousel-card--top .carousel-card__rank {
  background: var(--accent);
}

.carousel-card__logo {
  flex-shrink: 0;
}

.carousel-card__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--border-accent);
}

.carousel-card__meta {
  width: 100%;
  min-width: 0;
}

.carousel-card__meta h2 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}

.carousel-card__rating {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

.carousel-card__stars {
  color: var(--gold);
}

.carousel-card__bonus {
  background: var(--accent-light);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
}

.carousel-card__bonus-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  margin-bottom: 0.25rem;
}

.carousel-card__bonus-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}

.carousel-card__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.carousel-card__perks li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.125rem;
  position: relative;
}

.carousel-card__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.carousel-card .btn {
  width: 100%;
  margin-top: auto;
}

.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);
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.seo__text p:last-child {
  margin-bottom: 0;
}

.faq {
  padding: 2.5rem 0;
}

.faq h2 {
  margin: 0 0 0.375rem;
  text-align: center;
}

.faq__lead {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto;
}

.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;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq__item h3::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  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: block;
  text-align: center;
  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: 800;
  font-size: 1.125rem;
  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;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.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;
  text-decoration: underline;
}

.footer {
  padding: 2rem 0;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.875rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer__nav a {
  color: #fff;
  font-weight: 600;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__domain {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer__copy,
.footer__disclaimer,
.footer__age {
  margin: 0.375rem 0;
}

.footer__age strong {
  color: var(--accent);
}

.mobile-cta-bar {
  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-accent);
  box-shadow: 0 -4px 20px rgba(27, 26, 27, 0.12);
}

.mobile-cta-bar .btn {
  width: 100%;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.page-content {
  padding: 2.5rem 0;
}

.page-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.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.9375rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

@media (min-width: 640px) {
  .carousel-card {
    flex: 0 0 300px;
  }
}

@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }

  .header__inner {
    position: relative;
  }

  .nav {
    display: block;
    position: static;
    background: none;
    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;
  }

  .btn--header {
    display: inline-flex;
  }

  .carousel-card {
    flex: 0 0 320px;
  }
}

@media (min-width: 1024px) {
  .carousel-track {
    overflow-x: visible;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.875rem;
  }

  .carousel-card {
    flex: 1 1 0;
    min-width: 180px;
    max-width: none;
  }

  .carousel-card__logo img {
    width: 90px;
    height: 90px;
  }

  .carousel-nav {
    display: none;
  }
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }
}
