body.headbar-d .site-branding,
body.headbar-d .site-member {
  display: none;
}

.site-header {
  min-height: 70px;
  background-color: #0a0a0a; /* เปลี่ยนเป็นดำเข้ม */
  line-height: 1;
}

.site-header > .s-container {
  position: relative;
  min-height: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 1920px;
}

.site-header a {
  color: #d4af37; /* ทอง */
}

.site-header a:hover {
  color: #fff; /* Hover เป็นขาว */
}

.site-header-space {
  min-height: 70px;
}

.site-branding {
  position: absolute;
  top: auto;
  left: auto;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.site-branding img {
  max-height: 70px;
  width: auto;
}

.site-title {
  font-size: 24px;
}

.site-description {
  display: inline-block;
  margin: 0;
  padding-left: 15px;
  opacity: 0.75;
  padding-top: 2px;
}

.site-nav-d > div {
  height: 100%;
}

.site-nav-d .children {
  display: none;
}

.site-nav-d ul {
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  height: 100%;
}

.site-nav-d li {
  height: 100%;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  min-width: 100px;
}

.site-nav-d li a {
  padding: 10px 15px;
  color: #d4af37; /* เมนูหลักเป็นทอง */
  font-weight: 600;
}

.site-nav-d li:hover > a {
  color: #fff;
  border-bottom: 2px solid #ffd700; /* เส้นทองสว่างเวลา hover */
}

.site-nav-d li:hover {
  text-decoration: none; /* ยกเลิก underline เดิม */
}

.site-nav-d li:hover > .sub-menu {
  opacity: 1;
  max-height: 100vh;
  top: 100%;
  height: auto;
  z-index: 91;
  overflow: visible;
}

.site-nav-d li.mnu-space {
  margin: 0 90px;
  color: transparent;
}

.site-nav-d li.mnu-space a {
  color: transparent !important;
}

/* ------------------- เมนูย่อย (Dropdown) ------------------- */
.site-nav-d .sub-menu {
  display: block;
  text-align: left;
  overflow: hidden;
  opacity: 0;
  height: auto;
  max-height: 0;
  position: absolute;
  z-index: 90;
  top: calc(100% + 5px);
  -webkit-filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #1a1a1a; /* ดำเข้มแทนแดง */
  min-width: 180px;
}

.site-nav-d .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #1a1a1a; /* ดำเข้มแทนแดง */
  z-index: 1;
}

.site-nav-d .sub-menu li {
  height: auto;
  line-height: 1.4;
  position: relative;
  padding: 0 15px;
}

.site-nav-d .sub-menu li a {
  padding: 10px 0;
  display: block;
  color: #d4af37; /* ทอง */
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav-d .sub-menu li:last-child > a {
  border-bottom: none;
}

.site-nav-d .sub-menu li:hover .sub-menu {
  top: 0;
  z-index: 92;
}

.site-nav-d .sub-menu .sub-menu {
  left: 100%;
  top: 5px;
}

.site-nav-d .sub-menu .sub-menu::before {
  display: none;
}

.site-nav-d .sub-menu .sub-menu .sub-menu {
  display: none;
}

/* ------------------- USER / MEMBER ------------------- */
.site-member {
  position: relative;
  margin-left: 20px;
  right: auto;
  top: auto;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.site-member .m-user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.site-member .info {
  padding-left: 8px;
  display: block;
}

.site-search {
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-right: 0;
}

.site-toggle {
  display: none;
}

/* ------------------- เนื้อหาอื่นคงเดิม ------------------- */
.main-header {
  margin-bottom: 15px;
  padding-top: 30px;
}

.main-header.-banner {
  padding-bottom: 26px;
  min-height: 220px;
  margin-bottom: 30px;
}

.main-header.-banner .main-title {
  width: 750px;
}

.main-header .title {
  font-size: 32px;
}

.content-item.-hero {
  border-radius: 3px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 73fr 38fr;
}

.content-item.-hero .pic {
  margin-bottom: 0;
}

.content-item.-hero .pic > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}

.content-item.-hero .pic img {
  max-height: 600px;
}

.content-item.-hero .info {
  padding: 30px;
}

.content-pagination {
  margin-bottom: 30px;
}

.main-body.-rightbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.main-body.-rightbar .widget-area {
  width: 240px;
  padding-left: 30px;
}

.main-body.-rightbar .content-area {
  width: calc(100% - 240px);
}

.main-body.-leftbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.main-body.-leftbar .widget-area {
  width: 240px;
  padding-right: 30px;
}

.main-body.-leftbar .content-area {
  width: calc(100% - 240px);
}

.main-body.-leftrightbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.page-form {
  padding: 15px 25px 1px;
  max-width: 920px;
}

.site.-header-desktop-overlay .page-form {
  background-color: #fff;
  margin-top: -80px;
  position: relative;
}

.entry-author {
  margin-top: 40px;
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.entry-author .pic {
  margin: 0;
  padding-right: 16px;
}

.comments-area {
  margin-bottom: 30px;
}

.comment-form-author {
  float: left;
  width: 32%;
  margin-right: 2%;
}

.comment-form-email {
  float: left;
  width: 32%;
  margin-right: 2%;
}

.comment-form-url {
  float: left;
  width: 32%;
}

.site-login {
  max-height: 400px;
}

.site-footer-space {
  min-height: 50px;
}

.site-footer {
  min-height: 50px;
}

.-xl {
  font-size: 32px;
}

.-xxl {
  font-size: 38px;
}

.btn_main {
  position: relative;
  top: 0;
  padding-bottom: 6px;
}

.btn_main a {
  width: auto;
}

.list_pomotion {
  margin-top: -80px;
}

.list_pomotion .flickity-viewport {
  min-height: 580px;
}

.list_pomotion .carousel-cell {
  width: 33.33%;
  margin-top: 100px;
}

.sec-bg {
  padding: 40px;
  border-radius: 40px;
}

.sec-1 {
  position: relative;
}

.sec-1 .img-left {
  position: absolute;
  width: 630px;
  height: auto;
  margin: 0;
  left: -220px;
  bottom: -80px;
}

.sec-1 .img-left img {
  width: auto;
  height: 630px;
  -o-object-fit: contain;
  object-fit: contain;
}

.sec-2 {
  position: relative;
}

.sec-2::before {
  position: absolute;
  bottom: -28px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 100px;
  height: 30px;
  display: block;
  content: "";
  z-index: 2;
  background: #3b3b3b;
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.sec-2 .img-rigth {
  position: absolute;
  bottom: -116px;
  width: 290px;
}

.sec-2 .img-rigth img {
  width: auto;
  height: 400px;
  -o-object-fit: contain;
  object-fit: contain;
}

.all_game {
  margin-bottom: 70px;
}

.all_game .flickity-viewport {
  min-height: auto;
}

.all_game .carousel-cell {
  width: 16.66%;
  height: 255px;
}

.-spa {
  height: 70px !important;
}

.client a {
  width: 15%;
}

.slot-hit {
  background-size: 100% 100%;
  position: relative;
}

.slot-hit::after {
  content: " ";
  position: absolute;
  left: -80px;
  top: 25px;
  width: 350px;
  height: 350px;
  z-index: 500;
  background-image: url(/wp-content/uploads/2023/01/slotl-1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.slot-hit::before {
  content: " ";
  position: absolute;
  right: -10px;
  top: -60px;
  width: 220px;
  height: 330px;
  z-index: 500;
  background-image: url(/wp-content/uploads/2023/01/slotr-1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.sec-cantact {
  position: relative;
  background: -webkit-radial-gradient(circle, #474747 0, #1a1a1a 100%);
  background: -o-radial-gradient(circle, #474747 0, #1a1a1a 100%);
  background: radial-gradient(circle, #474747 0, #1a1a1a 100%);
  border-radius: 40px;
  padding: 6px 40px;
  margin-top: 60px;
}

.sec-cantact .qr-logo {
  position: absolute;
  left: -30px;
  top: -90px;
  width: 250px;
  height: 250px;
  z-index: 500;
}

.sec-cantact::before {
  content: " ";
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 450px;
  height: 315px;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 500;
  background-image: url(/wp-content/uploads/2023/03/under.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.sec-cantact .bt-con {
  position: absolute;
  width: 330px;
  height: auto;
  left: 0;
  bottom: -16px;
}

.footer-main {
  background-image: url(/wp-content/uploads/2023/03/red-bg-footer.jpg);
  text-shadow: 1px 1px 3px #000;
}

/* ------------------- Responsive ------------------- */
@media (min-width: 992px) {
  body.page-template-page-form .site-content {
    padding-top: 35px;
    padding-bottom: 35px;
  }
}

@media (min-width: 1366px) and (max-width: 1500px) {
  .sec-1 .img-left {
    width: 350px;
    left: -90px;
  }
}

@media (min-width: 1110px) and (max-width: 1320px) {
  .sec-1 .img-left {
    width: 295px;
    left: -50px;
  }

  .site-nav-d li.mnu-space {
    margin: 0 30px;
  }
}
