:root {
  --primary: #003087;
  --primary-mid: #0047a8;
  --accent: #0070ba;
  --accent-light: #009cde;
  --accent-pale: #e8f4fc;
  --gold: #ffc439;
  --bg: #f4f7fb;
  --bg-card: #ffffff;
  --text: #0d1b2a;
  --text-muted: #4a5f7a;
  --border: rgba(0, 48, 135, 0.12);
  --border-strong: rgba(0, 112, 186, 0.35);
  --shadow: 0 10px 36px rgba(0, 48, 135, 0.09);
  --radius: 14px;
  --radius-sm: 8px;
  --sidebar-w: 280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", 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(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Update bar */
.update-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(125deg, rgba(0, 48, 135, 0.94) 0%, rgba(0, 71, 168, 0.88) 45%, rgba(0, 156, 222, 0.55) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 2.75rem 0 2.25rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 20%, rgba(0, 156, 222, 0.25), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 196, 57, 0.18);
  border: 1px solid rgba(255, 196, 57, 0.45);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
  margin-right: auto;
}

.logo em {
  font-style: normal;
  color: var(--accent);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav__list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--primary);
  background: var(--accent-pale);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-mid) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 112, 186, 0.35);
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 112, 186, 0.45);
}

.btn--header {
  display: none;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1rem;
}

.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;
}

/* Sidebar + cards layout */
.showcase {
  padding: 2rem 0 2.5rem;
}

.showcase__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase__heading {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.showcase__sub {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sidebar */
.sidebar {
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.sidebar__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.sidebar__paypal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.sidebar__paypal-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.sidebar__paypal p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar__list li:last-child {
  border-bottom: none;
}

.sidebar__list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar__cta {
  display: block;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}

.sidebar__updated {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* Casino cards */
.casino-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.casino-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.casino-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.casino-card--top {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.casino-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.5rem;
  background: linear-gradient(180deg, var(--accent-pale) 0%, transparent 100%);
}

.casino-card--top .casino-card__header {
  background: linear-gradient(180deg, rgba(0, 112, 186, 0.12) 0%, transparent 100%);
}

.casino-card__rank {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
}

.casino-card--top .casino-card__rank {
  background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
  color: var(--primary);
}

.casino-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;
}

.casino-card__logo:hover {
  border-color: var(--accent);
}

.casino-card__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.casino-card__meta {
  flex: 1;
  min-width: 0;
}

.casino-card__meta h2 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.testsieger-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.casino-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.casino-card__stars {
  color: var(--gold);
  letter-spacing: -1px;
}

.casino-card__body {
  padding: 0.75rem 1rem 1rem;
}

.casino-card__bonus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--accent-pale);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.casino-card__bonus-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.casino-card__bonus-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.casino-card__bonus .btn {
  width: 100%;
  flex: 1 1 100%;
}

.casino-card__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.casino-card__perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.casino-card__perks li::before {
  content: "●";
  color: var(--accent-light);
  font-size: 0.5rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* 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.25rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: var(--primary);
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.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, 3.5vw, 1.6rem);
  font-weight: 800;
  color: var(--primary);
}

.faq__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.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 2.5rem 1rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.faq__item h3::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq__item.is-open h3::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item p {
  margin: 0;
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: max-height 0.3s, padding 0.3s;
}

.faq__item.is-open p {
  max-height: 300px;
  padding: 0 1rem 1rem;
}

.faq__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.faq__more:hover {
  color: var(--primary);
}

/* Responsible */
.responsible {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem 0;
  text-align: center;
}

.responsible__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.responsible h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.responsible p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  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(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0;
  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: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__domain {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
}

.footer__copy {
  margin: 0 0 0.75rem;
}

.footer__disclaimer {
  max-width: 640px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
}

.footer__age {
  margin: 0;
}

.footer__age a {
  color: var(--gold);
}

/* 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);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 48, 135, 0.1);
}

.mobile-cta-bar .btn {
  width: 100%;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
}

/* Page subpages */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.page-content {
  padding: 2rem 0 2.5rem;
}

.page-content h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.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.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Responsive */
@media (min-width: 640px) {
  .casino-card__bonus {
    flex-wrap: nowrap;
  }

  .casino-card__bonus .btn {
    width: auto;
    flex: 0 0 auto;
    min-width: 150px;
  }

  .casino-card__header {
    padding: 1.15rem 1.25rem 0.5rem;
  }

  .casino-card__body {
    padding: 0.5rem 1.25rem 1.15rem;
  }
}

@media (min-width: 768px) {
  .btn--header {
    display: inline-flex;
  }

  .nav-toggle-label {
    display: none;
  }

  .showcase__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .sidebar {
    flex: 0 0 var(--sidebar-w);
    position: sticky;
    top: 76px;
  }

  .casino-cards {
    flex: 1;
  }

  .casino-card__header {
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .casino-card__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }

  .casino-card__bonus {
    margin-bottom: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .casino-card__bonus .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .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;
    margin-left: auto;
  }

  .nav-toggle-label span {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .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);
  }

  .nav__list {
    flex-direction: column;
    gap: 0.15rem;
  }

  .header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .casino-card__header {
    flex-wrap: wrap;
  }

  .casino-card__meta {
    flex: 1 1 calc(100% - 160px);
  }
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }
}
