:root {
  --primary: #0a1628;
  --primary-dark: #050d18;
  --primary-soft: #152a45;
  --accent: #c9a227;
  --accent-dark: #a8861f;
  --accent-light: #f5ecd4;
  --gold: #c9a227;
  --bg: #f1f5f9;
  --bg-card: #ffffff;
  --text: #0a1628;
  --text-muted: #4a5d73;
  --border: rgba(10, 22, 40, 0.12);
  --border-accent: rgba(201, 162, 39, 0.45);
  --shadow: 0 10px 36px rgba(10, 22, 40, 0.1);
  --shadow-top: 0 16px 48px rgba(10, 22, 40, 0.16);
  --radius: 12px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM 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(10, 22, 40, 0.94) 0%, rgba(21, 42, 69, 0.82) 60%, rgba(201, 162, 39, 0.35) 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.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  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 16px rgba(10, 22, 40, 0.06);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
}

.logo em {
  font-style: normal;
  color: var(--accent-dark);
}

.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;
  border-radius: 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-dark);
  background: var(--accent-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}

.btn--header {
  display: none;
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
}

.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.8125rem;
  font-weight: 600;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-bar__icon {
  font-size: 1rem;
}

.casinos {
  padding: 2rem 0 2.5rem;
}

.casinos__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 700;
  text-align: center;
  color: var(--primary);
}

/* VerticalRank vitrine */
.vstack-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vstack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.125rem 1.125rem 1.125rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vstack-card--top {
  border-left-width: 6px;
  box-shadow: var(--shadow-top);
}

.vstack-card__ribbon {
  position: absolute;
  top: 0;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--primary-dark);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 0 0 8px 8px;
}

.vstack-card__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}

.vstack-card__rank {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9375rem;
  border-radius: 50%;
}

.vstack-card__logo {
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border-accent);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.08);
}

.vstack-card__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.vstack-card__info {
  flex: 1;
  min-width: 0;
}

.vstack-card__info h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.vstack-card__rating {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.vstack-card__stars {
  color: var(--accent);
  letter-spacing: 1px;
}

.vstack-card__perks {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.vstack-card__perks li::before {
  content: "✓ ";
  color: var(--accent-dark);
  font-weight: 700;
}

.vstack-card__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.vstack-card__bonus {
  text-align: center;
  padding: 0.75rem 1rem;
  background: var(--accent-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.vstack-card__bonus-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.vstack-card__bonus-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.vstack-card__aside .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.2rem, 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.25rem;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  color: var(--primary);
}

.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 2.5rem 1rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  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-dark);
  font-weight: 400;
}

.faq__item.is-open h3::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 1rem 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);
  color: #fff;
  text-align: center;
}

.responsible__badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  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;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  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);
  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.8125rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.footer__nav a {
  color: #fff;
  font-weight: 600;
}

.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.35rem 0;
}

.footer__age strong {
  color: #fff;
}

.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);
  box-shadow: 0 -4px 20px rgba(10, 22, 40, 0.12);
}

.mobile-cta-bar .btn {
  width: 100%;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}

.page-content {
  padding: 2rem 0 2.5rem;
}

.page-content h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.2rem;
  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-dark);
  font-weight: 600;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
  margin-top: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  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: 480px) {
  .vstack-card__main {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .vstack-card__perks {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }

  .nav {
    display: block !important;
    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: 8px;
  }

  .btn--header {
    display: inline-flex;
  }

  .vstack-card {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }

  .vstack-card__main {
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .vstack-card__aside {
    flex-shrink: 0;
    width: 200px;
    align-items: stretch;
  }

  .mobile-cta-bar {
    display: none;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .vstack-card__aside {
    width: 220px;
  }
}
