/* style.css — Verde Casino | winverde.de */

:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: #e74c3c;
  --toastify-color-transparent: hsla(0, 0%, 100%, .7);
  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;
  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(90deg, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  --toastify-color-progress-bgo: 0.2;

  --page-bg: var(--toastify-color-dark);
  --surface: #1b1b1b;
  --surface-raised: #242424;
  --surface-soft: #181818;
  --border: #333;
  --text: #fff;
  --muted: #b8b8b8;
  --muted-strong: #e0e0e0;
  --accent: var(--toastify-color-success);
  --accent-light: #4cd964;
  --accent-hover: color-mix(in srgb, var(--accent) 82%, black);
  --info: var(--toastify-color-info);
  --warning: var(--toastify-color-warning);
  --error: var(--toastify-color-error);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, Arial, sans-serif; background: var(--page-bg); color: var(--muted-strong); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.cta-btn {
  display: inline-block; background: var(--accent); color: #121212;
  font-weight: 700; padding: 14px 28px; border-radius: 6px;
  text-align: center; cursor: pointer; transition: background 0.2s;
  font-size: 1.05rem; text-decoration: none;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cta-btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

header { background: var(--surface-soft); padding: 0 16px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.6); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 154px; height: 56px; object-fit: contain; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: var(--muted-strong); font-size: 0.9rem; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--muted-strong); }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .burger { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--surface-soft); padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 20px; font-size: 1rem; }
  .nav-links a:hover { background: var(--surface-raised); }
}

main { max-width: 1100px; margin: 0 auto; padding: 0 16px 24px; }
section { margin-bottom: 48px; }
section::after { content: ""; display: table; clear: both; }
main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
main > section:first-child:not(.hero) { margin-top: 24px; }
h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--accent); margin-bottom: 16px; }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--accent-light); margin-bottom: 12px; margin-top: 8px; }
h3 { font-size: 1.1rem; color: var(--muted-strong); margin-bottom: 8px; }
p { margin-bottom: 12px; }

.hero {
  width: 100vw;
  min-height: clamp(420px, 48vw, 620px);
  margin: 0 0 48px calc(50% - 50vw);
  padding: clamp(72px, 9vw, 128px) 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface-soft);
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 -46px 86px rgba(18, 18, 18, 0.34);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.18), rgba(18, 18, 18, 0.52)),
    rgba(18, 18, 18, 0.18);
  pointer-events: none;
}
.hero .brand-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}
.hero .brand-banner picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero .brand-banner img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.15) contrast(1.08) brightness(1.12);
}
.hero h1 {
  position: relative;
  z-index: 2;
  max-width: 920px;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.58);
}
.hero p {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto 28px;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.68);
}
.hero .cta-btn {
  position: relative;
  z-index: 2;
  min-width: min(100%, 320px);
  background: var(--toastify-color-warning);
  color: #121212;
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}
.hero .cta-btn:hover { background: #f7d44b; color: #121212; }

.brand-banner { width: 100%; max-width: 900px; margin: 0 auto 32px; display: block; border-radius: 8px; overflow: hidden; }
.brand-banner picture { display: block; }
.brand-banner img { width: 100%; height: auto; display: block; border-radius: 8px; }
@media (max-width: 600px) { .brand-banner { border-radius: 4px; margin-bottom: 20px; } }

.slot-showcase {
  margin-top: -18px;
  padding: 18px 0 4px;
}
.slot-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.slot-showcase-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}
.slot-showcase-head a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.slot-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.slot-strip {
  scrollbar-width: none;
}
.slot-strip::-webkit-scrollbar {
  display: none;
}
.slot-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: var(--surface-raised);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.slot-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
  text-decoration: none;
}
.slot-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 226 / 338;
  object-fit: cover;
}
.slot-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 28px 8px 8px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84));
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}
@media (max-width: 900px) {
  .hero h1 {
    max-width: min(100%, 680px);
    font-size: clamp(1.8rem, 6vw, 3rem);
    overflow-wrap: anywhere;
  }
  .hero p {
    max-width: min(100%, 620px);
  }
  .hero .cta-btn {
    max-width: calc(100vw - 32px);
  }
  .bonus-box .bonus-amount,
  .bonus-box .bonus-sub {
    overflow-wrap: anywhere;
  }
  .slot-showcase {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
  }
  .slot-showcase-head {
    padding-right: 16px;
  }
  .slot-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding-right: 16px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .slot-tile {
    flex: 0 0 132px;
    scroll-snap-align: start;
  }
}
@media (max-width: 520px) {
  .slot-showcase {
    margin-top: -8px;
  }
  .slot-showcase-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .slot-tile {
    flex-basis: 118px;
  }
  .slot-tile span {
    font-size: 0.72rem;
  }
}

table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--surface-raised); color: var(--accent); font-weight: 600; white-space: nowrap; }
tr:hover td { background: var(--surface-soft); }
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { display: none; }
  td { padding: 8px 12px; border-bottom: none; }
  td::before { content: attr(data-label); font-weight: 600; color: var(--accent); display: block; font-size: 0.8rem; }
  tr { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
}

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 226px)); gap: 16px; justify-content: center; }
.game-card {
  display: block;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-decoration: none;
}
.game-card img { width: 100%; aspect-ratio: 226 / 338; object-fit: cover; }
.game-card p { padding: 6px 8px; font-size: 0.85rem; margin-bottom: 0; }
.game-card p:first-of-type { font-weight: 600; color: var(--muted-strong); }
.game-card p:last-of-type { color: var(--muted); font-size: 0.75rem; }
@media (max-width: 400px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

details { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 8px; overflow: hidden; }
summary { padding: 14px 16px; cursor: pointer; font-weight: 600; background: var(--surface-raised); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; }
details[open] summary::after { content: "−"; }
details p { padding: 14px 16px; background: var(--surface-soft); }

.bonus-box { background: linear-gradient(135deg, var(--surface-raised), #101f12); border: 1px solid var(--accent); border-radius: 10px; padding: 24px; text-align: center; margin-bottom: 32px; }
.bonus-box .bonus-amount { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--accent); display: block; }
.bonus-box .bonus-sub { color: var(--muted); font-size: 0.9rem; margin-top: 6px; display: block; }

.feature-visual {
  display: block;
  margin: 20px 0 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.feature-visual:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
  text-decoration: none;
}
.feature-visual img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.feature-visual-left,
.feature-visual-right {
  width: min(42%, 460px);
  margin-top: 4px;
}
.feature-visual-left { float: left; margin-right: 24px; }
.feature-visual-right { float: right; margin-left: 24px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 16px 0; }
.trust-badge { background: var(--surface-raised); border: 1px solid var(--border); border-radius: 6px; padding: 10px 16px; font-size: 0.85rem; color: var(--muted); }
.trust-badge strong { color: var(--accent); display: block; font-size: 1rem; }

.steps-list { list-style: none; counter-reset: steps; }
.steps-list li { counter-increment: steps; padding: 16px 16px 16px 60px; position: relative; border-left: 2px solid var(--accent); margin-bottom: 12px; background: var(--surface-soft); border-radius: 0 6px 6px 0; }
.steps-list li::before { content: counter(steps); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; background: var(--accent); color: #121212; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }

footer { background: var(--surface-soft); text-align: center; padding: 24px 16px; font-size: 0.85rem; color: #757575; margin-top: 48px; border-top: 1px solid var(--border); }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
.footer-nav {
  max-width: 980px;
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.footer-nav a {
  margin: 0;
  padding: 6px 10px;
  color: var(--muted);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  line-height: 1.2;
}
.footer-nav a:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  text-decoration: none;
}

@media (max-width: 480px) {
  .hero { min-height: 520px; padding: 72px 12px; background-position: center; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8.4vw, 2.15rem);
    overflow-wrap: anywhere;
  }
  .hero p {
    max-width: 100%;
    font-size: 0.98rem;
  }
  .cta-btn { width: 100%; display: block; padding: 16px; }
  .hero .cta-btn { width: min(100%, 320px); }
  main { padding: 0 12px 16px; }
  .bonus-box { padding: 22px 14px; }
  .bonus-box .bonus-amount {
    font-size: clamp(1.45rem, 7vw, 1.8rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
  }
  .feature-visual-left,
  .feature-visual-right {
    float: none;
    width: 100%;
    margin: 16px 0 24px;
  }
}

.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--accent);
  padding: 10px 16px 14px;
  z-index: 300;
  text-align: center;
  box-shadow: 0 -3px 16px rgba(0,0,0,0.5);
}
.mobile-cta-bar a { color: #121212; font-weight: 800; font-size: 1rem; text-decoration: none; display: block; line-height: 1.3; overflow-wrap: anywhere; }
.mobile-cta-bar a:hover { text-decoration: none; opacity: 0.9; }
.mobile-cta-bar .mcta-bonus { font-size: clamp(0.92rem, 4vw, 1.05rem); font-weight: 800; display: block; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 72px; }
}
