@import url('https://fonts.googleapis.com/css2?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&amp;display=swap');

/**************************/
/*     General Styles     */
/**************************/
body {
  font-family: "Prompt", sans-serif !important;
  background-color: #fff;
}

body h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Prompt", sans-serif !important;
}

header {
  position: relative;
  overflow: hidden;
}

header-main {
  width: 100%;
  overflow: hidden;
}

header-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

header-sub {
  width: 100%;
  overflow: hidden;
}

header-sub img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

#myVideo {
  object-fit: cover;
  width: 100%;
}

.header-overlay,
.header-overlay2,
.header-overlay3,
.fanpage-box {
  position: absolute;
  z-index: 2;
  text-align: center;
}

.header-overlay {
  top: 17%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header-overlay2 {
  top: 57%;
  left: 52%;
  transform: translate(-50%, -50%);
}

.header-overlay3 {
  top: 89%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header-overlay2 img,
.header-overlay img {
  width: 90%;
}

.fanpage-box {
  bottom: 20px;
  right: 20px;
  width: auto;
  z-index: 3;
  position: absolute;
}

.discord-box-h {
  top: 0px;
  left: 7%;
  width: auto;
  z-index: 3;
  position: absolute;
}

.account-box-h {
  top: 0px;
  left: 25%;
  width: auto;
  z-index: 3;
  position: absolute;
}

.image-container {
  position: relative;
  display: inline-block;
}

.text-overlay {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: #b0d0ff;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgb(196 186 195 / 60%);
}

.player-box-h {
  top: 0px;
  right: 25%;
  width: auto;
  z-index: 3;
  position: absolute;
}

.fanpage-box-h {
  top: 0px;
  right: 7%;
  width: auto;
  z-index: 3;
  position: absolute;
}

.logo-h {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -0%);
  width: 35%;
  z-index: 2;
}

@media (max-width: 600px) {
  .header-overlay img {
    width: 70%;
  }

  .header-overlay2 img {
    width: 90%;
  }

  .header-overlay {
    top: 20%;
  }

  .header-overlay2 {
    top: 59%;
  }
}

body.sub {
  background-image:
    url("../img/bg.png");
  background-position: center bottom, left top;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Prompt", sans-serif !important;
}

.navbar-light .navbar-nav .nav-link {
  color: #b0d0ff;
}

/*********************/
/*      Details      */
/*********************/

.head {
  width: 100%;
  overflow: hidden;
}

.con-show {
  background-image: url(../img/bg.png);
  width: 100%;
  top: 0;
  left: 0;
  background-size: 100% 100%;
}

.bg-sub {
  background-image: url("../img/bg-vector-sub.html");
  background-size: cover;
  min-height: 100%;
}

.bg-vector {
  background-image: url("../img/bg-vector.html");
  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: 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;
}

.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: "Prompt";
  background: #1b99f6;
  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.html");
  object-fit: cover;
  width: 100%;
  height: 424px;
  top: 0;
  left: 0;
  margin-top: -60px;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main-content {
  background: linear-gradient(to bottom, #b0d0ff, #ffffff);
  flex: 1;
}

footer {
  width: 100%;
  overflow: hidden;
}

footer img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

footer-sub {
  width: 100%;
  overflow: hidden;
}

footer-sub img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.copy {
  text-align: center;
  margin-top: 6px;
  color: #b0d0ff;
  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 #754d4e;
  border-radius: 35px;
  background-color: #352021;
  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: #b69c7b;
  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.html");
  width: 100%;
  min-height: 803px;
  max-height: 803px;
  top: 0;
  left: 0;
}

.news-bg {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-sec.html");
  width: 100%;
  min-height: 1119px;
}


.sub-menu-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-3.html");
  width: 100%;
  min-height: 314px;
  top: 0;
  left: 0;
}

.shop-menu-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-4.html");
  width: 100%;
  min-height: 457px;
  top: 0;
  left: 0;
}

.mer-menu-show {
  background-image:
    url("../img/bg-5.html");
  width: 100%;
  min-height: 827px;
  max-height: 827px;
  top: 0;
  left: 0;
}

.event-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-6.html");
  width: 100%;
  min-height: 707px;
  top: 0;
  left: 0;
}

.guild-show {
  padding-top: 1.25rem;
  background-image:
    url("../img/bg-7.html");
  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.html");
  width: 100%;
  min-height: 868px;
  top: 0;
  left: 0;
}


.regis-showh {
  padding-top: 1.25rem;
  background-color: #1b0b11;
  background-image:
    url("../img/bg-2h.html");
  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.html");
  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.html");
  width: 100%;
  min-height: 855px;
  top: 0;
  left: 0;
}

.job-show {
  padding-top: 1.25rem;
  background-color: #1b0b11;
  background-image:
    url("../img/bg-4.html");
  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: #b0d0ff;
  float: right;
}

.bg-notice {
  background-color: #2495cc;
  float: right;
}

.bg-event {
  background-color: #fd973f;
  float: right;
}

.bg-view {
  background-image: linear-gradient(to right, #8df2ff, #355bc4);
  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: #b0d0ff;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999999;
  transition: opacity 1.4s ease-in-out, visibility 1.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: "Prompt", 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;
}

.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;
  }

  .nevline {
    font-size: 10px;
    display: block;
    text-align: left;
  }
}

@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;
  border-color: #ffffff;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      transparent 30%,
      rgba(176, 208, 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(176, 208, 255, 0.5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.nt {
  padding: 10px 20px;
}

.nt:hover {
  color: #fff;
}

.dropdown-toggle::after {
  margin-left: 3.255em !important;
}

.fanpage-box {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
}

@media (max-width: 600px) {

  .fanpage-box img {
    width: 90px;
  }

  .fanpage-box-h img {
    width: 90px;
  }

  .discord-box-h img {
    width: 90px;
  }
}

.note-float-center {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

.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);
  }
}

.font-btn {
  font-size: 1.2rem !important;
}

.tags p {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  position: relative;
  margin: 0 16px 8px 0;
  padding: 0 10px 0 12px;
  background: #777;
  -webkit-border-bottom-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  border-top-right-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 12px;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}

.tags p:before {
  content: "";
  position: absolute;
  top: 0;
  left: -12px;
  width: 0;
  height: 0;
  border-color: transparent #777777 transparent transparent;
  border-style: solid;
  border-width: 12px 12px 12px 0;
}

.tags p:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 1px;
  float: left;
  width: 5px;
  height: 5px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
  -webkit-box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.4);
}

.btn-pink {
  --bs-btn-color: #fff;
  --bs-btn-bg: #b0d0ff;
  --bs-btn-border-color: #b0d0ff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b0d0ff;
  --bs-btn-hover-border-color: #b0d0ff;
  --bs-btn-focus-shadow-rgb: 200, 198, 198;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #746365;
  --bs-btn-active-border-color: #a5a4a4;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(200, 198, 198, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #b0d0ff;
  --bs-btn-disabled-border-color: #b0d0ff;
}

.btn-success {
  color: #fff;
  background-color: #b0d0ff;
  border-color: #b0d0ff;
}

.btn-success:hover {
  color: #fff;
  background-color: #b0d0ff;
  border-color: #b0d0ff;
}

.btn-success:disabled,
.btn-success.disabled {
  color: #fff;
  background-color: #999495;
  border-color: #a49fa0;
  cursor: not-allowed;
}

.btn-success:not(:disabled):not(.disabled):active,
.show>.btn-success.dropdown-toggle {
  color: #fff;
  background-color: #867f80;
  border-color: #5e5959;
}

.btn-check:focus+.btn-success,
.btn-success:focus {
  color: #fff;
  background-color: #a3a1a1;
  border-color: #5f5b5b;
  box-shadow: 0 0 0 .25rem rgba(176, 208, 255, 0.5);
}

.btn-success:not(:disabled):not(.disabled).active:focus,
.btn-success:not(:disabled):not(.disabled):active:focus,
.show>.btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 .25rem rgba(176, 208, 255, 0.5);
}

.bg-blue {
  background-image: linear-gradient(to right, #77a9dc, #9680ce) !important;
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #b0d0ff;
  border-color: #b0d0ff;
}

.page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #b0d0ff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #b0d0ff;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.card {
  border-radius: 1.25rem !important;
}

.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;
}

.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: #b0d0ff;
  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;
}

.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: 15%;
  height: var(--height);
  background-color: #212121;
  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,
    rgba(81, 61, 0, 1) 0%,
    rgba(28, 11, 0, 0) 100%
  );
  border-radius: calc(var(--height) / 2);
  animation: loading .3s ease-out;
}

.white-bars-container {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
}

.white-bar {
  background: rgb(34, 23, 19);
  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;
  }
}

/* การจัดวางภาพ Head Box และ Card เมนูย่อย */
.side-menu-col {
    margin-top: -30px; /* รักษาการเลื่อนขึ้น */
}

.head-box-image {
    /* กำหนดขนาดที่แน่นอนและใช้ margin/position ในการจัดวาง */
    width: 115%; /* รักษาขนาดที่ใหญ่กว่าปกติเล็กน้อย */
    position: relative;
    z-index: 2;
    left: -21px; /* เลื่อนไปทางซ้ายตามเดิม */
    margin-bottom: -106px; /* รักษาการซ้อนทับกับ Card ด้านล่าง */
}

.sub-menu-card {
    border: 0 !important;
    border-radius: 30px !important;
    /* ลบ width: 104% เพื่อป้องกันการล้นจอ */
    width: 100%; /* ใช้ความกว้างเต็มพื้นที่ col-3 */
}

/* ส่วนพื้นหลังของ Card และ News Section (ใช้สำหรับตกแต่งขอบและพื้นหลัง) */
.menu-card-bg-top {
    /* ใช้ rgba() แทน linear-gradient(to right, #ffffff, #ffffff) */
    background-color: rgba(255, 255, 255, 0.5); /* สีขาว (255,255,255) โปร่งแสง 50% (0.5) */
    padding: 1.5rem;
    border-radius: 50px 50px 0px 0px;
    margin-left: 0;
    margin-right: 0;
}

/* หากมี background-color ใน .main-menu-card และ .news-tab-card ที่คุณต้องการปรับด้วย */
.main-menu-card {
    border: 0 !important;
    background-color: rgba(237, 237, 237, 0.5) !important; /* สีเทาอ่อน (237,237,237) โปร่งแสง 50% */
    border-radius: 30px !important;
    width: 100%;
}

/* สำหรับส่วนพื้นหลังของ News Section ด้านซ้ายล่าง */
.news-section-bg {
    /* ใช้ rgba() แทน linear-gradient(to right, #ffffff, #ffffff) */
    background-color: rgba(255, 255, 255, 0.5); /* สีขาว (255,255,255) โปร่งแสง 50% (0.5) */
    padding: 1rem;
    border-radius: 0px 30px 30px 30px;
    margin-top: -5px;
}

/* สไตล์ Carousel */
.carousel-container {
    border: 10px solid #ffffff !important;
    border-radius: 4rem !important;
}

.custom-carousel-inner {
    border-radius: 3rem !important;
}

.char-box-wrapper {
    /* ปรับตำแหน่งเพื่อชดเชยการใช้ col-8/col-4 ใน Card */
    /* ใช้ Flexbox หรือ Grid ในการจัดวางจะดีกว่า แต่ถ้าต้องใช้โค้ดเดิม ให้ใช้เทคนิคนี้ */
    position: relative; /* ให้ Wrapper เป็นตัวอ้างอิง */
    padding-left: 0;
}

.char-box-image-adjust {
    /* แก้ไขปัญหาภาพขยายใหญ่/จัดวางผิดพลาด */
    width: 250%; /* ปรับขนาดให้ใหญ่กว่า col-4 เพื่อให้ยื่นออกมา (ปรับค่านี้ตามความเหมาะสม) */
    position: absolute; /* จัดตำแหน่งแบบอิสระ */
    z-index: 3;
    /* ค่าเหล่านี้ถูกปรับให้ยื่นออกมาตามสัดส่วนที่มักจะดูดีกว่าค่าตายตัว 115px */
    right: 0%; /* ยึดขวาของ wrapper */
    top: 50%; /* เลื่อนลงมากลาง ๆ */
    transform: translate(30%, -50%); /* เลื่อนออกไปนอกขอบ 30% และขึ้นไป 50% ของความสูงตัวเอง */
    max-width: none; /* เพื่อให้สามารถขยายได้ตาม width ที่กำหนด */
}

/* ปรับปรุงการแสดงผลบนมือถือ (สำคัญมาก) */
@media (max-width: 767.98px) {
    .char-box-image-adjust {
        /* บนมือถือ ควรให้ภาพอยู่ในตำแหน่งปกติ หรือซ่อนไปเลย หากล้น */
        position: static;
        width: 100%;
        margin-top: 15px;
        transform: none;
        right: auto;
        top: auto;
    }
    
    .head-box-image {
        /* บนมือถือ ให้ภาพอยู่ในขอบเขตปกติ */
        width: 100%;
        left: 0;
        margin-bottom: 0;
    }
}

/* =======================================================
   4. ANIMATIONS & EFFECTS
   ======================================================= */

	.template-animation {
		position: relative;
		z-index: 1;
		width: 100%;
		overflow: hidden;
		/* transition: ทำให้การเปลี่ยนแปลง Style เป็นไปอย่างนุ่มนวล */
		transition: all 0.3s ease-in-out;
	}
	.c-img {
		/* เรียกใช้แอนิเมชัน floatAnimation ให้ลอยขึ้นลงแบบไม่รู้จบ (infinite) ทุกๆ 2 วินาที */
		animation: floatAnimation 2s ease-in-out infinite; 
		/* กำหนด Transition สำหรับการโต้ตอบเมื่อ Hover */
		transition: opacity 0.1s, transform 0.2s;
	}
	.c-img:hover {
		opacity: 0.9; /* ทำให้ภาพโปร่งแสงลงเล็กน้อยเมื่อเมาส์ชี้ */
	}
    @-webkit-keyframes floatAnimation {
        0% {
            -webkit-transform: translate(0, 0); /* เริ่มต้นที่ตำแหน่งเดิม */
            transform: translate(0, 0);
        }
        50% {
            -webkit-transform: translate(0, 10px); /* เลื่อนลงไป 10px (สูงสุด) */
            transform: translate(0, 10px);
        }
        100% {
            -webkit-transform: translate(0, 0); /* กลับมาตำแหน่งเดิม */
            transform: translate(0, 0);
        }
    }
    @keyframes floatAnimation {
        0% {
            -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
        }
        50% {
            -webkit-transform: translate(0, 10px);
            transform: translate(0, 10px);
        }
        100% {
            -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
        }
    }

.single-menu img {
    /* กำหนดความกว้างเต็มคอลัมน์และปรับลดลงเมื่อหน้าจอเล็ก */
    width: 100%;
    max-width: 200px; /* กำหนดขนาดสูงสุดของภาพไม่ให้ใหญ่เกินไป */
    height: auto;
}

/* ตัวอย่าง: หากภาพใหญ่เกินไปบนมือถือ (หน้าจอเล็กกว่า 768px) */
@media (max-width: 768px) {
    .single-menu img {
        width: 60%; /* ลดขนาดภาพเหลือ 60% ของคอลัมน์บนมือถือ */
    }
}


/* -------------------- RESPONSIVE MOBILE FIXES (สำหรับหน้าจอ < 992px) -------------------- */
@media (max-width: 991.98px) { 
    
    /* 1. บังคับระยะห่างของทุกคอลัมน์หลัก */
    /* การเว้นระยะห่างเมื่อเรียงซ้อนกัน */
    .row > [class^="col-"] {
        margin-top: 15px !important; 
        margin-bottom: 15px !important; /* เพิ่ม margin-bottom เพื่อช่วยแยกส่วน */
    }

    /* 2. จัดการ Side Menu บนมือถือให้เป็นระเบียบ */
    .side-menu-col {
        padding: 0 15px !important; 
        margin-top: 15px !important;
        /* ทำให้ Side Menu อยู่ใน Flow ปกติ และยกเลิกการเว้นลบต่างๆ */
        position: static !important;
    }
    
    /* 3. บังคับยกเลิกสไตล์ซับซ้อนของ Head Box และ Char Box */
    .head-box-image, 
    .char-box-image-adjust {
        /* ยกเลิกการซ้อนทับ/การยื่นทั้งหมด */
        position: static !important; 
        width: 100% !important; /* เต็มความกว้างคอลัมน์ */
        max-width: 100% !important;
        left: 0 !important;
        right: auto !important;
        top: auto !important;
        transform: none !important; 
        margin: 10px auto !important; /* จัดให้อยู่ตรงกลาง และมีระยะห่าง */
    }
    
    /* 4. จัดการปุ่ม Guild/Mercenary (เรียงซ้อนกัน) */
    .button-overlap-group {
        display: block !important; 
        padding-left: 0 !important;
        text-align: center !important;
    }
    .guild-btn-link, .merc-btn-link {
        display: block !important;
        margin: 10px auto !important; /* จัดปุ่มให้อยู่กึ่งกลาง */
        margin-right: auto !important; 
    }
    /* ยกเลิกการซ้อนทับของปุ่ม */
    .guild-btn-link { margin-right: auto !important; } 
    .merc-btn-link { margin-left: auto !important; }

    /* 5. ปรับให้เมนูย่อยอยู่ในรูปแบบ Stack (คอลัมน์ 8/4) */
    .sub-menu-card .row > [class^="col-"] {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .char-box-wrapper {
        /* บังคับให้ Char Box เป็นคอลัมน์เต็มเมื่ออยู่บนมือถือ */
        width: 100% !important;
        text-align: center !important;
    }
}