:root {
  --primary: #1a0a2e;
  --primary-light: #2d1b4e;
  --accent: #ff6b35;
  --accent-dark: #e55a28;
  --teal: #00d4aa;
  --teal-dark: #00b894;
  --bg: #f8f6fc;
  --bg-card: #ffffff;
  --text: #1a0a2e;
  --text-muted: #5c5470;
  --border: rgba(26, 10, 46, 0.1);
  --border-accent: rgba(255, 107, 53, 0.35);
  --shadow: 0 12px 40px rgba(26, 10, 46, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

*,
*::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 */
.update-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: var(--teal);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
}

.logo em {
  font-style: normal;
  color: var(--accent);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.nav__list a {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8f65 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.btn--header {
  display: none;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
}

.btn--wide {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(26, 10, 46, 0.92) 0%, rgba(45, 27, 78, 0.85) 45%, rgba(0, 212, 170, 0.25) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal), var(--accent));
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 212, 170, 0.2);
  border: 1px solid rgba(0, 212, 170, 0.45);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  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(--text-muted);
}

.trust-bar__icon {
  font-size: 1rem;
}

/* Casino showcase – wide cards with bonus block */
.casinos {
  padding: 2.5rem 0 3rem;
}

.casinos__heading {
  margin: 0 0 1.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
}

.wide-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wide-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.wide-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.wide-card--top {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.15);
}

.wide-card__main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  align-items: start;
}

.wide-card__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.wide-card--top .wide-card__rank {
  background: linear-gradient(135deg, var(--accent), #ff8f65);
}

.wide-card__brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.wide-card__logo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.wide-card__logo:hover {
  border-color: var(--accent);
}

.wide-card__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.wide-card__info h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wide-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.wide-card__stars {
  color: #fbbf24;
  letter-spacing: -1px;
}

.wide-card__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.wide-card__perks li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.wide-card__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.75rem;
}

.testsieger-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.6rem;
  background: linear-gradient(135deg, var(--accent), #ff8f65);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
}

.wide-card__bonus-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
}

.wide-card--top .wide-card__bonus-block {
  background: linear-gradient(160deg, #2d1b4e 0%, #1a0a2e 50%, rgba(255, 107, 53, 0.3) 100%);
}

.wide-card__bonus-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.wide-card__bonus-value {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.wide-card__bonus-block .btn {
  width: 100%;
  max-width: 220px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.35);
}

.wide-card__bonus-block .btn:hover {
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.45);
}

/* SEO */
.seo {
  padding: 2.5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.seo h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.seo__text p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq {
  padding: 2.5rem 0;
}

.faq h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
}

.faq__lead {
  margin: 0 0 1.5rem;
  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-sm);
  overflow: hidden;
}

.faq__item h3 {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq__item h3::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  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);
  line-height: 1.65;
  display: none;
}

.faq__item.is-open p {
  display: block;
}

.faq__more {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--accent);
}

.faq__more:hover {
  color: var(--accent-dark);
}

/* Responsible */
.responsible {
  padding: 2.5rem 0;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.responsible__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.responsible h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.responsible p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  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(--teal);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.footer {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  background: #120820;
  color: rgba(255, 255, 255, 0.65);
  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: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer__nav a:hover {
  color: var(--teal);
}

.footer__domain {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer__copy {
  margin: 0 0 0.75rem;
}

.footer__disclaimer {
  margin: 0 0 0.75rem;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.55;
}

.footer__age {
  margin: 0;
}

.footer__age a {
  color: var(--teal);
  text-decoration: underline;
}

/* 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(26, 10, 46, 0.97);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--accent);
}

.mobile-cta-bar .btn {
  width: 100%;
}

/* Subpages */
.page-hero {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.page-content {
  padding: 2.5rem 0 3rem;
}

.page-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Nav mobile */
@media (max-width: 767px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .nav__list {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 280px;
  }

  .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);
  }

  .wide-card__main {
    grid-template-columns: 1fr;
  }

  .wide-card__rank {
    position: absolute;
    top: 1rem;
    left: 1rem;
  }

  .wide-card__main {
    position: relative;
    padding-top: 3.5rem;
  }

  .wide-card__brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .wide-card__perks {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }

  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    border-bottom: none;
  }

  .btn--header {
    display: inline-flex;
  }

  .wide-card {
    grid-template-columns: 1fr 240px;
  }

  .wide-card__main {
    grid-template-columns: auto 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .wide-card__brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .wide-card__rank {
    align-self: center;
  }

  .wide-card__bonus-block {
    padding: 1.5rem 1.25rem;
  }
}

@media (min-width: 992px) {
  .wide-card {
    grid-template-columns: 1fr 260px;
  }

  .wide-card__main {
    grid-template-columns: auto auto 1fr;
    align-items: center;
  }

  .wide-card__brand {
    grid-column: auto;
    display: flex;
  }
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }
}
