@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: #fbfbfb !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: #241700;
  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: rgb(122, 122, 122);
  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: 20rem;
}

.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(172, 129, 12) 0%,
      rgb(5, 71, 9) 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;
  }
}

.intro-pager {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.intro-page {
  flex: 1 1 auto;
}

.intro-nav {
  margin-top: auto;
  padding-top: 14px;
}

.intro-page {
  display: none;
}

.intro-page.is-active {
  display: block;
  animation: pageFade .22s ease;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fanpage-box-h {
  top: 0px;
  left: 7%;
  width: auto;
  z-index: 3;
  position: absolute;
}

.fangroup-box-h {
  top: 0px;
  right: 7%;
  width: auto;
  z-index: 3;
  position: absolute;
}

/* Nav */
.intro-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.intro-btn {
  width: 42px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
  color: rgba(0, 0, 0, .65);
  transition: transform .12s ease, filter .12s ease;
}

.intro-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.intro-btn:active {
  transform: translateY(0);
}

.intro-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.intro-dot {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .62);
  color: rgba(0, 0, 0, .60);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
  transition: transform .12s ease, filter .12s ease;
}

.intro-dot:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.intro-dot.is-active {
  background: linear-gradient(135deg, #f5e6b0, #c9b27c);
  border-color: rgba(201, 178, 124, .55);
  color: rgba(60, 40, 15, .92);
}

.btn-royal {
  --lift: 2px;
  --shadow: 0 10px 26px rgba(238, 148, 12, 0.45);
  --press: translateY(1px) scale(.99);
  --shine-time: 1.15s;
  display: inline-block;
  position: relative;
  border: 0;
  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(189, 140, 5, 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;
  max-width: 160px;
  height: auto;
}

@media (max-width:576px) {
  .btn-container .btn-royal {
    max-width: 42%;
  }
}

/* News Card */
.news-card {
  background: linear-gradient(0deg, #ffffff 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid #a64545;
  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: #076614;
  margin: 0 0 6px;
  font-weight: 500;
}

.news-card__desc {
  font-size: 16px;
  margin: 0 0 4px;
  color: #4a3f35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  font-size: 12px;
  color: #4a3f35;
  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(0, 255, 76, 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(3, 126, 34, 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%;
  position: relative;
  margin-top: -20%;
}

:root {
  --mb-accent: #6aa6ff;
  --mb-accent2: #8a6bff;
  --mb-soft: rgba(255, 255, 255, .78);
  --mb-glass: rgba(255, 255, 255, .62);
  --mb-border: rgba(255, 255, 255, .55);
  --mb-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.prere-show {
  position: relative;
  width: 100%;
  padding: 28px 0 48px;
  background: url("../img/news-bg.png") center center / cover no-repeat;
  overflow: hidden;
}

.prere-show::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prere-show>* {
  position: relative;
  z-index: 1;
}

.leaf-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.prere-show>.container {
  position: relative;
  z-index: 1;
}

.leaf {
  position: absolute;
  top: -12vh;
  left: 0;
  width: var(--size);
  height: var(--size);
  opacity: var(--alpha);
  filter: blur(var(--blur)) drop-shadow(0 10px 14px rgba(0, 0, 0, .18));
  transform: translate3d(0, 0, 0) rotate(var(--rot));
  will-change: transform;

  animation:
    leaf-fall var(--dur) linear var(--delay) infinite,
    leaf-sway var(--swayDur) ease-in-out var(--delay) infinite;
}

.leaf::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@keyframes leaf-fall {
  0% {
    transform: translate3d(var(--x), -15vh, 0) rotate(var(--rot));
  }

  100% {
    transform: translate3d(calc(var(--x) + var(--drift)), 115vh, 0) rotate(calc(var(--rot) + 360deg));
  }
}

@keyframes leaf-sway {

  0%,
  100% {
    margin-left: 0;
  }

  50% {
    margin-left: var(--sway);
  }
}

@media (prefers-reduced-motion: reduce) {
  .leaf {
    display: none;
  }
}

.card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--mb-shadow);
  background: var(--mb-glass);
  backdrop-filter: blur(10px);
}

.card-title {
  letter-spacing: .2px;
}

.input-group-text {
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .85);
}

.form-control,
.form-select {
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .9);
  padding-top: .72rem;
  padding-bottom: .72rem;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 .22rem rgba(106, 166, 255, .25);
  border-color: rgba(106, 166, 255, .55);
}

.prere-topline-title {
  font-weight: 900;
  font-size: 1.15rem;
  color: rgba(0, 0, 0, .78);
  letter-spacing: .2px;
}

.prere-topline-sub {
  font-size: .95rem;
  color: rgba(0, 0, 0, .55);
}

.prere-topline::after {
  content: "";
  display: block;
  width: 220px;
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .18), transparent);
}

.prere-character {
  max-width: 260px;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .18));
}

@media (max-width: 767px) {
  .prere-character {
    max-width: 220px;
  }
}

.btn-primary {
  border: 0;
  border-radius: 14px;
  padding: .85rem 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #3bb273, #2f9e6f);
  box-shadow: 0 14px 28px rgba(59, 178, 115, .35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #43c084, #36ad7b);
  box-shadow: 0 18px 36px rgba(59, 178, 115, .45);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:disabled {
  background: linear-gradient(135deg, #8fd5b2, #7acfa7);
  box-shadow: none;
  opacity: .7;
}

.btn-outline-secondary {
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(0, 0, 0, .08);
}

.form-check-label {
  color: rgba(0, 0, 0, .7);
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(106, 166, 255, .12);
  border: 1px solid rgba(106, 166, 255, .25);
  color: rgba(20, 40, 80, .85);
  font-size: .85rem;
  font-weight: 600;
}

.intro-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: .6rem 0 .25rem;
  color: rgba(0, 0, 0, .82);
}

.intro-sub {
  color: rgba(0, 0, 0, .55);
  font-size: .95rem;
}

.hr-soft {
  height: 1px;
  border: 0;
  margin: 1rem 0;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .15), transparent);
}

.intro-text {
  color: rgba(0, 0, 0, .70);
  line-height: 1.75;
}

.intro-list {
  margin: .8rem 0 0;
  padding-left: 1.15rem;
  color: rgba(0, 0, 0, .68);
}

.intro-list li {
  margin-bottom: .45rem;
}

.prere-character {
  max-width: 320px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .18));
}

@media (max-width: 991px) {
  .prere-character {
    max-width: 220px;
    margin: 12px auto 0;
    display: block;
  }
}

.verify-show {
  background-image:
    url("../img/verify-bg.png");
  width: 100%;
  background-size: 100% 100%;
}

.box-butt {
  position: relative;
  top: -18%;
}

.frame-guild {
  position: absolute;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1159 / 354;
  text-align: center;
  display: flex;
  justify-content: center;
  padding: 20px;
  z-index: 1;
}

.guild-box {
  position: absolute;
  width: 82%;
  padding: 0;
  overflow: hidden;
  top: 17%;
}

.guild-box img {
  z-index: 999;
}

.item-show {
  background-image:
    url("../img/guild-bg.png");
  width: 100%;
  background-size: 100% 100%;
}

.season-show {
  background-image:
    url("../img/season-bg.png");
  width: 100%;
  height: 907px;
  background-size: 100% 100%;
}

.season-pic {
  width: 50%;
  position: relative;
  top: -10%;
}

.season-btn {
  top: -20%;
}

.c-mt {
  margin-top: 15%;
}

.c-mt-1 {
  margin-top: 4%;
}

.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 {
    top: 17px;
    left: 30px;
  }
}

.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 {
    left: 8% !important;
  }

  .fanpage-box-h img {
    width: 40px;
  }

  .fangroup-box-h {
    right: 8% !important;
  }

  .fangroup-box-h img {
    width: 40px;
  }

  .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;
}

header {
  width: 100%;
  overflow: hidden;
}

header img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.header-overlay2,
.header-overlay3,
.fanpage-box {
  position: absolute;
  z-index: 2;
  text-align: center;
}

.header-overlay2 {
  width: 75%;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mb-btnbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  flex-wrap: nowrap;
}

.mb-btnbar--3 .mb-btn {
  flex: 1 1 220px;
  max-width: 320px;
}

.mb-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 56px;
  padding: 0 20px;

  border-radius: 14px;
  text-decoration: none;
  user-select: none;

  border: 1px solid rgba(255, 230, 170, .55);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(0, 0, 0, .35);

  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, .20), transparent 55%),
    linear-gradient(180deg, rgba(255, 240, 200, .14), transparent 40%),
    linear-gradient(135deg, #6b4a22, #3a2612);

  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
  overflow: hidden;
}

.mb-btn::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 11px;
  border: 1px solid rgba(245, 230, 176, .35);
  box-shadow: inset 0 0 0 1px rgba(120, 75, 20, .35);
  opacity: .9;
  pointer-events: none;
}

.mb-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -45%;
  width: 85%;
  height: 220%;
  transform: rotate(18deg);
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, .08) 35%,
      rgba(255, 255, 255, .22) 50%,
      rgba(255, 255, 255, .08) 65%,
      transparent 100%);
  opacity: 0;
  transition: opacity .2s ease, left .35s ease;
  pointer-events: none;
}

.mb-btn {
  min-width: 0;
  height: clamp(44px, 6vw, 56px);
  padding: 0 clamp(10px, 1.6vw, 20px);
}

.mb-btn__text {
  font-size: clamp(12px, 1.7vw, 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 235, 190, .96);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}

.mb-btn__icon {
  font-size: clamp(12px, 1.6vw, 16px);
  flex: 0 0 auto;
  color: rgba(255, 230, 170, .95);
  text-shadow: 0 0 14px rgba(255, 220, 130, .25);
}

@media (max-width: 420px) {
  .mb-btnbar {
    gap: 8px;
  }

  .mb-btn {
    border-radius: 12px;
  }
}

.mb-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, .38),
    0 0 28px rgba(255, 215, 120, .12),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(0, 0, 0, .35);
}

.mb-btn:hover::after {
  opacity: .95;
  left: 75%;
}

.mb-btn:active {
  transform: translateY(0);
  filter: brightness(.98);
}

.mb-btn--download {
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, .22), transparent 55%),
    linear-gradient(180deg, rgba(255, 240, 200, .18), transparent 45%),
    linear-gradient(135deg, #7a5526, #2c1b0d);
}

.mb-btn--web {
  border-color: rgba(150, 200, 255, .45);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(180deg, rgba(200, 230, 255, .14), transparent 45%),
    linear-gradient(135deg, #1d4a7a, #0d223a);
}

.mb-btn--web .mb-btn__text,
.mb-btn--web .mb-btn__icon {
  color: rgba(225, 245, 255, .95);
}

.mb-btn--register {
  border-color: rgba(140, 255, 190, .35);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(180deg, rgba(190, 255, 220, .14), transparent 45%),
    linear-gradient(135deg, #1f6a3f, #0f3a24);
}

.mb-btn--register .mb-btn__text,
.mb-btn--register .mb-btn__icon {
  color: rgba(215, 255, 235, .95);
}

.mb-btn--main {
  height: 62px;
  border-radius: 16px;
}

.mb-btn--main .mb-btn__text {
  font-size: 17px;
  letter-spacing: .5px;
}

@media (max-width: 520px) {
  .mb-btnbar--3 .mb-btn {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.prebox-wrap {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.prebox-img {
  width: 100%;
  height: auto;
  display: block;
}

.prebox-icons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12%;
  width: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1.2vw, 18px);
  padding: 0 clamp(10px, 2.5vw, 26px);
  flex-wrap: nowrap;
}

.prebox-icons::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3%;
  right: 3%;
  height: 6px;
  background: linear-gradient(90deg,
      transparent 0%,
      #c9b27c 15%,
      #f5e6b0 50%,
      #c9b27c 85%,
      transparent 100%);
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.9;
  border-radius: 999px;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}

/* slot + icon ให้อยู่เหนือเส้น */
.prebox-slot {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* คุมขนาดไอคอนให้ย่ออัตโนมัติ */
.prebox-icon {
  width: clamp(44px, 9vw, 140px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* มือถือเล็ก: ลดลงนิด */
@media (max-width: 420px) {
  .prebox-icons {
    bottom: 7%;
    width: 94%;
  }

  .prebox-icon {
    width: clamp(40px, 10vw, 110px);
  }
}

.prebox-slot.is-locked .prebox-icon {
  filter: grayscale(1) brightness(.92) contrast(.95);
}

.prebox-slot.is-unlocked .prebox-icon {
  filter: none;
  opacity: 1;
}

.prebox-slot.is-unlocked::after {
  content: "";
  position: absolute;
  width: calc(clamp(44px, 9vw, 140px) + 18px);
  height: calc(clamp(44px, 9vw, 140px) + 18px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(245, 200, 90, .75);
  box-shadow:
    0 0 18px rgba(245, 200, 90, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
  pointer-events: none;
}

.header-overlay3 {
  position: absolute;
  width: 70%;
  top: 87.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.header-overlay3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
      transparent 0%,
      #c9b27c 15%,
      #f5e6b0 50%,
      #c9b27c 85%,
      transparent 100%);
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.9;
}

.header-overlay3 .col-2 {
  position: relative;
  z-index: 1;
}

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-snow {
  --bs-bg-opacity: 1;
  background: linear-gradient(90deg,
      #383808 0%,
      #131303 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, #ec4a4a, #ff1515);
  float: right;
}

.frame {
  position: relative;
  width: 100%;
  max-width: 1261px;
  background: url(../img/box.png) no-repeat center center;
  background-size: contain;
  aspect-ratio: 707 / 465;
  margin: 0 auto;
}

.carousel-box {
  position: absolute;
  top: 26.5%;
  left: 23.9%;
  width: 57.6%;
  height: 53.5%;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

#myCarousel .carousel-item,
#myCarousel .carousel-item img {
  width: 100%;
  height: 100%;
}

#myCarousel .carousel-item img {
  display: block;
  object-fit: cover;
}

#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
  opacity: 1;
  z-index: 5;
}

#myCarousel .carousel-control-prev-icon {
  width: 44px;
  height: 44px;
  background-image: url('../img/arrow-left.png') !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
}

#myCarousel .carousel-control-next-icon {
  width: 44px;
  height: 44px;
  background-image: url('../img/arrow-right.png') !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background: none;
}

.sc-indicators {
  margin-bottom: 8px;
}

.sc-indicators [data-bs-target] {
  width: 20px;
  height: 20px;
  border: 0;
  margin: 0 3px;
  background: transparent;
  background-image: url(../img/slide-il.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.sc-indicators .active {
  background-image: url(../img/slide-il-d.png);
}

#myCarousel .carousel-control-prev-icon,
#myCarousel .carousel-control-next-icon {
  position: relative;
  transition: transform 0.2s ease, filter 0.2s ease;
  will-change: transform, filter;
}

#myCarousel .carousel-control-prev:hover .carousel-control-prev-icon {
  transform: scale(1.08) rotate(-5deg);
  filter: drop-shadow(0 0 4px rgba(255, 134, 125, 0.8)) drop-shadow(0 0 10px rgba(255, 80, 80, 0.6));
}

#myCarousel .carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 0 4px rgba(255, 125, 125, 0.8)) drop-shadow(0 0 10px rgba(255, 80, 80, 0.6));
}

#myCarousel .carousel-control-prev:active .carousel-control-prev-icon,
#myCarousel .carousel-control-next:active .carousel-control-next-icon {
  transform: scale(0.92);
  filter: drop-shadow(0 0 3px rgba(255, 125, 125, 0.5));
}

#myCarousel .carousel-control-prev::before,
#myCarousel .carousel-control-next::before {
  content: "";
  position: absolute;
  inset: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

#myCarousel .carousel-control-prev:hover::before,
#myCarousel .carousel-control-next:hover::before {
  opacity: 1;
}

.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 {
    display: none;
  }

  .fo {
    font-size: 0.25rem;
    line-height: 1.2;
  }

  .fo1 {
    font-size: 0.5rem;
  }

  .for {
    display: none;
  }

  .bh {
    display: none;
  }

  .season-show {
    height: 397px;
  }
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #037235;
  border-color: #037235;
}

.page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #037235;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #037235;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.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%;
  }
}

.gacha-tab {
  cursor: url("../img/activec.png"), auto;
  transition: transform 0.15s ease-out, filter 0.15s ease-out;
}

.gacha-tab.active {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(255, 40, 40, 0.7));
}

.tier-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.tier-card:focus {
  outline: none;
}

.tier-card img {
  border-radius: 18px;
}

.tier-card .tier-card-inner {
  transition: transform .08s ease, box-shadow .08s ease;
}

.tier-card:hover .tier-card-inner {
  transform: translateY(-1px);
  box-shadow: 0 .75rem 1.25rem rgba(0, 0, 0, .08);
}

.tier-card.is-active .tier-card-inner {
  border: 2px solid #0d6efd !important;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15);
}

.tier-card.is-active .tier-check {
  color: #0d6efd !important;
}