@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url(./mobile-menu.css);
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  color: white;
}

.marquee span {
  display: inline-block;
  padding-left: 100%; /* เริ่มจากนอกจอ */
  animation: marquee 10s linear infinite;
  color: white;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
html,
body {
  padding: 0;
  margin: 0;
  font-family: "Kanit", sans-serif;
  background-color: #0a090f;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  /* background: linear-gradient(to right, #000c0c, #640203); */
  background-image: url(./../img/header-bg.png);
  /* background-image: url(./../img/header-pattern.png); */
  background-size: cover;
}
.header {
  background-image: url(./../img/header-pattern.png);
  background-size: cover;
}
.contact-fixed {
  filter: drop-shadow(0 0 3px #000) invert(0%);
}
.game-category-items .item img,
.custom-hover,
.custom-menu-items > .item img,
.custom-menu-items > .item,
.contact-fixed,
.custom-swiper-button-next img,
.image-hover,
.footer-menu a,
.btn-gold,
.logo > a {
  transition: all 0.3s;
  cursor: pointer;
}
.game-category-items .item:hover img,
.custom-hover:hover,
.custom-menu-items > .item:hover img,
.custom-menu-items > .item:hover,
.contact-fixed:hover,
.custom-swiper-button-next img:hover,
.image-hover:hover,
.footer-menu a:hover,
.btn-gold:hover,
.logo > a:hover {
  filter: drop-shadow(0 0 3px #f3c62b) invert(0%);
}
.footer-menu a,
.btn-gold {
  display: flex;
  flex-direction: column;
  border-radius: 50px;
  padding: 2px;
  /* background: linear-gradient(
    to right,
    #ffde47,
    #e5b61f,
    #f0d871,
    #f9f6b3,
    #f6da40
  ); */
  background: #997b44;
  background: linear-gradient(
    180deg,
    rgba(153, 123, 68, 1) 0%,
    rgba(132, 95, 38, 1) 50%,
    rgba(237, 228, 207, 1) 100%
  );
  border: 0;
}

.footer-menu a {
  border-radius: 0;
  padding: 1;
}
.footer-menu a > span,
.btn-gold > span {
  color: #000000;
  border-radius: 50px;
  padding: 8px 20px;
}

.btn-gold > span {
  font-size: 1.2rem;
  font-weight: 600;
  width: 100%;
}
.footer-menu a > span {
  color: white;
  background-color: #680608;
  border-radius: 0;
}
.btn-gold > span {
  color: white;
  background: #fe0006;
  background: linear-gradient(
    180deg,
    rgba(254, 0, 6, 1) 0%,
    rgba(122, 7, 11, 1) 100%
  );
}

.btn-gold.border > span {
  color: white;
  background: #26282b;
  background: linear-gradient(
    180deg,
    rgba(38, 40, 43, 1) 0%,
    rgba(0, 0, 1, 1) 100%
  );
}
.btn-gold.play > span {
  font-size: 1.7rem;
  color: white;
  background: linear-gradient(to bottom, #640203, #000c0c);
}
.btn-gold.yellow > span {
  color: #000200;
  background: linear-gradient(to bottom, #ff9c00, #ff9c00);
}
.content {
  background: linear-gradient(to bottom, #090e4f 0%, #0a090f 60%, #090e4f 100%);
  /* background-image: url(./../img/cover-bg.png); */
  min-height: 42vh;

  /* min-height: 100vh; */
}
.content:not(.page) {
  /* flex: 1; */
  background: url(./../img/content-bg.png) top center no-repeat #0a090f;
  background-size: contain;
}
.article-bg {
  background: linear-gradient(to bottom, #3c0302, #0c1221);
}
.marquee {
  --marguee-space: 45px;
  filter: drop-shadow(0 0 2px #f3c62b) invert(0%);
  padding-left: var(--marguee-space);
  padding-top: 3px;
  padding-right: 3px;
  position: relative;
}
.marquee .icon {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 5px 5px 5px 15px;
  width: var(--marguee-space);
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee .icon img {
  max-width: 100%;
}
.card {
}
.card-header {
  --card-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
  overflow: hidden;
  background: linear-gradient(to right, #870002, #c10001);
  padding: 1rem;
}
.card-header .title {
  color: white;
  font-size: 1.8rem;
}
.card .card-body {
  padding: 1.5rem;
  padding-bottom: 3rem;
  background: linear-gradient(to bottom, #cf080a, #4b0304);
}
.card.promotion .card-body {
  background: url(./../img/promotion-bg.png) top center no-repeat;
  background-size: cover;
}
.swiper-pagination-promotion {
  bottom: 0 !important;
}
.swiper-pagination-bullet {
  --bullet-size: 15px;
  border: 1px solid #f3c62b;
  background-color: #000000 !important;
  opacity: 1 !important;
  width: var(--bullet-size) !important;
  height: var(--bullet-size) !important;
}
.swiper-pagination-bullet-active {
  background: linear-gradient(
    to right,
    #ffde47,
    #e5b61f,
    #f0d871,
    #f9f6b3,
    #f6da40
  ) !important;
}

.game-slide {
  padding-top: 15px;
  display: block;
}

.game-slide-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  border: 1px solid #f6d60b;
  /* border-radius: 20px; */
  overflow: hidden;
}

.game-slide-box img {
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s;
}

.game-brand {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  padding: 0.1rem 1rem;
  border-radius: 10px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right top, #000c0c, #640203);
  z-index: 1;
}

.game-title {
  text-align: center;
  color: #fff;
  font-size: 24px;
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 1;
}

.game-slide-box:hover {
  box-shadow: 0px 0px 15px #feb945;
}

.game-slide-box:hover img {
  transform: scale(1.1);
}
.article-title {
  border-radius: 50px;
}
footer {
  background: linear-gradient(to right, #3e0303, #0c1222);
}
.footer-top {
  background: url(./../img/footer.png) bottom center no-repeat;
  background-size: cover;
}
.footer-menu a {
}
#games-brands {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto;
}

.btm-line {
  position: relative;
}

.btm-line::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgb(202, 180, 165);
  background: linear-gradient(
    90deg,
    rgba(202, 180, 165, 0) 5%,
    rgba(202, 180, 165, 1) 50%,
    rgba(202, 180, 165, 0) 95%
  );
  display: block;
}
.footer-btm {
  background: url(./../img/footer-btm.png) bottom center no-repeat;
  background-size: cover;
}
.cover {
  min-height: 400px;
}
.slide-box {
  background: #a67c56;
  background: linear-gradient(
    255deg,
    rgba(166, 124, 86, 1) 0%,
    rgba(149, 133, 92, 1) 50%,
    rgba(217, 213, 208, 1) 100%
  );
  padding: 2px;
  border-radius: 10px;
}
.slide-body {
  overflow: hidden;
  position: relative;
  border-radius: 13px;
}
.banner {
  position: relative;
}
.banner::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 12rem;
  background: #0a090f;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 15, 0) 0%,
    rgba(10, 9, 15, 1) 100%
  );
}
.jackpot-bg {
  background: url(./../img/j-1.png) center right no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: jackpotMove 1s infinite;
}
@keyframes jackpotMove {
  0%,
  50% {
    background: url(./../img/j-1.png) center right no-repeat;
    background-size: contain;
  }

  100% {
    background: url(./../img/j-2.png) center right no-repeat;
    background-size: contain;
  }
}
.blue-line {
  background-color: #8fb4ff;
  width: 100%;
  height: 5px;
  box-shadow: 0 0 4px #28237e;
}
.custom-line {
  position: relative;
}
.custom-line.right::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0px;
  height: 100%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #bf9975 50%,
    transparent 100%
  );
}
.custom-menu-items {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.custom-menu-items > .item {
  flex: 1;
  background: linear-gradient(180deg, #c5b097 0%, #724508 70%, #b0763b 100%);
  padding: 3px;
  overflow: hidden;
}
.custom-menu-items > .item > .box {
  padding: 1.5rem;
  background: #3a0271;
  background: linear-gradient(
    155deg,
    rgba(58, 2, 113, 1) 0%,
    rgba(22, 0, 47, 1) 25%,
    rgba(6, 0, 1, 1) 35%,
    rgba(55, 1, 1, 1) 60%,
    rgba(118, 0, 0, 1) 100%
  );
  display: flex;
  /* align-items: center; */
  justify-content: center;
  flex-direction: column;
}

.custom-menu-items > .item:first-child {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}
.custom-menu-items > .item:first-child {
  padding-left: 4px;
}
.custom-menu-items > .item:first-child > .box {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  padding-left: 3.5rem;
}
.custom-menu-items > .item:last-child {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}
.custom-menu-items > .item:last-child {
  padding-right: 4px;
}
.custom-menu-items > .item:last-child > .box {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  padding-right: 3.5rem;
}
.custom-menu-items > .item > .box > .image {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-menu-items > .item > .box > .image img {
  max-width: 100%;
  max-height: 100%;
}

.custom-menu-items > .item:hover img {
  transform: scale(1.1);
}
.games-box,
.game-category-box {
  position: relative;
  padding-right: 0.5rem;
}
.game-category-box {
  height: 800px;
  overflow-y: auto;
}
.game-category-items {
  background-color: rgba(0, 0, 0, 0.5);
  min-height: 100%;
  /* width: 100%; */
}

.games-box::-webkit-scrollbar,
.game-category-box::-webkit-scrollbar {
  /* height: 4px; */
  width: 10px;
}

.games-box::-webkit-scrollbar,
.games-box::-webkit-scrollbar-thumb,
.games-box::-webkit-scrollbar-track,
.game-category-box::-webkit-scrollbar,
.game-category-box::-webkit-scrollbar-thumb,
.game-category-box::-webkit-scrollbar-track {
  background-color: transparent;
}

.games-box:hover::-webkit-scrollbar,
.game-category-box:hover::-webkit-scrollbar {
  background-color: rgba(13, 19, 28, 0.5);
  border-radius: 30px;
}

.games-box:hover::-webkit-scrollbar-thumb,
.game-category-box:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 30px;
}

.games-box:hover::-webkit-scrollbar-thumb:hover,
.game-category-box:hover::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 1);
}

.game-category-items .item {
  padding: 1rem;
  cursor: pointer;
  letter-spacing: 1px;
}
.game-category-items .item:before {
  content: "";
  width: 15px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgb(155, 113, 52) 0%,
    rgba(155, 113, 52, 0) 100%
  );
  transition: all 0.5s;
}
.game-category-items .item:hover::before {
  width: 40px;
}
.game-category-items .item.btm-line:after {
  width: 60%;
  left: 20%;
}
.games-items {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr)
    minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: 1rem;
}
.faq-description {
  display: none;
}
.faq-item.show .faq-description {
  display: block;
}
.faq-item.show .faq-head .icon {
  transform: rotate(180deg);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.one-line,
.four-lines,
.three-lines,
.two-lines {
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.one-line {
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.four-lines {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.three-lines {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.logo-page-header-icon {
  width: 250px;
  align-self: center;
  margin-bottom: 20px;
  animation: custom_swing 4s infinite;
}
@keyframes custom_swing {
  5% {
    transform: rotate(15deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  20% {
    transform: rotate(5deg);
  }
  35% {
    transform: rotate(-5deg);
  }
  40% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.promotion-list {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 15px;
  grid-column-gap: 15px;
}
.article-content h2 {
  font-size: 2rem;
}

.accordion-item,
.accordion-button:not(.collapsed),
.accordion-button {
  background-color: #22242a;
  color: white;
}

.accordion-body {
  background-color: #151515;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-item {
  border-color: #151515;
  overflow: hidden;
}
.collapse {
  visibility: visible !important;
}
