/* ========== RESET + BASE (replaces Bootstrap core) ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-text);
  background-color: var(--c-base);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
a {
  color: var(--c-accent);
  text-decoration: none;
}
a:hover {
  color: var(--c-accent);
  opacity: 0.8;
}
img,
svg {
  vertical-align: middle;
  max-width: 70%;
  height: auto;
}
ul,
ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
table {
  border-collapse: collapse;
  caption-side: bottom;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ========== 5 CORE COLOR VARIABLES ========== */
/* Change these 5 to retheme the entire site */
:root {
  --c-dark: #46187B;        /* darkest: header, footer, promo-code bg */
  --c-base: #281043;        /* body / main background */
  --c-surface: #3D136D;     /* cards, sections, elevated surfaces */
  --c-accent: #F6CD45;      /* primary accent: buttons, links, active states */
  --c-text: #ffffff;        /* main text color */
  --c-cta: #F6CD45;         /* CTA buttons */
  --c-cta-hover: #E7B92F;

  /* ---- derived (auto-calculated from the 5 above) ---- */
  --c-text-muted: rgba(255, 255, 255, 0.55);
  --c-text-secondary: rgba(255, 255, 255, 0.7);
  --c-border: rgba(255, 255, 255, 0.1);
  --c-accent-hover: color-mix(in srgb, var(--c-accent) 80%, #000);
  --c-surface-hover: rgba(255, 255, 255, 0.06);

  /* ---- legacy aliases (so existing markup keeps working) ---- */
  --main-color: var(--c-dark);
  --second-color: var(--c-base);
  --bs-primary: var(--c-accent);
  --bs-secondary: var(--c-dark);
  --bs-success: var(--c-accent);
  --bs-body-bg: var(--c-base);
  --bs-body-color: var(--c-text);
  --theme-rounded: 14px;
  --theme-rounded-button: 8px;
  --theme-rounded-images: 12px;
  --mobile_menu_bg: var(--c-dark);
  --header_bg_color: var(--c-dark);
  --footer_bg_color: var(--c-dark);
  --header_footer_text_color: var(--c-text);
  --header_footer_link_color: var(--c-text);
  --color-primary-dark: var(--c-dark);
  --color-primary-light: var(--c-base);
  --color-primary: var(--c-accent);
  --color-secondary: var(--c-dark);
  --color-accent: var(--c-accent);
  --color-site-bg: var(--c-base);
  --color-header-bg: var(--c-dark);
  --color-footer-bg: var(--c-dark);
  --color-link: var(--c-accent);
  --color-link-hover: var(--c-accent-hover);
  --color-btn-bg: var(--c-accent);
  --color-btn-text: #1B0A2E;
  --color-heading: var(--c-text);
  --color-text: var(--c-text-secondary);
  --color-card-bg: var(--c-surface);
  --color-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --color-section-bg: rgba(255, 255, 255, 0.05);

  /* ========== Kingmaker Casino DE — Gold und Orange auf Königsviolett ========== */
  --c-heading-accent: #E17C2F;
  --c-accent-soft: #F8D15C;
  --c-border: rgba(246, 205, 69, 0.22);
  --c-accent-glow: rgba(246, 205, 69, 0.35);
}

/* ========== FONTS ========== */
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

/* ========== CONTAINER ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

/* ========== BUTTONS (replaces Bootstrap btn) ========== */
.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: 2px solid transparent;
  padding: 0.5rem 1rem;
  font-size: inherit;
  border-radius: var(--theme-rounded-button);
  transition:
    background 0.2s,
    border-color 0.2s;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn:hover {
  opacity: 0.9;
}
.btn-success {
  color: #1B0A2E;
  background: var(--c-cta);
  border-color: transparent;
}
.btn-success:hover {
  background: var(--c-cta-hover);
}
.btn-outline-primary {
  color: var(--c-text);
  background: transparent;
  border: 2px solid var(--c-text);
}
.btn-outline-primary:hover {
  background: var(--c-surface-hover);
  color: var(--c-text);
}
.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}
.btn-close {
  width: 1em;
  height: 1em;
  padding: 0.25em;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E")
    center/1em auto no-repeat;
  border: 0;
  opacity: 0.7;
  cursor: pointer;
}
.btn-close:hover {
  opacity: 1;
}

/* ========== UTILITY ========== */
.d-block {
  display: block;
}
.mb-2 {
  margin-bottom: 0.5rem;
}

/* ========== LAYOUT: WRAP ========== */
.wrap {
  padding-top: 94px;
}
@media (min-width: 992px) {
  .wrap {
    padding-top: 96px;
  }
}

/* ========== HEADER ========== */
.header-container {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100vw;
  background-color: var(--c-dark);
  z-index: 20;
}
.header {
  background-color: var(--c-dark);
  border-bottom: 1px solid var(--c-border);
}
.header .header__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  transition: 0.5s;
  overflow: visible;
}
.header .logo {
  max-width: 440px;
  display: flex;
  align-items: center;
  align-self: center;
  overflow: visible;
}
.header .logo img {
  max-height: 54px;
  width: auto;
}
.header .primary_menu_desktop_ver {
  max-width: 50%;
  display: flex;
  gap: 20px;
  width: -webkit-fill-available;
}
.header .primary_menu_desktop_ver > ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header .primary_menu_desktop_ver > ul > li > a {
  display: block;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  color: var(--c-text);
}
.header .primary_menu_desktop_ver > ul > li > a:hover,
.header .primary_menu_desktop_ver > ul > li.current-menu-item > a {
  color: var(--c-accent);
}
.header .buttons_container {
  display: flex;
  align-items: center;
}
.header .buttons {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-gap: 8px;
}
.header .mobile-menu-button {
  display: none;
  position: absolute;
  top: 24px;
  right: 12px;
  width: 26px;
  height: 24px;
  cursor: pointer;
}
.header .mobile-menu-button span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 3px;
  background: var(--c-text);
  border-radius: 2px;
}
.header .mobile-menu-button span:nth-child(1) {
  top: 2px;
}
.header .mobile-menu-button span:nth-child(2) {
  top: 10px;
}
.header .mobile-menu-button span:nth-child(3) {
  top: 18px;
}
@media (max-width: 991px) {
  .header .header__container {
    height: 58px;
    padding-right: 50px;
    overflow: visible;
  }
  .header .logo {
    max-width: 200px;
    align-self: center;
    overflow: visible;
    flex-shrink: 0;
  }
  .header .logo img {
    max-height: 40px;
  }
  .header .primary_menu_desktop_ver,
  .header .secondary_menu_desktop_ver {
    display: none !important;
    width: 0;
    overflow: hidden;
  }
  .header .header__container .buttons_container {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
  }
  .header .header__container .buttons {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-gap: 6px;
  }
  .header .header__container .buttons .btn {
    font-size: 0.72rem;
    padding: 5px 10px;
    white-space: nowrap;
  }
  .header .mobile-menu-button {
    display: block;
  }
}
@media (max-width: 380px) {
  .header .logo {
    max-width: 130px;
  }
  .header .logo img {
    max-height: 34px;
  }
  .header .header__container .buttons .btn {
    font-size: 0.66rem;
    padding: 4px 8px;
  }
}

/* ========== OFFCANVAS MOBILE MENU ========== */
.offcanvas-backdrop {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 9998 !important;
  opacity: 0;
  transition: opacity 0.3s;
}
.offcanvas-backdrop.show {
  display: block !important;
  opacity: 1;
}
#mobileMenu.offcanvas.offcanvas-end {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 280px !important;
  max-width: 80vw !important;
  z-index: 9999 !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease-in-out !important;
  visibility: visible !important;
  background: var(--c-dark) !important;
  border-radius: 15px 0 0 15px !important;
  border-left: none !important;
  display: flex !important;
  flex-direction: column !important;
}
#mobileMenu.offcanvas.offcanvas-end.show {
  transform: translateX(0) !important;
  visibility: visible !important;
}
#mobileMenu .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: 70px;
  border-bottom: 1px solid var(--c-border);
}
#mobileMenu .offcanvas-header .custom-logo-link img {
  max-height: 180px;
}
#mobileMenu .menu-close-btn {
  background: none;
  border: none;
  color: var(--c-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
}
#mobileMenu .menu-close-btn:hover {
  opacity: 1;
}
#mobileMenu .offcanvas-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
#mobileMenu .menu-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
#mobileMenu .menu-buttons .btn {
  text-align: center;
  font-size: 0.9rem;
}
#mobileMenu .mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
#mobileMenu .mobile-nav li {
  border-bottom: 1px solid var(--c-border);
}
#mobileMenu .mobile-nav li:last-child {
  border-bottom: none;
}
#mobileMenu .mobile-nav li a {
  display: block;
  padding: 14px 0;
  color: var(--c-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
#mobileMenu .mobile-nav li a:hover {
  color: var(--c-accent);
}

/* ========== TOC / ANCHOR NAVIGATION ========== */
.toc_navigation {
  position: sticky;
  top: 70px;
  z-index: 15;
  background-color: var(--c-dark);
  display: flex;
  height: 48px;
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
}
.toc_navigation .container {
  display: flex;
  align-items: center;
  position: relative;
}
.toc_navigation .min-title {
  font-size: 12px;
  font-weight: 600;
  padding-right: 10px;
  white-space: nowrap;
}
.toc_navigation .items {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
}
.toc_navigation .items::-webkit-scrollbar {
  display: none;
}
.toc_navigation .items .item:last-child {
  padding-right: 8px;
}
.toc_navigation .items .item a {
  display: flex;
  align-items: center;
  font-weight: 500;
  text-decoration: none;
  padding: 3px 10px;
  line-height: normal;
  white-space: nowrap;
  border: 1px solid var(--c-text);
  color: var(--c-text);
  border-radius: var(--theme-rounded-button);
}
.toc_navigation .items .item a.active {
  color: var(--c-accent);
  border-color: var(--c-accent);
}
.toc_navigation .items .item a .name {
  font-size: 13px;
}
.toc_navigation .progress-container {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}
.toc_navigation .progress-container .progress-bar {
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: 0.3s;
}
@media (max-width: 991px) {
  .toc_navigation .container {
    padding-right: 0;
  }
}

/* ========== SECTION BLOCKS ========== */
.section-block {
  margin-bottom: 16px;
  padding: 0;
}
@media (max-width: 991px) {
  .section-block {
    margin-bottom: 12px;
  }
}

/* ========== WELCOME / HERO ========== */
.welcome-section {
  margin-bottom: 0 !important;
}
.welcome-section .welcome-section__container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
}
.welcome-section .welcome-text h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--c-text);
}
.section-block#hero {
  padding-top: 16px;
  padding-bottom: 8px;
  color: var(--c-text);
  position: relative;
}
.section-block#hero .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .welcome-section .welcome-section__container {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }
  .section-block#hero .welcome-text {
    margin-bottom: 24px;
  }
}
.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 45%;
  min-height: 220px;
  background: linear-gradient(135deg, #6C3AB2 0%, #3D136D 100%);
  border-radius: var(--theme-rounded);
  overflow: hidden;
}
.hero-banner .hero-banner-img {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 42%;
  max-width: 220px;
  height: auto;
  z-index: 1;
}
.hero-banner .hero-banner-content {
  text-align: right;
  z-index: 2;
}
.hero-banner .hero-banner-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--c-text);
}
.hero-banner .hero-banner-bonus {
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-banner .hero-banner-text {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-bottom: 12px;
  color: var(--c-text);
}
@media (max-width: 991px) {
  .hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.5rem 160px;
  }
  .hero-banner .hero-banner-content {
    text-align: center;
  }
  .hero-banner .hero-banner-img {
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
  }
}

/* ========== PROMO CARDS ========== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.promo-card {
  position: relative;
  min-height: 220px;
  border: none;
  border-radius: var(--theme-rounded);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: var(--color-card-shadow);
  color: var(--c-text);
}
.promo-card .pc-img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  max-width: 190px;
  height: auto;
  z-index: 1;
}
.promo-card .pc-body {
  margin-left: 48%;
  padding: 18px 16px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
  min-height: 200px;
}
.promo-card .pc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-text);
}
.promo-card .pc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  flex-shrink: 0;
}
.promo-card .pc-bonus {
  display: inline-block;
  padding: 3px 10px;
  border: none;
  border-radius: 50px;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  width: fit-content;
  background: var(--c-accent);
}
.promo-card .pc-text {
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--c-text-secondary);
}
.promo-card .pc-btn {
  margin-top: auto;
}
@media (max-width: 991px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .promo-card {
    min-height: 180px;
  }
  .promo-card .pc-img {
    width: 45%;
    max-width: 170px;
  }
  .promo-card .pc-body {
    margin-left: 44%;
    min-height: 170px;
    padding: 14px 12px 14px 0;
  }
}
@media (max-width: 480px) {
  .promo-card .pc-img {
    width: 100%;
    max-width: 210px;
  }
  .promo-card .pc-body {
    margin-left: 40%;
    padding: 12px 10px 12px 0;
    gap: 6px;
  }
}

/* ========== ENTERTAINMENT GRID ========== */
.ent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ent-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 12px 16px;
  min-height: 70px;
  background: var(--c-surface);
  box-shadow: var(--color-card-shadow);
  border-radius: var(--theme-rounded);
  overflow: visible;
  text-decoration: none;
  color: var(--c-text);
  transition: transform 0.3s;
}
.ent-card:hover {
  transform: translateY(-3px);
  color: var(--c-text);
}
.ent-card .ent-text {
  z-index: 2;
}
.ent-card .ent-text .ent-name {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  color: var(--c-text);
}
.ent-card .ent-text .ent-desc {
  font-size: 0.7rem;
  color: var(--c-text-muted);
  display: block;
}
.ent-card .ent-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: -5px;
  margin-top: -8px;
  margin-bottom: -8px;
}
@media (max-width: 991px) {
  .ent-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
@media (max-width: 575px) {
  .ent-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ent-card .ent-img {
    width: 70px;
    height: 70px;
  }
}

/* ========== SLOTS 2x2 GRID ========== */
.slots-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .slots-2x2 {
    grid-template-columns: 1fr;
  }
}

/* ========== GAME SECTIONS ========== */
.game_section {
  position: relative;
  padding: 20px;
  background: var(--c-surface);
  border-radius: var(--theme-rounded);
  overflow: hidden;
  box-shadow: var(--color-card-shadow);
  color: var(--c-text);
}
.game_section header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.game_section header .title {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
  color: var(--c-text);
}
.game_section .game_section__container,
.game_section .game_section__container li {
  padding: 0;
  margin: 0;
  list-style: none;
}
.game_section .game_section__container li::before {
  display: none;
}
.game_section .game_section__container img {
  transition: 0.5s;
  border-radius: var(--theme-rounded-images);
}
.game_section .game_section__container img:hover {
  transform: scale(1.05);
}
.game_section_1 {
  flex-basis: 50%;
}
.game_section_1 .game_section__container {
  display: grid;
  grid-gap: 10px;
}
.game_section_1 .game_section__container.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) {
  .game_section_1 {
    flex-basis: 100%;
    padding: 12px;
  }
  .game_section_1 .game_section__container {
    overflow-x: auto;
    scrollbar-width: none;
    grid-template-columns: none !important;
    grid-auto-flow: column;
  }
  .game_section_1 .game_section__container::-webkit-scrollbar {
    display: none;
  }
  .game_section_1 .game_section__container li > a {
    width: max-content;
    display: inline-block;
  }
  .game_section_1 .game_section__container img {
    height: 100px;
    width: auto;
  }
  .game_section_1 .game_section__container img:hover {
    transform: none;
  }
  .game_section header {
    margin-bottom: 10px;
  }
  .game_section header img {
    width: 30px;
    height: 30px;
  }
  .game_section header .title {
    font-size: 1.3rem;
  }
}

/* ========== PROVIDERS ========== */
.providers-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
}
.providers-carousel::-webkit-scrollbar {
  display: none;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  position: relative;
  border-radius: var(--theme-rounded);
  background: linear-gradient(135deg, #5A2596 0%, #3D136D 55%, #2A0E49 100%);
  overflow: hidden;
}
.cta-banner-main {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 320px;
}
.cta-banner-left {
  padding: 40px 0 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.cta-banner-left .cta-logo {
  margin-bottom: 24px;
}
.cta-banner-left .cta-logo img {
  height: 80px;
  width: auto;
}
.cta-banner-left .cta-title {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}
.cta-banner-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}
.cta-banner-right img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  object-position: bottom right;
  position: relative;
  top: -10px;
}
.cta-banner-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.cta-banner-bottom-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.cta-banner-bottom-item .cta-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
@media (max-width: 991px) {
  .cta-banner-main {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .cta-banner-left {
    padding: 24px;
  }
  .cta-banner-right {
    height: 200px;
  }
  .cta-banner-right img {
    max-height: 200px;
    object-position: center;
    top: 0;
  }
  .cta-banner-bottom {
    gap: 12px;
    padding: 16px 24px;
    justify-content: center;
  }
}

/* ========== PROMO CODE BLOCK ========== */
.promo-code-block {
  background: var(--c-dark);
  color: var(--c-text);
  border-radius: var(--theme-rounded);
  padding: 40px 20px;
  text-align: center;
}
.promo-code-block .pcb-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.promo-code-block .pcb-header img {
  width: 32px;
  height: 32px;
}
.promo-code-block .pcb-header span {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
}
.promo-code-block .pcb-value {
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--c-accent);
  margin-bottom: 4px;
}
.promo-code-block .pcb-sub {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 6px;
}
.promo-code-block .pcb-spins {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.promo-code-block .pcb-spins b {
  color: var(--c-accent);
}
.promo-code-block .pcb-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.promo-code-block .pcb-arrow {
  color: var(--c-accent);
  display: flex;
  align-items: center;
}
.promo-code-block .pcb-arrow svg {
  animation: arrowPulse 0.8s ease-in-out infinite alternate;
}
.promo-code-block .pcb-arrow.flip svg {
  animation: arrowPulseFlip 0.8s ease-in-out infinite alternate;
}
@keyframes arrowPulse {
  from {
    transform: scale(0.8);
    opacity: 0.5;
  }
  to {
    transform: scale(1.2);
    opacity: 1;
  }
}
@keyframes arrowPulseFlip {
  from {
    transform: scaleX(-1) scale(0.8);
    opacity: 0.5;
  }
  to {
    transform: scaleX(-1) scale(1.2);
    opacity: 1;
  }
}
.promo-code-block .pcb-code-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--c-text);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  border: 1px dashed var(--c-accent);
}
.promo-code-block .pcb-code-box .pcb-copy-icon {
  opacity: 0.4;
  font-size: 1.1rem;
}
@media (max-width: 575px) {
  .promo-code-block {
    padding: 24px 16px;
  }
  .promo-code-block .pcb-code-row {
    gap: 6px;
  }
  .promo-code-block .pcb-code-box {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .promo-code-block .pcb-arrow svg {
    width: 28px;
    height: 28px;
  }
  .promo-code-block .btn {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* ========== PHONE CAROUSEL / GALLERY ========== */
.gallery-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--c-text);
}
.phone-carousel {
  position: relative;
  overflow: hidden;
}
.phone-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.phone-slide {
  flex: 0 0 calc(33.333% - 14px);
  margin: 0 7px;
  position: relative;
}
.phone-frame {
  background: transparent;
  border-radius: 28px;
  padding: 0;
  border: none;
}
.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.phone-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  min-height: 16px;
}
.phone-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 3px;
  transition:
    background 0.3s,
    border-color 0.3s;
  box-sizing: border-box;
  background-clip: content-box;
}
.phone-dot.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  background-clip: content-box;
}
@media (max-width: 991px) {
  .phone-slide {
    flex: 0 0 calc(50% - 10px);
    margin: 0 5px;
  }
}
@media (max-width: 575px) {
  .phone-slide {
    flex: 0 0 calc(80% - 10px);
  }
}

/* ========== EVENTS TABLE ========== */
.st-group {
  background: var(--c-surface);
  border-radius: var(--theme-rounded);
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: var(--color-card-shadow);
  color: var(--c-text);
}
.st-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
}
.st-header .st-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-text);
}
.st-header .st-name img {
  width: 20px;
  height: 20px;
}
.st-header .st-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
  color: var(--c-text);
}
.st-header.active .st-arrow {
  transform: rotate(180deg);
}
.st-body {
  display: none;
  padding: 0 12px 12px;
}
.st-body.show {
  display: block;
}
.st-nested {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.st-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: var(--c-text);
}
.st-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.st-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-flag svg {
  width: 24px;
  height: 16px;
  display: block;
}
.st-item-body {
  flex: 1;
  min-width: 0;
}
.st-league {
  font-weight: 700;
  display: block;
  line-height: 1.2;
  color: var(--c-text);
}
.st-meta {
  font-size: 0.7rem;
  color: var(--c-text-muted);
  display: block;
  line-height: 1.2;
}
.st-teams {
  font-size: 0.75rem;
  color: var(--c-text-secondary);
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}
.st-teams .st-vs {
  color: var(--c-text-muted);
  margin: 0 3px;
}
.st-datetime {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  display: block;
  margin-top: 2px;
}
.st-more-wrap {
  padding: 10px 0 0;
  text-align: center;
  grid-column: 1 / -1;
}
.st-hidden {
  display: none;
}
.st-hidden.show {
  display: contents;
}
@media (max-width: 575px) {
  .st-nested {
    grid-template-columns: 1fr;
  }
}

/* ========== ODDS CARDS ========== */
.oc-odds {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.oc-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--c-accent);
  color: #000;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.72rem;
  text-align: center;
  min-width: 42px;
  cursor: pointer;
  transition: background 0.2s;
}
.oc-badge:hover {
  background: var(--c-accent-hover);
}
.oc-badge-label {
  font-size: 0.6rem;
  opacity: 0.7;
  font-weight: 400;
  margin-right: 2px;
}
.oc-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 14px;
  background: var(--c-accent);
  color: #000;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.72rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.oc-btn:hover {
  opacity: 0.85;
  color: #000;
}

/* ========== FOOTER ========== */
footer.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  color: var(--c-text);
  background-color: var(--c-dark);
}
footer.footer .logo_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
footer.footer .logo_row .custom-logo-link {
  max-width: 380px;
}
footer.footer .logo_row .custom-logo {
  max-height: 200px;
}
.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--c-text);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--c-surface-hover);
  transition: background 0.2s;
}
.footer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-text);
}
footer.footer .footer__container {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}
footer.footer .footer__container .heading {
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: var(--c-accent);
}
footer.footer .footer__container .footer_description .description {
  font-size: 0.75rem;
  opacity: 0.7;
  line-height: 1.5;
}
footer.footer .footer__container nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.footer .footer__container nav ul li {
  font-size: 0.82rem;
}
footer.footer .footer__container nav ul li a {
  color: var(--c-text);
  text-decoration: none;
}
footer.footer .footer__container nav ul li a:hover {
  color: var(--c-accent);
}
footer.footer .footer__container2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
}
footer.footer .footer__container2 .social {
  display: flex;
  gap: 16px;
}
footer.footer .footer__container2 .social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  text-decoration: none;
  color: var(--c-text);
  font-size: 1.1rem;
}
footer.footer .footer__container2 .social a:hover {
  color: var(--c-accent);
}
footer.footer .footer__container2 .footer_payments {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
footer.footer .footer__container2 .footer_payments .pay-icon {
  height: 28px;
  opacity: 0.8;
}
footer.footer .footer__container2 .footer_payments .pay-icon:hover {
  opacity: 1;
}
footer.footer .footer_logos_police {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  margin-bottom: 28px;
}
footer.footer .footer_logos_police a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
footer.footer .footer_logos_police .sport-logo {
  height: 34px;
  opacity: 0.45;
  transition: opacity 0.2s;
}
footer.footer .footer_logos_police a:hover .sport-logo {
  opacity: 0.75;
}
.footer-disclaimer {
  font-size: 0.72rem;
  text-align: center;
  opacity: 0.5;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 20px;
}
footer.footer .footer_text2 {
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.5;
  font-style: italic;
  margin-bottom: 10px;
}
footer.footer .copyright {
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.4;
}
@media (max-width: 991px) {
  footer.footer {
    text-align: center;
  }
  footer.footer .logo_row {
    flex-direction: column;
    gap: 16px;
  }
  footer.footer .footer__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  footer.footer .footer__container2 {
    flex-direction: column;
    gap: 20px;
  }
  footer.footer .footer__container2 .social {
    justify-content: center;
  }
  footer.footer .footer__container2 .footer_payments {
    justify-content: center;
  }
  footer.footer .footer_logos_police {
    gap: 16px;
  }
}

/* ========== CONTENT BLOCK ========== */
.content-block {
  background: var(--c-surface);
  border-radius: var(--theme-rounded);
  box-shadow: var(--color-card-shadow);
  padding: 32px 36px;
  color: var(--c-text);
  line-height: 1.7;
  font-size: 0.92rem;
}
.content-block h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--c-text);
}
.content-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 28px 0 14px;
  color: var(--c-text);
}
.content-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--c-text);
}
.content-block h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--c-text);
}
.content-block h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--c-text);
}
.content-block h6 {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.content-block p {
  margin: 0 0 16px;
  color: var(--c-text-secondary);
}
.content-block ul,
.content-block ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--c-text-secondary);
}
.content-block ul li,
.content-block ol li {
  margin-bottom: 6px;
}
.content-block ul {
  list-style: disc;
}
.content-block ol {
  list-style: decimal;
}
.content-block ul li::before {
  display: none;
}
.content-block img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--theme-rounded-images);
}
.content-block .table-scroll {
  margin: 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--theme-rounded-images);
}
.content-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.content-block table th,
.content-block table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}
.content-block table th {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-text);
  white-space: nowrap;
}
.content-block table td {
  color: var(--c-text-secondary);
}
.content-block table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
@media (max-width: 767px) {
  .content-block {
    padding: 24px 20px;
  }
  .content-block h1 {
    font-size: 1.5rem;
  }
  .content-block h2 {
    font-size: 1.2rem;
  }
}

/* ========== LAZY LOAD / EMPTY IMAGES ========== */
img[src=""] {
  min-height: 80px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--theme-rounded-images);
  display: block;
  width: 100%;
}

/* ========== DARK THEME (all unified) ========== */
body.home-page {
  color: var(--c-text);
  background:
    radial-gradient(ellipse 70% 55% at 25% 15%, rgba(246, 205, 69, 0.07) 0%, rgba(246, 205, 69, 0.03) 35%, transparent 75%),
    radial-gradient(ellipse 60% 50% at 80% 85%, rgba(225, 124, 47, 0.06) 0%, rgba(225, 124, 47, 0.02) 35%, transparent 70%),
    linear-gradient(
      120deg,
      #1C0932 0%,
      #210B3B 12%,
      #261043 24%,
      #2B1149 36%,
      #30124F 48%,
      #2B1149 60%,
      #261043 72%,
      #210B3B 84%,
      #1C0932 100%
    );
  background-size: 180% 180%, 180% 180%, 260% 260%;
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat, no-repeat, no-repeat;
  animation: bgFlow 26s ease-in-out infinite;
}
@keyframes bgFlow {
  0% { background-position: 0% 0%, 100% 100%, 0% 30%; }
  50% { background-position: 100% 60%, 0% 40%, 100% 70%; }
  100% { background-position: 0% 0%, 100% 100%, 0% 30%; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page {
    animation: none;
    background-position: 30% 20%, 70% 80%, 20% 40%;
  }
}
@media (max-width: 767px) {
  /* background-attachment: fixed can be janky/heavy on mobile Safari — fall back to scroll */
  body.home-page {
    background-attachment: scroll, scroll, scroll;
  }
}
.wrap {
  color: var(--c-text);
}
.section-block h1,
.section-block h2,
.section-block .title,
.st-league,
.oc-badge-label {
  color: var(--c-text);
}

/* Promo card text */
.promo-card .pc-header {
  color: var(--c-text);
}
.promo-card .pc-text {
  color: var(--c-text-secondary);
}
.promo-card .pc-bonus {
  background: var(--c-accent);
  color: #000;
}

/* Entertainment cards */
.ent-card {
  color: var(--c-text);
}
.ent-card .ent-name {
  color: var(--c-text);
}
.ent-card .ent-desc {
  color: var(--c-text-muted);
}

/* Slot section titles */
.game_section header .title {
  color: var(--c-text);
}

/* Events table */
.st-header .st-name {
  color: var(--c-text);
}
.st-header .st-arrow {
  color: var(--c-text);
}
.st-item {
  color: var(--c-text);
}
.st-meta {
  color: var(--c-text-muted);
}
.st-datetime {
  color: var(--c-text-muted);
}
.st-teams .st-vs {
  color: var(--c-text-muted);
}

/* Odds badges */
.oc-badge {
  background: var(--c-accent);
  color: #000;
}
.oc-badge-label {
  color: rgba(0, 0, 0, 0.6);
}

/* Gallery on dark bg */
.gallery-title {
  color: var(--c-text);
}
.gallery-dots .dot {
  background: rgba(255, 255, 255, 0.2);
}
.gallery-dots .dot.active {
  border-color: var(--c-accent);
}

/* Buttons */
.section-block .btn-outline-primary,
.st-more-wrap .btn-outline-primary {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  color: #000 !important;
}
.section-block .btn-outline-primary:hover,
.st-more-wrap .btn-outline-primary:hover {
  background: var(--c-accent-hover) !important;
  border-color: var(--c-accent-hover) !important;
}
/* Keep white-bordered buttons in dark areas */
.header .btn-outline-primary,
#mobileMenu .btn-outline-primary,
.cta-banner .btn-outline-primary,
.promo-code-block .btn-outline-primary {
  background: transparent !important;
  border-color: var(--c-text) !important;
  color: var(--c-text) !important;
}
.header .btn-outline-primary:hover,
#mobileMenu .btn-outline-primary:hover {
  background: var(--c-surface-hover) !important;
}

/* Providers */
.providers-wrap {
  color: var(--c-text);
}

/* Anchor nav */
.toc_navigation {
  background-color: var(--c-dark);
}

/* CTA + Promo code block text */
.cta-banner,
.cta-banner *,
.promo-code-block,
.promo-code-block * {
  color: var(--c-text);
}
.cta-banner .btn-success,
.promo-code-block .btn-success {
  color: #000;
}

/* Hero */
.section-block#hero {
  color: var(--c-text);
}
.section-block#hero .welcome-text h1 {
  color: var(--c-text);
}
.section-block#hero .welcome-text p {
  color: var(--c-text-secondary);
}
.section-block#hero .btn-success {
  color: #000;
}
.section-block#hero .hero-banner,
.section-block#hero .hero-banner * {
  color: var(--c-text);
}
.section-block#hero .hero-banner .hero-banner-bonus {
  color: var(--c-accent);
}
/* ========== CONTENT IMAGES LAYOUT ========== */
.content-block .img-banner{display:block;width:100%;max-width:100%;margin:24px auto;height:auto;border-radius:8px}
.content-block figure{display:block;margin:24px auto;text-align:center}
.content-block figcaption{text-align:center;font-size:0.78rem;color:var(--c-text-muted);margin-top:8px}
.content-block .img-right{float:right;margin:4px 0 20px 28px;max-width:45%;border-radius:var(--theme-rounded-images);height:auto}
.content-block .img-left{float:left;margin:4px 28px 20px 0;max-width:45%;border-radius:var(--theme-rounded-images);height:auto}
.content-block .clearfix::after{content:'';display:table;clear:both}
@media(max-width:767px){.content-block .img-banner{width:100%;margin:16px auto}.content-block .img-right,.content-block .img-left{float:none;max-width:100%;margin:16px 0;display:block}}

/* Page banners (bonus/login/games/app) */
.page-banner{margin:0 0 28px;border-radius:12px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,0.5)}
.page-banner .img-banner{display:block;width:100%;height:auto;margin:0;border-radius:12px}
@media(max-width:767px){.page-banner{margin:0 0 18px}}

/* ========== FAQ ACCORDION (auto-built by script.js) ========== */
.faq-list{margin:16px 0 24px}
.faq-item{background:var(--c-surface);border-radius:var(--theme-rounded);margin-bottom:10px;overflow:hidden;box-shadow:var(--color-card-shadow)}
.faq-item .faq-question{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;user-select:none;font-weight:600;color:var(--c-text)}
.faq-item .faq-arrow{flex:0 0 auto;font-size:0.75rem;color:var(--c-accent);transition:transform 0.3s}
.faq-item .faq-question.active .faq-arrow{transform:rotate(180deg)}
.faq-item .faq-answer{display:none;padding:0 18px 18px;color:var(--c-text-secondary)}
.faq-item .faq-answer.show{display:block}
.faq-item .faq-answer p{margin:0}

/* ========== Kingmaker Casino DE — Anpassungen an das Referenzdesign ========== */
.content-block h2 { color: var(--c-heading-accent); font-weight: 700; }
.content-block h3 { color: var(--c-accent); }
.btn-success, .btn-success:hover, .header .btn-success { color: #1B0A2E !important; font-weight: 700; }
.content-block a { color: var(--c-accent); }
.content-block table th { background: #46187B; color: var(--c-text); }
.hero-banner .hero-banner-bonus { color: var(--c-accent); }
.welcome-section .welcome-text h1 { font-weight: 800; letter-spacing: -0.01em; }
.footer-disclaimer a { color: var(--c-accent); }
.header .logo img { max-width: 100%; height: auto; }
html { background-color: #1C0932; }
@media (max-width: 991px) { .header .logo { max-width: 160px; } }
@media (max-width: 420px) { .header .logo { max-width: 128px; } .header .header__container .buttons .btn { font-size: 0.66rem; padding: 4px 8px; } }
@media (max-width: 350px) { .header .logo { max-width: 104px; } }

/* ==========================================================
   Kingmaker Casino DE — Layout & Visual-Layer (v2.1)
   ========================================================== */
/* seitlicher Aussenabstand halbiert: vorher (100vw-1200px)/2 + 12px, jetzt die Hälfte */
.container { max-width: calc(600px + 50vw); padding-left: 6px; padding-right: 6px; }
@media (max-width: 1200px) { .container { max-width: 100%; } }

/* Buttons */
.btn-success { background: linear-gradient(180deg, #FBDA6A 0%, #F6CD45 45%, #E9AE2E 100%); border: 0; box-shadow: 0 6px 18px rgba(246, 205, 69, 0.22); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn-success:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 26px rgba(246, 205, 69, 0.35); }
.km-btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.55); font-weight: 600; transition: border-color .2s, color .2s; }
.km-btn-ghost:hover { border-color: #F6CD45; color: #F6CD45 !important; }

/* Header */
.header-container { background: linear-gradient(180deg, #521D8F 0%, #46187B 100%); border-bottom: 1px solid rgba(246, 205, 69, 0.2); box-shadow: 0 6px 24px rgba(10, 2, 20, 0.35); }
.header { background: transparent; }

/* Hero mit Bildhintergrund im Referenzstil */
.section-block#hero { position: relative; padding: 64px 0 56px !important; margin-bottom: 24px; overflow: hidden; }
.section-block#hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(28, 9, 50, 0.95) 0%, rgba(28, 9, 50, 0.82) 36%, rgba(28, 9, 50, 0.30) 68%, rgba(28, 9, 50, 0.55) 100%),
    url("/assets/images/hero-bg.webp") 70% 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%);
}
@media (max-width: 991px) {
  .section-block#hero { padding: 36px 0 32px !important; }
  .section-block#hero::before { background: linear-gradient(180deg, rgba(28, 9, 50, 0.80) 0%, rgba(28, 9, 50, 0.92) 60%), url("/assets/images/hero-bg-m.webp") 65% 0 / cover no-repeat; }
}
.section-block#hero .container { position: relative; z-index: 1; }
.section-block#hero { margin-top: -28px; }
@media (max-width: 991px) { .section-block#hero { margin-top: -35px; } }
.km-eyebrow { display: inline-block; margin-bottom: 14px; color: #E17C2F; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.km-gold { background: linear-gradient(90deg, #F8D15C 0%, #F6CD45 45%, #E17C2F 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #F6CD45; }
.section-block#hero .welcome-text h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.km-hero-lead { max-width: 560px; margin: 0 0 26px; line-height: 1.8; color: rgba(255, 255, 255, 0.86) !important; }
.km-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.km-hero-actions .btn { padding: 0.75rem 1.8rem !important; }
.km-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.km-trust li { padding: 6px 12px 6px 26px; position: relative; border-radius: 999px; font-size: .78rem; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(246, 205, 69, 0.25); }
.km-trust li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #F6CD45; box-shadow: 0 0 8px rgba(246, 205, 69, 0.8); }
.section-block#hero .hero-banner {
  align-self: center; min-height: 260px;
  background: linear-gradient(135deg, rgba(108, 58, 178, 0.62) 0%, rgba(61, 19, 109, 0.72) 100%);
  border: 1px solid rgba(246, 205, 69, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.section-block#hero .hero-banner .hero-banner-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: #E17C2F !important; font-weight: 700; }
.section-block#hero .hero-banner .hero-banner-bonus { background: linear-gradient(90deg, #F8D15C, #E17C2F); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-banner .hero-banner-img { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5)); }

/* Karten */
.promo-card, .ent-card, .game_section, .faq-item, .content-block, .cta-banner { border: 1px solid rgba(246, 205, 69, 0.14); }
.promo-card { background: radial-gradient(circle at 85% 0%, rgba(225, 124, 47, 0.20), transparent 55%), var(--c-surface); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.promo-card:hover, .ent-card:hover { transform: translateY(-4px); border-color: rgba(246, 205, 69, 0.5); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(246, 205, 69, 0.12); }
.promo-card .pc-header { letter-spacing: .06em; }
.ent-card { background: linear-gradient(135deg, #4E1C88 0%, #3D136D 100%); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ent-card .ent-img { filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)); transition: transform .25s ease; }
.ent-card:hover .ent-img { transform: scale(1.08) rotate(-3deg); }
.game_section { background: linear-gradient(180deg, #43167A 0%, #3D136D 100%); }
.game_section header .title { background: linear-gradient(90deg, #fff, #F8D15C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.game_section__container li a { display: block; border-radius: 10px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.game_section__container li a:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 0 2px #F6CD45, 0 10px 22px rgba(0, 0, 0, 0.45); }
#providers-section .container > div { background: linear-gradient(135deg, #46187B 0%, #33105C 100%) !important; border: 1px solid rgba(246, 205, 69, 0.14); }
#providers-section img { opacity: .82; transition: opacity .2s ease, transform .2s ease; }
#providers-section a:hover img { opacity: 1; transform: scale(1.04); }
.cta-banner { background: radial-gradient(circle at 78% 55%, rgba(246, 205, 69, 0.22), transparent 42%), linear-gradient(135deg, #5A2596 0%, #3D136D 55%, #2A0E49 100%); }
.cta-banner-left .cta-title { font-weight: 500; }
.cta-banner-right img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5)); }

/* Textblock */
.content-block { position: relative; overflow: hidden; background: linear-gradient(180deg, #41156F 0%, #3D136D 240px); }
.content-block::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent 0%, #F6CD45 30%, #E17C2F 70%, transparent 100%); }
.content-block h1 { font-weight: 800; }
.content-block h2 { position: relative; padding-left: 34px; margin-top: 36px; }
.content-block h2::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 20px; margin-top: -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23F8D15C'/%3E%3Cstop offset='1' stop-color='%23E17C2F'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Ccircle cx='2.2' cy='7' r='2'/%3E%3Ccircle cx='7' cy='3.6' r='2'/%3E%3Ccircle cx='12' cy='2' r='2'/%3E%3Ccircle cx='17' cy='3.6' r='2'/%3E%3Ccircle cx='21.8' cy='7' r='2'/%3E%3Cpath d='M2.2 8.5 7 12 12 3.5 17 12 21.8 8.5 20 16H4z'/%3E%3Crect x='3.6' y='16.6' width='16.8' height='3' rx='1.2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.content-block ol li::marker { color: #F6CD45; font-weight: 700; }
.content-block .info-table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid rgba(246, 205, 69, 0.18); border-radius: 12px; overflow: hidden; }
.content-block .info-table thead th { background: linear-gradient(90deg, #5A2596 0%, #46187B 100%); color: #F8D15C; font-weight: 700; }
.content-block .info-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.035); }
.content-block .info-table tbody td:first-child { color: #fff; font-weight: 600; }
.page-banner { border: 1px solid rgba(246, 205, 69, 0.3); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(108, 58, 178, 0.35); }
.faq-item { transition: border-color .2s ease; }
.faq-item:has(.faq-question.active) { border-color: rgba(246, 205, 69, 0.5); }
.faq-item .faq-question.active { color: #F6CD45; }

/* Footer */
footer.footer.km-footer { padding: 44px 0 28px; background: linear-gradient(180deg, #2E0F52 0%, #1C0932 100%); border-top: 1px solid rgba(246, 205, 69, 0.25); }
.km-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.km-footer-brand .custom-logo { height: 42px; width: auto; }
.km-footer-note { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; max-width: 520px; font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, 0.62); }
.km-footer-note img { flex: 0 0 auto; margin-top: 2px; }
.km-footer-note a { color: #F6CD45; }
.km-footer .heading { margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E17C2F; }
.km-footer nav ul { margin: 0; padding: 0; list-style: none; }
.km-footer nav li { margin: 0 0 8px; }
.km-footer nav a { color: rgba(255, 255, 255, 0.82); font-size: .88rem; text-decoration: none; transition: color .2s; }
.km-footer nav a:hover { color: #F6CD45; }
.km-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; font-size: .75rem; color: rgba(255, 255, 255, 0.45); }
@media (max-width: 767px) { footer.footer.km-footer, .km-footer nav, .km-footer-brand { text-align: left; } .km-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; } .km-footer-brand { grid-column: 1 / -1; } }

@media (max-width: 575px) { .promo-card .pc-img { width: 42%; max-width: 170px; } .promo-card .pc-body { margin-left: 45%; } }
@media (prefers-reduced-motion: reduce) { .promo-card, .ent-card, .game_section__container li a, .btn-success { transition: none; } }
