/* =========================================================
   九道麻将 · Official Site
   Dark game-tech visual system
   ========================================================= */

@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050b14;
  --bg-deep: #030810;
  --bg-soft: #071426;
  --surface: rgba(9, 23, 40, 0.78);
  --surface-strong: #0a1a2e;
  --surface-light: rgba(17, 37, 60, 0.72);
  --line: rgba(130, 184, 232, 0.13);
  --line-soft: rgba(130, 184, 232, 0.08);
  --line-strong: rgba(87, 211, 255, 0.32);
  --text: #f2f7ff;
  --text-soft: #c9d8e9;
  --muted: #91a6c0;
  --dim: #5f7895;
  --cyan: #4ee6ff;
  --cyan-strong: #18c8ff;
  --blue: #4a7dff;
  --jade: #3ee0a4;
  --gold: #f3ca72;
  --red: #ff786f;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Chakra Petch", "Noto Sans SC", sans-serif;
  --font-tile: "KaiTi", "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  --header-h: 84px;
  --container-max: 1360px;
  --pad: clamp(20px, 4vw, 40px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--cyan);
  color: #03111f;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

svg {
  display: block;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #03111f;
  font-size: 0.82rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.5) 48%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: linear-gradient(112deg, #64eeff 0%, #4dd8ff 44%, #688cff 100%);
  color: #03111f;
  box-shadow:
    0 10px 34px rgba(49, 201, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:hover {
  box-shadow:
    0 14px 40px rgba(49, 201, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(9, 24, 42, 0.58);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: rgba(94, 231, 255, 0.55);
  background: rgba(15, 40, 65, 0.75);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 0.79rem;
}

.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 0.92rem;
}

.btn-play {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(132, 222, 255, 0.35);
  color: var(--cyan);
}

.btn-play .icon {
  width: 12px;
  height: 12px;
  margin-left: 1px;
}

.btn .icon-arrow {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.25s ease, gap 0.25s ease;
}

.text-link .icon {
  width: 13px;
  height: 13px;
}

.text-link:hover {
  color: #a2f3ff;
  gap: 10px;
}

.round-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.round-btn .icon {
  width: 17px;
  height: 17px;
}

.round-btn:hover {
  border-color: var(--line-strong);
  background: rgba(68, 210, 255, 0.08);
  color: var(--cyan);
}

#gallery-prev .icon {
  transform: rotate(180deg);
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.35s var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 10, 18, 0.68);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.35s ease, border-color 0.35s ease;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.site-header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--line-soft);
}

.site-header.is-scrolled {
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(158, 224, 255, 0.24);
  box-shadow:
    0 0 0 3px rgba(55, 190, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
  box-shadow:
    0 0 0 4px rgba(55, 190, 255, 0.08),
    0 12px 30px rgba(31, 147, 255, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.045em;
}

.brand-text small {
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.75vw, 28px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 9px 0;
  color: #9bafc6;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  opacity: 0;
  transform: translate(-50%, 5px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9fb6cd;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.nav-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 8px rgba(62, 224, 164, 0.8);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.menu-btn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(7, 20, 36, 0.65);
}

.menu-btn .icon {
  width: 21px;
  height: 21px;
}

.menu-btn .menu-close {
  display: none;
}

body.menu-open .menu-btn .menu-open {
  display: none;
}

body.menu-open .menu-btn .menu-close {
  display: block;
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 127, 209, 0.18), transparent 45%),
    rgba(3, 8, 15, 0.96);
  backdrop-filter: blur(20px);
}

.mobile-menu-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: calc(var(--header-h) + 24px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner > a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu-inner > a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu-inner > a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu-inner > a:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-inner > a:nth-child(3) { transition-delay: 0.11s; }
.mobile-menu.is-open .mobile-menu-inner > a:nth-child(4) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu-inner > a:nth-child(5) { transition-delay: 0.17s; }
.mobile-menu.is-open .mobile-menu-inner > a:nth-child(6) { transition-delay: 0.2s; }

.mobile-menu-inner > a span {
  width: 26px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.mobile-menu-inner > a .icon {
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--dim);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 38px;
}

.mobile-menu-foot .btn {
  width: 100%;
}

.mobile-menu-foot p {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.66rem;
  text-align: center;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 52px);
  padding-bottom: 92px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1100px 650px at 78% -16%, rgba(37, 128, 255, 0.2), transparent 64%),
    radial-gradient(800px 600px at 10% 38%, rgba(27, 208, 200, 0.06), transparent 68%),
    linear-gradient(180deg, #050b14 0%, #06101e 62%, #040b15 100%);
}

.hero-grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(rgba(97, 185, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 185, 255, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 75% 70% at 68% 38%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 68% 38%, #000 10%, transparent 72%);
  transform: perspective(700px) rotateX(3deg);
  opacity: 0.85;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-a {
  top: 14%;
  right: 12%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(53, 177, 255, 0.18), transparent 68%);
  filter: blur(20px);
  animation: orb-drift 12s ease-in-out infinite;
}

.hero-orb-b {
  top: 45%;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(21, 196, 174, 0.09), transparent 66%);
  filter: blur(30px);
  animation: orb-drift 16s ease-in-out infinite reverse;
}

.hero-orb-c {
  bottom: -180px;
  left: 38%;
  width: 520px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(38, 99, 255, 0.12), transparent 68%);
  filter: blur(40px);
}

.hero-char {
  position: absolute;
  right: -5%;
  top: 7%;
  color: transparent;
  font-size: 46vw;
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.042;
  -webkit-text-stroke: 1px rgba(167, 222, 255, 0.6);
  user-select: none;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  flex: 1;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-top: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 21, 37, 0.55);
  color: #b6cee5;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 0 rgba(62, 224, 164, 0.55);
  animation: pulse-ring 2.4s ease-out infinite;
}

.hero-title {
  margin: 28px 0 22px;
  font-size: clamp(3.8rem, 6.7vw, 7rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.062em;
}

.title-line {
  display: block;
}

.title-accent {
  padding-bottom: 0.04em;
}

.grad-text {
  color: transparent;
  background: linear-gradient(102deg, #61efff 0%, #6d9aff 58%, #f3ca72 118%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
  letter-spacing: 0.005em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
  color: #8da4bf;
  font-size: 0.7rem;
}

.hero-proof strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

.stars svg {
  width: 12px;
  height: 12px;
}

.proof-sep {
  width: 1px;
  height: 11px;
  margin: 0 3px;
  background: var(--line);
}

/* Hero stage */

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  perspective: 1500px;
}

.stage-halo {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(47, 168, 255, 0.22) 0%, rgba(26, 94, 190, 0.09) 38%, transparent 66%);
  filter: blur(24px);
  transform: translate(4%, 0);
}

.stage-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(98, 189, 255, 0.1);
  pointer-events: none;
}

.orbit-a {
  width: 86%;
  aspect-ratio: 1;
  transform: rotateX(68deg) rotateZ(-14deg);
}

.orbit-b {
  width: 67%;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(98, 189, 255, 0.08);
  transform: rotateX(64deg) rotateZ(18deg);
}

.tablet-wrap {
  position: relative;
  width: 100%;
  max-width: 690px;
  transform-style: preserve-3d;
  animation: tablet-float 7s ease-in-out infinite;
}

.tablet {
  position: relative;
  padding: 10px;
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(56, 91, 126, 0.9), rgba(7, 16, 28, 0.98) 38%, rgba(30, 61, 92, 0.92));
  border: 1px solid rgba(131, 208, 255, 0.32);
  box-shadow:
    0 52px 110px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 55px rgba(39, 157, 255, 0.12);
  transform: perspective(1500px) rotateY(calc(-7deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg))) translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
  will-change: transform;
}

.tablet::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 3;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.tablet::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -16px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.46);
  filter: blur(14px);
  z-index: -1;
}

.tablet-edge {
  position: absolute;
  top: 14px;
  right: -5px;
  bottom: 14px;
  width: 6px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(180deg, rgba(146, 210, 255, 0.32), rgba(20, 44, 68, 0.8));
  transform: translateZ(-2px);
}

.tablet-screen {
  position: relative;
  aspect-ratio: 1171 / 656;
  overflow: hidden;
  border-radius: 18px;
  background: #07111f;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.65);
}

.tablet-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tablet-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 9, 18, 0.5) 0%, transparent 22%, transparent 72%, rgba(2, 9, 18, 0.68) 100%),
    linear-gradient(100deg, rgba(69, 150, 255, 0.12), transparent 35%, transparent 72%, rgba(53, 208, 255, 0.06));
  pointer-events: none;
}

.tablet-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.09em;
  pointer-events: none;
}

.hud-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 110, 110, 0.32);
  border-radius: 6px;
  background: rgba(18, 10, 16, 0.54);
  color: #ffd9d6;
  backdrop-filter: blur(8px);
}

.hud-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5e57;
  box-shadow: 0 0 8px rgba(255, 94, 87, 0.8);
  animation: status-pulse 1.5s ease-in-out infinite;
}

.hud-room {
  padding: 6px 9px;
  border: 1px solid rgba(144, 210, 255, 0.18);
  border-radius: 6px;
  background: rgba(4, 15, 28, 0.5);
  color: #a9c5dc;
  backdrop-filter: blur(8px);
}

.tablet-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(95, 231, 255, 0.75);
  border-style: solid;
  pointer-events: none;
}

.corner-tl {
  top: 24px;
  left: 24px;
  border-width: 1px 0 0 1px;
}

.corner-br {
  right: 24px;
  bottom: 24px;
  border-width: 0 1px 1px 0;
}

.float-card {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(111, 196, 255, 0.22);
  border-radius: 14px;
  background: rgba(6, 18, 33, 0.88);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.float-card > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-card strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.float-card strong span {
  color: var(--dim);
  font-size: 0.64rem;
  font-weight: 500;
}

.float-card small {
  color: #8098b2;
  font-size: 0.62rem;
  line-height: 1.3;
  white-space: nowrap;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
}

.float-icon .icon {
  width: 17px;
  height: 17px;
}

.float-icon-gold {
  color: var(--gold);
  background: rgba(243, 202, 114, 0.1);
  border: 1px solid rgba(243, 202, 114, 0.18);
}

.float-icon-cyan {
  color: var(--cyan);
  background: rgba(78, 230, 255, 0.08);
  border: 1px solid rgba(78, 230, 255, 0.16);
}

.float-rating {
  top: 4%;
  right: -3%;
  animation: card-float 6.5s ease-in-out infinite;
}

.float-secure {
  left: -4%;
  bottom: 4%;
  animation: card-float 7.5s ease-in-out infinite reverse;
  overflow: hidden;
}

.float-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(78, 230, 255, 0.8), transparent);
  animation: float-scan 4s ease-in-out infinite;
}

.hero-tile {
  position: absolute;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 74px;
  height: 96px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, #fcf9ef 0%, #eee8d7 54%, #d9d0ba 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 24px 38px rgba(0, 0, 0, 0.48),
    inset 0 -7px 0 #bdb39d,
    inset 0 0 0 3px rgba(255, 255, 255, 0.32);
}

.hero-tile::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(86, 79, 62, 0.16);
  border-radius: 5px;
}

.hero-tile span {
  position: relative;
  font-family: var(--font-tile);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
}

.tile-nine {
  top: 13%;
  left: -3%;
  color: #12604b;
  transform: rotate(-14deg);
  animation: tile-float-a 8s ease-in-out infinite;
}

.tile-wan {
  right: -1%;
  bottom: 12%;
  width: 62px;
  height: 81px;
  color: #a53636;
  transform: rotate(11deg);
  animation: tile-float-b 9s ease-in-out infinite;
}

.tile-wan span {
  font-size: 2.35rem;
}

/* Marquee */

.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 56px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 12, 22, 0.55);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  gap: 28px;
  padding-left: 28px;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  color: #8da6c0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.marquee-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.45;
  flex: none;
}

.scroll-hint {
  position: absolute;
  right: 26px;
  bottom: 92px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.scroll-hint i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.scroll-hint:hover {
  color: var(--cyan);
}

/* =========================================================
   Stats strip
   ========================================================= */

.stats {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(24, 63, 99, 0.09), transparent 40%),
    rgba(5, 14, 25, 0.82);
}

.stats-inner {
  display: grid;
  grid-template-columns: 1.08fr repeat(4, 1fr);
  align-items: stretch;
}

.stats-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 25px 26px 25px 0;
  border-right: 1px solid var(--line-soft);
}

.stats-kicker {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.stats-date {
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.stat {
  padding: 24px 24px;
  border-right: 1px solid var(--line-soft);
}

.stat:last-child {
  border-right: 0;
}

.stat-num {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num small {
  margin-left: 3px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.stat-name {
  display: block;
  margin-top: 9px;
  color: #c3d5e7;
  font-size: 0.75rem;
}

.stat-note {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 0.53rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* =========================================================
   Shared section heading
   ========================================================= */

.section {
  position: relative;
  padding: clamp(88px, 9vw, 138px) 0;
}

.section-head {
  margin-bottom: clamp(40px, 4.6vw, 62px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #728da9;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.kicker-num {
  color: var(--cyan);
  font-size: 0.64rem;
  font-weight: 600;
}

.kicker-line {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: end;
  gap: 38px;
}

.section-title {
  font-size: clamp(2.35rem, 4.35vw, 4.15rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.047em;
}

.section-desc {
  max-width: 480px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.92;
  justify-self: end;
}

.section-footnote {
  margin-top: 24px;
  color: var(--dim);
  font-size: 0.65rem;
  line-height: 1.7;
}

.micro-label {
  display: block;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

/* =========================================================
   Experience / bento
   ========================================================= */

.experience {
  background:
    radial-gradient(800px 460px at 4% 20%, rgba(26, 102, 168, 0.08), transparent 66%),
    var(--bg);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-main {
  position: relative;
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(14, 35, 57, 0.92), rgba(5, 14, 25, 0.9));
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.bento-main:hover {
  border-color: rgba(84, 208, 255, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.bento-window {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  background: #06101d;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 36px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 25, 43, 0.92);
  color: #67829e;
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.11em;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a435b;
}

.window-dots i:first-child { background: #3f607d; }
.window-dots i:nth-child(2) { background: #36536e; }

.window-title b {
  color: #324c66;
  font-weight: 400;
}

.window-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #7fd9b8;
  font-size: 0.48rem;
}

.window-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 6px var(--jade);
}

.bento-shot {
  position: relative;
  aspect-ratio: 1171 / 656;
  overflow: hidden;
}

.bento-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(3, 10, 18, 0.35));
  pointer-events: none;
}

.bento-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.bento-main:hover .bento-shot img {
  transform: scale(1.025);
}

.bento-main-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 25px 22px 22px;
  margin-top: auto;
}

.bento-main-copy h3 {
  margin-top: 10px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.bento-main-copy p {
  max-width: 275px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

.bento-side {
  grid-column: span 5;
  display: grid;
  gap: 18px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 158px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(49, 148, 255, 0.08), transparent 70%),
    linear-gradient(150deg, rgba(12, 30, 50, 0.88), rgba(6, 15, 27, 0.86));
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out), background 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(91, 209, 255, 0.28);
  transform: translateX(4px);
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(49, 168, 255, 0.13), transparent 70%),
    linear-gradient(150deg, rgba(13, 35, 58, 0.92), rgba(6, 15, 27, 0.9));
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(78, 230, 255, 0.16);
  border-radius: 9px;
  background: rgba(78, 230, 255, 0.06);
  color: var(--cyan);
}

.feature-icon .icon {
  width: 17px;
  height: 17px;
}

.feature-index {
  color: #4f6b86;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  max-width: 380px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.7;
}

.feature-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(90deg, rgba(78, 230, 255, 0.18), transparent 70%);
}

.match-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 17px;
  margin-top: 15px;
}

.match-bars i {
  width: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(53, 129, 255, 0.25));
  opacity: 0.65;
  animation: eq 1.6s ease-in-out infinite alternate;
}

.match-bars i:nth-child(1) { height: 35%; animation-delay: 0s; }
.match-bars i:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.match-bars i:nth-child(3) { height: 48%; animation-delay: 0.3s; }
.match-bars i:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.match-bars i:nth-child(5) { height: 58%; animation-delay: 0.6s; }

.card-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(103, 220, 255, 0.45);
  border-style: solid;
  pointer-events: none;
}

.card-corner-tl {
  top: 16px;
  right: 16px;
  border-width: 1px 1px 0 0;
}

.card-corner-br {
  right: 16px;
  bottom: 16px;
  border-width: 0 1px 1px 0;
}

/* =========================================================
   Modes
   ========================================================= */

.modes {
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 80% 72%, rgba(23, 89, 159, 0.13), transparent 64%),
    linear-gradient(180deg, #040b15 0%, #061220 50%, #040b15 100%);
}

.modes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, 88vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  transform: translateX(-50%);
}

.modes-watermark {
  position: absolute;
  right: -4%;
  top: 3%;
  color: transparent;
  font-size: 46vw;
  font-weight: 900;
  line-height: 0.72;
  opacity: 0.035;
  -webkit-text-stroke: 1px rgba(135, 215, 255, 0.75);
  pointer-events: none;
  user-select: none;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 416px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(360px 240px at 50% 0%, rgba(35, 117, 191, 0.08), transparent 72%),
    linear-gradient(160deg, rgba(13, 31, 51, 0.9), rgba(5, 14, 25, 0.92));
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 213, 255, 0.32);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
}

.mode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 227, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mode-card:hover::before {
  opacity: 1;
}

.mode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #5c7691;
  font-family: var(--font-display);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.mode-index {
  color: var(--cyan);
  font-size: 0.62rem;
}

.mode-tiles {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 102px;
  margin: 30px 0 24px;
  padding-left: 3px;
  perspective: 600px;
}

.m-tile {
  display: grid;
  place-items: center;
  width: 57px;
  height: 77px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: linear-gradient(150deg, #fbf7ea 0%, #e8e1cf 62%, #cec4ad 100%);
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.38),
    inset 0 -5px 0 #b9af98,
    inset 0 0 0 3px rgba(255, 255, 255, 0.28);
  font-family: var(--font-tile);
  font-size: 1.92rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-6deg);
  transition: transform 0.45s var(--ease-out);
}

.m-tile:nth-child(2) {
  transform: translateY(-5px) rotate(3deg);
}

.m-tile:nth-child(3) {
  transform: translateY(2px) rotate(9deg);
}

.mode-card:hover .m-tile:nth-child(1) { transform: rotate(-10deg) translateY(-4px); }
.mode-card:hover .m-tile:nth-child(2) { transform: translateY(-9px) rotate(1deg); }
.mode-card:hover .m-tile:nth-child(3) { transform: translateY(-2px) rotate(13deg); }

.m-tile-green { color: #12604b; }
.m-tile-red { color: #a63838; }
.m-tile-gold { color: #8a5e0b; }

.mode-body {
  position: relative;
  z-index: 2;
  flex: 1;
}

.mode-en {
  display: block;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.17em;
}

.mode-body h3 {
  margin-top: 7px;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mode-body p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.72;
}

.mode-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.mode-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: rgba(10, 26, 43, 0.55);
  color: #8098b0;
  font-size: 0.6rem;
  line-height: 1;
}

.mode-glow {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 210, 255, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mode-card:hover .mode-glow {
  opacity: 1;
}

.mode-card-room {
  background:
    radial-gradient(360px 240px at 50% 0%, rgba(56, 181, 139, 0.08), transparent 72%),
    linear-gradient(160deg, rgba(12, 34, 42, 0.9), rgba(5, 14, 25, 0.92));
}

.mode-card-room .mode-en {
  color: var(--jade);
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
  background:
    radial-gradient(700px 500px at 85% 18%, rgba(35, 100, 188, 0.09), transparent 66%),
    var(--bg);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.gallery-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 20, 35, 0.68);
}

.gallery-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 15px 13px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-align: left;
  color: #8ca3bc;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.gallery-tab:hover {
  background: rgba(34, 92, 135, 0.1);
  color: var(--text-soft);
}

.gallery-tab.is-active {
  border-color: rgba(83, 216, 255, 0.26);
  background: linear-gradient(100deg, rgba(43, 181, 255, 0.1), rgba(24, 84, 137, 0.05));
  color: var(--text);
}

.tab-num {
  width: 22px;
  color: #5a7997;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.gallery-tab.is-active .tab-num {
  color: var(--cyan);
}

.tab-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tab-copy strong {
  font-size: 0.84rem;
  font-weight: 600;
}

.tab-copy small {
  color: #6b849f;
  font-size: 0.64rem;
  white-space: nowrap;
}

.tab-mark {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border: 1px solid #4d6a86;
  border-radius: 50%;
  flex: none;
}

.gallery-tab.is-active .tab-mark {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(78, 230, 255, 0.7);
}

.gallery-nav-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 22px 13px 14px;
}

.gallery-nav-meta strong {
  color: transparent;
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  opacity: 0.6;
  -webkit-text-stroke: 1px rgba(111, 218, 255, 0.52);
}

.gallery-nav-meta span {
  color: #4e6c87;
  font-family: var(--font-display);
  font-size: 0.46rem;
  line-height: 1.6;
  letter-spacing: 0.13em;
  text-align: right;
}

.gallery-progress {
  height: 2px;
  margin: 0 13px 3px;
  overflow: hidden;
  background: var(--line-soft);
}

.gallery-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 10px rgba(78, 230, 255, 0.5);
  transition: width 0.45s var(--ease-out);
}

.gallery-stage {
  min-width: 0;
}

.gallery-frame {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #06101d;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

.gallery-frame-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 38px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 25, 43, 0.94);
  color: #627d98;
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.frame-dots {
  display: flex;
  gap: 5px;
}

.frame-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2c4862;
}

.frame-dots i:first-child { background: #41637f; }

.frame-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frame-ver {
  margin-left: auto;
  color: #3f5d78;
  white-space: nowrap;
}

.gallery-screen {
  position: relative;
  aspect-ratio: 1171 / 656;
  overflow: hidden;
  background: #02070e;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 0.55s ease, transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.gallery-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 16%;
  background: linear-gradient(180deg, transparent, rgba(79, 230, 255, 0.08), transparent);
  border-top: 1px solid rgba(79, 230, 255, 0.18);
  animation: screen-scan 6s linear infinite;
  pointer-events: none;
}

.frame-bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(115, 227, 255, 0.55);
  border-style: solid;
  pointer-events: none;
  opacity: 0.7;
}

.bracket-tl { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.bracket-tr { top: 16px; right: 16px; border-width: 1px 1px 0 0; }
.bracket-bl { bottom: 16px; left: 16px; border-width: 0 0 1px 1px; }
.bracket-br { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }

.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 19px;
  border-top: 1px solid var(--line-soft);
  background: rgba(8, 20, 35, 0.9);
}

.caption-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.caption-count {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.caption-count i {
  color: #506c87;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 400;
}

.caption-left strong {
  display: block;
  margin-bottom: 2px;
  color: #dce9f7;
  font-size: 0.8rem;
  font-weight: 600;
}

.caption-left small {
  display: block;
  color: #7189a2;
  font-size: 0.66rem;
  line-height: 1.55;
}

.caption-arrows {
  display: flex;
  gap: 7px;
  flex: none;
}

.gallery-note {
  margin-top: 10px;
  color: #4e6680;
  font-size: 0.61rem;
  text-align: right;
}

/* =========================================================
   Fair play
   ========================================================= */

.fairplay {
  padding-top: clamp(40px, 5vw, 60px);
}

.fairplay-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-areas:
    "copy visual"
    "compliance compliance";
  gap: 18px 30px;
  padding: clamp(28px, 4.2vw, 58px);
  border: 1px solid rgba(91, 202, 255, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(760px 520px at 82% 32%, rgba(28, 128, 199, 0.18), transparent 60%),
    radial-gradient(600px 400px at 2% 112%, rgba(28, 189, 158, 0.07), transparent 68%),
    linear-gradient(145deg, #081b2e 0%, #050d19 58%, #071528 100%);
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(159, 230, 255, 0.09);
}

.fairplay-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(92, 181, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 181, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000, transparent 80%);
  pointer-events: none;
}

.fairplay-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.glow-a {
  top: -160px;
  right: 12%;
  width: 420px;
  height: 420px;
  background: rgba(33, 132, 255, 0.14);
}

.glow-b {
  left: -120px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  background: rgba(35, 212, 174, 0.07);
}

.fairplay-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

.fairplay-copy .section-title {
  margin-top: 22px;
}

.fairplay-copy .section-desc {
  max-width: 460px;
  margin-top: 22px;
  justify-self: start;
}

.fair-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.fair-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 26, 43, 0.55);
  color: #9db5cc;
  font-size: 0.65rem;
}

.fair-chips .icon {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.pledge {
  max-width: 500px;
  margin-top: 28px;
  padding: 17px 19px;
  border-left: 2px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(243, 202, 114, 0.07), transparent);
}

.pledge-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pledge-title i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

.pledge p {
  margin-top: 6px;
  color: #899fb6;
  font-size: 0.68rem;
  line-height: 1.8;
}

.fair-visual {
  grid-area: visual;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 8px;
}

.radar {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(85, 201, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 141, 220, 0.1), transparent 64%),
    rgba(4, 17, 30, 0.35);
  box-shadow:
    inset 0 0 80px rgba(27, 146, 255, 0.08),
    0 0 80px rgba(21, 118, 255, 0.08);
  overflow: hidden;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  background: rgba(88, 192, 255, 0.1);
}

.radar::before {
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
}

.radar::after {
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(88, 196, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 34%; height: 34%; }
.ring-2 { width: 62%; height: 62%; border-style: dashed; }
.ring-3 { width: 84%; height: 84%; }

.radar-cross {
  position: absolute;
  border: 1px solid rgba(91, 207, 255, 0.09);
  border-radius: 50%;
}

.cross-x {
  width: 58%;
  height: 58%;
  top: 21%;
  left: 21%;
}

.cross-y {
  width: 76%;
  height: 76%;
  top: 12%;
  left: 12%;
  border-style: dashed;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 284deg,
    rgba(72, 222, 255, 0.05) 300deg,
    rgba(72, 222, 255, 0.22) 352deg,
    rgba(125, 244, 255, 0.58) 360deg
  );
  animation: radar-spin 7s linear infinite;
  opacity: 0.8;
}

.radar-ping {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.radar-ping::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(78, 230, 255, 0.5);
  border-radius: 50%;
  animation: ping-ring 2.4s ease-out infinite;
}

.ping-1 { top: 29%; left: 68%; }
.ping-2 { top: 67%; left: 33%; animation-delay: 0.8s; }

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(109, 229, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(29, 133, 195, 0.32), rgba(4, 20, 35, 0.92) 68%);
  box-shadow:
    0 0 0 8px rgba(61, 201, 255, 0.025),
    0 0 40px rgba(48, 197, 255, 0.18);
  transform: translate(-50%, -50%);
}

.radar-core .icon {
  width: 27px;
  height: 27px;
  color: var(--cyan);
}

.radar-core b {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.radar-core small {
  margin-top: 1px;
  color: #5e8baa;
  font-family: var(--font-display);
  font-size: 0.42rem;
  letter-spacing: 0.13em;
}

.radar-label {
  position: absolute;
  padding: 3px 6px;
  border: 1px solid rgba(92, 201, 255, 0.16);
  border-radius: 3px;
  background: rgba(4, 16, 29, 0.72);
  color: #6da8c6;
  font-family: var(--font-display);
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.label-1 { top: 15%; left: 15%; }
.label-2 { top: 17%; right: 11%; }
.label-3 { bottom: 19%; left: 10%; }
.label-4 { right: 14%; bottom: 17%; }

.radar-coord {
  position: absolute;
  color: #3f637f;
  font-family: var(--font-display);
  font-size: 0.4rem;
  letter-spacing: 0.06em;
}

.coord-1 { left: 8%; bottom: 7%; }
.coord-2 { right: 8%; top: 7%; }

.compliance-row {
  grid-area: compliance;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
  padding-top: 23px;
  border-top: 1px solid var(--line-soft);
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 22px;
  border-right: 1px solid var(--line-soft);
}

.compliance-item:first-child {
  padding-left: 0;
}

.compliance-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.c-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(79, 213, 255, 0.18);
  border-radius: 9px;
  background: rgba(39, 152, 218, 0.07);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  flex: none;
}

.c-icon .icon {
  width: 17px;
  height: 17px;
}

.compliance-item strong {
  display: block;
  color: #d4e3f1;
  font-size: 0.75rem;
  font-weight: 600;
}

.compliance-item small {
  display: block;
  margin-top: 2px;
  color: #647e97;
  font-size: 0.58rem;
  line-height: 1.45;
}

/* =========================================================
   About / timeline
   ========================================================= */

.about {
  background:
    radial-gradient(700px 500px at 20% 40%, rgba(31, 105, 168, 0.08), transparent 65%),
    linear-gradient(180deg, #050c16, #040a12);
}

.about-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.about-card {
  position: sticky;
  top: 110px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(360px 260px at 100% 0%, rgba(44, 148, 222, 0.1), transparent 68%),
    linear-gradient(150deg, rgba(12, 30, 49, 0.9), rgba(5, 14, 24, 0.92));
  overflow: hidden;
}

.about-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.about-badge {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #8099b2;
  font-family: var(--font-display);
  font-size: 0.49rem;
  letter-spacing: 0.11em;
}

.about-mark {
  color: transparent;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 0.7;
  opacity: 0.16;
  -webkit-text-stroke: 1px rgba(118, 210, 255, 0.8);
}

.about-card h3 {
  margin-top: 20px;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.about-card > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.7rem;
}

.about-facts {
  margin: 23px 0;
  border-top: 1px solid var(--line-soft);
}

.about-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.about-facts span {
  color: #627d97;
  font-size: 0.64rem;
}

.about-facts strong {
  color: #b8cce0;
  font-size: 0.66rem;
  font-weight: 500;
  text-align: right;
}

.timeline {
  position: relative;
  padding-top: 4px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 24px;
  left: 127px;
  width: 1px;
  background: linear-gradient(180deg, rgba(74, 220, 255, 0.42), rgba(74, 220, 255, 0.05));
}

.timeline-item {
  display: grid;
  grid-template-columns: 111px 32px minmax(0, 1fr);
  gap: 0;
  padding-bottom: 34px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  padding-top: 2px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.timeline-node {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 5px;
  margin-left: 10px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--bg);
  box-shadow:
    0 0 0 5px rgba(78, 230, 255, 0.04),
    0 0 16px rgba(78, 230, 255, 0.25);
}

.timeline-copy {
  padding-left: 4px;
}

.timeline-copy h3 {
  color: #dce8f5;
  font-size: 0.92rem;
  font-weight: 600;
}

.timeline-copy p {
  max-width: 560px;
  margin-top: 5px;
  color: #7890a9;
  font-size: 0.73rem;
  line-height: 1.7;
}

/* =========================================================
   Download
   ========================================================= */

.download {
  padding-top: clamp(40px, 5vw, 60px);
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: clamp(32px, 4.5vw, 70px);
  align-items: center;
  padding: clamp(30px, 4.5vw, 64px);
  border: 1px solid rgba(95, 208, 255, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(700px 500px at 78% 52%, rgba(31, 133, 213, 0.18), transparent 62%),
    linear-gradient(135deg, #0a1c30 0%, #06101d 55%, #071528 100%);
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(156, 228, 255, 0.08);
}

.download-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 184, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 184, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 80% at 72% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 72% 50%, #000, transparent 78%);
  pointer-events: none;
}

.download-char {
  position: absolute;
  right: 27%;
  top: -9%;
  color: transparent;
  font-size: 27rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.035;
  -webkit-text-stroke: 1px rgba(135, 215, 255, 0.65);
  pointer-events: none;
  user-select: none;
}

.download-glow {
  position: absolute;
  left: 32%;
  bottom: -220px;
  width: 560px;
  height: 360px;
  border-radius: 50%;
  background: rgba(35, 157, 255, 0.09);
  filter: blur(80px);
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 2;
}

.download-copy .section-title {
  margin-top: 22px;
  font-size: clamp(2.7rem, 4.8vw, 4.7rem);
}

.download-copy .section-desc {
  max-width: 450px;
  margin-top: 20px;
  justify-self: start;
}

.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 58px;
  padding: 0 21px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  background: #03070d;
  color: #fff;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  background: #070d16;
}

.store-apple {
  width: 27px;
  height: 27px;
  fill: #fff;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.store-badge small {
  color: #b7c5d6;
  font-size: 0.51rem;
  letter-spacing: 0.02em;
}

.store-badge strong {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.android-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(8, 22, 38, 0.66);
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.android-btn:hover {
  border-color: rgba(120, 203, 255, 0.3);
  background: rgba(13, 31, 51, 0.8);
}

.android-btn .icon {
  width: 20px;
  height: 20px;
  color: #7794ae;
}

.android-btn span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.android-btn strong {
  color: #b8c9da;
  font-size: 0.72rem;
  font-weight: 600;
}

.android-btn small {
  color: #5d7891;
  font-size: 0.58rem;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.download-meta div {
  padding: 0 16px;
  border-right: 1px solid var(--line-soft);
}

.download-meta div:first-child {
  padding-left: 0;
}

.download-meta div:last-child {
  border-right: 0;
}

.download-meta span {
  display: block;
  color: #607b96;
  font-size: 0.58rem;
}

.download-meta strong {
  display: block;
  margin-top: 4px;
  color: #d4e4f3;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
}

.download-note {
  margin-top: 13px;
  color: #5d7893;
  font-size: 0.63rem;
}

.qr-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 22px 19px;
  border: 1px solid rgba(112, 205, 255, 0.2);
  border-radius: 24px;
  background: rgba(5, 16, 29, 0.7);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.qr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #9eb6cd;
  font-size: 0.68rem;
}

.qr-card-head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qr-card-head .icon {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.qr-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #70d8b4;
  font-family: var(--font-display);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
}

.qr-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 7px var(--jade);
}

.qr-frame {
  position: relative;
  width: min(210px, 82%);
  margin: 18px auto 16px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.qr-frame img {
  width: 100%;
  aspect-ratio: 1;
}

.qr-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
}

.qr-tl { top: -5px; left: -5px; border-width: 2px 0 0 2px; border-radius: 3px 0 0 0; }
.qr-tr { top: -5px; right: -5px; border-width: 2px 2px 0 0; border-radius: 0 3px 0 0; }
.qr-bl { bottom: -5px; left: -5px; border-width: 0 0 2px 2px; border-radius: 0 0 0 3px; }
.qr-br { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; border-radius: 0 3px 0; }

.qr-card > p {
  color: #7892aa;
  font-size: 0.64rem;
  line-height: 1.65;
  text-align: center;
}

.qr-brand {
  margin-top: 13px;
  padding-top: 13px;
  width: 100%;
  border-top: 1px solid var(--line-soft);
  color: #4d6b87;
  font-family: var(--font-display);
  font-size: 0.47rem;
  letter-spacing: 0.22em;
  text-align: center;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  background:
    radial-gradient(700px 500px at 90% 10%, rgba(28, 103, 168, 0.08), transparent 65%),
    var(--bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro .section-title {
  margin-top: 22px;
  font-size: clamp(2.7rem, 4.2vw, 4rem);
}

.faq-intro .section-desc {
  max-width: 330px;
  margin-top: 18px;
}

.contact-card {
  display: grid;
  gap: 11px;
  margin-top: 32px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(45, 149, 224, 0.09), transparent 70%),
    rgba(8, 21, 36, 0.72);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(78, 230, 255, 0.16);
  border-radius: 9px;
  background: rgba(78, 230, 255, 0.06);
  color: var(--cyan);
}

.contact-icon .icon {
  width: 17px;
  height: 17px;
}

.contact-card h3 {
  margin-top: 1px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-card p {
  color: #7890a8;
  font-size: 0.68rem;
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 23px 0;
  color: #c9d9e9;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.25s ease;
}

.faq-q:hover,
.faq-item.is-open .faq-q {
  color: #fff;
}

.faq-q > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.faq-q i {
  width: 34px;
  color: #4e6b87;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.faq-item.is-open .faq-q i {
  color: var(--cyan);
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #7992aa;
  flex: none;
  transition: transform 0.35s var(--ease-out), color 0.3s ease, border-color 0.3s ease;
}

.faq-icon .icon {
  width: 17px;
  height: 17px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  border-color: var(--line-strong);
  color: var(--cyan);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  max-width: 720px;
  padding: 0 50px 24px 34px;
  color: #8298b0;
  font-size: 0.82rem;
  line-height: 1.9;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  padding: 64px 0 26px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(800px 500px at 18% 0%, rgba(23, 84, 136, 0.08), transparent 66%),
    #030912;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 0.72fr);
  gap: 42px;
}

.footer-brand .brand {
  gap: 11px;
}

.footer-brand .brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 11px;
}

.footer-brand > p {
  margin-top: 18px;
  color: #7189a2;
  font-size: 0.75rem;
  line-height: 1.85;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.footer-badges span {
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: #69839d;
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: #c1d2e3;
  font-family: var(--font-display);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 6px 0;
  color: #758da5;
  font-size: 0.73rem;
  transition: color 0.25s ease, gap 0.25s ease;
}

.footer-col a .icon {
  width: 11px;
  height: 11px;
}

.footer-col a:hover {
  color: var(--cyan);
  gap: 8px;
}

.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.legal-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #7c93aa;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
}

.legal-sep {
  width: 1px;
  height: 9px;
  background: var(--line);
}

.legal-note {
  max-width: 1000px;
  margin-top: 11px;
  color: #4f677f;
  font-size: 0.62rem;
  line-height: 1.8;
}

.health-note {
  margin-top: 9px;
  color: #4b6278;
  font-size: 0.6rem;
  line-height: 1.8;
}

.health-note strong {
  margin-right: 6px;
  color: #6e859c;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #59738c;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.footer-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 6px var(--jade);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5d7892;
  font-size: 0.6rem;
  transition: color 0.25s ease;
}

.back-top .icon {
  width: 13px;
  height: 13px;
}

.back-top:hover {
  color: var(--cyan);
}

/* =========================================================
   Mobile dock / toast
   ========================================================= */

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(5, 14, 25, 0.93);
  backdrop-filter: blur(18px);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
}

.mobile-dock.is-visible {
  transform: translateY(0);
}

.dock-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.dock-info .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.dock-info div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dock-info strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.dock-info small {
  color: #6d859e;
  font-size: 0.58rem;
}

.mobile-dock .btn {
  flex: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(90vw, 430px);
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(6, 20, 35, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  color: #c9dbea;
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out), visibility 0.35s ease;
  backdrop-filter: blur(16px);
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(78, 230, 255, 0.08);
  color: var(--cyan);
  flex: none;
}

.toast-icon .icon {
  width: 15px;
  height: 15px;
}

/* =========================================================
   Reveal animations
   ========================================================= */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease-out) var(--delay, 0s),
    transform 0.85s var(--ease-out) var(--delay, 0s);
  will-change: opacity, transform;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Legal page
   ========================================================= */

.legal-page {
  background:
    radial-gradient(900px 600px at 86% -8%, rgba(30, 122, 209, 0.12), transparent 62%),
    var(--bg);
}

.legal-header {
  position: relative;
  z-index: 10;
  height: var(--header-h);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 11, 20, 0.72);
  backdrop-filter: blur(16px);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8da4bc;
  font-size: 0.74rem;
  transition: color 0.25s ease, gap 0.25s ease;
}

.legal-back .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.legal-back:hover {
  color: var(--cyan);
  gap: 10px;
}

.legal-main {
  padding: 72px 0 90px;
}

.legal-hero {
  max-width: 880px;
  margin: 0 auto;
}

.legal-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.legal-lead {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.legal-notice {
  margin-top: 28px;
  padding: 17px 19px;
  border: 1px solid rgba(243, 202, 114, 0.18);
  border-left: 2px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(243, 202, 114, 0.045);
}

.legal-notice strong {
  display: block;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.legal-notice p {
  margin-top: 5px;
  color: #8c9fb4;
  font-size: 0.72rem;
  line-height: 1.8;
}

.legal-notice-inline {
  margin-top: 18px;
  margin-bottom: 24px;
}

.legal-toc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line-soft);
}

.legal-toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 12px;
  background: rgba(8, 20, 35, 0.75);
  color: #93a9c0;
  font-size: 0.7rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.legal-toc a:hover {
  background: rgba(23, 51, 78, 0.8);
  color: var(--cyan);
}

.legal-toc a span {
  color: #4f6e89;
  font-family: var(--font-display);
  font-size: 0.5rem;
}

.legal-updated {
  margin-top: 14px;
  color: #4e6882;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
}

.legal-section {
  max-width: 880px;
  margin: 56px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.legal-section-head {
  margin-bottom: 23px;
}

.legal-section-head > span {
  display: block;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.53rem;
  letter-spacing: 0.16em;
}

.legal-section h2 {
  margin-top: 7px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 24px 0 8px;
  color: #d8e6f4;
  font-size: 0.92rem;
  font-weight: 600;
}

.legal-section p,
.legal-section li {
  color: #8b9fb4;
  font-size: 0.82rem;
  line-height: 1.95;
}

.legal-section p + p {
  margin-top: 11px;
}

.legal-section ul {
  margin: 8px 0 4px;
  padding-left: 0;
}

.legal-section li {
  position: relative;
  padding-left: 16px;
}

.legal-section li + li {
  margin-top: 5px;
}

.legal-section li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(78, 230, 255, 0.55);
}

.legal-section li strong {
  color: #b8cde0;
  font-weight: 500;
}

.legal-section a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(78, 230, 255, 0.22);
}

.health-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 20, 35, 0.6);
}

.health-card p {
  color: #c0d2e4;
  font-size: 0.9rem;
  line-height: 1.9;
}

.health-card p + p {
  margin-top: 3px;
}

.legal-bottom {
  max-width: 880px;
  margin: 64px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.legal-bottom .btn {
  margin-bottom: 18px;
}

.legal-bottom p {
  color: #4e6882;
  font-size: 0.6rem;
}

.legal-footer {
  padding: 24px 0 30px;
  border-top: 1px solid var(--line-soft);
  background: rgba(3, 9, 17, 0.75);
}

.legal-footer p {
  color: #4c657c;
  font-size: 0.6rem;
  line-height: 1.8;
  text-align: center;
}

.legal-footer p + p {
  margin-top: 4px;
}

@media (max-width: 760px) {
  .legal-main {
    padding: 48px 0 64px;
  }

  .legal-hero h1 {
    margin-top: 15px;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .legal-lead {
    font-size: 0.86rem;
  }

  .legal-toc {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-section {
    margin-top: 42px;
    padding-top: 26px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 0.78rem;
    line-height: 1.9;
  }

  .legal-bottom {
    margin-top: 48px;
  }

  .legal-footer p {
    text-align: left;
  }
}

/* =========================================================
   Keyframes
   ========================================================= */

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 164, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(62, 224, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 164, 0); }
}

@keyframes tablet-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes tile-float-a {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(-11deg) translateY(-8px); }
}

@keyframes tile-float-b {
  0%, 100% { transform: rotate(11deg) translateY(0); }
  50% { transform: rotate(14deg) translateY(-7px); }
}

@keyframes orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-24px, 18px, 0) scale(1.06); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes eq {
  from { opacity: 0.35; transform: scaleY(0.7); }
  to { opacity: 0.9; transform: scaleY(1); }
}

@keyframes screen-scan {
  0% { transform: translateY(-20%); opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 0.85; }
  100% { transform: translateY(760%); opacity: 0; }
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ping-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes float-scan {
  0%, 100% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 0.7; }
  90% { transform: translateX(220px); opacity: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1240px) {
  .main-nav {
    gap: 17px;
  }

  .nav-status {
    display: none;
  }

  .float-rating {
    right: 0;
  }

  .float-secure {
    left: 0;
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
  }

  .hero-inner {
    gap: 34px;
  }

  .float-card {
    padding: 10px 12px;
    transform: scale(0.94);
  }

  .bento-main-copy {
    display: block;
  }

  .bento-main-copy p {
    max-width: 100%;
    margin-top: 14px;
  }

  .mode-card {
    padding: 19px;
    min-height: 400px;
  }

  .m-tile {
    width: 50px;
    height: 68px;
    font-size: 1.7rem;
  }
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 50px);
    padding-bottom: 110px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-title {
    font-size: clamp(3.6rem, 9vw, 6.2rem);
  }

  .hero-stage {
    width: 100%;
    max-width: 760px;
    min-height: 0;
    margin: 8px auto 0;
    padding: 20px 22px 30px;
  }

  .tablet-wrap {
    max-width: 660px;
  }

  .float-rating {
    top: 0;
    right: 2%;
  }

  .float-secure {
    bottom: 8%;
    left: 1%;
  }

  .tile-nine {
    left: 0;
    top: 17%;
  }

  .tile-wan {
    right: 0;
    bottom: 13%;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-label {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .stat {
    padding: 21px 22px;
  }

  .stat:nth-child(2),
  .stat:nth-child(4) {
    border-right: 0;
  }

  .stat:nth-child(2),
  .stat:nth-child(3) {
    border-bottom: 1px solid var(--line-soft);
  }

  .section-head-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-desc {
    max-width: 620px;
    justify-self: start;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-main,
  .bento-side {
    grid-column: 1 / -1;
  }

  .bento-side {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card {
    min-height: 210px;
  }

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

  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mode-card {
    min-height: 390px;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    padding: 9px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    mask-image: linear-gradient(90deg, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
  }

  .gallery-tab {
    scroll-snap-align: start;
  }

  .gallery-nav::-webkit-scrollbar {
    display: none;
  }

  .gallery-tab {
    min-width: 205px;
    flex: 1;
    padding: 12px;
  }

  .gallery-progress {
    display: none;
  }

  .gallery-nav-meta {
    display: none;
  }

  .fairplay-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "compliance";
    gap: 10px;
  }

  .fair-visual {
    min-height: 390px;
    margin-top: 8px;
  }

  .radar {
    width: min(380px, 92%);
  }

  .compliance-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
    margin-top: 14px;
  }

  .compliance-item:nth-child(2) {
    border-right: 0;
  }

  .compliance-item:nth-child(3) {
    padding-left: 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-card {
    position: relative;
    top: auto;
  }

  .about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
  }

  .about-facts div:last-child {
    border-bottom: 1px solid var(--line-soft);
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .qr-card {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: relative;
    top: auto;
  }

  .faq-intro .section-desc {
    max-width: 580px;
  }

  .contact-card {
    grid-template-columns: auto 1fr;
    max-width: 580px;
  }

  .contact-card .text-link {
    grid-column: 2;
  }

  .footer-top {
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    gap: 30px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-text strong {
    font-size: 0.98rem;
  }

  .brand-text small {
    font-size: 0.48rem;
  }

  .mobile-dock {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-kicker {
    margin-bottom: 18px;
  }

  .section-title {
    font-size: clamp(2.05rem, 8vw, 3rem);
  }

  .hero {
    padding-top: calc(var(--header-h) + 38px);
    padding-bottom: 86px;
  }

  .eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.06em;
  }

  .hero-title {
    margin: 24px 0 19px;
    font-size: clamp(3.1rem, 14vw, 4.7rem);
  }

  .hero-desc {
    font-size: 0.91rem;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .btn-lg {
    height: 50px;
    padding: 0 20px;
    font-size: 0.84rem;
  }

  .hero-proof {
    gap: 7px;
    margin-top: 24px;
    font-size: 0.64rem;
  }

  .hero-stage {
    padding: 16px 10px 24px;
    margin-top: 0;
  }

  .tablet {
    border-radius: 20px;
    padding: 7px;
  }

  .tablet::before {
    inset: 3px;
    border-radius: 17px;
  }

  .tablet-screen {
    border-radius: 13px;
  }

  .tablet-hud {
    top: 10px;
    left: 10px;
    right: 10px;
    font-size: 0.45rem;
  }

  .hud-live,
  .hud-room {
    padding: 4px 6px;
  }

  .tablet-corner {
    display: none;
  }

  .float-card {
    transform: scale(0.82);
    transform-origin: top right;
    padding: 9px 11px;
    border-radius: 11px;
  }

  .float-rating {
    top: -2%;
    right: -2%;
  }

  .float-secure {
    display: none;
  }

  .hero-tile {
    width: 55px;
    height: 71px;
    border-radius: 8px;
    box-shadow:
      0 16px 26px rgba(0, 0, 0, 0.42),
      inset 0 -5px 0 #bdb39d,
      inset 0 0 0 2px rgba(255, 255, 255, 0.3);
  }

  .hero-tile span {
    font-size: 2.15rem;
  }

  .tile-nine {
    top: 20%;
    left: -2%;
  }

  .tile-wan {
    width: 47px;
    height: 61px;
    right: -1%;
    bottom: 15%;
  }

  .tile-wan span {
    font-size: 1.75rem;
  }

  .marquee {
    height: 46px;
  }

  .marquee-track {
    gap: 20px;
    padding-left: 20px;
    animation-duration: 28s;
  }

  .marquee-track span {
    font-size: 0.58rem;
  }

  .stats-label {
    padding: 14px 0;
  }

  .stat {
    padding: 18px 16px;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .stat-note {
    font-size: 0.48rem;
  }

  .bento-side {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
    padding: 19px 20px;
  }

  .bento-main {
    padding: 8px;
    border-radius: 21px;
  }

  .window-bar {
    height: 32px;
    font-size: 0.46rem;
  }

  .bento-main-copy {
    padding: 20px 14px 15px;
  }

  .bento-main-copy h3 {
    font-size: 1.45rem;
  }

  .mode-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mode-card {
    min-height: 0;
    padding: 20px;
  }

  .mode-tiles {
    height: 94px;
    margin: 22px 0 18px;
  }

  .mode-body p {
    max-width: 480px;
  }

  .gallery-nav {
    margin-inline: -2px;
  }

  .gallery-tab {
    min-width: 172px;
    padding: 11px 10px;
  }

  .tab-copy strong {
    font-size: 0.78rem;
  }

  .tab-copy small {
    font-size: 0.58rem;
  }

  .gallery-caption {
    align-items: flex-end;
    padding: 14px;
  }

  .caption-left {
    gap: 11px;
  }

  .caption-count {
    font-size: 1.18rem;
  }

  .caption-left small {
    display: none;
  }

  .gallery-note {
    text-align: left;
  }

  .fairplay-panel {
    padding: 24px 19px;
    border-radius: 24px;
  }

  .fairplay-copy .section-title {
    margin-top: 18px;
  }

  .fair-visual {
    min-height: 340px;
    margin-top: 0;
  }

  .radar {
    width: min(340px, 100%);
  }

  .radar-core {
    width: 98px;
    height: 98px;
  }

  .radar-core .icon {
    width: 23px;
    height: 23px;
  }

  .compliance-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 19px;
  }

  .compliance-item,
  .compliance-item:first-child,
  .compliance-item:nth-child(3) {
    padding: 0;
    border-right: 0;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 83px;
  }

  .timeline-item {
    grid-template-columns: 68px 26px minmax(0, 1fr);
    padding-bottom: 27px;
  }

  .timeline-node {
    margin-left: 8px;
  }

  .download-panel {
    padding: 26px 19px;
    border-radius: 24px;
  }

  .download-copy .section-title {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }

  .download-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-badge,
  .android-btn {
    width: 100%;
    justify-content: center;
  }

  .android-btn span {
    align-items: flex-start;
  }

  .download-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 0;
  }

  .download-meta div:nth-child(2) {
    border-right: 0;
  }

  .download-meta div:nth-child(3) {
    padding-left: 0;
  }

  .qr-card {
    width: 100%;
  }

  .faq-q {
    padding: 19px 0;
    font-size: 0.88rem;
  }

  .faq-a-inner p {
    padding: 0 35px 20px 28px;
    font-size: 0.77rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 420px;
  }

  .footer-legal {
    margin-top: 36px;
  }

  .legal-line {
    line-height: 1.7;
    gap: 7px;
    font-size: 0.52rem;
  }

  .legal-sep {
    display: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .toast {
    bottom: 82px;
    font-size: 0.7rem;
  }

  .footer-status {
    font-size: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 18px;
  }

  .header-inner {
    gap: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 28px);
  }

  .eyebrow {
    gap: 7px;
    padding: 8px 11px;
    font-size: 0.52rem;
  }

  .hero-title {
    font-size: clamp(2.82rem, 13.4vw, 3.7rem);
    letter-spacing: -0.065em;
  }

  .hero-desc {
    font-size: 0.86rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof .proof-sep:last-of-type {
    display: none;
  }

  .stat {
    padding: 16px 12px;
  }

  .stat-num {
    font-size: 1.58rem;
  }

  .stat-name {
    font-size: 0.68rem;
  }

  .stat-note {
    font-size: 0.44rem;
  }

  .section {
    padding: 66px 0;
  }

  .section-title {
    font-size: clamp(1.92rem, 9vw, 2.6rem);
  }

  .section-desc {
    font-size: 0.86rem;
  }

  .mode-tiles {
    height: 86px;
  }

  .m-tile {
    width: 48px;
    height: 65px;
    font-size: 1.62rem;
  }

  .gallery-tab {
    min-width: 156px;
  }

  .caption-arrows .round-btn {
    width: 33px;
    height: 33px;
  }

  .fairplay-panel,
  .download-panel {
    padding: 22px 15px;
  }

  .fair-chips span {
    padding: 7px 9px;
    font-size: 0.6rem;
  }

  .radar-label {
    font-size: 0.36rem;
  }

  .radar-core b {
    font-size: 0.68rem;
  }

  .download-meta strong {
    font-size: 0.76rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-col:last-child {
    border-bottom: 0;
  }

  .footer-brand {
    grid-column: auto;
  }

  .mobile-dock {
    padding-inline: 11px;
  }

  .dock-info strong {
    font-size: 0.72rem;
  }

  .mobile-dock .btn {
    padding: 0 14px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  .scan-line {
    display: none;
  }
}
