:root {
  --primary: #0e2a47;
  --primary-dark: #071727;
  --primary-soft: #0b223a;
  --accent: #22c55e;
  --accent-dark: #1ba14d;
  --accent-light: #edfaf2;
  --accent-warm: #fbbf24;
  --gold: #fbbf24;
  --bg: #eff6ff;
  --bg-card: #ffffff;
  --text: #0e2a47;
  --text-muted: #071727;
  --border: rgba(14, 42, 71, 0.12);
  --border-accent: rgba(34, 197, 94, 0.45);
  --shadow: 0 10px 36px rgba(14, 42, 71, 0.1);
  --shadow-top: 0 16px 48px rgba(34, 197, 94, 0.18);
  --radius: 12px;
  --radius-pill: 999px;
  --wine: var(--primary);
  --wine-dark: var(--primary-dark);
  --wine-soft: var(--primary-soft);
  --rose: var(--accent);
  --rose-dark: var(--accent-dark);
  --rose-light: var(--accent-light);
}

*,
*::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 */
.update-bar {
  background: var(--wine);
  color: var(--rose-light);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(53, 21, 28, 0.88) 0%, rgba(53, 21, 28, 0.65) 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;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0;
  font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
  color: var(--rose-light);
  max-width: 52ch;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(53, 21, 28, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.5rem 0;
}

.logo {
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--wine);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo em {
  color: var(--rose);
  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: 36px;
  height: 36px;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav {
  position: fixed;
  inset: 60px 1rem auto 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: none;
  z-index: 99;
}

.nav-toggle:checked ~ .nav {
  display: block;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__list a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--wine);
}

.nav__list a:hover {
  background: var(--rose-light);
  color: var(--rose-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  background: var(--rose);
  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(--rose-dark);
  transform: translateY(-1px);
}

.btn--header {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn--pill {
  width: 100%;
  max-width: 220px;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wine);
  background: var(--rose-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
}

.trust-bar__icon {
  font-size: 1rem;
}

/* WideBonus vitrine */
.casinos {
  padding: 2rem 0 2.5rem;
}

.casinos__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
  color: var(--wine);
  text-align: center;
}

.wide-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wide-card--rank-1 {
  border: 2px solid var(--rose);
  box-shadow: 0 16px 48px rgba(251, 113, 133, 0.2);
}

.wide-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.wide-card__rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wine);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 50%;
}

.wide-card--rank-1 .wide-card__rank {
  background: var(--rose);
}

.wide-card__logo {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.wide-card__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.wide-card__info {
  flex: 1;
  min-width: 0;
}

.wide-card__info h2 {
  margin: 0 0 0.2rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--wine);
}

.wide-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rose-dark);
  background: var(--rose-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.35rem;
}

.wide-card__rating {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.wide-card__stars {
  color: #f59e0b;
}

.wide-card__bonus-block {
  background: linear-gradient(135deg, var(--rose-light) 0%, #fff 100%);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.wide-card__bonus-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rose-dark);
  margin-bottom: 0.25rem;
}

.wide-card__bonus-value {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 800;
  color: var(--wine);
}

.wide-card__perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
}

.wide-card__perks li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.wide-card__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: 700;
}

.wide-card__footer {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  justify-content: center;
}

/* SEO */
.seo {
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.seo h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  font-weight: 800;
  color: var(--wine);
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.seo__text p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq {
  padding: 2rem 0;
}

.faq h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  font-weight: 800;
  color: var(--wine);
}

.faq__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.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: 0.9375rem;
  font-weight: 700;
  color: var(--wine);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.faq__item h3::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--rose);
  flex-shrink: 0;
}

.faq__item.is-open h3::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: none;
}

.faq__item.is-open p {
  display: block;
}

.faq__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--rose-dark);
}

.faq__more:hover {
  color: var(--rose);
}

/* Responsible */
.responsible {
  padding: 2rem 0;
  background: var(--wine);
  color: var(--rose-light);
  text-align: center;
}

.responsible__badge {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.responsible h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: #fff;
}

.responsible p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  max-width: 50ch;
  margin-inline: auto;
}

.responsible__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.responsible__links a {
  color: var(--rose);
  font-weight: 700;
  text-decoration: underline;
}

.responsible__links a:hover {
  color: #fff;
}

/* Footer */
.footer {
  padding: 1.5rem 0 2rem;
  background: var(--wine-dark);
  color: var(--rose-light);
  text-align: center;
  font-size: 0.8125rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.footer__nav a {
  color: var(--rose-light);
  font-weight: 600;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__domain {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer__copy {
  margin: 0 0 0.75rem;
  opacity: 0.8;
}

.footer__disclaimer {
  margin: 0 0 0.5rem;
  opacity: 0.75;
  max-width: 60ch;
  margin-inline: auto;
}

.footer__age {
  margin: 0;
  color: var(--rose);
}

/* Mobile CTA */
.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: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(53, 21, 28, 0.1);
}

.mobile-cta-bar .btn {
  width: 100%;
  font-size: 1rem;
  padding: 0.875rem;
}

/* Subpages */
.page-hero {
  padding: 2rem 0 1.5rem;
  background: var(--wine);
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 800;
}

.page-content {
  padding: 2rem 0 2.5rem;
}

.page-content h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--wine);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-content ul {
  padding-left: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--wine);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--rose);
  outline-offset: 1px;
}

/* Desktop */
@media (min-width: 768px) {
  body.has-mobile-cta {
    padding-bottom: 0;
  }

  .mobile-cta-bar {
    display: none;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav {
    position: static;
    display: block;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav__list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .btn--header {
    display: inline-flex;
  }

  .wide-card__top {
    padding: 1.25rem 1.5rem;
  }

  .wide-card__perks {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.25rem 1.5rem;
  }

  .wide-card__footer {
    justify-content: flex-end;
    padding: 0 1.5rem 1.5rem;
  }

  .wide-card__body-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
  }

  .wide-card__body-row .wide-card__perks {
    padding: 0;
    border: none;
  }

  .wide-card__body-row .wide-card__footer {
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 280px;
    padding: 3rem 0 2.5rem;
  }
}
