@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&family=Prompt: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');

body {
  font-family: "Prompt", sans-serif !important;
  background: #fff2cb !important
}

body h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Prompt", sans-serif !important;
}

#myVideo {
  object-fit: cover;
  width: 100%;
  top: 0;
  left: 0;
}

/********************/
/*   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;
}

.custom:hover select {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover .im {
  cursor: url("../img/activec.png"), auto;
}

.hide::-webkit-scrollbar {
  display: none;
}

.hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

footer {
  width: 100%;
  overflow: hidden;
}

footer img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hide::-webkit-scrollbar {
  display: none;
}

.hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.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: #2b1905;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999999;
  transition: opacity .4s ease-in-out, visibility .4s ease-in-out
}

.loader.hidden {
  opacity: 0;
  visibility: hidden
}

.loading-text {
  color: white;
  font-size: 14pt;
  font-weight: 600;
  margin-left: 10px;
}

.loader .loader-decoration {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 28px;
}

.loader .loader-decoration .icon-logo {
  fill: #fff;
  width: 10rem;
}

.dot {
  margin-left: 3px;
  animation: blink 1.5s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

.loading-bar-background {
  --height: 30px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 5px;
  width: 15rem;
  height: var(--height);
  background-color: #1b1101;
  box-shadow: #0c0c0c -2px 2px 4px 0px inset;
  border-radius: calc(var(--height) / 2);
}

.loading-bar {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  --height: 20px;
  width: 0%;
  height: var(--height);
  overflow: hidden;
  background: rgb(222, 74, 15);
  background: linear-gradient(0deg,
      rgb(77, 46, 0) 0%,
      rgb(138, 85, 6) 100%);
  border-radius: calc(var(--height) / 2);
  animation: loading .3s ease-out forwards;
}

.loading-lines {
  margin-top: 15px;
  display: flex;
  gap: 30px;
  justify-content: center;
}

footer .btn-icon .social-button {
  width: 30px;
  height: auto;
}

.social-button {
  display: inline-block;
  vertical-align: middle;
  float: none;
  -webkit-animation: 4s social infinite linear;
  -moz-animation: 4s social infinite linear;
  animation: 4s social infinite linear;
}

.white-bars-container {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
}

.white-bar {
  background: rgb(255, 255, 255);
  background: linear-gradient(-45deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 70%);
  width: 10px;
  height: 45px;
  opacity: 0.3;
  rotate: 45deg;
}

@keyframes loading {
  0% {
    width: 0;
  }

  80% {
    width: 100%;
  }

  100% {
    width: 100%;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@-webkit-keyframes social {

  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 social {

  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%;
  }
}

.swal2-shown {
  overflow: unset !important;
  padding-right: 0px !important;
}

.swal2-container *:focus {
  outline: none !important;
}

.swal2-popup {
  border-radius: 30px !important;
}

.nav-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior: contain auto;
}

.nav-tabs .nav-link {
  white-space: nowrap;
}

.wave-top {
  width: 100%;
  line-height: 0;
  transform-origin: center center;
  animation: fadeDown 2s ease-out forwards;
}

@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: rotate(180deg) translateY(50px);
  }

  100% {
    opacity: 1;
    transform: rotate(180deg) translateY(0);
  }
}

.wave-top:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/wave-b.png) repeat-x;
  background-size: cover;
  background-position: -1000px 0;
  opacity: .2;
  animation: waveOne 60s linear infinite;
}

.wave-top:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/wave-b.png) repeat-x;
  background-size: cover;
  background-position: 2732px 0;
  opacity: .3;
  animation: waveOne 120s linear infinite;
}

.wave-bot {
  width: 100%;
  line-height: 0;
  opacity: 0;
  transform: translateY(0px);
  animation: fadeUp 2s ease-out forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.wave-bot:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/wave-b.png) repeat-x;
  background-size: cover;
  background-position: -1000px 0;
  opacity: .2;
  animation: waveOne 60s linear infinite;
}

.wave-bot:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/wave-b.png) repeat-x;
  background-size: cover;
  background-position: 2732px 0;
  opacity: .3;
  animation: waveOne 120s linear infinite;
}

@keyframes waveOne {
  50% {
    background-position: 0 0;
  }
}

.pin {
  text-align: center;
  font-size: 1.8rem;
}

.myCharsSwiper .swiper-slide {
  height: auto;
}

.myCharsSwiper .card {
  height: 100%;
}

.myCharsSwiper .char-job-badge {
  background: #202020;
  color: white;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9999px;
}

.myCharsSwiper .char-avatar {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
}

.myCharsSwiper .char-avatar img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9999px;
  background: #f1f1f1;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: .85rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.online {
  background: #10b981;
}

.dot.offline {
  background: #ef4444;
}

.btn-pill {
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  width: 100%;
}

.sc-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      color-mix(in srgb, var(--bs-border-color) 70%, transparent),
      transparent);
  opacity: .9;
}

.mt-c-1 {
  margin-top: -295px !important;
}

.mt-c-2 {
  margin-top: -390px !important;
}

.mt-c-3 {
  margin-top: -190px !important;
}

@media (max-width: 576px) {
  .mt-c-1 {
    margin-top: -65px !important;
  }

  .mt-c-2 {
    margin-top: -95px !important;
  }
}

.mb-c-1 {
  margin-bottom: 6px !important;
}

.mb-c-2 {
  margin-bottom: 24px !important;
}

.text-slide {
  --cap-l-p: 5%;
  --cap-r-p: 5%;

  --fade: clamp(12px, 2.2vw, 24px);
  --track-h: clamp(20px, 3.0vw, 26px);
  --fs: clamp(12px, 1.6vw, 14px);
  --speed: 22s;

  position: relative;
  width: 100%;
  max-width: 990px;
  margin: 0 auto 1rem;
  line-height: 0;
}

.text-slide__bg {
  width: 100%;
  height: auto;
  display: block;
}

.text-slide__viewport {
  position: absolute;
  inset: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  height: var(--track-h);

  padding-left: var(--cap-l-p);
  padding-right: var(--cap-r-p);
  overflow: hidden;

  clip-path: inset(0 var(--cap-r-p) 0 var(--cap-l-p) round 999px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent 100%);
}

.text-slide__rail {
  display: inline-flex;
  gap: clamp(12px, 1.8vw, 20px);
  white-space: nowrap;
  will-change: transform;
  animation: marquee var(--speed) linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.text-slide__item {
  font-size: var(--fs);
  line-height: 1;
  color: #d7ecff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
}

.text-slide__sep {
  color: #ffd36b;
  opacity: .65;
}

@media (max-width: 576px) {
  .text-slide {
    --cap-l-p: 9%;
    --cap-r-p: 7%;
    --fade: clamp(10px, 2.0vw, 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-slide__rail {
    animation: none;
  }
}

.btn-royal {
  --lift: 2px;
  --shadow: 0 10px 26px rgba(156, 17, 17, 0.45);
  --press: translateY(1px) scale(.99);
  --shine-time: 1.15s;
  display: inline-block;
  position: relative;
  border: 0;
  border-radius: 18px;
  text-decoration: none;
  outline: none;
  transition: transform .12s ease, filter .2s ease;
  filter:
    drop-shadow(0 6px 0 rgba(0, 0, 0, .22)) drop-shadow(0 8px 20px rgba(128, 0, 0, 0.45));
}

.btn-royal::after {
  content: "";
  position: absolute;
  inset: 6% 4%;
  border-radius: 16px;
  background:
    radial-gradient(80% 130% at 50% 15%,
      rgba(255, 255, 255, .25), transparent 60%), radial-gradient(90% 160% at 50% 90%,
      rgba(0, 180, 255, .22), transparent 60%);
  mix-blend-mode: screen;
  opacity: .0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.btn-royal:hover {
  transform: translateY(calc(-1 * var(--lift)));
  filter:
    drop-shadow(0 10px 0 rgba(0, 0, 0, .18)) drop-shadow(var(--shadow));
}

.btn-royal:hover::before {
  opacity: 1;
}

.btn-royal:hover::after {
  opacity: .8;
}

.btn-royal:active {
  transform: var(--press);
  filter:
    drop-shadow(0 4px 0 rgba(0, 0, 0, .28)) drop-shadow(0 6px 18px rgba(92, 0, 0, 0.5)) brightness(.95);
}

.btn-royal:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 210, 90, .9), 0 0 0 6px rgba(255, 0, 0, 0.35);
  border-radius: 20px;
}

.btn-container .btn-royal {
  filter: grayscale(100%) saturate(80%) brightness(.95);
  opacity: .9;
  transition: filter .2s ease, opacity .2s ease, transform .12s ease;
  cursor: pointer;
}

.btn-container .btn-royal:hover {
  filter: grayscale(60%) saturate(100%) brightness(1);
  opacity: 1;
  transform: translateY(-1px);
}

.btn-container .btn-royal.active {
  filter: none;
  opacity: 1;
  transform: none;
}

.btn-container .btn-royal {
  margin: 4px 6px;
  height: auto;
}

.img-fluid-c {
  width: 80% !important;
  height: auto;
}

/* News Card */
.news-card {
  background: linear-gradient(62deg,
      #ffffff 0%,
      #cacaca 100%);
  border-radius: 16px;
  border: 1px solid #977252;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  overflow: hidden;
  transition: transform .9s ease, box-shadow .2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.news-card__figure {
  overflow: hidden;
  background: #f3f4f6;
}

.news-card__body {
  padding: 12px 14px 8px;
  color: #2b2b2b;
}

.news-card__title {
  font-size: 18px;
  color: #5d4129;
  margin: 0 0 6px;
  font-weight: 500;
}

.news-card__desc {
  font-size: 12px;
  margin: 0 0 4px;
  color: #5d4129;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  font-size: 12px;
  color: #5d4129;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card__btn {
  display: block;
  width: 100%;
  margin-top: .5rem;
  border: 0;
  text-decoration: none;
  text-align: center;
  padding: .6rem 1rem;
}

.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(255, 145, 0, 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(255, 153, 0, 0.5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.news-show {
  background-image:
    url("../img/news-bg.png");
  width: 100%;
  background-size: 100% 100%;
}

.verify-show {
  background-image: url("../img/verify-bg.png");
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 630px;
  display: flex;
  align-items: center;
}

.verify-show .container {
  width: 100%;
}

.verify-box {
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: 6%;
  text-align: center;
}

.verify-title {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}

.verify-slots .slot {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  border: 2px solid rgba(201, 156, 104, .75);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.verify-slots .slot img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  display: block;
}

.verify-sub {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(84, 55, 30, .95);
}

@media (max-width: 768px) {
  .verify-box {
    margin-right: 0;
    margin-left: 0;
  }

  .verify-show {
    padding: 18px 0;
  }

  .news-show,
  .sub-show {
    background-image:
      url("") !important;
  }

}

.head-p {
  display: block;
}

.head-m {
  display: none;
}

.news-p {
  display: block;
}

.news-m {
  display: none;
}

/* มือถือ */
@media (max-width: 767.98px) {

  .head-p,
  .news-p {
    display: none;
  }

  .head-m,
  .news-m {
    display: block;
  }
}



.guild-show {
  background-image: url("../img/guild-bg.png");
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 737px;
  display: flex;
  align-items: flex-start;
  padding-top: 36px;
}

.guild-box {
  width: min(730px, 100%);
  margin-right: auto;
  margin-left: 6%;
}

.guild-title {
  max-width: 609px;
  margin: 0 0 19px 0;
  display: block;
}

.guild-slots .slot {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, .95);
  border: 2px solid rgba(190, 150, 110, .75);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .75);
}

.guild-sub {
  font-size: 22px;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .guild-show {
    padding-top: 18px;
    min-height: 520px;
  }

  .guild-box {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .guild-title {
    margin: 0 auto 12px;
  }
}

.guild-register-show {
  background-image: url("../img/guild-register-bg.png");
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 514px;
  display: flex;
  align-items: flex-start;
  padding-top: 26px;
}

.gwreg-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.gwreg-title {
  max-width: 448px;
  width: 100%;
  height: auto;
}

.gwreg-btn {
  display: inline-block;
  margin-top: 10px;
  transform: translateY(-2px);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, filter .15s ease;
}

.gwreg-btn img {
  display: block;
  width: 190px;
  height: auto;
  margin-top: 20px;
}

.gwreg-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.03);
}

.gwreg-btn:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .guild-register-show {
    min-height: 360px;
    padding-top: 18px;
  }

  .gwreg-title {
    max-width: 420px;
  }

  .gwreg-btn img {
    width: 170px;
  }
}

.roadmap-show {
  background-image: url("../img/roadmap-bg.png");
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;

  min-height: 720px;
  display: flex;
  align-items: flex-start;
  padding-top: 22px;
}

.roadmap-box {
  width: min(1024px, 100%);
  margin-left: auto;
  margin-right: -7%;
  margin-top: 5%;
}

.roadmap-title {
  max-width: 520px;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.rm-card {
  aspect-ratio: 9 / 21;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rm-update {
  background: rgba(166, 126, 82, .55);
  border: 2px solid rgba(255, 255, 255, .10);
}

.rm-coming {
  background: rgba(0, 0, 0, .45);
  border: 2px solid rgba(255, 255, 255, .08);
}

.rm-t1 {
  font-weight: 900;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.8vw, 26px);
  line-height: 1;
}

.rm-t2 {
  margin-top: 4px;
  font-weight: 900;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .80);
  font-size: clamp(12px, 1.4vw, 20px);
  line-height: 1;
}

.rm-pill {
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .90);
  font-weight: 800;
  font-size: clamp(11px, 1.0vw, 16px);
}

.rm-coming-text {
  font-weight: 900;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(14px, 1.6vw, 22px);
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.rm-coming-text span {
  font-weight: 800;
  opacity: .9;
}

.rm-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  user-select: none;
  -webkit-user-drag: none;
}


@media (max-width: 768px) {
  .roadmap-show {
    padding-top: 14px;
    min-height: 520px;
  }

  .roadmap-box {
    margin-right: 0;
    margin-left: 0;
  }

  .roadmap-cards {
    padding: 0 10px;
  }
}


.c-mt {
  margin-top: 15%;
}

.c-mt-bt {
  margin-top: 60px;
}


@media (max-width:576px) {
  .guild-em {
    width: 30%;
    position: relative;
    top: 11px;
  }

  .season-pic {
    width: 40%;
    top: 10%;
  }

  .c-mt {
    margin-top: 15%;
    position: relative;
    top: -24px;
  }

  .season-btn {
    width: 40%;
  }

  .guild-box {
    left: 21%;
    top: 46px;
  }
}

.slot {
  --bg: #000;
  --border: #5a1f12;
  --rim: #2b0d07;
  aspect-ratio: 1/1;
  width: 100%;
  border-radius: 10px;
  background: var(--bg);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
}

.slot img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  display: block;
}

.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: 576px) {
  .nav-menu a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .nevline {
    font-size: 10px;
    display: block;
    text-align: left !important;
  }

  .fanpage-box-h {
    right: 28% !important;
  }

  .fanpage-box-h img {
    width: 90px;
  }

  .slot {
    border-radius: 5px;
    padding: 0px;
  }

}

.nevline {
  font-size: 13px;
  display: block;
  text-align: center;
  color: #9b9b9b;
}

.nt {
  padding: 0px 10px;
}

.nt:hover {
  color: #fff;
}

.news-box {
  background: #061322;
  padding: 12px;
  border-radius: 20px;
}

.fb-page {
  width: 100% !important;
}

.fb-page iframe,
.fb-page span {
  width: 100% !important;
}

.fanpage-box-h {
  top: 0px;
  right: 25%;
  width: auto;
  z-index: 3;
  position: absolute;
}

.hero-header {
  position: relative;
  overflow: hidden;
}

.fire-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

#fxCanvas {
  mix-blend-mode: screen;
  filter: blur(.15px);
  opacity: .95;
}

header {
  position: relative;
  overflow: hidden;
}

header img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.header-overlay,
.header-overlay2,
.header-overlay3,
.fanpage-box {
  position: absolute;
  z-index: 2;
  text-align: center;
}

.header-overlay3 {
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
}

header {
  position: relative;
  overflow: hidden;
}

.pulse-on-hover {
  transition: transform 0.2s ease-in-out;
}

.pulse-on-hover:hover {
  animation: pulse-animation 1s infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.bg-kati {
  --bs-bg-opacity: 1;
  background: linear-gradient(90deg,
      #090000 0%,
      #1a0502 100%);
}

.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);
}

.bg-view {
  background-image: linear-gradient(to right, #836345, #99704b);
  float: right;
}

.frame-r {
  margin-top: -26%;
}

.frame {
  position: relative;
  width: 100%;
  max-width: 1270px;
  background: url(../img/box.png) no-repeat center center;
  background-size: contain;
  aspect-ratio: 789 / 367;
  margin: 0 auto;
}

.carousel-box {
  --ind-offset: 25px;
  position: relative;
  margin-bottom: calc(var(--ind-offset) + 8px);
  max-width: 925px;
  max-height: 444px;
}

#myCarousel .carousel-inner {
  border-radius: .75rem;
  overflow: hidden;
  border-style: solid;
  border-width: 10px;
  border-color: rgb(85 55 25 / 23%);
  border-radius: 20px;
  box-shadow: 0px 6px 24.07px 4.93px rgba(0, 0, 0, 0.38);
}

#myCarousel .carousel-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--ind-offset) * -1);
  margin: 0;
  gap: 12px;
  padding: 50px;
}

#myCarousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  opacity: .95;
  transition: width .25s ease, background-color .25s ease, opacity .2s ease;
}

#myCarousel .carousel-indicators .active {
  width: 44px;
  height: 12px;
  border-radius: 999px;
  background: #FFD968;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .18);
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6));
}

.ocean-stack {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 20, 40, .35), 0 3px 10px rgba(0, 0, 0, .22);
  background: #081a2e;
}

/* กล่องรวมเมนูฝั่งขวา */
.shot-menu {
  width: 100%;
  max-width: 420px;
  /* ปรับได้ตามงาน */
  margin-inline: auto;
  /* ให้อยู่กึ่งกลางในคอลัมน์ */
}

/* ลิงก์รูปให้คลิกทั้งรูป + ไม่เพี้ยน */
.shot-link {
  display: block;
  text-decoration: none;
  line-height: 0;
  /* กันช่องว่างใต้รูป */
  -webkit-tap-highlight-color: transparent;
}

.shot-link img {
  display: block;
  width: 100%;
  height: auto;
}

/* ระยะห่างปุ่มใหญ่ 2 อันให้เหมือนในรูป */
.shot-big {
  margin-top: -33px;
}

/* ให้ปุ่มเล็กมีระยะห่างเหมือนในรูป (ใช้ g-3 แล้ว) */
.shot-small-grid {
  margin-top: -25px;
  width: 90% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  /* กัน bootstrap บางธีมดันเพิ่ม */
}

/* เอฟเฟกต์ hover นิดๆ (ถ้าไม่เอาลบได้) */
.shot-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.shot-link {
  transition: transform .15s ease, filter .15s ease;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fo {
  font-size: 1rem;
  line-height: 0.8;
  color: #fff;
}


.fo1 {
  font-size: 1.2rem;
}

.fo2 {
  font-size: 1.2rem;
  color: #fff;
}


@media (max-width: 600px) {

  .frame-r,
  .menu-x,
  .menu-1-x,
  .verify-show,
  .guild-show,
  .guild-register-show,
  .roadmap-show,
  .season-show {
    display: none;
  }

  .carousel {
    margin-top: -50px;
  }

  .fo {
    font-size: 0.25rem;
    line-height: 1.2;
  }

  .fo1 {
    font-size: 0.5rem;
  }

  .for {
    display: none;
  }

  .bh {
    display: none;
  }
}

#paginationContainer {
  display: flex;
  justify-content: center;
}

#paginationContainer .pagination.sc-dots {
  gap: 10px;
}

#paginationContainer .page-item {
  margin: 0;
}

#paginationContainer .page-link {
  width: 34px;
  height: 10px;
  padding: 0;
  border-radius: 999px;

  background: rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .35);

  text-indent: -9999px;
  overflow: hidden;
  line-height: 0;
  cursor: pointer;

  transition: all .15s ease;
}

#paginationContainer .page-link:hover {
  background: rgba(255, 255, 255, .45);
}

#paginationContainer .page-item.active .page-link {
  background: #fff;
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .12);
}


/* ============================= */
/*  RAGNAROK DUSTIN NAV (NEW)    */
/* ============================= */
:root {
  --rd-nav-h: 113px;
  --rd-logo-w: 360px;
  --rd-max: 1180px;
  --rd-text: #f6f0e3;
  --rd-muted: rgba(246, 240, 227, .78);
  --rd-inset: 64px;
  --rd-nav-y: 80px;
}

.rd-nav {
  position: absolute;
  top: var(--rd-nav-y);
  left: 0;
  width: 100%;
  height: var(--rd-nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: auto;
}

.rd-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/menu-box.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.rd-nav-inner {
  position: relative;
  z-index: 1;
  width: min(var(--rd-max), 100%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--rd-inset);
}

.rd-menu {
  flex: 1 1 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.rd-right {
  justify-content: flex-end;
}

.rd-link {
  text-decoration: none;
  color: var(--rd-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  padding: 10px 8px;
  min-width: 92px;
  border-radius: 12px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, filter .15s ease;
}

.rd-link .th {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.15vw, 18px);
  white-space: nowrap;
}

.rd-link .en {
  font-size: 11px;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: var(--rd-muted);
  margin-top: 4px;
  white-space: nowrap;
}

.rd-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
  filter: brightness(1.03);
}

.rd-link.is-active {
  background: rgba(255, 255, 255, .08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 10px 24px rgba(0, 0, 0, .22);
}

.rd-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: var(--rd-logo-w);
  max-width: min(52vw, var(--rd-logo-w));
  z-index: 0;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55));
}

.rd-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.rd-spacer {
  flex: 0 0 calc(var(--rd-logo-w) * .72);
  height: 1px;
}

.rd-burger {
  display: none;
  position: relative;
  z-index: 3;
  height: 27px;
  width: 28px;
  border: 0;
  border-radius: 7px;
  background: rgba(0, 0, 0, .45);
  color: #fff;
}

.rd-mobile {
  position: absolute;
  left: 50%;
  top: calc(var(--rd-nav-h) - 35px);
  transform: translateX(-50%) translateY(8px) scale(.98);
  width: min(520px, calc(100% - 24px));
  background: rgba(10, 10, 12, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 10px;
  z-index: 10;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility 0s linear .22s;
}

.rd-nav.is-open .rd-mobile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility 0s;
}

.rd-mobile a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
}

.rd-mobile a:hover {
  background: rgba(255, 255, 255, .06);
}

.rd-mobile .en {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  letter-spacing: .8px;
}

@media (max-width: 980px) {

  .rd-nav {
    top: 11px;
  }

  .rd-menu,
  .rd-spacer {
    display: none;
  }

  .rd-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rd-nav-inner {
    justify-content: flex-end;
    padding: 0 18px;
  }

  .rd-logo {
    max-width: 17vw;
  }
}

@media (max-width: 575.98px) {

  .rd-nav {
    top: -28px;
  }

  .rd-menu,
  .rd-spacer {
    display: none;
  }

  .rd-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rd-nav-inner {
    justify-content: flex-end;
    padding: 0 18px;
  }

  .rd-logo {
    max-width: 17vw;
  }
}

/* Desktop dropdown */
.rd-dd {
  position: relative;
}

.rd-dd-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
}

.rd-dd-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(10, 10, 12, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 50;
}

.rd-dd.open .rd-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}

.rd-dd-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.rd-dd-menu a:hover {
  background: rgba(255, 255, 255, .08);
}

/* กันเมนูทับกันบนจอเล็ก: ซ่อน dropdown desktop ใช้ burger แทน */
@media (max-width: 991.98px) {
  .rd-dd-menu {
    display: none !important;
  }
}

.roadmap-carousel {
  position: relative;
  padding: 0 30px;
}

.roadmap-carousel .carousel-control-prev,
.roadmap-carousel .carousel-control-next {
  width: 44px;
  opacity: 1;
  background: transparent !important;
  filter: none !important;
}

.roadmap-carousel .carousel-control-prev:hover,
.roadmap-carousel .carousel-control-next:hover {
  background: transparent !important;
}

.roadmap-carousel .carousel-control-prev {
  left: 0;
}

.roadmap-carousel .carousel-control-next {
  right: 0;
}

.roadmap-carousel .carousel-control-prev::before,
.roadmap-carousel .carousel-control-next::before {
  content: none !important;
}

#roadmapCarousel .carousel-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--ind-offset) * -1);
  margin: 0;
  gap: 12px;
}

#roadmapCarousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  opacity: .95;
  transition: width .25s ease, background-color .25s ease, opacity .2s ease;
}

#roadmapCarousel .carousel-indicators .active {
  width: 44px;
  height: 12px;
  border-radius: 999px;
  background: #FFD968;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .18);
  opacity: 1;
}

.roadmap-cards {
  justify-content: flex-start;
}

.roadmap-cards>.col {
  flex: 0 0 auto;
}

.rm-card {
  width: 100%;
}

.rm-card .rm-note {
  margin-top: 10px;
  padding: 0 14px;

  font-family: "Kanit", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .2px;

  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);

  text-align: center;
}


.rm-card.rm-update .rm-note {
  color: rgba(255, 255, 255, .92);
}

@media (max-width:575.98px) {
  .rm-card .rm-note {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .roadmap-carousel {
    padding: 0 44px;
  }
}

.sub-show {
  background-image: url(../img/news-bg.png);
  width: 100%;
  background-size: 100% 100%;
}