html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto Consented", sans-serif;
  background-image: url("./images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7); /* dark overlay */
  z-index: -1;
}

/* HEADER STARTS */

header {
  background-color: #000228;
  padding-block: 11px;
}

.header_container {
  max-width: 1190px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-width: 200px;
  display: block;
}

.header_buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header_language {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header_language a {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.78px;
  text-decoration: none;
  text-align: center;
  color: #fff;
}

.header_language a:hover {
  color: #fffbe4;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 30px;
}

.buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  width: 100px;
  text-align: center;
  height: 25px;
}

.register_btn {
  border-radius: 2px;
  max-width: 100px;
  width: 100%;
  max-height: 25px;
  height: 100%;
  background-color: #d20303;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.41px;
  text-align: center;
}

.register_btn:hover {
  background-color: #a42318;
}
.login_btn {
  border-radius: 2px;
  max-width: 100px;
  width: 100%;
  max-height: 25px;
  height: 100%;
  color: #fff;
  border: 1px solid #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 11.72px;
  text-align: center;
}
.login_btn:hover {
  background-color: #fff;
  color: #000228;
}
@media (max-width: 992px) {
  header {
    padding-block: 13px;
  }
  .logo {
    max-width: 136px;
  }
  .logo img {
    padding-right: 5px;
  }
  .header_container {
    max-width: 100%;
    padding-inline: 5px;
  }
  .header_buttons {
    gap: 10px;
  }
  .buttons {
    margin-left: 0px;
  }
  .buttons a {
    width: 46px;
    font-size: 10px;
  }
  .header_language {
    gap: 5px;
  }
  .header_language a {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  .logo {
    max-width: 160px;
  }
  .logo img {
    width: 100%;
    height: auto;
  }
  .header_container {
    gap: 8px;
  }
}

/* HEADER ENDS */

main {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

h1 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e2e2;
  margin: 1rem 0;
  text-align: center;
  gap: 0.5rem;
}

.promo-box {
  background: linear-gradient(to bottom right, #1c1f7a, #070c3d);
  padding: 2rem;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.leaderboard-logo {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 300px;
  object-fit: contain;
}

.join-leaderboard {
  color: #00c3ff;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin: 1rem 0;
}

.prize-section {
  text-align: center;
  margin: 2rem 0;
  background-color: rgba(0, 0, 80, 0.85);
  padding: 2rem;
  border-radius: 12px;
  max-width: 900px;
  margin: 2rem auto;
  color: #fff;
}

.prize-heading {
  font-size: 1.4rem;
  font-style: unset;
  margin: 0;
}

.row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.col {
  padding: 0 1rem;
}

.first-row .left-narrow {
  flex: 0 0 20%;
}

.first-row .right-wide {
  flex: 0 0 80%;
}

.second-row .left-wide {
  flex: 1;
  text-align: right;
}

.second-row .right-wide {
  flex: 1;
  text-align: left;
}

.separator {
  width: 1.5px;
  background-color: white;
  margin: 0 0.5rem;
  min-height: 80px;
}

.big-left-text {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

.small-left-text {
  font-size: 2rem;
  text-transform: uppercase;
  margin: 0.2rem 0;
}

.big-amount {
  font-size: 5rem;
  font-weight: bold;
  margin: 0;
  text-align: left;
}

.subtext {
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
}

.payouts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payouts li {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.download-section {
  background-color: transparent;
  padding: 0rem 1rem 2rem;
  text-align: center;
  position: relative;
}

.cta-bubbles {
  position: absolute;
  top: 80px;
  right: 5%;
}

.free,
.app-only,
.free-fr,
.app-only-fr {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
  padding: 0.5rem;
  position: absolute;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.free,
.free-fr {
  background-color: #0099ff; /* bright blue */
  top: 20px;
  right: 15px;
  z-index: 1;
  font-size: 1.1rem;
}

.app-only,
.app-only-fr {
  background-color: #e60000; /* bright red */
  top: 100px;
  right: 80px;
  z-index: 2;
  width: 60px;
  height: 60px;
  font-size: 0.89rem;
}

.free-fr {
  font-size: 0.8rem;
}

.app-only-fr {
  font-size: 0.6rem;
}

.phone-image {
  position: relative;
}

.phone-image img.phone {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: auto;
}

.free_to_play {
  display: none;
  position: absolute;
  top: 100%;
  right: -14px;
  transform: translateY(-50%);
  width: 120px;
  height: auto;
  max-width: none;
  pointer-events: none;
  z-index: 2;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.features-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.features-list li::before {
  content: "✅";
  color: #00ffcc;
  margin-right: 0.5rem;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.badge-row img {
  height: 50px;
}

.qr-code {
  width: 50px;
  height: 50px;
}

.mini-image {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 2rem auto -1rem;
  /* border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); */
  max-height: 300px;
  object-fit: contain;
}

.seo-text {
  text-align: justify;
  padding: 1rem;
  font-size: 0.9rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin: 0 auto;
}

/* FOOTER START */

footer {
  background-color: #0a083f;
  text-align: center;
  padding-block: 35px;
}

.bet_smart {
  /* max-width: 201px; */
  display: block;
  margin: 0 auto;
}
.friends_text {
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 23.44px;
  text-align: center;
  margin-top: 17px;
  margin-bottom: 27px;
  color: #fff;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.social a img {
  max-height: 30px;
  max-width: 100%;
}

.twenty_one {
  width: min(100%, 391px);
  margin: 0 auto 16px;
  display: block;
}

.twenty_one img {
  display: block;
  width: 100%;
  height: auto; /* keeps aspect ratio */
  object-fit: contain; /* no cropping */
}

.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 39px;
}

.partners a img {
  max-height: 60px;
}

.footer_text p {
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 18.75px;
  text-align: center;
  margin-bottom: 25px;
  color: #fff;
}

.gap-test {
  line-height: 2.5em;
  list-style: none;
}

.gap-test li {
  color: #fff;
}

@media (max-width: 992px) {
  /* .bet_smart {
    max-width: 209px;
  } */
  .twenty_one {
    max-width: 391px;
    margin: 0 auto 16px;
  }

  .twenty_one img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .social {
    margin-bottom: 18px;
  }

  .footer_text p {
    font-size: 11px;
    line-height: 12.89px;
    margin-bottom: 10px;
  }
}
@media (max-width: 575px) {
  ul {
    padding-inline-start: 0; /* removes the 40px */
    margin: 0; /* optional reset */
  }
  .partners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .partners a img {
    max-height: 55px;
    width: auto;
    max-width: unset;
  }
  .partners a:last-child img {
    max-width: 113px;
  }
  .gap-test li {
    font-size: 12px;
    line-height: 16px;
  }
}

/* FOOTER END */

@media (max-width: 768px) {
  main {
    padding: 1rem;
    flex-direction: column;
  }

  .promo-box,
  .prize-section {
    padding: 1rem;
    border-radius: 10px;
  }

  .row {
    flex-direction: column;
    align-items: center;
  }

  .col {
    text-align: center !important;
    padding: 0.5rem 0;
  }

  .separator {
    display: none;
  }

  .big-left-text,
  .small-left-text,
  .big-amount {
    font-size: 2rem;
    text-align: center;
  }

  .cta-bubbles {
    display: none;
  }

  .features-list {
    flex-direction: column;
    gap: 1rem;
  }

  .badge-row {
    flex-direction: column;
    align-items: center;
  }

  .phone-image img.phone {
    max-width: 100%;
  }

  .free_to_play {
    display: block;
  }

  .twentyone-image {
    max-width: 100%;
  }
}
