* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --body-bg: linear-gradient(0deg, #171717 0%, #284a68 100%);
  --primary-text: #fafafa;
  --primary-bg: #17cb41;
  --secondary-bg: #223647;
  --tertiary-bg: #d0ffdb;
  --tertiary-color: #252627;
  --dark-gray: #a3a3a3;
  --white: #fff;
  --black: #000;
  --transition-all: all 0.3s ease-in-out;
}
body {
  background: var(--body-bg);
  color: var(--primary-text);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.1;
  min-height: 100dvh;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
}
/* base styles */
.container {
  max-width: 1408px;
  padding: 0 1rem;
  margin: 0 auto;
}
.text-center {
  text-align: center;
}
img {
  max-width: 100%;
}
.hidden {
  display: none;
}
.error:empty {
  display: none;
}
.error {
  font-size: 12px;
  margin: -12px auto 8px;
  color: red;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* headings */
.heading-xl {
  font-size: clamp(36px, 7vw, 102px);
  color: var(--primary-text);
  font-weight: bold;
  line-height: 1.1;
}
.heading-md {
  font-size: 24px;
  color: var(--primary-text);
  font-weight: normal;
  line-height: 1.1;
}
/* buttons style */
.btn {
  border: none;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-all);
}
.btn:hover {
  opacity: 0.8;
}
.btn:disabled {
  background-color: #e3e3e3;
  cursor: not-allowed;
}
.btn:active {
  transform: scale(0.95);
}
.btn-primary {
  background-color: var(--primary-bg);
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 15px;
  width: 100%;
}

/* header */
.header {
  padding: 16px 0px;
  max-width: none;
}
.header-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.logo {
  height: 30px;
  flex-shrink: 0;
}
.logo img {
  max-height: 30px;
}
.navbar-brand img {
  max-height: 30px;
}
.header-links-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}
.header-link {
  background-color: var(--secondary-bg);
  padding: 5px 8px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 12px;
}
/* body top decoration */
.body-top-decoration {
  max-width: 2000px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
.body-top-decoration img {
  width: 100%;
}

/* hero section */
.hero-section {
  min-height: 60vh;
  display: grid;
  place-content: end center;
  padding: 60px 0;
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.hero-left {
  display: grid;
  place-content: center;
}
.hero-right .heading-md {
  margin: 24px auto;
}
.register-steps-wrapper {
  max-width: 390px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.register-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border: 1px solid var(--primary-text);
  border-radius: 8px;
  text-align: center;
  vertical-align: middle;
}
.register-step .step-number {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
}
.register-step .step-title {
  font-size: 14px;
  line-height: 1.1;
}

/* info section */
.info-section {
  padding-bottom: 70px;
}
.info-wrapper {
  max-width: 895px;
  margin: 0 auto;
  padding: 18px 16px;
  border: 1px solid var(--dark-gray);
  border-radius: 15px;
  font-size: 14px;
}
.info-content {
  max-width: 765px;
  margin: 0 auto;
}
.info-content p {
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}
.info-img-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.info-img {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-img img {
  max-height: 24px;
}

/* section top */
.section {
  padding: 50px 0;
}
.section-top {
  max-width: 866px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 80px;
}
.section-top .sub-title {
  color: var(--primary-bg);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}
.section-top .title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-top .description {
  max-width: 639px;
  margin: 0 auto;
  color: var(--dark-gray);
  font-size: 16px;
  margin-bottom: 48px;
}
.section-top .btn-primary {
  width: fit-content;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 700;
}
/* game type section */
.game-type-section .game-type-wrapper {
  max-width: 320px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.game-type-section .game-type-wrapper .img-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}
.game-type-section .game-type-wrapper .img-wrapper img {
  width: 100%;
  margin: -4px;
  border-radius: 20px;
  transition: var(--transition-all);
}
.game-type-section .game-type-wrapper .img-wrapper img:hover {
  transform: scale(1.1);
  transform-origin: center;
}
/* trending section */
.trending-wrapper {
  max-width: 320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.trending-wrapper .trending-img {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}
.trending-wrapper .trending-img img {
  width: 100%;
  margin: -4px;
  border-radius: 20px;
  transition: var(--transition-all);
}
.trending-wrapper .trending-img img:hover {
  transform: scale(1.1);
  transform-origin: center;
}

/* footer */
footer {
  padding: 130px 0 25px;
}
.footer-wrapper {
  max-width: 666px;
  margin: 0 auto;
}
.footer-wrapper p {
  color: var(--dark-gray);
  font-size: 10px;
  line-height: 11px;
  text-align: center;
}
.footer-wrapper .disclaimer-text {
  background-color: #f8fbff;
  padding: 10px 20px;
  border-radius: 7px;
  margin: 0 1rem;
}
.footer-bottom {
  max-width: 200px;
  margin: 0 auto;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  color: var(--dark-gray);
}
.privacy-policy {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 45px;
  text-align: center;
}
.privacy-policy a {
  display: inline-block;
  color: var(--dark-gray) !important;
  text-decoration: underline;
  font-size: 12px;
  line-height: 24px;
  transition: 0.3s ease-in-out;
  margin-right: 8px;
}
.privacy-policy a:last-child {
  margin-right: 0px;
}
.privacy-policy a:hover {
  opacity: 0.8;
}

/* modal styles */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #ffffff33;
  backdrop-filter: blur(44px);
  z-index: 50;
}
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  z-index: 100;
  border-radius: 8px;
  max-width: 1200px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  width: 100%;
}
.form-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 20px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.modal-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px;
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition-all);
}
.modal-close-btn:hover {
  background-color: #e8e8e8;
}
.modal-close-btn svg {
  width: 20px;
  height: 20px;
  color: #000;
}
.modal-left {
  flex: 1;
  text-align: center;
}
.form-left-header {
  padding: 15px 20px;
  text-align: left;
}
.form-left-header p {
  color: var(--black);
  margin-bottom: 4px;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 400;
}
.form-left-header h3 {
  color: var(--black);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: 0 !important;
}
.steps {
  background-color: var(--tertiary-bg);
  padding: 15px 20px;
}
.step {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  margin-bottom: 12px;
  text-align: left;
}
.step:last-child {
  margin-bottom: 0;
}

.nr {
  flex-shrink: 0;
  background-color: #a8ceb1;
  color: #a0b079;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 24px;
}
.nr.active {
  background-color: var(--primary-bg);
  color: var(--primary-text);
}

.text {
  color: #a8ceb1;
  font-size: clamp(16px, 2vw, 20px);
}

.text.active {
  font-weight: bold;
  color: var(--black);
}

.modal-right {
  flex: 1;
  padding: 24px 20px;
  color: var(--black);
}
.form-fields {
  width: 100%;
}
.form-fields label {
  display: block;
  font-weight: 700;
  font-size: 20px;
  vertical-align: middle;
  margin-bottom: 8px;
}
.input-container {
  position: relative;
  margin-bottom: 16px;
}
.input-container input {
  width: 100%;
  padding: 17px 21px;
  padding-right: 40px;
  border: 1px solid #ababab;
  border-radius: 10px;
  font-size: 16px;
  color: var(--black);
}
.input-container input::placeholder {
  color: var(--dark-gray);
}
.input-container input:focus {
  outline: 0;
}

.input-container img {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
}
.form-fields .footer {
  margin-top: 16px;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
}
.check-mark-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
}

/* media queries */
@media screen and (min-width: 640px) {
  .btn-primary {
    background-color: var(--primary-bg);
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    padding: 20px 40px;
  }
  .header {
    padding: 24px 0px;
  }
  .header-links-wrapper {
    gap: 14px;
  }
  .header-link {
    padding: 8px 12px;
    border-radius: 7px;
    font-size: 16px;
  }
  .hero-section {
    min-height: 55vh;
  }
  .hero-wrapper {
    gap: 40px;
  }
  .register-steps-wrapper {
    max-width: 560px;
  }
  .register-step {
    padding: 7px 12px;
    gap: 10px;
  }
  .register-step .step-number {
    font-size: 42px;
  }
  .register-step .step-title {
    font-size: 20px;
  }
  .info-section{
    margin-top: 0 !important;
  }
  .info-wrapper {
    padding: 45px 16px;
    font-size: 16px;
  }
  .form-modal {
    flex-direction: row;
  }
  .form-left-header {
    padding: 30px 20px 20px;
    text-align: center;
  }
  .steps {
    padding: 30px 20px 20px;
    margin-bottom: 30px;
  }
  .step {
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    text-align: center;
  }
  .modal-right {
    flex: 1;
    padding: 30px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .input-container {
    margin-bottom: 24px;
  }
  .form-fields .footer {
    margin-top: 24px;
  }
  .section {
    padding: 70px 0;
  }
  .section-top .title {
    font-size: 52px;
  }
  .section-top .description {
    font-size: 18px;
  }
  .game-type-section .game-type-wrapper {
    max-width: 1170px;
    flex-direction: row;
  }
  .game-type-section .game-type-wrapper .img-wrapper {
    width: auto;
  }
  .game-type-section .game-type-wrapper .img-wrapper img {
    width: auto;
  }
  .trending-wrapper {
    max-width: 1150px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
  .sub-page .sub-page-container {
    font-size: 16px !important;
  }
  .sub-page h1 {
    font-size: 32px !important;
  }
  .sub-page h2 {
    font-size: 24px !important;
  }
}

@media screen and (min-width: 768px) {
  footer {
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .header-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .hero-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .game-type-section .game-type-wrapper {
    gap: 24px;
    margin-bottom: 24px;
  }
  .trending-wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 47px;
  }
}

@media screen and (min-width: 1280px) {
}

@media screen and (max-width: 430px) {
  .register-steps-wrapper {
    flex-wrap: wrap;
  }
  .register-step {
    max-width: 150px;
  }
}

/* animation */
.animate-in {
  animation: fadeIn 0.3s forwards;
}

.animate-out {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

/* terms and privacy css */
.sub-page .sub-page-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-size: 14px;
}
.sub-page h1 {
  color: var(--primary-text) !important;
  font-size: 24px;
  margin-bottom: 1rem;
}
.sub-page h2 {
  color: var(--primary-text) !important;
  font-size: 18px;
  margin-bottom: 1rem;
}
.sub-page p {
  color: var(--dark-gray);
  margin-bottom: 12px;
}
.sub-page ul {
  padding-left: 1rem;
  color: var(--dark-gray);
  margin-bottom: 12px;
}
.sub-page li {
  color: var(--dark-gray);
  margin-bottom: 12px;
}
.sub-page li ul {
  margin-top: 12px;
}
.sub-page a {
  color: var(--primary-bg);
  text-decoration: underline;
  transition: 0.3s ease-in-out;
}
.sub-page a:hover {
  opacity: 0.8;
}
/* step section */
@media screen and (max-width: 768px) {
  .steps-section.style1 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    padding: 36px 0 !important;
  }
  .mobile.title.style1 {
    display: none !important;
  }
  .button.style1 {
    display: none !important;
  }
}
.mobile.title.style1 {
  display: inline-flex;
}
.button.style1 {
  display: inline-flex;
}
/* sticky button styles */
.sticky-btn {
  text-decoration: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  display: none;
  box-shadow: 0px -8px 16px 0px #00000033;
  background-color: var(--btn-color);
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  padding: 24px 10px;
  border: none;
  width: 100%;
  min-height: 90px;
}
.sticky-btn .title {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin: 0 auto 5px;
}
.sticky-btn .btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .sticky-btn {
    display: block;
  }
}
/* contact us page */
.contact-card {
  display: flex;
  gap: 24px;
}
.contact-card .contact-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .contact-icon img {
  max-width: 32px;
}
.contact-card .contact-content p {
  margin-bottom: 4px;
}
.contact-card .contact-content a {
  color: var(--dark-gray) !important;
}
.font-normal {
  font-weight: normal !important;
}
