/* Grundlegende Layout- und Reset-Regeln */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Roboto", sans-serif;
  color: white;
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

#particles-js {
}

/* NEU: Layout-Container für Desktop und Mobile */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center; /* vorher: flex-start → damit vertikal zentriert */
  padding: 40px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Ersetzen Sie die alte .main-content Regel */
.main-content {
  flex-grow: 1; /* Diese Anweisung lässt den Container den restlichen Platz füllen */
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert die Karte innerhalb des verfügbaren Platzes */
}

.filter-sidebar {
  width: 280px;
  flex-shrink: 0;
  background-color: #272a2f; /* Hintergrundfarbe aus Ihrem Template */
  border-radius: 8px;
}

/* Ihre bestehenden Styles für die Karte */
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
  z-index: 1;
}

.card {
  width: 300px;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform-style: preserve-3d;
  overflow: visible;
  position: relative;
}

.card-back {
  position: absolute;
  inset: 0;
  background: url("cardBack.png") center/cover no-repeat;
  background-position: center -40px;
  border-radius: 20px;
  backface-visibility: hidden;
  z-index: 2;
}

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  backface-visibility: hidden;
  opacity: 0;
  z-index: 1;
}

.bars {
  position: absolute;
  bottom: -5%;
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  overflow: visible;
  transform: translateZ(15px);
  pointer-events: none;
}

.bar-mask {
  overflow: hidden;
}

.bar {
  display: flex;
  align-items: center;
  padding: 10px 30px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.7);
  white-space: normal;
}

.bar-top {
  font-size: 18px;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: rgba(0, 0, 0, 0.75);
  max-width: calc(100% - 40px);
  line-height: 1.2;
}

.bar-bottom {
  font-size: 14px;
  border-radius: 8px 0 0 8px;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  padding: 5px 15px; /* Etwas Padding hinzugefügt */
}

.provider-logo {
  height: 1.8rem;
  width: auto;
  margin-right: 8px;
  flex-shrink: 0;
}
.bottom-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.potential {
  font-size: 12px;
  color: #ccc;
  margin-top: 2px;
}

#reveal-btn {
  position: relative;
  margin-top: 40px; /* Abstand zur Karte */
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  background: #ffcc00;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
}
#reveal-btn:hover {
  background: #ffd966;
}

/* --- BEGINN: CSS FÜR DIE SIDEBAR (aus Ihrem Template übernommen und bereinigt) --- */

.option-3kx {
  padding: 20px 20px 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.option-3kx:last-child {
  border-bottom: none;
}

.option-3kx .title-5dm {
  font-size: 17px;
  display: flex;
  align-items: center;
  font-weight: 600;
  width: 100%;
  margin-bottom: 10px;
  user-select: none;
  font-family: "Montserrat", sans-serif;
}

.option-3kx .option-x5k {
  padding-top: 12px;
  list-style-type: none;
  padding-left: 6px;
  margin: 0;
}

.option-3kx .title-5dm .pre-4hw {
  color: rgba(148, 197, 236, 0.9);
  font-size: 20px;
  margin-right: 12px;
  width: 22px;
  text-align: center;
}

.option-3kx .option-x5k li {
  padding: 0;
  margin: 0;
}

.option-3kx .option-x5k li.divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 12px 0;
  list-style: none;
}

.container-ibj {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 17px;
  line-height: 22px;
  user-select: none;
  color: white;
  font-family: "Montserrat", sans-serif;
}

.container-ibj .syxgd {
  white-space: nowrap;
  font-size: 16px;
}

.container-ibj input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.container-ibj .che-l8i {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms;
}

.container-ibj:hover input ~ .che-l8i {
  background-color: rgba(255, 255, 255, 0.4);
}

.container-ibj input:checked ~ .che-l8i {
  background-color: #2196f3;
  border-color: #2196f3;
}

.container-ibj .che-l8i .fa-jyi {
  font-size: 13px;
  color: white;
  transform: scale(0);
  transition: transform 150ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.container-ibj input:checked ~ .che-l8i .fa-jyi {
  transform: scale(1);
}

/* --- ENDE: CSS FÜR DIE SIDEBAR --- */

/* NEU: Media Query für die mobile Ansicht */
@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 30px;
  }

  /* ↑ bleibt so wie du es schon hast ↑ */

  /* Neu: Reihenfolge vertauschen */
  .filter-sidebar {
    order: 2; /* Menü ganz unten */
    width: 100%;
    max-width: 400px;
  }

  .main-content {
    order: 1; /* Picker ganz oben */
  }

  #reveal-btn {
    margin-top: 30px;
  }
}

.offer {
  background-color: #1f252e;
  width: 400px;
  height: max-content;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.253);
  overflow: hidden;
  flex-shrink: 0;
}

.offer .casinoLogo {
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  display: flex;
}

.offer .offerInfos {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.offer .offerInfos p {
  font-size: 34px;
  margin-right: 20px;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.685);
  color: gold;
  font-weight: bold;
}

.offer .offerInfos p:last-child {
  margin-right: 0;
}

.offer .offerInfos p span {
  display: block;
  font-size: 15px;
  font-weight: normal;
  color: white;
  text-shadow: none;
  text-align: center;
}

.offer .extraInfo {
  padding: 5px;
  background-color: #2e343d;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
}

.offer .extraInfo span {
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  text-align: center;
  width: 100%;
}

.offer .infoSection {
  margin-bottom: 25px;
}

.offer .infoSection .infoLine {
  display: block;
  text-align: center;
  margin-top: 15px;
}

.offer .playButton {
  background-color: rgb(50, 139, 65);
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1px;
  transform: skew(-5deg);
  width: max-content;
  display: block;
  margin: auto;
  box-shadow: 6px 6px 2px rgba(0, 0, 0, 0.308);
  cursor: pointer;
  text-decoration: none;
  color: white;
  overflow: hidden;
  transition: 200ms;
}

@media (max-width: 1200px) {
  .offer {
    width: 100%;
  }
}

.offer-flex-container {
  display: flex; 
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px; 

  padding: 50px 20px;

  max-width: 1300px;
  margin: 0 auto; 
}

.offer {
  background-color: #1f252e;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.253);
  overflow: hidden;


  width: 100%;

  max-width: 450px;
}


@media (min-width: 900px) {
  .offer {
    width: calc(50% - 12.5px);
  }
}
@media (min-width: 1350px) {
  .offer {
    width: calc(33.333% - 17px);
  }
}
