.elementor-29 .elementor-element.elementor-element-2a256258{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:-10px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-29 .elementor-element.elementor-element-477e4bf7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:-30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-29 .elementor-element.elementor-element-477e4bf7.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-29 .elementor-element.elementor-element-6b49652{--display:flex;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(min-width:768px){.elementor-29 .elementor-element.elementor-element-477e4bf7{--width:100.224%;}}/* Start custom CSS for html, class: .elementor-element-18409db *//* 1. ลบขอบและทะลุ container ของ theme */
body .elementor-location-header {
  padding: 0 !important;
  margin: 0 !important;
}

.hacker-header-forcefull {
  position: relative;
  left: 0;
  right: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #1e1f23;
  overflow-x: hidden;
  z-index: 999;
}

/* 2. กล่องด้านใน */
.hacker-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto;
}

/* 3. โลโก้ */
.logo a {
  display: inline-block;
}
.logo img {
  max-height: 60px;
}

/* 4. เมนู */
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.menu a {
  color: #ddd;
  font-size: 14px;
  text-decoration: none;
}

.menu a:hover {
  color: #fff;
}

/* 5. ปุ่ม */
.actions {
  display: flex;
  gap: 10px;
}

/* ✅ ปุ่มเข้าสู่ระบบ */
.login {
  background: #333 !important;
  color: #fff !important; /* ตัวหนังสือบังคับให้เป็นสีขาว */
  padding: 10px 20px !important;
  border-radius: 10px !important;
  border: 2px solid #fff !important; /* กรอบสีขาว */
  text-decoration: none !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;

  /* ✅ เรืองแสงพื้นฐาน */
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.6) !important;
}

.login:hover {
  color: #ffeb3b !important;
  border-color: #ffeb3b !important; /* กรอบเปลี่ยนเป็นเหลืองเวลา hover */
  text-shadow: 0 0 8px #ffeb3b !important;
  box-shadow: 0 0 18px 4px rgba(255, 235, 59, 0.9) !important;
  transform: scale(1.05) !important;
}


/* ✅ ปุ่มสมัครสมาชิก */
.register {
  background: #ffc107 !important;
  color: #000000 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;

  /* ✅ เรืองแสงพื้นฐาน */
  box-shadow: 0 0 15px 3px rgba(255, 193, 7, 0.9), 
              0 0 25px 8px rgba(255, 193, 7, 0.6) !important;
}

.register:hover {
  background-color: #ffda45 !important;
  box-shadow: 0 0 20px 6px rgba(255, 193, 7, 1), 
              0 0 40px 10px rgba(255, 193, 7, 0.8) !important;
  transform: scale(1.05) !important;
  color: #000000 !important;
}

/* 6. Responsive */
@media (max-width: 768px) {
  .hacker-header-inner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .menu {
    flex-wrap: wrap;
  }

  .actions {
    align-self: flex-start;
  }
}
/* ===== Center actions on mobile & iPad ===== */
@media (max-width: 1024px) {
  .hacker-header-inner {
    display: flex;
    flex-wrap: wrap;            /* ให้ลงบรรทัดใหม่ได้ */
    align-items: center;
  }

  /* โลโก้จะอยู่บรรทัดบนตามเดิม */
  .logo {
    flex: 1 0 100%;
    display: flex;
    justify-content: center;    /* ถ้าอยากให้โลโก้ซ้าย ให้เปลี่ยนเป็น flex-start */
    margin-bottom: 8px;
  }

  /* เมนูลงบรรทัดใหม่ ใต้โลโก้ (ถ้ามี) */
  .menu {
    flex: 1 0 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  /* ✅ ปุ่มสองปุ่มให้อยู่กึ่งกลางทั้งแถว */
  .actions {
    flex: 1 0 100%;
    display: flex;
    justify-content: center;    /* จัดกลางแนวนอน */
    align-items: center;
    gap: 10px;
  }

  /* ให้ปุ่มดูเท่ากันและจัดกลางสวยๆ */
  .actions .login,
  .actions .register {
    min-width: 150px;
    text-align: center;
  }
}

/* ถ้าอยาก “โลโก้ซ้าย / ปุ่มกลาง” ในมือถือ ให้เพิ่มชุดนี้แทนด้านบนของ .logo */
@media (max-width: 768px) {
  .logo { justify-content: flex-start; }
}
/* ===== iPad only: 768px–1024px ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .hacker-header-inner {
    display: flex;
    flex-wrap: wrap;            /* ให้แบ่งเป็นหลายบรรทัดได้ */
    align-items: center;
  }

  /* โลโก้บนสุด จัดกลาง */
  .hacker-header-inner .logo {
    flex: 0 0 100%;
    display: flex;
    justify-content: center !important;
    margin-bottom: 10px;
  }

  /* เมนูอยู่บรรทัดถัดมา จัดกลาง */
  .hacker-header-inner .menu {
    flex: 0 0 100%;
    display: flex;
    justify-content: center !important;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

/* ✅ ปุ่มลงมาเป็นบรรทัดใหม่ และ “ชิดกลาง” */
.hacker-header-inner .actions {
  flex: 0 0 100%;
  display: flex;
  justify-content: center !important;
  align-items: center;
  gap: 12px;
  /* float: none !important;  ← ไม่ต้องใช้กับ flex */
  margin: 0 auto; /* จัดกลางบล็อก */
} }
/* ===== Hide Login/Register on mobile & iPad only (<=1024px) ===== */
@media (max-width: 1024px) {
  /* ซ่อนเฉพาะปุ่ม ไม่ไปยุ่งส่วนอื่น */
  .hacker-header-inner .actions .login,
  .hacker-header-inner .actions .register {
    display: none !important;
  }

  /* ถ้าช่องว่างยังเกิน ให้ลดช่องว่างใน .actions ลง */
  .hacker-header-inner .actions {
    gap: 0 !important;
  }
}

/* (ตัวเลือกสำรอง) ถ้า .actions มีแค่ 2 ปุ่มนี้จริงๆ และอยากให้หายทั้งบล็อก
@media (max-width: 1024px) {
  .hacker-header-inner .actions { display: none !important; }
}
*//* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5ed85fef *//* footer-menu.css */
#account-actions-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  font-family: sans-serif;
}

#account-actions-mobile .-outer-wrapper {
  display: flex;
  align-items: flex-end;
}

.-left-wrapper,
.-right-wrapper {
  flex: 1;
  height: 70px;
  background: linear-gradient(#383d44, #141617);
  display: flex;
  align-items: flex-end;
  padding-bottom: 6px;
  border-top: 1px solid #fff700;
  z-index: 2;
  transition: background 0.3s ease;
}

.-left-wrapper {
  border-top-left-radius: 10px;
  border-top-right-radius: 22px;
}

.-right-wrapper {
  border-top-right-radius: 10px;
  border-top-left-radius: 22px;
}

.-item-wrapper {
  width: 50%;
  display: flex;
  justify-content: center;
}

.-ic-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.-ic-img img {
  width: 34px;
  height: auto;
  margin-bottom: 4px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.-ic-img:hover img {
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.7),   /* ทองคลาสสิก */
    0 0 20px rgba(255, 240, 180, 0.5), /* ทองอ่อนนวล */
    0 0 30px rgba(255, 255, 200, 0.3);
  transform: scale(1.1);
}

.-textfooter {
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}

.-center-wrapper {
  position: relative;
  z-index: 4;
  width: 74px;
  height: 74px;
  margin: 0 8px 16px;
  /*background: linear-gradient(182deg, #272a2f, #473f39);*/
  /*border-radius: 50%;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.-center-wrapper .-selected {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.-center-wrapper span {
  position: absolute;
  bottom: 4px;
  font-size: 13px;
  color: #fff;
  text-align: center;
}

@keyframes bounce-updown {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-6px);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5),
                0 0 20px rgba(255, 105, 180, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.8),
                0 0 35px rgba(255, 105, 180, 0.5);
  }
}

.logo-wrapper {
  width: 77px;
  height: 77px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: bounce-updown 2s ease-in-out infinite;
  /*background: transparent;*/
filter: brightness(1) drop-shadow(0 0 10px #ffe600) drop-shadow(0 0 20px #ffae00);
}
/* หายใจแบบไม่กระตุก */
@keyframes glow-breath {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 10px #ffe600) drop-shadow(0 0 20px #ffae00);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1) drop-shadow(0 0 15px #fff700) drop-shadow(0 0 30px #ffa500);
  }    
}


.logo-bounce-glow {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  /*animation: logo-bounce-glow 3s ease-in-out infinite;*/
  display: block;
  /*filter: brightness(0.8) drop-shadow(0 0 10px #ffe600) drop-shadow(0 0 20px #ffae00);*/
}
@keyframes logo-bounce-glow {
  0%, 100% {
    filter: drop-shadow(0 0 4px #ffd700) drop-shadow(0 0 8px #fff8dc);
  }
  50% {
    filter: drop-shadow(0 0 10px #ffff99) drop-shadow(0 0 16px #ffd700);
  }
}

.-fake-center-bg-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  overflow: hidden;
  z-index: 1;
}

.-fake-center-bg-wrapper svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 108px;
}

.-fake-center-bg-wrapper svg path {
  fill: url(#rectangleGradient);
}

/* ปิดสีเทา hover */
a,
a:hover,
a:visited,
a:active {
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
/* รูปเรืองแสง + หายใจ */
.aos-bounce-glow {
  width: 550px; /* ขนาดคงที่ */
  height: auto;
  border-radius: 12px;
  animation: aos-breath 3s ease-in-out infinite;
  filter: brightness(0.8) drop-shadow(0 0 10px #ffe600) drop-shadow(0 0 20px #ffae00);
  transition: filter 0.3s ease;
  will-change: transform;
}

/* หายใจแบบไม่กระตุก */
@keyframes aos-breath {
  0%, 100% {
    transform: translateY(0px);
    filter: brightness(1) drop-shadow(0 0 10px #ffe600) drop-shadow(0 0 20px #ffae00);
  }
  50% {
    transform: translateY(-6px);
    filter: brightness(1) drop-shadow(0 0 15px #fff700) drop-shadow(0 0 30px #ffa500);
  }
}/* End custom CSS */
/* Start custom CSS */html, body {
  overflow-x: hidden !important;
}/* End custom CSS */