@charset "UTF-8";

:root {
  --vp-bg: #020617;
  --vp-bg-deep: #01030d;
  --vp-surface: #08122b;
  --vp-surface-raised: #0d1b3b;
  --vp-surface-glass: rgba(8, 18, 43, 0.82);
  --vp-line: rgba(148, 183, 255, 0.18);
  --vp-line-strong: rgba(251, 183, 14, 0.46);
  --vp-gold: #fbb70e;
  --vp-gold-light: #ffe08a;
  --vp-blue: #3c63ff;
  --vp-cyan: #8eefff;
  --vp-text: #f7f9ff;
  --vp-muted: #b9c5df;
  --vp-danger: #ff7474;
  --vp-radius-sm: 12px;
  --vp-radius-md: 20px;
  --vp-radius-lg: 32px;
  --vp-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --vp-glow: 0 0 32px rgba(60, 99, 255, 0.28);
  --vp-container: 1180px;
  --vp-header: 72px;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--vp-header) + 20px);
}

body {
  min-width: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 15% 10%, rgba(37, 73, 255, 0.15), transparent 28rem),
    radial-gradient(circle at 88% 28%, rgba(251, 183, 14, 0.07), transparent 25rem),
    var(--vp-bg);
  color: var(--vp-text);
  font-family: "Nunito", "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.65;
}

body.modal-open { overflow: hidden; }

img,
video { max-width: 100%; }

a,
button { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
.swiper-slide:focus-visible {
  outline: 3px solid var(--vp-cyan);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  color: var(--vp-text);
  line-height: 1.14;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.4rem); }

p { color: var(--vp-muted); }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--vp-gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--vp-gold), var(--vp-cyan));
}

/* Header */
.site-header {
  height: var(--vp-header);
  padding: 0 max(20px, calc((100vw - var(--vp-container)) / 2));
  border-bottom: 1px solid var(--vp-line);
  background: rgba(2, 6, 23, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.top {
  background: linear-gradient(180deg, rgba(1, 3, 13, 0.9), rgba(1, 3, 13, 0));
  border-color: transparent;
  box-shadow: none;
}

.site-header .brand-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 8px 0;
}

.site-header .brand-link .logo {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.site-header .nav-bar {
  height: 100%;
  gap: 4px;
  font-size: 1rem;
}

.site-header .nav-bar a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  color: var(--vp-muted);
  font-weight: 800;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-header .nav-bar a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 13px;
  left: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--vp-gold);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-header .nav-bar a:hover,
.site-header .nav-bar a[aria-current="page"] { color: var(--vp-text); }

.site-header .nav-bar a:hover::after,
.site-header .nav-bar a[aria-current="page"]::after { transform: scaleX(1); }

.site-header .nav-bar a:active {
  color: var(--vp-gold-light);
  background: rgba(251, 183, 14, 0.08);
}

.site-header .menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--vp-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.site-header .menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--vp-text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Floating promotion and modal */
.float-btn {
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(18px, 4vh, 38px);
  top: auto;
  width: clamp(112px, 12vw, 164px);
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  pointer-events: none;
  z-index: 90;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.float-btn.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-btn.is-visible:hover { transform: translateY(-6px) scale(1.03); filter: drop-shadow(0 16px 30px rgba(251, 183, 14, 0.28)); }
.float-btn:active { transform: translateY(-1px) scale(0.97); }

.promotiom-modal {
  display: flex;
  visibility: hidden;
  padding: 24px;
  background: rgba(0, 2, 12, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.promotiom-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.promotiom-modal .modal-content {
  width: min(980px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--vp-line-strong);
  border-radius: var(--vp-radius-lg);
  background:
    linear-gradient(135deg, rgba(13, 27, 59, 0.96), rgba(2, 6, 23, 0.97)),
    url(../images/model-bg.webp) center/cover;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(18px) scale(0.98);
  transition: transform 180ms ease;
}

.promotiom-modal.is-open .modal-content { transform: translateY(0) scale(1); }

.promotiom-modal .modal-content h2 {
  width: min(420px, 68%);
  margin: 0 auto 26px;
}

.promotiom-modal .modal-content .content-flex {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(300px, 1.18fr);
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
}

.promotiom-modal .modal-content .modal-visual {
  display: block;
  overflow: hidden;
  border: 1px solid var(--vp-line-strong);
  border-radius: var(--vp-radius-md);
  box-shadow: var(--vp-glow);
}

.promotiom-modal .modal-content .content-flex .modal-visual img {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
}

.promotiom-modal .modal-content .content-flex .modal-copy {
  display: block;
  color: var(--vp-text);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  text-align: left;
}

.modal-lead {
  margin-bottom: 16px;
  color: var(--vp-gold-light) !important;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  font-weight: 900;
}

.modal-copy ul { display: grid; gap: 10px; padding-left: 1.3em; }
.modal-note { margin: 18px 0 22px; font-size: 0.92em; }

.promotiom-modal .modal-content .content-flex .signup-btn,
.pg-4 a,
.pg-3 .introduce a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(255, 224, 138, 0.78);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd85b, var(--vp-gold));
  box-shadow: 0 12px 30px rgba(251, 183, 14, 0.2);
  color: #10131c;
  font-size: 1rem;
  font-weight: 950;
  text-decoration: none;
  text-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.promotiom-modal .modal-content .content-flex .signup-btn {
  width: fit-content;
  margin: 0;
  padding: 12px 28px;
}

.promotiom-modal .signup-btn:hover,
.pg-4 a:hover,
.pg-3 .introduce a:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(251, 183, 14, 0.34); }

.promotiom-modal .signup-btn:active,
.pg-4 a:active,
.pg-3 .introduce a:active { transform: translateY(1px); background: var(--vp-gold); }

.promotiom-modal .modal-content .close {
  display: grid;
  place-items: center;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--vp-line);
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.72);
  color: var(--vp-text);
  font-size: 2rem;
  line-height: 1;
}

.promotiom-modal .modal-content .close:hover { border-color: var(--vp-gold); color: var(--vp-gold-light); }
.promotiom-modal .modal-content .close:active { background: rgba(251, 183, 14, 0.14); }

/* Home */
.home-page { overflow: hidden; }

.home-hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: grid;
  align-items: center;
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 3, 13, 0.96) 0%, rgba(1, 3, 13, 0.7) 52%, rgba(1, 3, 13, 0.18) 100%),
    linear-gradient(0deg, var(--vp-bg) 0%, transparent 30%);
}

.vp-poster {
  position: absolute;
  inset: 0;
  z-index: -2;
  max-height: none;
}

.vp-poster video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero .pg-1 {
  width: min(760px, calc(100% - 40px));
  margin: 0 max(20px, calc((100vw - var(--vp-container)) / 2));
  padding: calc(var(--vp-header) + 70px) 0 56px;
  background: transparent;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.7;
  text-align: left;
}

.home-hero .pg-1 h1 {
  max-width: 850px;
  margin-bottom: 24px;
  background: linear-gradient(110deg, #fff 15%, #c9fbff 62%, #ffe08a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.035em;
}

.home-hero .pg-1 > p { max-width: 680px; margin-top: 9px; color: #dce6fb; }

.pg-1 .pg-1-grid {
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  width: min(680px, 100%);
  margin-top: 34px;
  padding: 16px;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-md);
  background: rgba(7, 17, 41, 0.64);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.pg-1 .pg-1-grid .pg-1-grid-item { gap: 2px; color: var(--vp-muted); font-size: 0.86rem; }
.pg-1 .pg-1-grid .pg-1-grid-item img { height: 34px; width: auto; margin-bottom: 5px; object-fit: contain; }
.pg-1 .pg-1-grid .pg-1-grid-item:nth-child(1) img { width: auto; }
.pg-1 .pg-1-grid .pg-1-grid-item .num { color: var(--vp-text); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.15; }
.pg-1 .pg-1-grid .border { width: 1px; background: linear-gradient(transparent, var(--vp-line-strong), transparent); }

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--vp-text);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-scroll span { color: var(--vp-gold); font-size: 1.4rem; }

.pg {
  width: min(100%, calc(var(--vp-container) + 80px));
  margin-inline: auto;
  padding: clamp(72px, 9vw, 128px) 40px;
}

.pg-4 {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  width: min(calc(100% - 40px), var(--vp-container));
  margin-block: clamp(56px, 8vw, 110px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--vp-line-strong);
  border-radius: var(--vp-radius-lg);
  background:
    radial-gradient(circle at 18% 22%, rgba(60, 99, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(13, 27, 59, 0.95), rgba(4, 9, 26, 0.98));
  box-shadow: var(--vp-shadow), inset 0 1px rgba(255, 255, 255, 0.06);
  text-align: left;
}

.pg-4 .promo-visual { min-width: 0; align-self: end; }
.pg-4 .promo-visual img {
  position: relative;
  bottom: auto;
  left: auto;
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.38));
}
.pg-4 .promo-copy { display: block; }
.pg-4 h2 { margin-bottom: 20px; }
.pg-4 p { width: 100%; max-width: 62ch; margin-bottom: 28px; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.8; }
.pg-4 a { width: fit-content; padding: 12px 30px; }

.pg-3 {
  width: 100%;
  max-width: none;
  background:
    radial-gradient(circle at 50% 0, rgba(37, 73, 255, 0.18), transparent 38rem),
    linear-gradient(180deg, rgba(8, 18, 43, 0.8), rgba(2, 6, 23, 0.2));
  text-align: center;
}

.pg-3 > h2,
.pg-3 > .section-kicker,
.pg-3-grid { width: min(100%, var(--vp-container)); margin-inline: auto; }

.pg-3 .pg-3-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.pg-3 .border { display: none; }

.pg-3 .pg-3-grid .pg-3-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: stretch;
  aspect-ratio: 1.8 / 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-md);
  background: linear-gradient(180deg, var(--vp-surface-raised), var(--vp-surface));
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pg-3 .pg-3-grid .pg-3-card:hover { transform: translateY(-6px); border-color: var(--vp-line-strong); box-shadow: var(--vp-shadow); }

.pg-3 .pg-3-grid .pg-3-card .game-border {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #07122b;
}

.pg-3 .game-border img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.pg-3 .pg-3-grid .pg-3-card .introduce {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(4px, 0.7vw, 8px);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: clamp(9px, 1.2vw, 15px);
  color: var(--vp-muted);
  font-size: clamp(0.52rem, 0.65vw, 0.7rem);
  line-height: 1.2;
  text-align: left;
}

.pg-3 .pg-3-grid .pg-3-card .introduce div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  padding: 2px 0;
  white-space: nowrap;
}
.pg-3 .pg-3-grid .pg-3-card .introduce div span {
  flex: 0 0 auto;
  margin-left: 0;
  color: var(--vp-text);
  font-size: clamp(0.78rem, 1.35vw, 1.18rem);
  line-height: 1;
  text-shadow: none;
  white-space: nowrap;
}
.pg-3 .pg-3-grid .pg-3-card .introduce div:last-child {
  display: block;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--vp-line);
}
.pg-3 .pg-3-grid .pg-3-card .introduce div:last-child > span { display: none; }
.pg-3 .pg-3-grid .pg-3-card .introduce a {
  width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 6px 8px;
  font-size: clamp(0.62rem, 0.85vw, 0.76rem);
  line-height: 1;
  white-space: nowrap;
}

.pg-2 {
  color: #07152f;
  background: linear-gradient(135deg, #d8fcff 0%, #b9f2f8 54%, #cdfaff 100%);
  text-align: center;
}
.pg-2 h2 { color: #07152f; text-shadow: none; }
.pg-2 .section-kicker { color: #674900; }
.pg-2 .section-kicker::before { background: linear-gradient(90deg, #b67d00, #296d86); }
.pg-2 > p {
  max-width: 860px;
  margin: 8px auto 0;
  color: #263a60;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.8;
}
.pg-2 .pg-2-grid { gap: 18px; margin-top: 40px; }
.pg-2 .pg-2-grid a {
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-md);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transform: none;
  transition: transform 180ms ease, border-color 180ms ease;
}
.pg-2 .pg-2-grid a:hover { transform: translateY(-5px); border-color: var(--vp-gold); }
.pg-2 .pg-2-grid a:active { transform: translateY(0) scale(0.98); }
.pg-2 .pg-2-grid a::after { display: none; }
.pg-2 .pg-2-grid img { display: block; height: 100%; object-fit: cover; }

.pg-5 {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, rgba(8, 18, 43, 0.42), rgba(2, 6, 23, 0));
  text-align: center;
}
.pg-5 > h2,
.pg-5 > p,
.pg-5 > .section-kicker,
.pg-5 > .swiper { width: min(100%, var(--vp-container)); margin-inline: auto; }
.pg-5 > p { max-width: 760px; }
.pg-5 .swiper { padding: 38px 8px 54px; }
.pg-5 .swiper .swiper-slide {
  justify-content: flex-start;
  height: auto;
  min-height: clamp(260px, 30vw, 330px);
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-md);
  background: linear-gradient(180deg, var(--vp-surface-raised), var(--vp-surface));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}
.pg-5 .swiper .swiper-slide img {
  flex: 1 1 auto;
  width: 100%;
  height: clamp(180px, 22vw, 250px);
  min-height: 0;
  margin-top: 0;
  object-fit: contain;
  padding: 14px;
}
.pg-5 .swiper .swiper-slide span {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 62px;
  padding: 12px 10px 18px;
  color: var(--vp-text);
  font-size: clamp(0.74rem, 1.2vw, 1rem);
  font-weight: 850;
  line-height: 1.3;
  white-space: nowrap;
}
.swiper-button-next,
.swiper-button-prev { color: var(--vp-gold); }
.swiper-pagination-bullet {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 2px !important;
  background: transparent;
  opacity: 1;
}
.swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #8292b8;
  opacity: .55;
}
.swiper-pagination-bullet-active::after { background: var(--vp-gold); opacity: 1; }
.swiper-pagination-bullet:focus-visible { outline: 3px solid var(--vp-cyan); outline-offset: 1px; }

@media (hover: hover) {
  .swiper-pagination-bullet:hover::after { background: var(--vp-gold-light); opacity: 1; }
}

/* Games */
.games {
  padding: calc(var(--vp-header) + 52px) max(20px, calc((100vw - var(--vp-container)) / 2)) 100px;
  background: transparent;
  color: var(--vp-text);
}

.page-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.page-heading h1 { font-size: clamp(2.35rem, 5vw, 4.4rem); }
.page-heading p { margin-top: 16px; font-size: clamp(1rem, 1.4vw, 1.18rem); }

.games .swiper-games {
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-lg);
  background: var(--vp-surface);
  box-shadow: var(--vp-shadow);
}

.games .swiper-games .swiper-slide { background: #07122b; }

.games .swiper-games .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.games .autoplay-progress {
  right: auto;
  left: 50%;
  width: clamp(88px, 11vw, 150px);
  height: clamp(88px, 11vw, 150px);
  border-radius: var(--vp-radius-md);
  background: rgba(2, 6, 23, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}
.games .autoplay-progress svg { width: 100%; height: 100%; }
.games .autoplay-progress svg rect { stroke: var(--vp-gold); }

.games .games-introduce {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(900px, calc(100% - 40px));
  margin: 16px auto 70px;
  padding: 18px;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-md);
  background: var(--vp-surface-glass);
  box-shadow: var(--vp-shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.games .games-introduce > div {
  width: auto;
  min-width: 0;
  justify-content: center;
  padding: 8px 14px;
  border-right: 1px solid var(--vp-line);
  color: var(--vp-muted);
  font-size: 0.85rem;
}
.games .games-introduce > div:last-child { border-right: 0; }
.games .games-introduce > div span:nth-child(2) { color: var(--vp-text); font-size: clamp(1.25rem, 2.8vw, 2rem); }
.games .games-introduce > div span:nth-child(2) i { color: var(--vp-gold); }

.games > .border { display: none; }
.games > h2 { max-width: 900px; margin: 0 auto 22px; text-align: center; }
.games .game-text { width: min(850px, 100%); margin: 0 auto 60px; color: var(--vp-muted); font-size: 1rem; line-height: 1.85; text-align: left; }
.games .game-text p + p { margin-top: 12px; }

.games .all-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 0 0 100px;
}

.games .all-games .card {
  height: auto;
  padding-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-md);
  background: linear-gradient(155deg, rgba(14, 31, 67, 0.98), rgba(5, 13, 32, 0.98));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  color: var(--vp-text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.games .all-games .card:hover { border-color: var(--vp-line-strong); }
.games .all-games .card:active { transform: translateY(0) scale(0.985); }
.games .all-games .card:focus-visible {
  border-color: var(--vp-cyan);
  box-shadow: 0 0 0 3px rgba(142, 239, 255, 0.2), var(--vp-shadow);
}
.games .all-games .card:hover .card-inner { transform: none; }

.games .all-games .card .card-inner {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  width: 100%;
  height: auto;
  transform: none;
  transform-style: flat;
  transition: none;
}

.games .all-games .card .card-inner .card-front,
.games .all-games .card .card-inner .card-back {
  position: relative;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  backface-visibility: visible;
}

.games .all-games .card .card-front {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(60, 99, 255, 0.18), transparent 58%),
    #050d22;
}
.games .all-games .card .card-front img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 208 / 210;
  object-fit: contain;
  transition: transform 220ms ease;
}
.games .all-games .card .card-inner .card-back {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 16px;
  background: transparent;
  border-top: 1px solid var(--vp-line);
  box-shadow: none;
  color: var(--vp-text);
  transform: none;
}

.games .card-back .game-name {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  margin-bottom: 14px;
  color: var(--vp-text);
  font-size: clamp(0.94rem, 1.3vw, 1.08rem);
  font-weight: 900;
  line-height: 1.2;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.games .all-games .card .card-inner .card-back .game-card-introduce {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.games .all-games .card .card-inner .card-back .game-card-introduce div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 7px 9px;
  border: 1px solid rgba(148, 183, 255, 0.12);
  border-radius: 10px;
  background: rgba(1, 7, 24, 0.42);
  color: var(--vp-muted);
  font-size: 0.68rem;
  line-height: 1.2;
}
.games .all-games .card .card-inner .card-back .game-card-introduce div span:nth-child(2) {
  overflow: hidden;
  color: var(--vp-text);
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.games .all-games .card .card-inner .card-back .game-card-introduce div i {
  margin-left: 1px;
  color: var(--vp-gold);
  font-size: 0.78em;
}
.games .all-games .card .card-cta {
  display: flex;
  flex: 0 0 auto;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 224, 138, 0.5);
  border-radius: 11px;
  background: linear-gradient(135deg, #fbb70e, #ffca38);
  color: #071126;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}
.games .all-games .card .card-cta > span { transition: transform 180ms ease; }

@media (hover: hover) and (pointer: fine) {
  .games .all-games .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--vp-shadow);
  }
  .games .all-games .card:hover .card-front img { transform: scale(1.025); }
  .games .all-games .card:hover .card-cta > span { transform: translateX(3px); }
}

.games .swiper-game-introduce {
  width: min(920px, 100%);
  min-height: 360px;
  margin: 36px auto 0;
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-lg);
  box-shadow: var(--vp-shadow);
}
.games .swiper-game-introduce .parallax-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,6,23,.94), rgba(2,6,23,.66)); }
.games .swiper-game-introduce .swiper-slide { padding: clamp(42px, 7vw, 80px); }
.games .swiper-game-introduce .swiper-slide .title { max-width: 760px; color: var(--vp-gold-light); font-size: clamp(1.35rem, 2.8vw, 2.2rem); }
.games .swiper-game-introduce .swiper-slide .text { max-width: 720px; color: var(--vp-text); font-size: 1rem; line-height: 1.8; }
.games .swiper-game-introduce .swiper-slide .text p { color: var(--vp-text); }

/* Features */
.features {
  padding-top: var(--vp-header);
  background: var(--vp-bg-deep);
  cursor: default;
}
.features:active { cursor: default; }
.features .swiper.features-swiper { position: relative; }
.features .swiper.features-swiper .swiper-wrapper { align-items: stretch; }
.features .swiper.features-swiper .swiper-slide {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
  min-height: calc(100svh - var(--vp-header) - 130px);
  padding: clamp(52px, 7vw, 90px) max(40px, calc((100vw - var(--vp-container)) / 2));
  background-color: var(--vp-bg);
  text-align: left;
}
.features .swiper.features-swiper .swiper-slide::after {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.48), rgba(2, 6, 23, 0.72));
}
.features .swiper.features-swiper .swiper-slide > div { width: 100%; }
.features .swiper.features-swiper .swiper-slide > div.img-group {
  width: 100%;
  max-width: 520px;
  margin: 0;
  justify-self: center;
}
.features .swiper.features-swiper .swiper-slide > div.img-group img.img-phone { width: 66%; margin-inline: auto; }
.features .swiper.features-swiper .swiper-slide > div.wd-group {
  max-height: min(620px, calc(100svh - 190px));
  overflow: auto;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--vp-line-strong);
  border-radius: var(--vp-radius-lg);
  background: rgba(4, 9, 26, 0.84);
  box-shadow: var(--vp-shadow), var(--vp-glow);
  color: var(--vp-text);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  scrollbar-color: var(--vp-gold) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}
.features .swiper.features-swiper .swiper-slide > div.wd-group h1 {
  margin-bottom: 22px;
  color: var(--vp-gold-light);
  font-size: clamp(2rem, 4vw, 4rem);
  text-shadow: 0 0 28px rgba(251, 183, 14, 0.2);
}
.features .swiper.features-swiper .swiper-slide > div.wd-group p { color: #e3e9f7; line-height: 1.85; text-align: left; }
.features .swiper.features-swiper .swiper-slide > div.wd-group::-webkit-scrollbar { width: 8px; }
.features .swiper.features-swiper .swiper-slide > div.wd-group::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.06); border-radius: 99px; }
.features .swiper.features-swiper .swiper-slide > div.wd-group::-webkit-scrollbar-thumb { background: linear-gradient(var(--vp-gold-light), var(--vp-gold)); border-radius: 99px; }

.features .swiper.features-swiper-bar {
  position: relative;
  left: auto;
  bottom: auto;
  width: min(100%, var(--vp-container));
  height: auto;
  margin: 0 auto;
  padding: 18px 20px 32px;
  background: var(--vp-bg-deep);
}
.features .swiper.features-swiper-bar .swiper-slide {
  min-height: 86px;
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-sm);
  background: var(--vp-surface);
  opacity: 0.62;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.features .swiper.features-swiper-bar .swiper-slide:hover { border-color: var(--vp-cyan); box-shadow: none; opacity: 0.9; transform: translateY(-2px); }
.features .swiper.features-swiper-bar .swiper-slide-thumb-active { border-color: var(--vp-gold); box-shadow: 0 0 0 2px rgba(251, 183, 14, 0.15); opacity: 1; }
.features .swiper.features-swiper-bar img { aspect-ratio: 16 / 7; object-fit: cover; }

/* About */
.about {
  padding-top: var(--vp-header);
  background: transparent;
  color: var(--vp-text);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
}
.about > div { width: min(calc(100% - 40px), var(--vp-container)); padding: clamp(62px, 8vw, 110px) 0; }
.about > div.part-1 {
  position: relative;
  min-height: 560px;
  height: auto;
  padding-inline: clamp(20px, 7vw, 100px);
  border: 1px solid var(--vp-line);
  border-radius: 0 0 var(--vp-radius-lg) var(--vp-radius-lg);
  background:
    radial-gradient(circle at 50% 20%, rgba(60, 99, 255, 0.28), transparent 40%),
    linear-gradient(180deg, var(--vp-surface), var(--vp-bg));
  box-shadow: var(--vp-shadow);
}
.about > div.part-1 h1 { max-width: 900px; }
.about > div.part-1 p { max-width: 800px; margin-top: 8px; color: var(--vp-muted); }
.about > img { width: min(760px, 78vw); margin: -45px auto 0; opacity: 0.32; filter: drop-shadow(0 0 30px rgba(60, 99, 255, 0.3)); }

.about > div.part-2 {
  width: 100%;
  min-height: 460px;
  height: auto;
  padding-inline: max(20px, calc((100vw - 900px) / 2));
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.55)),
    url(../images/background.webp) center/cover;
  border-block: 1px solid var(--vp-line);
}
.about > div.part-2 p { color: #e2e9f8; }

.about > div.part-3-swiper {
  display: block;
  width: min(calc(100% - 40px), var(--vp-container));
  padding: 80px 0 36px;
}
.about > div.part-3-swiper .part-3-card {
  min-height: 290px;
  padding: 28px 18px;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-md);
  background: linear-gradient(180deg, var(--vp-surface-raised), var(--vp-surface));
  color: var(--vp-text);
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}
.about > div.part-3-swiper .part-3-card:hover { border-color: var(--vp-line-strong); }
.about > div.part-3-swiper .part-3-card:active { background: var(--vp-surface-raised); }
.about > div.part-3-swiper .part-3-card img { width: 62%; margin-bottom: 18px; }

.about > div.card-main {
  width: min(calc(100% - 40px), 920px);
  margin-bottom: 80px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--vp-line-strong);
  border-radius: var(--vp-radius-lg);
  background: linear-gradient(135deg, rgba(13, 27, 59, 0.94), rgba(4, 9, 26, 0.98));
  box-shadow: var(--vp-shadow), var(--vp-glow);
}
.about > div.card-main h2 { color: var(--vp-gold-light); }
.about > div.card-main p { color: var(--vp-muted); }

.about > div.part-4 { width: 100%; padding: 0; }
.about > div.part-4 .swiper.swiper-about { min-height: 620px; height: auto; }
.about > div.part-4 .swiper.swiper-about > .swiper-wrapper > .swiper-slide {
  min-height: 620px;
  padding: 80px max(42%, calc((100vw - var(--vp-container)) / 2 + 42%)) 80px max(24px, calc((100vw - var(--vp-container)) / 2));
  color: var(--vp-text);
  font-size: 1rem;
  line-height: 1.8;
}
.about > div.part-4 .swiper.swiper-about > .swiper-wrapper > .swiper-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,6,23,.96) 0 38%, rgba(2,6,23,.5) 72%, rgba(2,6,23,.8)); }
.about > div.part-4 .swiper.swiper-about > .swiper-wrapper > .swiper-slide p { color: #e2e9f8; }
.about > div.part-4 .swiper.swiper-about .swiper-slide:nth-child(1),
.about > div.part-4 .swiper.swiper-about .swiper-slide:nth-child(2) { background-position: center; background-size: cover; }
.about > div.part-4 .swiper.swiper-about-bar { z-index: 3; width: min(520px, calc(100% - 40px)); height: 120px; margin: -150px 0 30px max(20px, calc((100vw - var(--vp-container)) / 2)); padding: 8px; }
.about > div.part-4 .swiper.swiper-about-bar > .swiper-wrapper { align-items: stretch; height: 100%; }
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 0 !important;
  height: 100% !important;
  padding: 14px 16px;
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-end;
  border: 1px solid var(--vp-line);
  border-radius: var(--vp-radius-sm);
  background: var(--vp-surface);
  opacity: 0.78;
  color: var(--vp-text);
  line-height: 1;
  transition: border-color .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 6, 23, .08) 10%, rgba(2, 6, 23, .92) 100%);
}
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .58;
}
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(.88rem, 1.8vw, 1rem);
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide:hover { border-color: var(--vp-line-strong); opacity: 1; }
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide:focus-visible { outline: 3px solid var(--vp-gold-light); outline-offset: 2px; opacity: 1; }
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide-thumb-active { border-color: var(--vp-gold); box-shadow: inset 0 -3px 0 var(--vp-gold), 0 0 18px rgba(255, 183, 0, .2); opacity: 1; }
.about > div.part-4 .swiper.swiper-about-bar .swiper-slide-thumb-active span { color: var(--vp-gold-light); }

/* Footer */
footer {
  position: relative;
  z-index: 2;
  padding: 28px max(20px, calc((100vw - var(--vp-container)) / 2)) 22px;
  border-top: 1px solid var(--vp-line);
  background: #020513;
  color: var(--vp-muted);
}
footer .footer-btn-group { padding: 0; }
footer .footer-btn-group .logo { width: auto; height: 54px; }
footer .footer-btn-group .header-btn-group { justify-content: flex-end; gap: 6px; }
footer .footer-btn-group .header-btn-group a { min-height: 44px; color: var(--vp-muted); font-weight: 800; }
footer .footer-btn-group .header-btn-group a:hover { color: var(--vp-gold-light); }
footer .footer-btn-group .header-btn-group a:active { color: var(--vp-gold); }
footer .border { height: 1px; margin-top: 22px; background: var(--vp-line); }
footer .copy-right { height: auto; padding-top: 20px; color: #7f8ba7; font-size: 0.78rem; letter-spacing: 0.06em; }

@media (max-width: 1000px) {
  .pg-3 .pg-3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games .all-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .features .swiper.features-swiper .swiper-slide {
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
    padding-inline: 32px;
  }
}

@media (max-width: 768px) {
  :root { --vp-header: 64px; }

  .site-header { padding-inline: 16px; }
  .site-header .brand-link .logo { height: 43px; }
  .site-header .menu-toggle { display: block; }
  .site-header .nav-bar {
    position: absolute;
    top: calc(var(--vp-header) + 8px);
    right: 14px;
    left: 14px;
    display: flex;
    height: auto;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: var(--vp-radius-md);
    background: rgba(4, 9, 26, 0.97);
    box-shadow: var(--vp-shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 200ms ease, opacity 160ms ease, transform 160ms ease, padding 160ms ease;
  }
  .site-header .nav-bar.show {
    max-height: min(70dvh, 360px);
    padding: 8px;
    border-color: var(--vp-line);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-header .nav-bar a { min-height: 50px; height: auto; padding: 10px 16px; border-radius: 12px; }
  .site-header .nav-bar a::after { right: 16px; bottom: 7px; left: 16px; }

  .home-hero { min-height: max(760px, 100svh); align-items: end; }
  .home-hero::before {
    background:
      linear-gradient(0deg, var(--vp-bg) 4%, rgba(1,3,13,.82) 52%, rgba(1,3,13,.2) 100%),
      linear-gradient(90deg, rgba(1,3,13,.45), rgba(1,3,13,.15));
  }
  .vp-poster video { object-position: 62% center; }
  .home-hero .pg-1 { width: calc(100% - 32px); margin: 0 16px; padding: 44vh 0 36px; }
  .home-hero .pg-1 h1 { font-size: clamp(2.2rem, 9.5vw, 4rem); }
  .home-hero .pg-1 > p:nth-of-type(2),
  .home-hero .pg-1 > p:nth-of-type(3) { display: none; }
  .pg-1 .pg-1-grid { margin-top: 24px; }

  .pg { padding: 72px 20px; }
  .pg-4 { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .pg-4 .promo-visual { height: 310px; overflow: hidden; }
  .pg-4 .promo-visual img { height: 380px; margin: 0 auto; }
  .pg-4 p { margin-inline: auto; }
  .pg-4 a { margin-inline: auto; }

  .pg-3 .pg-3-grid,
  .games .all-games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pg-3 .pg-3-grid .pg-3-card .introduce { display: flex; padding: clamp(8px, 2vw, 13px); }
  .pg-3 .pg-3-grid .pg-3-card .introduce div:nth-child(3),
  .pg-3 .pg-3-grid .pg-3-card .introduce div:nth-child(4) { display: none; }
  .pg-3 .pg-3-grid .pg-3-card .introduce div:last-child { display: block; }
  .pg-3 .pg-3-grid .pg-3-card .introduce div:last-child span { display: none; }
  .pg-3 .pg-3-grid .pg-3-card .introduce a { width: 100%; margin-top: 2px; }

  .promotiom-modal { padding: 14px; }
  .promotiom-modal .modal-content { max-height: calc(100dvh - 28px); padding: 60px 20px 24px; border-radius: 24px; }
  .promotiom-modal .modal-content h2 { width: min(340px, 82%); }
  .promotiom-modal .modal-content .content-flex { grid-template-columns: 1fr; gap: 20px; }
  .promotiom-modal .modal-content .modal-visual { width: min(310px, 85%); margin: 0 auto; }
  .promotiom-modal .modal-content .content-flex .modal-copy { text-align: left; }
  .promotiom-modal .modal-content .content-flex .signup-btn { width: 100%; }

  .games { padding: calc(var(--vp-header) + 38px) 16px 74px; }
  .games .swiper-games { border-radius: var(--vp-radius-md); }
  .games .games-introduce { width: calc(100% - 16px); margin-top: 12px; grid-template-columns: 1fr 1fr; }
  .games .games-introduce > div { border-bottom: 1px solid var(--vp-line); }
  .games .games-introduce > div:nth-child(2n) { border-right: 0; }
  .games .games-introduce > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .games .all-games .card .card-inner .card-back { padding: 12px; }
  .games .swiper-game-introduce .swiper-slide { padding: 52px 34px; }

  .features .swiper.features-swiper { padding-bottom: 0; }
  .features .swiper.features-swiper .swiper-slide {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 18px;
    padding: 36px 16px 30px;
  }
  .features .swiper.features-swiper .swiper-slide::after { background: linear-gradient(0deg, rgba(2,6,23,.92), rgba(2,6,23,.48)); }
  .features .swiper.features-swiper .swiper-slide > div { width: 100%; }
  .features .swiper.features-swiper .swiper-slide > div.img-group { width: min(100%, 430px); min-height: 340px; }
  .features .swiper.features-swiper .swiper-slide > div.img-group img.img-phone { width: 64%; }
  .features .swiper.features-swiper .swiper-slide > div.wd-group { max-height: none; overflow: visible; padding: 24px; border-radius: var(--vp-radius-md); }
  .features .swiper.features-swiper-bar { width: 100%; padding: 14px 12px 22px; }
  .features .swiper.features-swiper-bar .swiper-slide { min-height: 72px; }

  .about > div.part-1 { min-height: 500px; }
  .about > img { margin-top: -24px; }
  .about > div.part-2 { min-height: 420px; padding-inline: 24px; }
  .about > div.part-3-swiper { padding-top: 54px; }
  .about > div.part-3-swiper .part-3-card { min-height: 240px; padding: 24px 14px; }
  .about > div.part-4 .swiper.swiper-about { min-height: 670px; }
  .about > div.part-4 .swiper.swiper-about > .swiper-wrapper > .swiper-slide { min-height: 670px; padding: 64px 24px 210px; justify-content: flex-start; }
  .about > div.part-4 .swiper.swiper-about > .swiper-wrapper > .swiper-slide::after { background: linear-gradient(0deg, rgba(2,6,23,.98) 0 64%, rgba(2,6,23,.35)); }
  .about > div.part-4 .swiper.swiper-about-bar { width: calc(100% - 40px); height: 106px; margin: -142px auto 30px; }

  footer .footer-btn-group { flex-direction: column; gap: 16px; }
  footer .footer-btn-group .header-btn-group { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .games .all-games { grid-template-columns: 1fr; }
  .games .all-games .card .card-inner {
    display: grid;
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
    align-items: stretch;
  }
  .games .all-games .card .card-inner .card-front,
  .games .all-games .card .card-inner .card-back { height: 100%; }
  .games .all-games .card .card-front img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .games .all-games .card .card-inner .card-back {
    padding: 10px;
    border-top: 0;
    border-left: 1px solid var(--vp-line);
  }
  .games .card-back .game-name {
    min-height: 0;
    margin-bottom: 8px;
    font-size: clamp(0.84rem, 3.4vw, 1rem);
  }
  .games .all-games .card .card-inner .card-back .game-card-introduce { gap: 5px; }
  .games .all-games .card .card-inner .card-back .game-card-introduce div {
    min-height: 44px;
    padding: 5px 6px;
    font-size: clamp(0.56rem, 2.2vw, 0.66rem);
  }
  .games .all-games .card .card-inner .card-back .game-card-introduce div span:nth-child(2) {
    font-size: clamp(0.76rem, 3vw, 0.88rem);
  }
  .games .all-games .card .card-cta {
    min-height: 36px;
    margin-top: 8px;
    padding: 6px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .section-kicker { font-size: 0.68rem; letter-spacing: 0.14em; }
  .float-btn { width: 82px; right: 8px; bottom: 12px; }
  .home-hero .pg-1 { padding-top: 38vh; }
  .pg-1 .pg-1-grid { padding: 12px 6px; }
  .pg-1 .pg-1-grid .pg-1-grid-item { padding: 0 3px; font-size: 0.7rem; }
  .pg-1 .pg-1-grid .pg-1-grid-item img { height: 27px; }
  .pg-4 { width: calc(100% - 24px); padding: 24px 16px 30px; }
  .pg-4 .promo-visual { height: 255px; }
  .pg-4 .promo-visual img { height: 315px; }
  .pg-2 .pg-2-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pg-2 .pg-2-grid a { width: 100%; }
  .pg-3 .pg-3-grid { grid-template-columns: 1fr; }
  .pg-5 .swiper .swiper-slide { min-height: 280px; }
  .pg-5 .swiper .swiper-slide img { height: 205px; }

  .games .autoplay-progress { width: 74px; height: 74px; }
  .games .games-introduce { padding: 12px 8px; }
  .games .games-introduce > div { padding: 7px 3px; }
  .games .games-introduce > div span:nth-child(2) { font-size: 1.08rem; }
  .games .all-games .card .card-inner .card-back .game-card-introduce { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games .card-back .game-name { font-size: 0.88rem; }

  .features .swiper.features-swiper .swiper-slide > div.img-group { min-height: 280px; }
  .features .swiper.features-swiper .swiper-slide > div.wd-group { padding: 20px; }
  .features .swiper.features-swiper-bar .swiper-slide { min-height: 62px; }

  .about > div.part-3-swiper .part-3-card { min-height: 215px; }
  .about > div.part-3-swiper .part-3-card img { width: 66%; }
  footer .footer-btn-group .header-btn-group a { padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
