@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-image: linear-gradient(to bottom, #032653, #031a37);
}

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: #1d2639;
  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: #242837;
  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(129, 15, 222) 0%,
      rgb(79, 147, 249) 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: -75px !important;
  }
  
.mt-c-3 {
  margin-top: 0px !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(17, 72, 156, .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(0, 48, 128, .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(0, 34, 92, .5)) brightness(.95);
}

.btn-royal:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 210, 90, .9), 0 0 0 6px rgba(0, 88, 255, .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;
  max-width: 160px;
  height: auto;
}

@media (max-width:576px) {
  .btn-container .btn-royal {
    max-width: 42%;
  }
}

/* News Card */
.news-card {
  background: #010f21;
  border-radius: 16px;
  border: 1px solid #b9a85f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  overflow: hidden;
  transition: transform .2s 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: 16px;
  color: #fdfdfd;
  margin: 0 0 6px;
}

.news-card__desc {
  font-size: 12px;
  margin: 0 0 4px;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  font-size: 12px;
  color: #6b7280;
  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/bg-1st.png");
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.guild-show {
  background-image:
    url("../img/bg-2st.png");
  width: 100%;
  height: 100%;
  margin-top: 4%;
  top: 0;
  left: 0;
}

@media (max-width:576px) {
  .guild-show {
    margin-top: 120%;
  }
}

.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;
  }

}

.nevline {
  font-size: 10px;
  display: block;
  text-align: center;
}

.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;
}

.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-renz {
    --bs-bg-opacity: 1;
    background-color: rgb(6 17 30) !important;
}