@charset "UTF-8";

.navbar-tr {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent linear-gradient(to bottom, #0086f5 53%, #52b1fe00 100%);
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 9999;
  transition: all 0.3s ease;
}

.navbar-tr .col-left {
  display: flex;
}

.navbar-logo img {
  height: 80px;
  margin-bottom: -50px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-menu a,
.dropdown-toggle.account {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  /* transition: 0.3s; */
}

.navbar-buttons {
  display: flex;
  gap: 15px;
}

.navbar-tr .btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.navbar-tr .btn-topup {
  background: linear-gradient(to right, #ff59d3 25%, #FF78ED 100%);
  border: 2px solid #ff81e1;
  color: white;
  box-shadow: 0px 0px 7px #ED48B1;
  min-width: 110px;
}

.navbar-tr .btn-register {
  background: linear-gradient(to right, #FF9F1A 25%, #FFD900 100%);
  border: 2px solid #ffc136;
  color: white;
  box-shadow: 0px 0px 7px #FF9F1A;
  min-width: 110px;
}

.navbar-tr .btn:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
  transition: auto;
}

.navbar .navbar-menu a {
  padding: 6px 0;
  border-bottom: 3px solid #ffffff00;
}

.navbar-menu a:hover {
  border-bottom: 3px solid #fff;
}

.navbar .navbar-menu a,
.navbar .navbar-menu img {
  /* color: #fff; */
  /* filter: brightness(0) invert(1); */
  /* transition: all 0.3s ease; */
}

.navbar.scrolled {
  background: #fff;
}

.navbar.scrolled .navbar-menu a,
.scrolled .dropdown-toggle.account {
  color: #0E8CEE;
  padding: 6px 0;
  border-bottom: 3px solid #ffffff00;
}

.navbar.scrolled .navbar-menu a:hover {
  border-bottom: 3px solid #0E8CEE;
}

.navbar.scrolled .navbar-menu img,
.scrolled .dropdown-toggle.account {
  /* filter: brightness(0); */
  filter: invert(40%) sepia(94%) saturate(3200%) hue-rotate(191deg) brightness(105%) contrast(105%);
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: -5px;
  background: #ffffff;
  min-width: 200px;
  display: none;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
}

.nav-dropdown .dropdown-menu a {
  padding: 10px 15px;
  color: #636363;
  text-decoration: none;
  display: block;
  border: 0;
  margin: 0;
}

.nav-dropdown .dropdown-menu a:hover {
  background: #ffffff;
  padding: 10px 15px;
  color: #0E8CEE;
  border: 0;
  margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.navbar.scrolled .navbar-menu .dropdown-menu>a {
  color: #636363;
  padding: 10px 15px;
  border: 0;
}

.navbar.scrolled .navbar-menu .dropdown-menu>a:hover {
  color: #0E8CEE;
}

.navbar a {
  transition: 0s;
  transform: 0s;
}

.navbar-buttons .nav-dropdown {
  display: flex;
  align-items: center;
  height: 100%;
}

.btn-menu-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .navbar-menu {
    gap: 25px;
  }
}

@media (max-width: 1024px) {
  .navbar-tr {
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-menu-mobile {
    display: block;
    background: none;
    padding: 5px 2px !important;
  }

  .navbar-menu {
    display: none;
  }

  .navbar-menu a {
    display: block;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 35px;
  }

  .offcanvas-header {
    justify-content: flex-end;
  }

  .offcanvas-body .navbar-menu {
    display: block;
  }


  .offcanvas {
    background: linear-gradient(180deg, #1092FF 7%, #00A1FF 17%, #53C8FD 100%);
    padding: 20px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    filter: drop-shadow(0px 4px 10px #3b6f995d);
  }

  .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0;
  }

  .navbar.scrolled .navbar-menu img .btn-menu-mobile img {
    filter: brightness(0) invert(1);
    /* ให้เป็นสีขาว */
    transition: all 0.3s ease;
  }

  .navbar.scrolled .btn-menu-mobile img {
    filter: brightness(0);
    /* เปลี่ยนเป็นดำ (#000) */
  }

  .navbar .navbar-menu a {
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #ffffff33;
  }

  .navbar.scrolled .navbar-menu a {
    color: #ffffff;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #ffffff33;
  }

  .navbar.scrolled .navbar-menu img {
    /* filter: brightness(0); */
    filter: none;
  }
}

@media (max-width: 550px) {

  .navbar-tr .btn-register,
  .navbar-tr .btn-topup {
    min-width: 80px;
  }

  .navbar-tr .btn {
    padding: 4px 5px;
    font-size: 14px;
  }

  .navbar-logo img {
    height: 69px;
    margin-bottom: -35px;
  }

  .offcanvas.show {
    width: 100%;
  }
}

@media (max-width: 441px) {
  .navbar-logo img {
    height: 59px;
    margin-bottom: -22px;
  }
}

@media (max-width: 390px) {

  .navbar-logo img {
    height: 55px;
    margin-bottom: -20px;
  }

  .navbar-buttons {
    display: flex;
    gap: 8px;
  }

  .dropdown-toggle.account {
    font-size: 14px;
  }
}

.nav-main {
  position: fixed;
  width: 100%;
  z-index: 99;
}

.side-nav .nav-item {
  width: 150px;
  height: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.side-nav .nav-item.active {
  clip-path: none;
  width: 150px;
  padding-left: 10px;
}

.side-nav .nav-item.btn-fix1 {
  background: url(../images/ic-fix1.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix1.active {
  background: url(../images/ic-fix1-active.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix2 {
  background: url(../images/ic-fix2.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix2.active {
  background: url(../images/ic-fix2-active.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix3 {
  background: url(../images/ic-fix3.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix3.active {
  background: url(../images/ic-fix3-active.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix4 {
  background: url(../images/ic-fix4.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix4.active {
  background: url(../images/ic-fix4-active.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix5 {
  background: url(../images/ic-fix5.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix5.active {
  background: url(../images/ic-fix5-active.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix6 {
  background: url(../images/ic-fix6.webp?v=3.24) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix6.active {
  background: url(../images/ic-fix6-active.webp?v=3.24) center/contain no-repeat;
}

.navbar-tr {
  z-index: 100;
}

.side-nav .nav-item.btn-fix6.active {
  background: url(../images/ic-fix6-active.webp?v=3.24) center / contain no-repeat;
}

.side-nav .nav-item.btn-fix6 {
  background: url(../images/ic-fix6.webp?v=3.24) center / contain no-repeat;
}

.sticky-bar {
  position: fixed;
  align-items: center;
  justify-content: center;
  right: -7px;
  bottom: 10px;
  z-index: 100;
  text-align: center;
  width: 120px;
}

.col-social-float {
  background: url(../images/cbt/bg-report.webp?v=3.24) center / contain no-repeat;
  width: 100px;
  aspect-ratio: 153/429;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 0 23px 0;
  align-items: center;
  z-index: 100;
  margin: 0 auto;
}

.col-social-float>div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.col-follow-sticky a {
  width: 37%;
  margin: auto;
}

.col-social-float a {
  text-decoration: none;
  transition: transform 0.3s ease;
}

.col-social-float a:hover {
  filter: brightness(1.1);
  transform: scale(1.04) translateZ(0);
}

.col-social-float.glow {
  animation: glow 2s infinite alternate;
}

.btn-report-sticky {
  width: 120%;
  margin: 0 -10%;
}


.col-bgm {
  bottom: 14px;
  right: 14px;
  z-index: 100;
}


.btn-logo:hover {
  filter: brightness(1.2);
}

.col-bottom-btn-nav a {
  color: #ffffff;
  text-decoration: none;
}

.col-bottom-btn-nav>div {
  padding: 20px;
  background: #0E8CEE;
  border-radius: 8px;
}

.text-head-nav {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  padding: 0 20px;
}



@keyframes glow {
  0% {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 8px #ffffff);
    opacity: 1;
  }

  50% {
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 15px #ffffff);
    opacity: 1;
  }

  100% {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 8px #ffffff);
    opacity: 1;
  }
}



#muteBtn {
  background: none !important;
  border: none !important;
}

#muteBtn:hover {
  filter: brightness(1.2);
  background: none !important;
  border: none !important;
}

#muteBtn:active,
#muteBtn:focus {
  background: none !important;
  border: none !important;
}

@media (min-width: 550px) {
  .col-social-float {
    width: 120px;
    padding: 120px 0 27px 0;
  }
}

@media (min-width: 1024px) {
  .sticky-bar {
    width: 170px;
    right: 0px;
  }
}