@import url("bootstrap.min.css");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400");

@font-face {
  font-family: Hanuman;
  src: url(/assets/fonts/Hanuman-Black.ttf);
  font-weight: 900;
}

@font-face {
  font-family: Hanuman;
  src: url(/assets/fonts/Hanuman-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: Hanuman;
  src: url(/assets/fonts/Hanuman-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: Hanuman;
  src: url(/assets/fonts/Hanuman-Light.ttf);
  font-weight: 300;
}

@font-face {
  font-family: Hanuman;
  src: url(/assets/fonts/Hanuman-Thin.ttf);
  font-weight: 100;
}

:root {
  --color-dark: #181829;
  --color-light-dark: #636e72;
  --color-red: #cc1412;
  --color-red-hover: #b1120f;
  --color-green: #6bcb80;
  --color-green-hover: #78e08f;
  --color-green-hover: #78e08f;
}

body.p99sa {
  --color-red: #239600;
  --color-red-hover: #106b29;
  --bg-light-cl: #239600;
  --bg-dark-cl: #106b29;
}
body.p99sa .navbar-dark, body.p99sa #footer {
  background: var(--bg-dark-cl) !important;
}
body.p99sa marquee,
body.p99sa #register .register-form .btn-next,
body.p99sa #forgot_password #forgot-password-form .btn-forgot-next {
  background: var(--bg-light-cl) !important;
}
body.p99sa .login-container .login-form .logo,
body.p99sa .register-container .register-form .logo {
    width: auto !important;
    max-height: 120px !important;
    height: auto !important;
}

.btn-contact {
  display: flex;
  position: fixed;
  right: 25px;
  bottom: 80px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  background: #FDB602;
  align-items: center;
  justify-content: center;
}
.m-icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  user-select: none;
}

*:not(.m-icon) {
  font-family: Hanuman, serif;
}

h1 {
  transform: translateY(5px);
}

a div {
  transform: translateY(2px);
}

a * {
  pointer-events: none;
}

a.link {
  color: var(--color-green);
}

a.link:hover {
  color: var(--color-green-hover);
}

.v-align-top {
  vertical-align: baseline;
}

.v-align-center {
  vertical-align: middle;
}

.v-align-bottom {
  vertical-align: bottom;
}

.fs-1 {
  font-size: 36px;
}

.fs-2 {
  font-size: 32px;
}

.fs-3 {
  font-size: 28px;
}

.fs-4 {
  font-size: 24px;
}

.fs-5 {
  font-size: 20px;
}

.fs-6 {
  font-size: 17px;
}

.w-33 {
  width: 33.3333333333333% !important;
}

.rounded-15 {
  border-radius: 15px !important;
}

.pointer {
  cursor: pointer;
}

body {
  background: var(--color-dark);
  margin-bottom: 70px;
}

.navbar-dark {
  background: #b61b17;
}

.navbar-dark img.logo {
  height: 30px;
}

.btn-login {
  color: #ffffff;
}

.btn-login:hover {
  color: #e7e7e7;
}

.navbar #btn-language {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 50px;
  height: 30px;
}

.navbar #btn-language.kh {
  background-image: url(../images/kh.gif);
}
.navbar #btn-language.en {
  background-image: url(../images/en.gif);
}

.navbar .btn-login {
  color: #000000;
  background: #ffd00b;
  border-radius: 50px;
  padding: 2px 7px !important;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  border-left: 1px solid #f45133;
  border-bottom: 1px solid #f45133;
}

.navbar .btn-login:hover {
  color: #000000;
  background: #f3c922;
  border-top: 1px solid #f45133;
  border-right: 1px solid #f45133;
  border-left: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

@keyframes neon-fx {
  0% {
    box-shadow: 0px 0px 20px 0px #eeff03;
  }
  20% {
    box-shadow: 0px 0px 20px 3px #eeff03;
  }
  40% {
    box-shadow: 0px 0px 20px 0px #9eff03;
  }
  60% {
    box-shadow: 0px 0px 20px 3px #9eff03;
  }
  80% {
    box-shadow: 0px 0px 20px 0px #03ff25;
  }
  100% {
    box-shadow: 0px 0px 20px 3px #03ff25;
  }
}

.btn-register {
  padding: 2px 20px;
  border-radius: 50px;
  background: var(--color-green);
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  border-left: 1px solid #f45133;
  border-bottom: 1px solid #f45133;
}

.btn-register:hover {
  background: #90dda0;
  border-top: 1px solid #f45133;
  border-right: 1px solid #f45133;
  border-left: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}
.navbar .btn-register {
  animation: neon-fx 2s infinite linear alternate;
}

/* .btn-login .m-icon,
.btn-register .m-icon {
  transform: translateY(-2px);
} */
input {
  padding-top: 5px;
}

marquee {
  background: #f45133;
  color: #ffffff;
  text-shadow: 1px 1px 1px #000000;
  padding-top: 4px;
}

marquee img {
  width: 14px;
  transform: translateY(-1px);
}

.func {
  background: var(--color-light-dark);
}

.func a img,
.func a .m-icon {
  height: 24px;
  color: #ffd009;
}

a.home {
  color: #ffd009;
}

a.home:hover {
  color: #ebc106;
}

.image-title {
  width: 39px;
  height: auto;
}

.game-box {
  position: relative;
}

.game-box .over-box {
  display: none;
  position: absolute;
  width: calc(100% - 0.5rem);
  height: calc(100% - 0.5rem);
  background: #b2bec382;
  top: 0.25rem;
  left: 0.25rem;
}

.game-box:hover .over-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-box .over-box button {
  height: 40px;
}

.game-box img {
  pointer-events: none;
}

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  background: #b61b17;
}

#footer a.btn {
  width: calc(100% / 5);
}

#footer .user-home {
  width: 24px;
}

#notFound {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
  align-items: center;
  background: #ffffee;
}

#notFound>.not-found {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#notFound>.not-found>img {
  width: 200px;
}

/* modal */
.modal-language {
  background: var(--color-light-dark);
  display: flex;
  flex-direction: column;
}

.modal-language .btn-language:hover {
  background: #7b898f;
}

/* //modal */

/* Promotion */
#promotion {
  display: none;
}

/* //Promotion */

/* Login */
#login {
  display: none;
}

.login-container,
.register-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--color-dark);
  z-index: 99;
}

.login-container .login-form,
.register-container .register-form {
  width: 500px;
  min-width: 350px;
  height: auto;
  min-height: 100px;
  background: linear-gradient(#152833, #244458);
  position: relative;
}

.login-container .login-form .logo,
.register-container .register-form .logo {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.username,
.password {
  position: relative;
}

.username .left-icon,
.password .left-icon,
.username .right-icon,
.password .right-icon {
  position: absolute;
  top: 8px;
  left: 13px;
  color: #ffffff;
}

.username .right-icon,
.password .right-icon {
  left: unset;
  right: 13px;
  cursor: pointer;
}

.password .right-icon .eye-on {
  display: none;
}

.username input,
.password input {
  border: none;
  background: var(--color-light-dark);
  height: 40px;
  color: #ffffff;
  padding-left: 48px;
  padding-right: 48px;
}

.username input::placeholder,
.password input::placeholder {
  color: #b2bec3;
}

.username input:focus,
.password input:focus {
  border: none;
  outline: none;
}

.password .m-icon.eye-on {
  display: none;
}

.btn-forgot-password {
  color: var(--color-green);
}

.btn-forgot-password:hover {
  color: var(--color-green-hover);
}

#login .login-form .btn-back,
#register .register-form .btn-back,
#forgot_password #forgot-password-form .btn-back {
  color: #ffffff;
  position: absolute;
  left: 5px;
  top: 5px;
  padding: 0;
}

#login .login-form .btn-back:hover,
#register .register-form .btn-back {
  color: #dfe6e9;
}

#login .login-form .btn-login {
  background: var(--color-red);
}

#login .login-form .btn-login div {
  transform: translateY(2px);
}

#login .login-form .btn-login:hover {
  background: var(--color-red-hover);
}

#login .login-form .btn-register {
  color: var(--color-red);
  background: transparent;
  border: none;
  transform: translateY(4px);
}

#login .login-form .btn-register:hover {
  color: var(--color-red-hover);
  background: transparent;
  border: none;
}

/* //Login */

/* Register */
#register,
#forgot_password {
  display: none;
}

#register .register-step .step,
#forgot_password .forgot-step .step {
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#register .register-step .step div:first-child,
#forgot_password .forgot-step .step div:first-child {
  padding-top: 4px;
}

#register .register-step .step div:first-of-type,
#forgot_password .forgot-step .step div:first-of-type {
  width: 35px;
  height: 35px;
  border: 1px solid grey;
  color: #b2bec3;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#register .register-step .step div:nth-of-type(2),
#forgot_password .forgot-step .step div:nth-of-type(2) {
  text-align: center;
  font-size: 12px;
  color: #b2bec3;
}

#register .register-step .step.active div:first-of-type,
#forgot_password .forgot-step .step.active div:first-of-type {
  background: var(--color-red);
  color: #ffffff;
}

#register .register-step .step.active div:nth-of-type(2),
#forgot_password .forgot-step .step.active div:nth-of-type(2) {
  color: #ffffff;
}

#register .register-step .step.passed div,
#forgot_password .forgot-step .step.passed div {
  color: #ffffff;
  border-color: #ffffff;
}

#register .register-step .splitter,
#forgot_password .forgot-step .splitter {
  width: 40px;
  border-bottom: 1px solid grey;
  margin-top: 17px;
}

#form-step2,
#form-step3,
#form-step4,
#forgot-form-step2,
#forgot-form-step3 {
  display: none;
}

#register .register-form .btn-next,
#forgot_password #forgot-password-form .btn-forgot-next {
  height: 40px;
  padding: 0;
  background: var(--color-red);
  color: #ffffff;
}

#register .register-form .btn-next div {
  transform: translateY(2px);
}

#register .register-form .btn-next:hover,
#forgot_password #forgot-password-form .btn-forgot-next:hover {
  background: var(--color-red-hover);
}

#login #login-form .language img,
#register .register-form .language img {
  width: 50px;
  height: 33px;
  margin: 0 5px;
  cursor: pointer;
}

.float-telegram-icon {
  position: fixed;
  right: 10px;
  bottom: 72px;
}

.social-referial button,
.social-referial button:focus,
.social-referial button:focus-visible {
  outline: none;
  box-shadow: none;
}

.social-referial button {
  position: relative;
  margin-top: 5px;
}

.social-referial button img {
  width: 45px;
  margin: 0 5px;
  border-radius: 10px;
  cursor: pointer;
  background: var(--light);
}

.social-referial button span {
  display: none;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 5px;
  background: var(--light);
  color: var(--danger);
  font-size: 16px;
  border-top-left-radius: 10px;
}

.social-referial button:hover .tip {
  visibility: unset;
}

.social-referial button .tip {
  width: 85px;
  position: absolute;
  display: unset;
  visibility: hidden;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 14px;
  bottom: 113%;
  top: auto;
  background: var(--color-dark);
  color: var(--light);
  transition: opacity 0.3s;
  margin: 0;
  left: 50%;
  margin-left: -42px;
}

.social-referial button .tip::after {
  content: "";
  position: absolute;
  top: 100%;
  bottom: auto;
  width: 10px;
  height: 10px;
  border: none;
  border-width: 5px;
  border-style: solid;
  border-color: var(--color-dark) transparent transparent transparent;
  left: calc(50% - 5px);
}

/* //Register */
#login-user-error,
#login-pass-error,
#register-user-error,
#register-password-error,
#register-re-password-error,
#register-phone-error,
#register-otp-error,
#forgot-phone-error,
#forgot-otp-error,
#new-password-error,
#new-confirm-password-error,
#social-referial-error {
  display: none;
  color: #d63031;
}

#otp-countdown,
#forgot-otp-countdown {
  color: #d63031;
}

#resend-otp {
  font-size: 15px;
}

.btn-loading {
  display: none;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  font-size: 30px;
  margin: auto;
  animation: spinning 1s infinite linear;
}

@keyframes spinning {
  from {
    transform: rotateZ(0deg);
  }

  to {
    transform: rotateZ(360deg);
  }
}

a.contact-us {
  padding: 5px;
  background: var(--color-red);
  border-radius: 50px;
}

a.contact-us div {
  transform: translateY(5px);
}

a.contact-us img.contact-us-icon {
  width: 30px;
}

a.contact-us span[local="contact_us"] {
  color: #ffffff;
}

@media screen and (max-width: 576px) {
  .fs-sm-1 {
    font-size: 36px;
  }

  .fs-sm-2 {
    font-size: 32px;
  }

  .fs-sm-3 {
    font-size: 28px;
  }

  .fs-sm-4 {
    font-size: 24px;
  }

  .fs-sm-5 {
    font-size: 20px;
  }

  .fs-sm-6 {
    font-size: 17px;
  }

  .func a.btn {
    font-size: 14px;
  }

  .navbar .btn-login {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar .btn-register {
    padding: 2px 10px;
  }

  .image-title {
    width: 35px;
  }

  #footer a.btn {
    font-size: 12px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width:767px) {
  .navbar .d-flex.justify-content-center.justify-content-md-between.w-100 {
    position: relative;
  }
  .navbar #btn-language {
    position: absolute;
    left: 0;
  }
}
.modal-body,
.modal-language {
  background: #0D0D0D;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar .btn-language {
  width: 34px;
  height: 34px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
}

.navbar .btn-language.kh {
  background-image: url(/assets/icons/kh.svg);
}
.navbar .btn-language.en {
  background-image: url(/assets/icons/en.svg);
}

.modal-content {
  background: unset;
}
.modal-content .modal-language {
  border-radius: 20px !important;
}
.modal-content .modal-language .btn-language img {
  width: 90px;
  height: 67px;
  border-radius: 10px;
}
.modal-content .close-modal {
  background: #151515;
  border-radius: 30px;
  width: 110px;
  height: 48px;
  padding: 5px 33px 0;
}

.modal-language .btn-language:hover {
  background: #7b898f;
}

#modal .modal-dialog .modal-content .modal-body {
  border-radius: 12px !important;
}

#modal .modal-dialog .modal-content .modal-body button.btn-close,
#modal .modal-dialog .modal-content .modal-body button.btn-back {
  top: 7px;
  width: 35px;
  height: 35px;
  border: none;
  box-shadow: none;
}
#modal .modal-dialog .modal-content .modal-body button.btn-close {
  left: 7px;
  background: url(/assets/icons/close.svg);
}
#modal .modal-dialog .modal-content .modal-body button.btn-back {
  right: 7px;
  background: url(/assets/icons/back.svg);
}

#modal .modal-dialog .modal-content .modal-body h1 {
  font-size: 25px;
  color: #ffffff;
  user-select: none;
}

#modal .modal-dialog .modal-content .modal-body .social-list {
  background: #151515;
  border-radius: 12px;
}

#modal .modal-dialog .modal-content .modal-body .social-list a {
  width: 100%;
  text-align: center;
  border-radius: 50px;
  padding: 10px 0 6px;
  font-size: 20px;
  color: #ffffff;
  margin: 5px 0;
  position: relative;
}
#modal .modal-dialog .modal-content .modal-body .social-list a::before {
  position: absolute;
  content: "";
  left: 13px;
  top: 11px;
  width: 24px;
  height: 24px;
}
#modal .modal-dialog .modal-content .modal-body .social-list a:nth-of-type(1) {
  background: #229ED9;
}
#modal .modal-dialog .modal-content .modal-body .social-list a:nth-of-type(1)::before {
  background: url(/assets/icons/telegram.svg);
}
#modal .modal-dialog .modal-content .modal-body .social-list a:nth-of-type(3) {
  background: #4267B2;
}
#modal .modal-dialog .modal-content .modal-body .social-list a:nth-of-type(3)::before {
  background: url(/assets/icons/facebook.svg);
}
#modal .modal-dialog .modal-content .modal-body .social-list a:nth-of-type(2) {
  background: #06C655;
}
#modal .modal-dialog .modal-content .modal-body .social-list a:nth-of-type(2)::before {
  background: url(/assets/icons/what_app.svg);
  width: 22px;
  height: 22px;
}
@media screen and (min-width: 798px) {
  .modal-dialog {
    max-width: 360px !important;
    margin: 1.75rem auto;
  }
}
