@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

html,
body {
  margin: 0 auto;
  overflow: auto;
  background-color: rgba(231, 231, 231, 1);
  font-family: "Inter", sans-serif;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1400px;
  width: auto;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}
.hero-content {
  padding: 32px 0;
}
.hero-darkened {
  position: relative;
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: center;
  height: auto; /* Або будь-яка висота */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-darkened .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.75); /* Темне затемнення */
  z-index: 1;
}

.hero-text {
  width: auto;
  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;
  gap: 10px;
  opacity: 1;
  border-radius: 12px;
  border-width: 1px;
  border: 1px solid rgba(242, 0, 58, 1);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-check {
  display: flex;
  gap: 18px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-pay {
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  gap: 12px;

  opacity: 1;
  border-radius: 120px;
  padding: 6px;
}
.check p {
  text-transform: uppercase;
}
.casino {
  margin: 56px 0;
}
.casino-item {
  display: flex;
  background-color: rgba(255, 255, 255, 1);
  max-height: 221px;
  height: auto;
  border-radius: 12px;
}

.casino-logo {
  position: relative;
  background-image: url("img/background-1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #fff;
  min-width: 302px;
  width: auto;
  min-height: 121px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 7px 0;
  border-radius: 12px 0 0 12px;
}
.one {
  position: relative;
  background-image: url("img/background-2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #fff;
  min-width: 302px;
  width: auto;
  min-height: 121px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 7px 0;
  border-radius: 12px 0 0 12px;
}
.two {
  position: relative;
  background-image: url("img/background-3.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #fff;
  min-width: 302px;
  width: auto;
  min-height: 121px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 7px 0;
  border-radius: 12px 0 0 12px;
}
.three {
  position: relative;
  background-image: url("img/background-4.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #fff;
  min-width: 302px;
  width: auto;
  min-height: 121px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 7px 0;
  border-radius: 12px 0 0 12px;
}
.four {
  position: relative;
  background-image: url("img/background-5.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #fff;
  min-width: 302px;
  width: auto;
  min-height: 121px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 7px 0;
  border-radius: 12px 0 0 12px;
}
.casino-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.casino-logo > * {
  position: relative;
  z-index: 2; /* Щоб контент був поверх затемнення */
}

.logo {
  max-width: 200px;
  width: auto;
}
.casino-bonus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-right: solid 1px rgba(217, 217, 217, 1);
}
.bonus-text {
  opacity: 1;
  border-radius: 12px;
  padding: 10px;
  background: rgba(242, 0, 58, 1);
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.casino-conditions {
  padding: 0 21px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: start;
  justify-content: center;
  border-right: solid 1px rgba(217, 217, 217, 1);
  min-width: 247px;
  width: auto;
}
.conditions {
  display: flex;

  align-items: center;
  gap: 6px;
}
.conditions p {
  font-size: 12px;
}
.casino-pay img {
  max-width: 24px;
  width: auto;
}

.casino-pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 зображення в ряд */
  gap: 10px; /* відступи між зображеннями */
  justify-items: center; /* центрує зображення всередині клітинок */
  align-items: center;
  /* margin: 0; */
  padding: 20px;
  border-right: solid 1px rgba(217, 217, 217, 1);
}

.casino-pay img {
  max-width: 24px; /* контроль за розміром зображень */
  height: auto;
}
.casino-mob {
  height: 175px; /* або конкретна висота, наприклад: 100px */
  overflow: hidden;
  position: relative;
  padding: 0 20px;
  border-right: solid 1px rgba(217, 217, 217, 1);
}

.casino-mob img {
  max-width: 165px;
  min-width: 165px;
  width: 100%;
  height: auto;
  display: block;
}
.casino-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto; /* штовхає вниз, займає залишок */
}

.casino-button a {
  text-decoration: none;
  color: inherit;
  color: #fff;
}
.button {
  background: rgba(242, 0, 58, 1);
  padding: 14px 20px;
  border-radius: 12px;
  color: #fff;
}
.casino-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info {
  margin: 56px 0;
}
.info-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-text p {
  font-size: 18px;
  line-height: 1.5;
}
.container-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.casino-mobile,
.casino-mobile-two {
  display: flex;
}
@media (max-width: 700px) {
  .casino-bonus {
    border-right: none;
  }
  .hero-text {
    font-size: 12px;
  }
  .hero-check {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-content {
    padding: 36px 0;
  }
  .casino-item {
    flex-direction: column;
    max-height: 100%;
  }
  .casino-mobile {
    padding: 12px;
  }
  .casino-mobile-two {
    flex-direction: column;
    gap: 10px;
  }
  .casino-mob {
    overflow: visible;
    padding: 0;
  }

  .casino-conditions {
    min-width: 100%;
  }
  .bonus-text {
    font-size: 14px;
  }
  .casino-button {
    width: 100%;
  }
  .container {
    padding: 0 20px;
  }
  .button {
    width: 100%;
  }
  .casino-bonus,
  .casino-conditions {
    padding: 0;
  }
  .casino-button a {
    margin: 10px;
    display: flex;
    justify-content: center;
  }
}
