/* Prevent horizontal page scroll from oversized visual elements (hero image). */
html,
body {
  overflow-x: hidden;
}
/* Hide Sections */
#tips, #faq {display: none !important;}


/* ==== CSS FOR INDIVIDUAL SECTIONS STARTS HERE === */

/* Keep Prizing and How To Enter H3s visually equal to brand H2s */
:root {
  /* --htp-step-number-font-size: 6rem;
  --htp-step-number-font-size-mobile: 6rem;
  --htp-step-number-offset-y: 5px;
  --htp-step-number-offset-y-mobile: 5px;
  --htp-step-number-icon-gap: 12px;
  --htp-step-number-margin-right: -30px;
  --htp-step-number-margin-right-mobile: -30px;
  --htp-icon-margin-left: 0px;
  --htp-icon-margin-left-mobile: 0px; */
  --htp-icon-size: 120px;
  --htp-icon-row-height: 150px;
}

.prizing-section h3,
.how-to-play h3 {
  /* font-size: var(--brand-h2-font-size) !important; */
}

/* ==== HERO SECTION (#hero) === */
#hero {position: relative; z-index: 9 !important;}
/* Logo at the top of the page */
.logo-header {
  padding: 1em 0 !important; 
/*  background: linear-gradient(180deg, #54565A 6.77%, #000 68.75%, #000 98.95%, #000 98.96%)!important;*/
}
.logo-header img {
  display: block;
  margin: 0 auto; 
  height: 56px;
}
/* hero content */
.hero sup {
  position: relative;
  top: -5px;
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: clip;
}
.hero img {
  max-width: 3000px;
  width: 240vw;
}
@media screen and (max-width: 460px) {
  .hero img {width: 100%;}
}

.hero-text div {
  gap: 8px;
  text-align: center;
}
a#submit_btn {margin: 8px auto;}

/* ==== CTA section ==== */ 
/* .cta-section {
  background: var(--secondary);
  padding: 32px 16px;
} */

.cta-section .hero-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
}
.cta-section p, .cta-section b {
  font-size: 1.5rem !important;
  color: var(--primary-foreground);
}

@media screen and (max-width: 640px) {
  .cta-section {
    padding: 8px;
  }
}
/* ==== PRIZING CAROUSEL (functionality only) ==== */
.desktop-prizing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mobile-carousel-container {
  display: none;
  position: relative;
  margin-top: 24px;
  text-align: center;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::before,
.carousel-track::after {
  content: "";
  flex: 0 0 calc((100% - 85%) / 2 - 16px);
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 85%;
  scroll-snap-align: center;
}

.carousel-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: transparent;
  color: #d9d5ca;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  width: 52px;
  height: 72%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.carousel-arrow-prev {
  left: 0;
  background: linear-gradient(90deg, var(--background, #ffffff) 0%, rgba(255, 255, 255, 0) 100%);
}

.carousel-arrow-next {
  right: 0;
  background: linear-gradient(270deg, var(--background, #ffffff) 0%, rgba(255, 255, 255, 0) 100%);
}

.carousel-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #d0d2d6;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--secondary);
}

.prize-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
ul.prize-list {padding: 0;}
.prize-card li {list-style: none;}

.prize-card img, .carousel-item img {
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 768px) {
  .desktop-prizing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-carousel-container {
    display: block;
  }

  .carousel-track {
    padding: 0;
  }
}

/* drop down css */
select#select_city {
    /* Removes default down-arrow for Firefox */
    -moz-appearance: none;
      /* Removes default down-arrow for Chrome */
    -webkit-appearance: none;
    background: #212121;
    border: none;
    color: white;
    padding: 8px 14px;
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    font-family: Open Sans, sans-serif;
  }
  /* Removes default down-arrow For IE10 */
  select::-ms-expand {
    display: none;
  }

  a#cta-selected-city[disabled] {
    background: #5C5C5C;
    color: #000;
  }

/* ==== HTP SECTION (#how-to-play) === */
.how-to-play .table-group {
    max-width: 1024px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 16px;
    display: grid;
    margin: 0 auto;
}

.table-cell {
  background: var(--card-background);
  padding: 8px 16px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;;
}

.step-logos {
    max-width: 220px;
    width: 100%;
    margin-top: 8px;
}
/* .table-cell h3 {display: none;} */
.htp-step-number {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: var(--htp-step-number-size, 2rem);
  font-weight: var(--bold);
  line-height: 1;
  margin-bottom: 8px;
}

.htp-icon-image {
  display: block;
  margin: 0 auto;
  width: 120px;
  height: auto;
}

/* --- SVG Icons CSS --- */
.htp-icons {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 120px;
    height: auto;
}
.icon-drink {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;  
}
.can-logo {
    width: 24px; /*Change the width of the logo that's inside the can*/
    position: absolute;

}

.htp-icons path {
    fill: var(--secondary); /* Change the colour of the icon */
}

.htp-carousel-controls {
  display: none;
}

@media screen and (max-width: 768px) {
  .how-to-play .table-group {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
  }
  .table-cell {
    padding: 8px 8px 16px;
  }
}   
@media screen and (max-width: 768px) {
  .how-to-play .table-group {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
  }
  .table-cell {
    padding: 8px 8px 16px;
  }

  .how-to-play .table-group.htp-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    grid-template-columns: none;
    padding: 0;
  }

  .how-to-play .table-group.htp-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .how-to-play .table-group.htp-carousel-track::before,
  .how-to-play .table-group.htp-carousel-track::after {
    content: "";
    flex: 0 0 calc((100% - 85%) / 2 - 16px);
  }

  .how-to-play .table-group.htp-carousel-track .table-cell.htp-carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 8px 12px 16px;
  }


  .htp-carousel-controls {
    display: block;
    position: relative;
    margin-top: -8px;
  }

  .htp-carousel-controls .carousel-arrow {
    top: var(--htp-carousel-arrow-top, 50%);
    height: 70%;
  }
}   

/* ==== Section Placeholder ==== */
.section-placeholder {
  position: relative;
  margin-bottom: 36px;
  padding-bottom: 32px;
}
.section-placeholder * {
  display: block;
  margin: 0 auto;
  max-width: 400px;
  width:100%;
}
.section-placeholder img {  
  position: relative;
  z-index: 2;
}
.blue-strip {
  background: var(--secondary);
  position: absolute;
  bottom: 0px;
  left: 0;
  max-width: 100%;
  width: 100%;
  height: 180px;
  z-index: 1;
}
@media screen and (max-width: 400px) {
  .section-placeholder { 
    margin-bottom: 0px;
    padding-bottom: 12px;
  }
  .section-placeholder img { 
    width: 50%;
  }
  .blue-strip {
    height: 22vw;   
  }
}

/* === FAQ SECTION (#faq) === */
.faq {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.faq > div {margin-bottom: 16px;}
.faq h3 {
  font-size: inherit;
    color: var(--primary);
}
.faq-ask {
    cursor: pointer;
    transition: 0.4s;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background);
}
.faq-ask:hover {
    background: rgba(51,51,51,0.1);
}
.fa-plus::before {
  content: "\f067";
}
.fa {
    font-family: 'FontAwesome' !important;
    font-size: 14px;
    padding-left: 16px;
    font-style: normal;
}
.faq-ask.active .fa-plus {
    display: none;
}
.faq-ask:not(.active) .fa-minus {
    display: none;
}
.faq-desc {
    margin: 8px auto;
    padding: 32px;
    background-color: var(--background);
    border-radius: 8px;
    border: 1px solid var(--primary);
    display: none;
    overflow: hidden;
    font-weight: 300;
}
@media screen and (max-width:400px) {
  .faq h3 {font-size: inherit;}
}

/* === SOCIAL MEDIA SECTION (#socials) === */
/* --- Social Icons CSS --- */
.sm-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
@media screen and (max-width: 756px) {
  .sm-container {gap: 8px;}
}
.sm-container svg path {
  fill: var(--secondary); /* Change the icon color itself */
} 
.social-btn {
  background: var(--background); /* Change the icon background color */
  padding: 8px; /* Adjust the padding of the circle - so the higher the padding, the bigger the circle will be. Icon remains the same size */
  border-radius: 64px;
  display: flex;
  align-items: center;
}
.social-btn svg {
  width: 64px; /* Adjust the icon itself */
  height: auto;
}
/* --- End of Social Icons CSS --- */
@media screen and (max-width: 460px) {
  .social-btn svg {
    width: 38px;
  }
}
/* === DISCLAIMER / LEGAL SECTION (#disclaimer) === */
#legal {
    /* background: var(--legal-background-image) !important; */
    /* background-color: var(--background) !important; */
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-size: cover !important;
    background-position: 50% !important;
}
.legal-copy {
  max-width: 1024px; 
  margin: 0 auto; 
  /* background: var(--legal-copy-background); */
  padding: 8px;
}
.legal-copy p {
  font-size: 0.75rem;
}
.legal-copy b {font-size: inherit;}
.legal-copy a {
  font-size: inherit;
  color: var(--primary);
  text-decoration: underline;
}
