/**************************/
/*     General Styles     */
/**************************/
body {
  font-family: "Kanit", sans-serif !important;
  background-color: rgb(0 4 12);
}

body h1, h2, h3, h4, h5, h6 {
  font-family: "Kanit", sans-serif !important;
}

body hr {
  border-top: 1px dashed #6f4f56;
}

#myVideo {
  object-fit: cover;
  width: 100%;
  top: 0;
  left: 0;
  box-shadow: rgb(53 131 214 / 38%) 0px 0px 16px;
}
body.sub {
  background-image:
    url("../img/bg.png");
  background-position: center bottom, left top;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Kanit", sans-serif !important;
}

.navbar-light .navbar-nav .nav-link {
  color: #ff7678;
}

/*********************/
/*      Details      */
/*********************/

.head {
  width: 100%;
  overflow: hidden;
}

.body-sub {
  background-image:
    url("../img/bg-sub.png");
  background-position: center bottom, left top;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-sub {
  background-image: url("../img/bg-vector-sub.png");
  background-size: cover;
  min-height: 100%;
}

.bg-vector {
  background-image: url("../img/bg-vector.png");
  background-size: cover;
  min-height: 100%;
}

.section-char {
  width: 100%;
  position: relative;
  z-index: -1;
}

.section-char-l {
  margin-left: 120px;

}

.section-char-r {
  margin-left: -190px;

}

.section-logo {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-button {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-slide {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 733;
  padding-bottom: 100px;
  margin-top: -780px;
}

.button_enter {
  display: inline-block;
  vertical-align: middle;
  float: none;
  -webkit-animation: 4s logo infinite linear;
  -moz-animation: 4s logo infinite linear;
  animation: 4s logo infinite linear;
}

.button_enter:hover {
  -webkit-animation: bounce 1s;
  animation: bounce 1s;
}

@-webkit-keyframes logo {
  0%, 100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  10%, 50% {
    -webkit-transform: rotate(-3deg);
    transform: rotate(-3deg);
    -webkit-transform-origin: 80% 100%;
    transform-origin: 80% 100%;
  }

  30%, 70% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
    -webkit-transform-origin: 20% 100%;
    transform-origin: 20% 100%;
  }
}

@keyframes logo {
  0%, 100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  10%, 50% {
    -webkit-transform: rotate(-3deg);
    transform: rotate(-3deg);
    -webkit-transform-origin: 80% 100%;
    transform-origin: 80% 100%;
  }

  30%, 70% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
    -webkit-transform-origin: 20% 100%;
    transform-origin: 20% 100%;
  }
}

.header_logo {
  width: 390px;
  padding-bottom: 20px;
  display: block;
  margin: 0 auto;
  -webkit-animation: 4s heart infinite linear;
  -moz-animation: 4s heart infinite linear;
  animation: 4s heart infinite linear;
}

@-webkit-keyframes heart {
  0%, 100% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  30%, 80% {
    -webkit-transform: scale(1.15);
    opacity: 1;
    transform: scale(1.15);
    opacity: 1;
  }

  40%, 60% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  50%, 70% {
    -webkit-transform: scale(0.95);
    opacity: 1;
    transform: scale(0.95);
    opacity: 1;
  }
}

@keyframes heart {
  0%, 100% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  30%, 80% {
    -webkit-transform: scale(1.15);
    opacity: 1;
    transform: scale(1.15);
    opacity: 1;
  }

  40%, 60% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  50%, 70% {
    -webkit-transform: scale(0.95);
    opacity: 1;
    transform: scale(0.95);
    opacity: 1;
  }
}

/********************/
/*   CUSTOM CURSOR  */
/********************/

.custom {
  cursor: url("../img/cursor.png"), auto;
}

.custom:hover a {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover li {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover button {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover input {
  cursor: url("../img/activec.png"), auto;
}

.bg-red {
  background-color: #291c1f !important;
}

.bg-dark-card {
  background-color: #3b2928 !important;
}

.nevline {
  font-size: 10px;
  display: block;
  text-align: center;
}

.footer {
  font-family: "Kanit";
  background: #992425;
  width: 100%;
  left: 0;
  bottom: 0;
  box-shadow: rgb(53 131 214 / 38%) 0px 0px 16px;
  padding: 15px 50px;
  z-index: 5000;
}

.footer_logo {
  display: block;
  -webkit-animation: 4s heart infinite linear;
  -moz-animation: 4s heart infinite linear;
  animation: 4s heart infinite linear;
}

.footer-battlepass {
  background-image:
    url("../img/gem.png");
  object-fit: cover;
  width: 100%;
  height: 424px;
  top: 0;
  left: 0;
  margin-top: -60px;
}

.footer-bottom {
  background-image:
    url("../img/bg-foot.png");
  object-fit: cover;
  width: 100%;
  height: 234px;
  top: 0;
  left: 0;
  margin-top: -110px;
}

.copy {
  text-align: center;
  margin-top: 6px;
  color: #ff7678;
  font-size: 12px;
}

.status {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #1b0b11;
  color: rgba(255, 255, 255, .5);
}

.status .image-container {
  margin-bottom: 4rem;
}

.status h2 {
  margin-bottom: 1.75rem;
}

.status p {
  margin-bottom: 2rem;
}

.news {
  object-fit: cover;
  width: 100%;
  padding-top: 1.25rem;
  background-color: rgb(0 4 12);
}

.news .image-container {
  margin-bottom: 4rem;
}

.news h2 {
  margin-bottom: 1.75rem;
}

.news p {
  margin-bottom: 2rem;
}

.status-container {
  border: 1px solid #83080c;
  border-radius: 35px;
  background-color: #53090b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-event {
  display: inline;
  padding: 0.2em 0.8em 0.3em;
  font-size: 85%;
  font-weight: 300;
  line-height: 1.2em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  vertical-align: baseline;
  -webkit-border-radius: 50em;
  border-radius: 50em;
  -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.status-box {
  display: inline;
  padding: 0.2em 0.8em 0.3em;
  font-size: 85%;
  font-weight: 300;
  line-height: 1.2em;
  background-color: #e9952d;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  vertical-align: baseline;
  -webkit-border-radius: 50em;
  border-radius: 50em;
  -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.head-show {
  padding-top: 3.25rem;
  background-image:
    url("../img/bg-1.png");
  width: 100%;
  min-height: 803px;
  max-height: 803px;
  top: 0;
  left: 0;
}

.news-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-2.png");
  width: 100%;
  min-height: 708px;
  max-height: 708px;
  top: 0;
  left: 0;
}

.sub-menu-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-3.png");
  width: 100%;
  min-height: 314px;
  top: 0;
  left: 0;
}

.shop-menu-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-4.png");
  width: 100%;
  min-height: 457px;
  top: 0;
  left: 0;
}

.mer-menu-show {
  background-image:
    url("../img/bg-5.png");
  width: 100%;
  min-height: 827px;
  max-height: 827px;
  top: 0;
  left: 0;
}

.event-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-6.png");
  width: 100%;
  min-height: 707px;
  top: 0;
  left: 0;
}

.guild-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-7.png");
  width: 100%;
  min-height: 1020px;
  max-height: 1020px;
  top: 0;
  left: 0;
}

.regis-show {
  padding-top: 1.25rem;
  background-color: #1b0b11;
  background-image:
    url("../img/bg-2.png");
  width: 100%;
  min-height: 868px;
  top: 0;
  left: 0;
}


.regis-showh {
  padding-top: 1.25rem;
  background-color: #1b0b11;
  background-image:
    url("../img/bg-2h.png");
  width: 100%;
  min-height: 868px;
  max-width: 2000px;
  top: 0;
  left: 0;
}

.detail-show {
  padding-top: 1.25rem;
  background-color: #1b0b11;
  background-image:
    url("../img/bg-3.png");
  width: 100%;
  min-height: 607px;
  top: 0;
  left: 0;
}

.detail-show-2 {
  padding-top: 1.25rem;
  background-color: #1b0b11;
  background-image:
    url("../img/bg-3-2.png");
  width: 100%;
  min-height: 855px;
  top: 0;
  left: 0;
}

.job-show {
  padding-top: 1.25rem;
  background-color: #1b0b11;
  background-image:
    url("../img/bg-4.png");
  width: 100%;
  min-height: 917px;
  top: 0;
  left: 0;
}

/* Default styles */
.btn-image {
  max-width: 100%;
  height: auto;
}

.btt {
  position: absolute;
  min-height: 40px;
  z-index: 300000;
  bottom: 120px;
  left: 10px;
  text-align: center;
}

.ranking .image-container {
  margin-bottom: 4rem;
}

.ranking h2 {
  margin-bottom: 1.75rem;
}

.ranking p {
  margin-bottom: 2rem;
}

.ranking {
  padding-top: 1.25rem;
  background-color: #2f201f;
}

.ranking .image-container {
  margin-bottom: 4rem;
}

.ranking h2 {
  margin-bottom: 1.75rem;
}

.ranking p {
  margin-bottom: 2rem;
}

.bg-update {
  background-color: #65a72a;
  float: right;
}

.bg-promotion {
  background-color: #ff6b6b;
  float: right;
}

.bg-notice {
  background-color: #2495cc;
  float: right;
}

.bg-event {
  background-color: #fd973f;
  float: right;
}

.bg-view {
  background-color: #2f81ec;
  float: right;
}

.status-event {
  display: inline;
  padding: 0.2em 0.8em 0.3em;
  font-size: 85%;
  font-weight: 300;
  line-height: 1.2em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  vertical-align: baseline;
  -webkit-border-radius: 50em;
  border-radius: 50em;
  -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.status-events {
  display: inline;
  font-size: 50%;
  line-height: 1px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: baseline;
  -webkit-border-radius: 50em;
  border-radius: 50em;
  -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.h2-heading {
  font-weight: bold;
  margin-right: auto;
  margin-left: auto;
}

.p-heading {
  font-weight: bold;
  margin-right: auto;
  margin-left: auto;
}

.hide::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}


/********************/
/*    page-loader   */
/********************/
.page-loader {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #020c15;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999999;
  transition: opacity .4s ease-in-out, visibility .4s ease-in-out
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden
}

.page-loader .page-loader-decoration {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 28px;
}

.page-loader .page-loader-decoration .icon-logo {
  fill: #fff;
  width: 36px;
  height: 52px
}

.page-loader .page-loader-info .page-loader-info-text, .page-loader .page-loader-info .page-loader-info-title {
  color: #fff;
  text-transform: uppercase;
  text-align: center
}

.page-loader .page-loader-info .page-loader-info-title {
  margin-top: 24px;
  font-family: "Kanit", sans-serif;
  font-size: 1.75rem;
  font-weight: 900
}

.page-loader .page-loader-info .page-loader-info-text {
  margin-top: 10px;
  font-size: .75rem;
  font-weight: 700
}

.page-loader .page-loader-indicator {
  margin-top: 60px
}

/*page loader*/

/* Media query for small screens (adjust the max-width as needed) */
@media (max-width: 600px) {
  .btn-image {
    max-width: 20%;
    /* Adjust as needed for small screens */
  }
}

.rank-number {
  font-size: 11px;
  color: #000;
  background-color: #fff;
  border: solid 1px rgba(0, 0, 0, 0.10);
  padding: 0.5em;
  border-radius: 3px 0 0 3px;

  letter-spacing: 0.5px;
  margin: 0 auto;
}

.rank-name {
  font-size: 11px;
  color: #000;
  background-color: #fff;
  border: solid 1px rgba(0, 0, 0, 0.10);
  padding: 0.5em;
  border-radius: 0px;
  letter-spacing: 0.5px;

  margin: 0 auto;
}

.rank-point {
  font-size: 11px;
  color: #000;
  background-color: #fff;
  border: solid 1px rgba(0, 0, 0, 0.10);
  padding: 0.5em;
  border-radius: 0 3px 3px 0;

  letter-spacing: 0.5px;
  margin: 0 auto;
}

.admin-side {
  padding-top: 1.25rem;
  background-color: #fbfbfb;
}

.facebook-block {
  position: absolute;
  z-index: 1000;
  border-radius: 5px;
  font-size: 1rem;
}

/* Media Queries สำหรับหน้าจอเล็ก */
@media (max-width: 768px) {
  .facebook-block {
      top: 0px;
      font-size: 0.9rem;
  }
}

/* Media Queries สำหรับหน้าจอใหญ่ */
@media (min-width: 1200px) {
  .facebook-block {
      top: 0px; /* ระยะห่างบนที่มากขึ้นสำหรับจอใหญ่ */
      font-size: 1.2rem; /* ขยายขนาดข้อความ */
  }
}

.download-block {
  position: absolute;
  top: 91px;
  right: 350px;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 1rem;
}

.register-block {
  position: absolute;
  top: 361px;
  right: 200px;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 1rem;
}



.head-menu {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: absolute;
  z-index: 999;
}

.head-menu img {
  max-width: 100%;
  height: auto;
}

.nav-menu {
  position: absolute;
  top: 6px;
  left: 40%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
}

@media (max-width: 768px) {
  .nav-menu a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

@media (min-width: 1200px) {
  .nav-menu a {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
}

.holographic-card {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      transparent 30%,
      rgba(0, 255, 255, 0.3));
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}