@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');

/* Luna cursors embedded as data URIs (from assets/img/cursor-luna*.png), so they show
   while the page loader is still up instead of the Windows cursor. */
:root {
  --luna-cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGt0lEQVRYhb3X+Y9fVRnH8fc599x7v8ss31k6HdoyTGlnhi7UIh2CWoFqbBqCGkowEpX4g+LGDxpqmhCiBilqpAm2ELSJIdGmqYJIEKqUutCGUttUrJ1OCti9nX3/bnd9jj8M+ouxnaktzz9wXvc553zuc5S1FgArqUYplNLC+1gG4DcbtK3PWApNhlXfitX7CdAAI0U4MQBGLL1bffvuU/50WyTMXG2AAfA0hCkcPZnyhc3PQGYVlV0dNq6WqL+n/6p2RAOgAO0QJfDnxx4A5pO7c4/U37MJ/vGxFOzVA0gSeZJqtNZYq7gwBvHrnwSuA9bCigc0+2+2yauL31NcWYwGEAvacbBKEQu8+MJB4A/AXIFu+PDjmLUPwZFb7b6t3YevJEInUbHGZPNiHIWjFBYohXDi6bs1RMAcgS5BLRaWf46P3tf9weJzc6+YQGuTCbTjiOcZjAMKhQi82RvA5FYNdRpqgDZwOqFhGbVrv8jQjrorgtAKhWu8xHMd8TwHx1iUViQCbzz5MCBAExAAOUE80LXSsuY+BnbU2Z6t6v+CaAsYY8lmXXzPEc9VGANKwYlBC0c/LxADbUAtqEZBHA110tr9cTpuukV2P9YyfPkACT3fRVzXxfM0nuPg6mkAwGs7d2o4IFAU8ARSgZxgNNi8eBmf29csr3trW9fblwVQWG20aNdzxHM1nu/geZqMO30g+0cs4Zs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agZGJkGWqtzTesnmOGc0IDJsEnlAEhVSLFkcl9Mrfn+vzl/mEu7oO9vPXvPrKSS3T8fr+8+yjJ8AEhcBHKIJc2nPteoVhh1KqHZLX5xNNA3xiafw67+eJHF22ubHA6sk+egL+QSHgC0WQSDS4ZyuDluV2qWS6l7ZuynaxwKgyypqspYjtrYln88RV56EMiXhYAf+UVrZlG81gQsIhEPlCItHgbpHjiVKqFWvk3LD5KdvFPANrYF1FDsSsXt//HC3F5XBXOP8edoMLuWfbkjZ9j6DQKcg8rEJDga1Lcljp9X/OyfVKV1FprwgfJH3zI5w3CocIGDIVNxRYm+tb/gpr7+qmTyMjyFJds3tFQnyatwKIiPSsQRn9wYyNP3EmWjAzihZ9OIfeXfDxc5z8wUl8Hq9gxuTw6PEikaC0tr72k/emHxoJORFRSU3tvlnTpiwVJ33h50NjyFcobB/pXm/x38W/31UZrfSPS7EAAAAASUVORK5CYII=") 16 16, not-allowed;
}


body {
  font-family: "Prompt", sans-serif !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #f7fafc 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

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  */
/********************/

/* ===== Luna Online mouse cursors, whole site =====
   From the game client (Data/Interface/2DImage/Mouse): Default.cur (arrow),
   Itemsel.cur (pointing hand), Housing_fail.cur (cross, for disabled).
   Applies on every page without needing body.custom. !important so library
   CSS (Bootstrap, Swiper) and inline cursor:pointer can't bring the Windows
   cursor back. */
html,
body {
  cursor: var(--luna-cursor) !important;
}

/* plain text spots that libraries reset to the Windows cursor:
   Bootstrap .form-check-label (cursor: default), Facebook SDK #fb-root / .fb_reset (cursor: auto) */
.form-check-label,
#fb-root,
#fb-root *,
.fb_reset,
.fb_reset * {
  cursor: var(--luna-cursor) !important;
}

a,
a *,
button,
button *,
select,
option,
summary,
label[for],
input,
textarea,
[role="button"],
[onclick],
[data-bs-toggle],
[data-bs-target],
[data-bs-slide],
[data-bs-dismiss],
.btn,
.page-link,
.nav-link,
.dropdown-item,
.form-check-input,
.form-select,
.btn-royal,
.im,
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet {
  cursor: var(--luna-cursor-hand) !important;
}

:disabled,
:disabled *,
.disabled,
.disabled *,
[aria-disabled="true"],
[aria-disabled="true"] * {
  cursor: var(--luna-cursor-no) !important;
}

.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;
  border: 0;
  /* matches the white bottom edge of bg-main.png so there's no seam */
  background: #fff;
}

/* the footer image has a solid white background; let the page show through */
footer img {
  mix-blend-mode: multiply;
}


#myVideo {
  border: 0;
  outline: none;
  box-shadow: none;
}

.hide::-webkit-scrollbar {
  display: none;
}

.hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ===== Door page loader (markup: includes/loader.php) =====
   Two night-sky door leaves with carved gold-trimmed panels, a gold medallion
   holding the logo, and the loading bar. When the page is ready the medallion
   fades, then the leaves swing open away from the viewer on their hinges. */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  perspective: 1800px;
  /* stays on screen until the doors have finished opening */
  transition: visibility 0s linear 1.6s;
}

.door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 0;
  /* site palette: sky blue to white, soft clouds along the bottom, light sparkles */
  background:
    radial-gradient(ellipse 38% 12% at 18% 100%, rgba(255, 255, 255, .95) 40%, transparent 72%),
    radial-gradient(ellipse 34% 10% at 62% 99%, rgba(255, 255, 255, .9) 40%, transparent 72%),
    radial-gradient(ellipse 30% 9% at 95% 100%, rgba(255, 255, 255, .9) 40%, transparent 72%),
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 1.6px, transparent 2.6px) 0 0 / 150px 150px,
    radial-gradient(circle, rgba(120, 200, 255, .55) 0 1.4px, transparent 2.4px) 75px 60px / 120px 120px,
    linear-gradient(180deg, #a9e2ff 0%, #d6f1ff 50%, #f5fbff 85%, #ffffff 100%);
  box-shadow: inset 0 0 70px rgba(70, 150, 230, .22);
  transition: transform 1.1s cubic-bezier(.65, 0, .35, 1) .35s, opacity .35s ease 1.15s;
}

.door--left {
  left: 0;
  transform-origin: left center;
}

.door--right {
  right: 0;
  transform-origin: right center;
}

/* cream-gold edge where the leaves meet, like the menu button frames */
.door__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(90deg, #e2b866, #fff4d6 45%, #edc97f);
  box-shadow: 0 0 12px rgba(255, 225, 160, .7);
}

.door--left .door__seam { right: 0; }
.door--right .door__seam { left: 0; }

/* round door knob on each leaf, beside the medallion */
.door__knob {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  /* level with the medallion, which sits ~43px above centre because the
     text and bar are stacked below it */
  margin-top: -66px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0 16%, #e3f5ff 42%, #8fd0ff 100%);
  border: 4px solid #edc97f;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 9px rgba(255, 255, 255, .55),
    0 0 0 10px rgba(237, 201, 127, .6),
    0 6px 14px rgba(60, 140, 220, .35),
    inset 0 -3px 6px rgba(40, 110, 200, .25);
}

.door--left .door__knob { right: 160px; }
.door--right .door__knob { left: 160px; }

/* medallion, text and bar sit on top of the doors */
.loader > :not(.door):not(.page) {
  position: relative;
  z-index: 1;
  transition: opacity .3s ease, transform .3s ease;
}

.loader-medal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #f2faff 65%, #dcf1ff 100%);
  border: 5px solid #fff;
  box-shadow:
    0 0 0 4px #edc97f,
    0 0 0 9px rgba(143, 208, 255, .55),
    0 10px 30px rgba(60, 140, 220, .3);
}

.loader-medal .icon-logo {
  width: 180px;
  max-width: 80%;
  filter: drop-shadow(0 3px 6px rgba(40, 110, 200, .25));
}

.loading-text {
  color: #2a7fe0;
  font-size: 14pt;
  font-weight: 600;
  text-shadow: 0 1px 0 #fff, 0 0 8px rgba(255, 255, 255, .9);
}

/* open */
.loader.hidden {
  visibility: hidden;
}

.loader.hidden > :not(.door):not(.page) {
  opacity: 0;
  transform: scale(.85);
}

.loader.hidden .door--left {
  transform: rotateY(-88deg);
  opacity: 0;
}

.loader.hidden .door--right {
  transform: rotateY(88deg);
  opacity: 0;
}

@media (max-width: 575.98px) {
  .loader-medal {
    width: 180px;
    height: 180px;
  }
  .door--left .door__knob { right: 124px; }
  .door--right .door__knob { left: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  .loader,
  .door,
  .loader > :not(.door):not(.page) {
    transition: none;
  }
}

/* ===== Book variant ($loaderStyle = 'book' in includes/loader.php) =====
   The screen is a closed book: a sky-blue cover with a cream-gold frame,
   over two paper pages. When ready the logo fades, then the cover and the
   pages turn over the spine on the left edge, one after another. */
.loader--book {
  perspective: 4000px;
  perspective-origin: left center;
  transition-delay: 2s;
}

.page {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: left center;
  /* spine shading along the left edge */
  background:
    linear-gradient(90deg, rgba(60, 120, 190, .28) 0, rgba(60, 120, 190, .08) 26px, transparent 60px),
    linear-gradient(180deg, #fffdf8 0%, #f7f3ea 100%);
  box-shadow: 10px 0 30px rgba(60, 110, 170, .18);
  transition: transform 1s cubic-bezier(.6, 0, .3, 1), opacity .3s ease;
}

.page--cover {
  background:
    linear-gradient(90deg, rgba(40, 100, 180, .35) 0, rgba(40, 100, 180, .1) 30px, transparent 70px),
    radial-gradient(ellipse 40% 12% at 20% 100%, rgba(255, 255, 255, .95) 40%, transparent 72%),
    radial-gradient(ellipse 34% 10% at 70% 99%, rgba(255, 255, 255, .9) 40%, transparent 72%),
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 1.6px, transparent 2.6px) 0 0 / 150px 150px,
    radial-gradient(circle, rgba(120, 200, 255, .55) 0 1.4px, transparent 2.4px) 75px 60px / 120px 120px,
    linear-gradient(180deg, #a9e2ff 0%, #d6f1ff 50%, #f5fbff 85%, #ffffff 100%);
  transition-delay: .35s;
}

/* thin cream-gold frame inset from the edges, like a book cover border */
.page--cover::before {
  content: "";
  position: absolute;
  inset: 22px 22px 22px 40px;
  border: 2px solid #edc97f;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, .75),
    inset 0 0 0 5px rgba(143, 208, 255, .8);
}

.page--2 { transition-delay: .6s; }
.page--3 { transition-delay: .85s; }

.loader--book.hidden .page {
  /* negative: the free edge lifts toward the viewer, like turning a real page */
  transform: rotateY(-180deg);
  opacity: 0;
}

/* each page fades only at the very end of its turn */
.loader--book.hidden .page--cover { transition: transform 1s cubic-bezier(.6, 0, .3, 1) .35s, opacity .25s ease 1.15s; }
.loader--book.hidden .page--2     { transition: transform 1s cubic-bezier(.6, 0, .3, 1) .6s,  opacity .25s ease 1.4s; }
.loader--book.hidden .page--3     { transition: transform 1s cubic-bezier(.6, 0, .3, 1) .85s, opacity .25s ease 1.65s; }

@media (max-width: 575.98px) {
  .page--cover::before {
    inset: 12px 12px 12px 24px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page,
  .loader--book.hidden .page {
    transition: none;
  }
}

.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: 4px;

  width: 15rem;
  height: var(--height);

  background: linear-gradient(180deg,
      #ffffff 0%,
      #dff2ff 100%);

  border: 1px solid rgba(100, 180, 255, .35);

  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, .8),
    inset 0 -2px 6px rgba(80, 150, 255, .15);

  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: linear-gradient(90deg,
      #76e0ff 0%,
      #47b3ff 50%,
      #5d7cff 100%);

  border-radius: calc(var(--height) / 2);

  box-shadow:
    0 0 12px rgba(90, 170, 255, .35),
    inset 0 1px 2px rgba(255, 255, 255, .5);

  animation: loading .3s ease-out forwards;
}

.loading-bar::before {
  content: "";

  position: absolute;
  top: 0;
  left: -40%;

  width: 40%;
  height: 100%;

  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .75),
      transparent);

  animation: shine 2s linear infinite;
}

@keyframes shine {
  to {
    left: 140%;
  }
}

.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 {
  padding-bottom: 36px;
}

.myCharsSwiper .swiper-slide {
  height: auto;
}

.myCharsSwiper .card {
  height: 100%;
}

.myCharsSwiper .char-card {
  border: 1px solid rgba(80, 170, 255, .28) !important;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
  box-shadow: 0 10px 24px rgba(55, 120, 220, .14);
  overflow: hidden;
}

.myCharsSwiper .char-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #7ee8ff 0%, #48a8ff 45%, #5f7cff 100%);
}

.myCharsSwiper .char-card .card-body {
  color: #1f3550;
}

.myCharsSwiper .char-job-badge {
  background: linear-gradient(90deg, #65d9ff 0%, #45a7ff 48%, #637cff 100%);
  color: #fff;
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 6px 14px rgba(70, 150, 255, .30);
}

.myCharsSwiper .char-avatar {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  background: #fff;
  border: 2px solid rgba(80, 170, 255, .35);
  box-shadow: 0 6px 16px rgba(55, 120, 220, .18);
}

.myCharsSwiper .char-avatar img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}

.myCharsSwiper .swiper-button-prev,
.myCharsSwiper .swiper-button-next {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #ffffff;
  color: #2f9dff;
  border: 1px solid rgba(70, 150, 230, .22);
  box-shadow: 0 6px 16px rgba(55, 120, 220, .22);
  transition: transform .12s ease, box-shadow .2s ease;
}

.myCharsSwiper .swiper-button-prev::after,
.myCharsSwiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 800;
}

.myCharsSwiper .swiper-button-prev:hover,
.myCharsSwiper .swiper-button-next:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 22px rgba(55, 120, 220, .3);
}

.myCharsSwiper .swiper-pagination-bullet {
  background: rgba(72, 168, 255, .4);
  opacity: 1;
}

.myCharsSwiper .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #48a8ff 0%, #5f7cff 100%);
  width: 20px;
  border-radius: 9999px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .22);
  color: #1f3550;
  font-size: .85rem;
}

.char-card.is-online .status-chip {
  border-color: rgba(16, 185, 129, .35);
  background: rgba(16, 185, 129, .08);
}

.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(0, 132, 255, 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(0, 55, 128, 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(0, 48, 92, 0.5)) brightness(.95);
}

.btn-royal:focus-visible {
  box-shadow: 0 0 0 3px rgba(90, 175, 255, 0.9), 0 0 0 6px rgba(0, 174, 255, 0.35);
  border-radius: 20px;
}

/* the tab images carry their own normal/active look, swapped in news.js */
.btn-container .btn-royal {
  filter: none;
  transition: filter .2s ease, transform .12s ease;
  cursor: var(--luna-cursor-hand);
}

.btn-container .btn-royal:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-container .btn-royal.active {
  filter: none;
  transform: none;
}

.btn-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.btn-container .btn-royal {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

@media (max-width: 767.98px) {
  .btn-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.index-news-card {
  padding: 3px;
  overflow: hidden;
}

/* News Card */
.news-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  padding: 13px;
  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: 23px;
  color: #7c7c7c;
  margin: 0 0 6px;
}

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

.news-card__meta {
  font-size: 12px;
  color: #8e8e8e;
  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 {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all .35s ease;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

  background: linear-gradient(0deg,
      transparent,
      transparent 35%,
      rgba(126, 232, 255, .35));

  transform: rotate(-45deg);
  transition: all .6s ease;
  opacity: 0;
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(-15%);
}

.holographic-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 10px 25px rgba(72, 168, 255, .25),
    0 0 30px rgba(126, 232, 255, .20);

  border-color: rgba(126, 232, 255, .5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.mg-custom {
  margin-top: -30%;
}

.sub-show {
  position: relative;
}

.sub-show::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, .85) 0%,
      rgba(255, 255, 255, .75) 35%,
      rgba(255, 255, 255, .88) 100%);
  pointer-events: none;
}

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

.sc-season-card {
  position: relative;
  border: 1px solid rgba(80, 170, 255, .28);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
  box-shadow: 0 14px 32px rgba(55, 120, 220, .18);
  overflow: hidden;
}

.sc-season-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #7ee8ff 0%, #48a8ff 45%, #5f7cff 100%);
}

.sc-season-card .card-title {
  color: #17528f;
  font-weight: 800;
  letter-spacing: .2px;
}

.sc-season-card .input-group-text {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .22);
  color: #2f9dff;
}

.sc-season-card .form-control,
.sc-season-card select {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .22);
  color: #1f3550;
  border-radius: 12px;
}

.sc-season-card .form-control::placeholder {
  color: rgba(40, 80, 120, .38);
}

.sc-season-card .form-control:focus,
.sc-season-card select:focus {
  border-color: rgba(72, 168, 255, .75);
  box-shadow: 0 0 0 .16rem rgba(72, 168, 255, .22);
}

.sc-season-card .btn-outline-secondary {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .25);
  color: #2f9dff;
}

.sc-season-card .btn-outline-secondary:hover {
  background: #eaf7ff;
  color: #4e6cff;
}

.sc-season-card .form-check-label {
  color: rgba(25, 55, 90, .68);
}

.sc-season-card .cf-turnstile {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .16);
  border-radius: 16px;
  padding: 10px;
}

.sc-season-card #btn-register,
.sc-season-card #btn-login,
.sc-season-card #btn-payment,
.sc-season-card #btn-changepass,
.sc-season-card #btn-changeemail,
.sc-season-card #btn-login-admin {
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(90deg, #65d9ff 0%, #45a7ff 48%, #637cff 100%);
  box-shadow: 0 10px 24px rgba(70, 150, 255, .28);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.sc-season-card #btn-register:hover:not(:disabled),
.sc-season-card #btn-login:hover:not(:disabled),
.sc-season-card #btn-payment:hover:not(:disabled),
.sc-season-card #btn-changepass:hover:not(:disabled),
.sc-season-card #btn-changeemail:hover:not(:disabled),
.sc-season-card #btn-login-admin:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 15px 34px rgba(70, 150, 255, .38);
}

.sc-season-card #btn-register:active:not(:disabled),
.sc-season-card #btn-login:active:not(:disabled),
.sc-season-card #btn-payment:active:not(:disabled),
.sc-season-card #btn-changepass:active:not(:disabled),
.sc-season-card #btn-changeemail:active:not(:disabled),
.sc-season-card #btn-login-admin:active:not(:disabled) {
  transform: translateY(0);
  filter: brightness(.98);
}

.sc-season-card #btn-register:disabled,
.sc-season-card #btn-login:disabled,
.sc-season-card #btn-payment:disabled,
.sc-season-card #btn-changepass:disabled,
.sc-season-card #btn-changeemail:disabled,
.sc-season-card #btn-login-admin:disabled {
  opacity: .65;
  cursor: var(--luna-cursor-no);
}

.sc-season-card #logout {
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(90deg, #ff7b7b 0%, #ff4b5c 55%, #e43145 100%);
  box-shadow: 0 10px 22px rgba(228, 49, 69, .22);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.sc-season-card #logout:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(228, 49, 69, .32);
}

.sc-season-card #logout:active:not(:disabled) {
  transform: translateY(0);
  filter: brightness(.98);
}

.sc-season-card #logout:disabled {
  opacity: .65;
  cursor: var(--luna-cursor-no);
}

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

.main-bg {
  background-image:
    url("../img/bg-main.png");
  width: 100%;
  min-height: 1605px;
  background-size: 100% 100%;
  padding-bottom: 48px;
}

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

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

/* คุมระยะรวม */
.verify-side>.row {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* คอลัมน์ย่อย */
.verify-col {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* วงกลม */
.verify-side img.img-fluid {
  width: 100%;
  max-width: 165px;
  /* ปรับใหญ่ขึ้นได้ */
  height: auto;
}

.ver2l {
  margin-right: -40px;
}

.ver3l {
  margin-top: -100px;
  margin-right: -40px;
}


.ver2r {
  margin-left: -40px;
}

.ver3r {
  margin-top: -100px;
  margin-left: -40px;
}

.verify-side--left .verify-col-a {
  transform: translateX(-45px);
}

.verify-side--left .verify-col-a img:first-child {
  transform: translateY(35px);
}

.verify-side--left .verify-col-b {
  transform: translateX(-10px);
}

.verify-side--left .verify-col-c {
  transform: translateX(10px);
}

.verify-side--right .verify-col-c {
  transform: translateX(45px);
}

.verify-side--right .verify-col-c img:first-child {
  transform: translateY(35px);
}

.verify-side--right .verify-col-b {
  transform: translateX(10px);
}

.verify-side--right .verify-col-a {
  transform: translateX(-10px);
}

@media (max-width: 991.98px) {
  .verify-side img.img-fluid {
    max-width: 120px;
  }

  .verify-col {
    gap: 12px;
  }

  .verify-side--left .verify-col-a,
  .verify-side--right .verify-col-c {
    transform: translateX(-18px);
  }

  .verify-side--right .verify-col-c {
    transform: translateX(18px);
  }
}

.verify-show>.container-fluid {
  width: 100%;
}

@media (min-width: 1921px) {
  .verify-show>.container-fluid {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.credit-slot {
  position: relative;
  display: inline-block;
  line-height: 0;
  border-radius: 999px;
  overflow: visible;
  transform: translateZ(0);
  transition: transform .18s ease, filter .2s ease;
  cursor: var(--luna-cursor-hand);
}

.credit-slot>img:first-child {
  display: block;
  border-radius: 999px;
  transition: transform .18s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .16);
}

.credit-slot__logo {
  position: absolute;
  left: 46%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48%;
  height: auto;
  pointer-events: none;
  transition: transform .18s ease, filter .2s ease, opacity .2s ease;
  opacity: .92;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25));
}

.credit-slot:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.04);
}

.credit-slot:hover>img:first-child {
  box-shadow: 0 16px 28px rgba(0, 0, 0, .22);
  filter: saturate(1.05);
}

.credit-slot:hover .credit-slot__logo {
  transform: translate(-50%, -50%) scale(1.07);
  opacity: 1;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .30));
}

.credit-slot:active {
  transform: translateY(-1px) scale(1.01);
}

@media (prefers-reduced-motion: reduce) {

  .credit-slot,
  .credit-slot>img:first-child,
  .credit-slot__logo {
    transition: none !important;
  }
}

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

.guild-box {
  position: absolute;
  left: 23%;
  width: 50%;
  padding: 0;
  overflow: hidden;
  top: 114px;
}

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

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

.guild-show>.container-fluid {
  width: 100%;
}

@media (min-width: 1921px) {
  .guild-show>.container-fluid {
    max-width: 1920px;
    /* อยากให้คุมที่ 2000/2200 ก็ปรับได้ */
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.guild-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  justify-items: center;
  align-items: center;
  margin-bottom: 167px;
  position: relative;
  top: 60px;
  right: 60px;
}

.guild-grid img {
  width: 80%;
  max-width: 140px;
  height: auto;
}

.guild-slot {
  position: relative;
  display: inline-block;
  line-height: 0;
  transform: translateZ(0);
  cursor: var(--luna-cursor-hand);
}

.guild-slot>img.img-fluid {
  display: block;
  width: 100%;
  height: auto;
}

.guild-slot__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25));
  transition: transform .18s ease, filter .2s ease, opacity .2s ease;
  opacity: .95;
}

.guild-slot:hover {
  transform: translateY(-3px) scale(1.03);
}

.guild-slot:hover .guild-slot__logo {
  transform: translate(-50%, -50%) scale(1.06);
  opacity: 1;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .32));
}

.mg-guild-l {
  margin-top: -30px;
}

.mg-guild-r {
  margin-left: -6%;
}

.mg-guild-btn {
  margin-top: -130px;
}


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

.mg-steamer {
  margin-top: -110px;
}

.steamer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  justify-items: center;
  align-items: center;
  margin-bottom: 40px;
}

.steamer-grid img {
  width: 80%;
  max-width: 140px;
  height: auto;
  transition: transform .2s ease;
}

.steamer-grid img:hover {
  transform: translateY(-4px) scale(1.05);
}

.steamer-slot {
  position: relative;
  display: inline-block;
  line-height: 0;
  transform: translateZ(0);
  cursor: var(--luna-cursor-hand);
}

.steamer-slot>img.img-fluid {
  display: block;
  width: 100%;
  height: auto;
}

.steamer-slot__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25));
  transition: transform .18s ease, filter .2s ease, opacity .2s ease;
  opacity: .95;
}

.steamer-slot:hover {
  transform: translateY(-3px) scale(1.03);
}

.steamer-slot:hover .steamer-slot__logo {
  transform: translate(-50%, -50%) scale(1.06);
  opacity: 1;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .32));
}

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

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

.c-mt-bt {
  margin-top: 60px;
}


@media (max-width:576px) {
  .guild-em {
    width: 30%;
    position: relative;
    top: 11px;
  }

  .guild-grid {
    margin-bottom: 14px;
    top: 10px;
    right: 10px;
  }

  .mg-guild-btn {
    margin-top: -34px;
    width: 50%;
  }

  .mg-guild-title {
    margin-top: -35px;
  }

  .mg-guild-l {
    margin-top: 5px;
    margin-bottom: 13px;
  }

  .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: center !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;
}

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

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

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

.header-overlay1 {
  top: 81%;
  left: 24%;
  transform: translate(-50%, -50%);
}

.header-overlay2 {
  top: 73%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.header-overlay2 a {
  pointer-events: auto;
}

.header-overlay3 {
  top: 83%;
  left: 75%;
  transform: translate(-50%, -50%);
}

.btn-download-head,
.btn-register-head,
.btn-gameguid-head,
.btn-menu {
  cursor: var(--luna-cursor-hand);
  transition: transform .18s ease, filter .2s ease;
  will-change: transform, filter;
}

.btn-download-head {
  position: relative;
  z-index: 1;
}

.btn-register-head {
  margin-top: -15%;
}

a:hover>.btn-download-head,
a:hover>.btn-register-head,
a:hover>.btn-gameguid-head,
a:hover>.btn-menu {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28)) brightness(1.06) saturate(1.08);
}

a:active>.btn-download-head,
a:active>.btn-register-head,
a:active>.btn-gameguid-head,
a:active>.btn-menu {
  transform: translateY(1px) scale(.99);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .22)) brightness(.96);
  transition-duration: .08s;
}

a:has(> .btn-download-head),
a:has(> .btn-register-head),
a:has(> .btn-gameguid-head),
a:has(> .btn-menu) {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  outline: none;
  cursor: var(--luna-cursor-hand);
}

a:focus-visible:has(> .btn-download-head),
a:focus-visible:has(> .btn-register-head),
a:focus-visible:has(> .btn-gameguid-head),
a:focus-visible:has(> .btn-menu) {
  filter: drop-shadow(0 0 0 3px rgba(255, 210, 90, .9));
}

@media (max-width: 1366px) {
  .head-logo {
    width: 80% !important;
  }

  .btn-gameguid-head {
    width: 60% !important;
  }

  .btn-combo-head {
    width: 70% !important;
  }

  .title-slide {
    width: 80% !important;
  }
}

@media (max-width: 1024px) {
  .head-logo {
    width: 60% !important;
  }

  .btn-gameguid-head {
    width: 60% !important;
  }

  .btn-combo-head {
    width: 50% !important;
  }

  .title-slide {
    width: 80% !important;
  }
}

@media (max-width: 576px) {
  .head-logo {
    width: 60% !important;
  }

  .btn-gameguid-head {
    width: 60% !important;
  }

  .btn-combo-head {
    width: 27% !important;
  }

  .title-slide {
    width: 80% !important;
  }
}

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-reborn {
  background: #fff;
}

.navbar .nav-link {
  padding: .55rem .9rem;
}

.navbar .navbar-nav {
  gap: .15rem;
}

.nav-icons-center {
  gap: 10px;
}

.nav-icons-center .nav-icon {
  display: inline-flex;
  align-items: center;
}

.nav-icons-center {
  margin-left: auto;
  margin-right: auto;
}

.navbar .navbar-nav .nav-link {
  position: relative;
}

.navbar .navbar-nav .nav-link {
  position: relative;
}

.navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0px;
  height: 2px;
  background: #5bc3f6;
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .15s ease, transform .15s ease;
}

.navbar .navbar-nav .nav-item.active>.nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 991.98px) {
  .nav-icons-center {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .navbar.bg-reborn {
    height: 64px;
  }

}

@media (min-width: 992px) {
  .sc-fixed-desktop {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
  }
}

@media (max-width: 991.98px) {
  .sc-fixed-desktop {
    position: static;
  }

  body {
    padding-top: 0;
  }
}


.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, #733a18, #8a451e);
  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;
}

.sc-event-card {
  width: 85%;
  margin: 0 auto;
  border: 2px solid #ff6a2a;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.sc-event-wrap {
  padding: 20px;
}

.sc-event-left-inner {
  padding: 6px 18px 10px 6px;
}

.sc-event-title {
  margin-bottom: 12px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  margin: 0 4px;
}

.sc-side-actions {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 39px;
}

.sc-side-sep {
  height: 1px;
  background: rgba(0, 0, 0, .10);
  margin: 6px 6px;
}

.sc-side-actions-66 {
  margin-top: 32px;
}

@media (max-width: 991.98px) {

  .shot-link.shot-big {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10);

    aspect-ratio: 3 / 1;
    height: auto;
  }

  .shot-link.shot-big img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;

  }

  .sc-side-actions a:nth-child(1),
  .sc-side-actions a:nth-child(2) {
    aspect-ratio: 3.2 / 1;
  }
}

.shot-link.shot-big {
  position: relative;
  display: block;
  overflow: hidden;
  transition:
    transform .18s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

.shot-link.shot-big:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 20px 30px rgba(0, 0, 0, .25),
    0 0 20px rgba(255, 120, 60, .35);
  filter: brightness(1.05);
}

.shot-link.shot-big:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 8px 14px rgba(0, 0, 0, .20);
}

.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: #000;
}

.note-modal-backdrop {
  display: contents !important;
}

@media (max-width: 600px) {

  .frame-r,
  .verify-show,
  .season-show {
    display: none;
  }

  .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;
  margin: 18px 0 6px;
}

#paginationContainer .pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 12px;
  background: #fff;
  border-radius: 16px;

  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
  border: 1px solid rgba(0, 0, 0, .06);
}

#paginationContainer .page-link {
  border: 1px solid rgba(0, 0, 0, .06);
  background: #ffffff;

  color: #6b6b6b;
  font-weight: 900;
  font-size: 14px;

  min-width: 40px;
  height: 38px;
  padding: 0 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, .06);

  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

#paginationContainer .page-link:hover {
  transform: translateY(-2px);
  background: #fff3ea;
  color: #0084ff;
  box-shadow: 0 12px 18px rgba(0, 0, 0, .10);
}

#paginationContainer .page-item.active .page-link {
  background: linear-gradient(180deg, #4dc7ff 0%, #0077ff 100%);
  color: #fff;
  border-color: transparent;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 14px 22px rgba(60, 128, 255, 0.3);
}

#paginationContainer .page-link[aria-label="Previous"],
#paginationContainer .page-link[aria-label="Next"] {
  border-radius: 999px;
  min-width: 38px;
  padding: 0 10px;
}

#paginationContainer .page-item.disabled .page-link {
  opacity: .5;
  background: #f2f2f2;
  color: #9c9c9c;
  cursor: var(--luna-cursor-no);
  transform: none !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .05);
}

.guide-menu .card {
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
  overflow: hidden;
}

.guide-menu .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding: 14px 16px;
}

.guide-menu .card-header h5 {
  margin: 0;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(20, 20, 20, .88);
}

.guide-menu .card-body {
  padding: 12px !important;
}

.guide-menu .list-group {
  gap: 8px;
}

.guide-menu .list-group-item {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  margin: 0;
  padding: 11px 12px;
  background: rgba(255, 255, 255, .78);
  color: rgba(15, 15, 15, .82);
  font-weight: 650;
  letter-spacing: .15px;
  display: flex;
  align-items: center;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guide-menu .list-group-item::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 122, 24, .35);
  margin-right: 10px;
  flex: 0 0 auto;
  transition: background .18s ease, height .18s ease;
}

.guide-menu .list-group-item:hover {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(0, 0, 0, .12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
}

.guide-menu .list-group-item:hover::before {
  background: rgba(255, 122, 24, .55);
}

.guide-menu .list-group-item.active {
  background: rgba(255, 255, 255, .96);
  color: rgba(10, 10, 10, .92);
  border-color: rgba(0, 0, 0, .14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
  font-weight: 800;
}

.guide-menu .list-group-item.active::before {
  background: rgba(255, 122, 24, .95);
  height: 20px;
  box-shadow: 0 0 0 4px rgba(255, 122, 24, .12);
}

.sc-guide-toggle {
  border: 1px solid rgba(0, 0, 0, .10);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  color: rgba(10, 10, 10, .85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}

.sc-guide-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
}

#guideSidebar.offcanvas {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  color: rgba(20, 20, 20, .90);
  border-right: 1px solid rgba(0, 0, 0, .08);
}

#guideSidebar .offcanvas-header {
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

#guideSidebar .offcanvas-title {
  font-weight: 800;
  letter-spacing: .2px;
}

#guideSidebar .btn-close {
  opacity: .65;
}

#guideSidebar .btn-close:hover {
  opacity: .9;
}

#guideSidebar .list-group {
  gap: 8px;
}

#guideSidebar .list-group-item {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, .82);
  color: rgba(15, 15, 15, .82);
  font-weight: 650;
  letter-spacing: .15px;

  display: flex;
  align-items: center;

  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#guideSidebar .list-group-item::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 122, 24, .35);
  margin-right: 10px;
  flex: 0 0 auto;
  transition: background .18s ease, height .18s ease;
}

#guideSidebar .list-group-item:hover {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(0, 0, 0, .12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
}

#guideSidebar .list-group-item:hover::before {
  background: rgba(255, 122, 24, .55);
}

#guideSidebar .list-group-item.active {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(0, 0, 0, .14);
  font-weight: 800;
}

#guideSidebar .list-group-item.active::before {
  background: rgba(255, 122, 24, .95);
  height: 20px;
  box-shadow: 0 0 0 4px rgba(255, 122, 24, .12);
}

@media (max-width: 991.98px) {
  .guide-menu .card {
    border-radius: 16px;
  }

  .guide-menu .list-group-item {
    padding: 10px 11px;
  }
}

.text-slide--news {
  --cap-l-p: 13%;
  --cap-r-p: 2%;
  --fade: 20px;
  --speed: 14s;
  max-width: 100%;
}

.text-slide--news .text-slide__item {
  color: #5a6770;
  font-weight: 500;
  text-shadow: none;
}

.text-slide--news .text-slide__sep {
  color: #95d543;
  opacity: .85;
}

.text-slide--news .text-slide__viewport {
  clip-path: inset(0 1% 0 14%);
}

@media (max-width: 768px) {
  .text-slide--news {
    --fs: 10px;
    --speed: 18s;
    --cap-l-p: 18%;
  }

  .text-slide--news .text-slide__viewport {
    clip-path: inset(0 3% 0 18%);
  }
}

@media (max-width: 480px) {
  .text-slide--news {
    --fs: 9px;
    --cap-l-p: 22%;
  }

  .text-slide--news .text-slide__viewport {
    clip-path: inset(0 1% 0 14%);
  }

  .text-slide--news .text-slide__sep {
    font-size: 5px;
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-links li {
  line-height: 1;
}

.footer-links a {
  color: #d8d8d8;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .15s;
}

.footer-links a:hover {
  color: #8acaff;
}

  .footer-r {
    float: right;
  }

@media (max-width: 767.98px) {
  .footer-links {
    justify-content: center;
    margin-top: 12px;
    gap: 12px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-r {
    justify-items: center;
  }
}

/* Highlight & Update */
/* Card frame, two white layers (from the PSD):
   - outer: 10px white ring at 67% opacity (the faded layer)
   - inner: solid white (the solid layer) */
.hl-card,
.sm-card,
.index-news-card {
  border: 10px solid rgba(255, 255, 255, .67);
  border-radius: 30px;
  background: #fff padding-box;
  box-shadow: 0 0 25.65px 1.35px rgba(0, 0, 0, .13);
}

.hl-card,
.sm-card {
  height: 100%;
}

.hl-card {
  display: flex;
  flex-direction: column;
  padding: 4px 4px 8px;
}

.hl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 12px 10px;
}

.hl-title,
.sm-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
}

.hl-sub {
  padding-left: 12px;
  border-left: 1px solid #c9d3d8;
  font-size: .95rem;
  color: #777;
  line-height: 2;
}

#carouselExampleIndicators {
  flex: 1;
  position: relative;
  border-radius: 29px;
  overflow: hidden;
}

/* dashed frame drawn on top of the slides; as a plain border the slide's
   GPU layer could paint over one edge of it */
#carouselExampleIndicators::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px dashed #a3a3a3;
  border-radius: inherit;
  pointer-events: none;
}

#carouselExampleIndicators .carousel-inner {
  border-radius: 24px;
  overflow: hidden;
}

#carouselExampleIndicators .carousel-item img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  /* frame fills the card height; the whole picture is fitted in, not cropped */
  #carouselExampleIndicators .carousel-inner,
  #carouselExampleIndicators .carousel-item { height: 100%; }
  #carouselExampleIndicators .carousel-item img {
    height: 100%;
    object-fit: fill;
  }
}

#carouselExampleIndicators .carousel-indicators {
  margin-bottom: 14px;
  gap: 6px;
}

#carouselExampleIndicators .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, .7);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  opacity: 1;
  transition: transform .15s, background-color .15s;
}

#carouselExampleIndicators .carousel-indicators .active {
  background-color: #ffd84a;
  transform: scale(1.2);
}

#carouselExampleIndicators .carousel-control-prev,
#carouselExampleIndicators .carousel-control-next {
  width: 8%;
  opacity: 0;
  transition: opacity .2s ease;
}

#carouselExampleIndicators:hover .carousel-control-prev,
#carouselExampleIndicators:hover .carousel-control-next {
  opacity: .85;
}

#carouselExampleIndicators .carousel-control-prev-icon,
#carouselExampleIndicators .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, .35);
  border-radius: 50%;
  padding: 18px;
  background-size: 50%;
}

/* Support Menu */
.sm-card {
  display: flex;
  flex-direction: column;
  padding: 8px 4px;
}

.sm-head {
  text-align: center;
  margin-bottom: 8px;
}

.sm-sub {
  display: block;
  font-size: .95rem;
  color: #666;
}

.sm-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 4px;
}

.sm-item {
  display: block;
  transition: transform .15s ease, filter .15s ease;
}

.sm-item img {
  display: block;
  width: 100%;
  max-width: 338px;
  height: auto;
  margin: 0 auto;
}

.sm-item:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06) drop-shadow(0 4px 8px rgba(30, 110, 230, .25));
}

@media (max-width: 991.98px) {
  .sm-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

@media (max-width: 575.98px) {
  .hl-card { padding: 2px 2px 4px; border-width: 6px; border-radius: 22px; }
  .sm-card,
  .index-news-card { border-width: 6px; border-radius: 22px; }
  .hl-head { flex-wrap: wrap; gap: 2px 10px; }
  .hl-title,
  .sm-title { font-size: 1.35rem; }
  .hl-sub {
    border-left: 0;
    padding-left: 0;
    line-height: 1.4;
    font-size: .85rem;
  }
  #carouselExampleIndicators { border-radius: 16px; }
  #carouselExampleIndicators .carousel-inner { border-radius: 16px; }
}

/* Register form: labelled fields (register/index.php) */
.reg-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: .95rem;
  color: #1c2b44;
  text-align: left;
}

.reg-label span {
  font-weight: 500;
  color: #4a5a72;
}

.reg-field .input-group-text {
  min-width: 46px;
  justify-content: center;
  background: #e8f5ff;
  border-color: #b9dcf7;
  color: #2a7fe0;
  border-radius: 12px 0 0 12px;
}

.reg-field .form-control {
  border-color: #b9dcf7;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.reg-field .form-control:last-child {
  border-radius: 0 12px 12px 0;
}

.reg-field .form-control:focus {
  border-color: #6cb8f5;
  box-shadow: 0 0 0 .2rem rgba(42, 127, 224, .15);
}

.reg-field .form-control::placeholder {
  color: #9aa8b8;
}

.reg-field .btn-outline-secondary {
  background: #e8f5ff;
  border-color: #b9dcf7;
  color: #2a7fe0;
  border-radius: 0 12px 12px 0;
}

.reg-field .btn-outline-secondary:hover {
  background: #d6edff;
  color: #1f6cc4;
}

.reg-note {
  margin-top: 6px;
  font-size: .8rem;
  color: #d33a3a;
  text-align: left;
}

/* Register: terms of service window (register/index.php) */
.terms-link {
  color: #2a7fe0;
  font-weight: 700;
  text-decoration: underline;
}

.terms-link:hover {
  color: #1f6cc4;
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.terms-modal.open {
  display: flex;
}

.terms-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 45, 80, .55);
}

.terms-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  padding: 26px 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #eaf7ff 0%, #ffffff 120px);
  border: 2px solid #edc97f;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .7), 0 18px 50px rgba(30, 80, 150, .3);
  animation: termsIn .2s ease;
}

@keyframes termsIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.terms-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #7a8aa0;
  cursor: var(--luna-cursor-hand);
}

.terms-modal__close:hover {
  color: #2a7fe0;
}

.terms-modal__title {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 1.35rem;
  color: #1c4f9c;
}

.terms-modal__body {
  overflow-y: auto;
  padding-right: 4px;
}

.terms-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px dashed #e3cf9f;
  color: #2f3b4d;
  font-size: .95rem;
  line-height: 1.6;
}

.terms-list li:last-child {
  border-bottom: 0;
}

.terms-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #edc97f;
  box-shadow: 0 0 0 2px rgba(237, 201, 127, .3);
}

.terms-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.terms-modal__btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: linear-gradient(90deg, #6aa8ff 0%, #4fd3f7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  box-shadow: 0 4px 12px rgba(60, 140, 220, .3), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .15s ease, filter .15s ease;
  cursor: var(--luna-cursor-hand);
}

.terms-modal__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.terms-modal__btn--ghost {
  background: #fff;
  color: #2a7fe0;
  border: 1.5px solid #9fd0f7;
  text-shadow: none;
  box-shadow: none;
}

@media (max-width: 575.98px) {
  .terms-modal__dialog {
    padding: 22px 18px 18px;
    border-radius: 18px;
  }
  .terms-modal__actions {
    flex-direction: column-reverse;
    gap: 10px;
  }
}
