@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html,
body {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  box-sizing: border-box;
  margin: 0 auto;
  overflow-x: hidden;
  color: rgba(189, 189, 189, 1);
  background: rgba(8, 12, 17, 1);
  position: relative;
  height: 100%;
  object-fit: contain;
}
body::before {
  content: "";
  position: absolute;
  top: 153px;
  left: -63px;
  width: 716px; /* розмір картинки */
  height: 716px;
  background-image: url("img/layer.png");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

/* СПРАВА ЗГОРУ */
body::after {
  content: "";
  position: absolute;
  top: 100px;
  right: -430px;
  width: 1177px;
  height: 1177px;
  background-image: url("img/dude.png");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.container {
  position: relative;
  max-width: 1220px;
  width: auto;
  margin: 0 auto;
  padding: 0 10px;
  z-index: 1;
}

.header {
  background: rgba(14, 18, 23, 1);
  border-bottom: 1px solid rgba(43, 46, 46, 1);
  box-shadow: 0px 4px 53px 0px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
}
.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-menu ul,
.footer-menu ul {
  display: flex;
  gap: 10px;
  color: #fff;
  text-transform: uppercase;
}
ul,
li,
a {
  text-decoration: none;
  list-style: none;
  color: inherit;
}
h1 {
  font-size: 50px;
  bottom: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
li {
  margin: 0;
  padding: 0;
}

.logo {
  max-width: 70px;
  width: auto;
  height: auto;
}

.logo-bl a {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: 700;
  background: linear-gradient(
    260.52deg,
    #1c99fe -4.98%,
    #7644ff 48.42%,
    #fd4766 96.9%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Для підтримки на Firefox */
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}
.header-menu ul a:hover,
.footer-menu ul a:hover {
  background: linear-gradient(
    260.52deg,
    #1c99fe -4.98%,
    #7644ff 48.42%,
    #fd4766 96.9%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Для підтримки на Firefox */
  background-clip: text;
  color: transparent;
}
.hero > .container {
  display: flex;
  justify-content: center;
}
.container-hero {
  max-width: 905px;
  width: 100%;
  margin: 60px 0;
  text-align: center;
}
.hero {
  position: relative;
  background-image: url("img/bckg-group.svg"),
    /* сердечка (низ) */ url("img/hero-bckg.png"); /* градієнт (поверх) */

  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
}
.hero-icons {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
}
.hero-icon {
  display: flex;
  gap: 10px;
  font-size: 16px;
}
.color {
  color: rgba(253, 71, 95, 1);
}
.data {
  color: rgba(253, 71, 95, 1);
  font-weight: 500;
}
.title-container {
  border: 1px solid;

  border-image-source: linear-gradient(
    81.27deg,
    #101318 -0.03%,
    #171d2c 52.97%,
    #08090c 99.97%
  );

  background: rgba(14, 18, 23, 1);
  display: flex;
  justify-content: space-around;
  padding: 6px;
  border-radius: 1px;
  color: rgba(100, 105, 111, 1);
}
.casino {
  margin-bottom: 60px;
}
.casino-item,
.casino-mob {
  background: rgba(15, 15, 15, 1);
  padding: 19.5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px;
}

.casino-mob {
  display: none !important;
}

.casino-num {
  padding: 0 33.5px;
  max-width: 77.92px;
}
.casino-num p {
  font-size: 32px;
}
.casino-logo {
  position: relative;
  background: linear-gradient(
    81.27deg,
    #101318 -0.03%,
    #171d2c 52.97%,
    #08090c 99.97%
  );
  border: 1px solid rgba(43, 46, 46, 1);
  padding: 43px 46.5px;
  border-radius: 8px;
  width: 200px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.casino-bonus {
  padding: 0 20px;
  text-align: center;
}
.casino-bonus p {
  font-size: 14px;
}
.casino-bonus h2 {
  font-size: 34px;
}
.casino-stars {
  text-align: center;
}
.casino-pay {
  display: flex;
  gap: 17px;
}
.pay {
  display: flex;
  flex-direction: column;
  gap: 13.5px;
  justify-content: space-around;
}
.pay img {
  max-height: 15px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

.casino-btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 32px;
  align-items: center;
}
.button {
  background: rgba(253, 71, 95, 1);
  padding: 14px 40px;
  border-radius: 8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  font-size: 13px;
  font-weight: 700;
}
.btn {
  font-size: 14px;
  text-decoration: underline;
  color: rgba(100, 105, 111, 1);
}
.casino-stars p {
  color: rgba(100, 105, 111, 1);
  font-size: 13px;
}
.footer {
  margin-bottom: 20px;
}
.footer-container p {
  font-size: 14px;
  line-height: 1.5;
}
.footer-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-menu ul {
  margin-top: 30px;
  justify-content: space-between;
}
.coop {
  font-size: 12px;
  color: rgba(100, 105, 111, 1);
  text-align: center;
  margin-top: 20px;
}
.privacy-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: start;
  padding-top: 50px;
}
.casino-top {
  position: absolute;
  top: -10px;
  left: -10px;
  background: linear-gradient(
    260.52deg,
    #1c99fe -4.98%,
    #7644ff 48.42%,
    #fd4766 96.9%
  );
  padding: 2px 10px;
  color: #fff;
  text-transform: uppercase;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
}

@media (max-width: 700px) {
  body::before,
  body::after,
  .hero-text p,
  .casino-title,
  .casino-num {
    display: none;
  }
  h1 {
    font-size: 25px;
  }
  .hero-icon img {
    max-width: 12.5px;
  }
  .hero-icon p {
    font-size: 12px;
  }
  .hero-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .container {
    padding: 0 10px;
  }
  .casino-mob {
    display: flex !important;
    padding: 0;
    border: 1px solid #7644ff;
    margin: 0;
    height: auto;
    border-radius: 8px;
  }
  .casino-item {
    display: none;
  }
  .mobile {
    flex: 1;
    align-items: center;
  }
  .casino-logo {
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
  }
  .casino-pay {
    justify-content: center;
  }
  .one {
    background: linear-gradient(
      81.27deg,
      #301721 -0.03%,
      #28365a 52.97%,
      #2f1d4e 99.97%
    );
    padding: 10px;
    border-radius: 8px 0 0 8px;
    border-right: solid 2px rgba(110, 76, 255, 1);
  }
  .casino-bonus h2 {
    font-size: 26px;
  }
  .casino-bonus p {
    font-size: 12px;
  }
  .button {
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 5px;
  }
  .mobile > .casino-stars p {
    display: none;
  }
  .casino-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  .mobile > .casino-btn > .btn {
    display: none;
  }
  .casino-top {
    top: -28px;
    left: 10px;
  }
  .container-header {
    flex-direction: column;
  }
  .header-menu ul,
  .footer-menu ul {
    flex-direction: column;
    align-items: center;
  }
  .pay {
    gap: 6px;
  }
  .casino-stars {
    margin-top: 18px;
  }
  .casino-stars h3 {
    font-size: 12px;
  }
  .casino-stars img {
    max-width: 58px;
    width: auto;
  }
  .container-casino {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .two {
    padding: 10px;
  }
  .border {
    border-right: 1px solid rgba(43, 46, 46, 1);
    min-width: 198px;
    width: auto;
  }
  .footer-logo {
    flex-direction: column;
  }
}
.footer-logo {
  margin: 30px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.footer-logo img {
  max-height: 100px;
  width: auto;
}

  /* 18+ Age Popup */
    #agePopup {
      position: fixed;
      z-index: 9999;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.95);
      color: white;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    #agePopup h1 {
      font-size: 2em;
      margin-bottom: 20px;
    }

    #agePopup button {
      padding: 12px 24px;
      margin: 10px;
      font-size: 1em;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    #ageYes {
      background-color: #1C99FE;
      color: white;
    }

    #ageNo {
      background-color: #FD4766;
      color: white;
    }

    /* Cookies Popup */
    #cookiePopup {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #000;
      color: white;
      padding: 20px 0;
      z-index: 9998;
      text-align: center;
    }

    #cookiePopup p {
      margin: 0 0 15px;
      font-size: 1em;
    }

    #cookiePopup button {
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      color: #fff;
      font-weight: bold;
      background: linear-gradient(260.52deg, #1C99FE -4.98%, #7644FF 48.42%, #FD4766 96.9%);
      cursor: pointer;
    }