:root {
  --green: #0c7a34;
  --green-dark: #06612a;
  --green-deep: #054e22;
  --heading: #167a34;
  --lime: #6fbe22;
  --text: #3a3a3a;
  --muted: #5c5c5c;
  --panel: #f1f2f0;
  --line: #d9e0d8;
  --header: #067536;
  --max: 860px;
  --shadow: 0 8px 24px rgba(12, 60, 24, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #f7f7f7;
  background-image: url("../img/verde-bg.jpg");
  background-repeat: repeat;
}

img { max-width: 100%; height: auto; }

a { color: var(--heading); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--green-deep);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(90deg, #046b30 0%, #07863a 52%, #12a04c 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 8px 22px;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 0;
}

.nav a:hover,
.nav a.active {
  box-shadow: inset 0 -2px 0 #d8ff8a;
}

.btn {
  display: inline-block;
  background: linear-gradient(180deg, #8ed63a 0%, #49a816 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid #3d9414;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 4px rgba(0, 0, 0, 0.16);
}

.btn:hover { filter: brightness(1.06); }

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
  flex: 0 0 auto;
}

.btn-lg { padding: 12px 28px; font-size: 15px; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.layout {
  width: min(1160px, calc(100% - 36px));
  margin: 26px auto 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  grid-template-areas:
    "hero promo"
    "main promo";
  gap: 22px 28px;
  align-items: start;
}

.layout-single {
  width: min(900px, calc(100% - 36px));
  grid-template-columns: 1fr;
  grid-template-areas: "hero" "main";
}

.hero-banner,
.hero-stack { grid-area: hero; }

.hero-stack .hero-banner { display: block; }

.crumbs {
  margin: 0 0 12px;
  font-size: 13px;
  color: #8a8a8a;
}

.crumbs a {
  color: #8a8a8a;
  text-decoration: none;
}

.crumbs a:hover,
.crumbs [aria-current="page"] { color: var(--heading); }

.hero-banner img,
.side-promo img,
.promo-shot {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.promo-shot { max-width: 280px; margin-top: 8px; }

.side-promo { grid-area: promo; }

.side-promo a {
  display: block;
  position: sticky;
  top: 86px;
}

.main-col { grid-area: main; min-width: 0; }

.block {
  background: var(--panel);
  padding: 20px 22px 22px;
  margin-bottom: 22px;
}

h1, h2 {
  color: var(--heading);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--heading);
}

h1 { font-size: 1.55rem; }

h2 { font-size: 1.28rem; margin-top: 2px; }

h3 {
  color: var(--heading);
  font-size: 1.05rem;
  margin: 0 0 8px;
  line-height: 1.4;
}

p { margin: 0 0 14px; }

p:last-child { margin-bottom: 0; }

.card {
  background: #fff;
  padding: 16px 18px 18px;
  margin-top: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card ol,
.card ul {
  margin: 8px 0 12px;
  padding-left: 1.25rem;
}

.card li { margin: 0 0 6px; }

.toc h2 { font-size: 1.08rem; }

.toc a { text-decoration: none; }

.toc a:hover { text-decoration: underline; }

.tip {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f3faf3;
  border-left: 4px solid var(--heading);
}

.tip p { margin: 0; }

#registrierung,
#login-bereich,
.article [id] { scroll-margin-top: 88px; }

.toc-list {
  margin: 0 0 18px;
  padding-left: 1.2rem;
}

.toc-list a { text-decoration: none; font-weight: 600; }

.toc-list a:hover { text-decoration: underline; }

.intro-split {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: 8px 32px;
  align-items: start;
}

.intro-split h2 { margin-top: 0; }

.article h3 { margin-top: 1.15rem; }

.symbol-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.symbol-list li {
  min-width: 44px;
  padding: 8px 0;
  text-align: center;
  font-weight: 700;
  background: #fff;
  border: 1px solid #d7e0d8;
  border-radius: 4px;
}

.bonus-table { min-width: 0; }

.bonus-table th {
  background: #f2f2f2;
  color: #222;
  border: 1px solid #ddd;
  font-weight: 700;
}

.bonus-table td {
  border: 1px solid #e4e4e4;
  vertical-align: top;
  line-height: 1.45;
}

.bonus-table tbody tr:nth-child(odd) td,
.bonus-table tbody tr:nth-child(even) td { background: #fff; }

.bonus-table td:first-child { font-weight: 600; }

.cta-inline { text-align: center; margin: 22px 0 8px; }

.legal-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.legal-btn {
  background: #fff;
  color: #1a3324;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}

.card p a { font-weight: 600; }

.table-wrap { overflow-x: auto; margin-top: 4px; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14.5px;
}

th {
  background: #0e7a34;
  color: #fff;
  text-align: left;
  font-weight: 700;
  padding: 10px 12px;
}

td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}

tbody tr:nth-child(even) td { background: #f4f7f4; }

tbody tr:nth-child(odd) td { background: #fff; }

ol.steps {
  margin: 4px 0 0;
  padding-left: 1.25rem;
}

ol.steps li { margin: 0 0 8px; }

.cta {
  background: linear-gradient(90deg, #0b7432 0%, #149444 100%);
  color: #fff;
  text-align: center;
  padding: 28px 22px 26px;
  margin: 6px 0 28px;
}

.cta h2 {
  color: #fff;
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 16px;
  max-width: 640px;
}

.games h2 {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 14px;
}

.game a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #243028;
}

.game-thumb {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.game-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.game a:hover .game-thumb::after,
.game a:focus-visible .game-thumb::after {
  opacity: 1;
}

.game a:hover .game-play,
.game a:focus-visible .game-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.game .demo {
  background: #1f9a38;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 3px;
  line-height: 1.2;
}

.game .name {
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}

.site-footer {
  background: linear-gradient(90deg, #046b30 0%, #07863a 48%, #12a04c 100%);
  color: #fff;
  padding: 28px 18px 18px;
  text-align: center;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img { height: 54px; width: auto; }

.pay-bar {
  width: min(980px, 100%);
  margin: 0 auto 14px;
  background: #fff;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
}

.pay-bar img {
  height: 26px;
  width: auto;
  max-width: 74px;
  object-fit: contain;
}

.legal {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
}

.legal a { color: #fff; }

@media (min-width: 1081px) {
  .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
}

@media (max-width: 1080px) {
  .burger { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #067536;
    padding: 6px 18px 14px;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
  }

  .nav.is-open { display: flex; z-index: 5; }

  .side-promo { display: none; }

  .nav a {
    padding: 12px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .layout,
  .layout-single {
    grid-template-columns: 1fr;
    grid-template-areas: "hero" "promo" "main";
  }

  .side-promo { justify-self: center; width: min(280px, 100%); }

  .side-promo a { position: static; }
}

@media (max-width: 720px) {
  .header-inner { padding: 8px 12px; min-height: 60px; }
  .logo img { height: 40px; }
  .layout, .layout-single { width: calc(100% - 20px); margin-top: 16px; }
  h1 { font-size: 1.28rem; }
  h2, .cta h2 { font-size: 1.15rem; }
  .block { padding: 16px 14px 16px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-split { grid-template-columns: 1fr; }
}
