:root {
  --bg: #050008;
  --pink: #ff007a;
  --pink2: #ff4db8;
  --cyan: #00e5ff;
  --purple: #7c3aed;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --app-w: min(100%, 430px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}

body {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(255, 0, 122, 0.42), transparent 58%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(124, 58, 237, 0.28), transparent 50%),
    var(--bg);
}

.spark {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.spark-a {
  width: 220px;
  height: 220px;
  top: 8%;
  right: -50px;
  background: rgba(255, 0, 122, 0.35);
}

.spark-b {
  width: 180px;
  height: 180px;
  bottom: 22%;
  left: -40px;
  background: rgba(124, 58, 237, 0.28);
}

.app {
  position: relative;
  z-index: 1;
  width: var(--app-w);
  margin: 0 auto;
  padding: 0 14px;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 4px;
}

.logo {
  font-family: ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--pink2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lang {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.showcase {
  margin: 0 -14px 10px;
  padding-bottom: 4px;
}

.showcase-hero-copy {
  text-align: center;
  padding: 6px 18px 14px;
}

.showcase-hero-line1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 7.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.12;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(255, 0, 122, 0.25);
}

.showcase-hero-line2 {
  margin: 0;
  font-size: clamp(1.08rem, 4.5vw, 1.32rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.showcase-hero-lead {
  color: #ff4db8;
}

.showcase-hero-tail {
  background: linear-gradient(90deg, #ff007a 0%, #ff4db8 42%, #7dd3fc 78%, #00e5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.showcase-top {
  text-align: center;
  padding: 0 16px 6px;
}

.sg-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 0, 122, 0.12);
  border: 1px solid rgba(255, 0, 122, 0.45);
  box-shadow: 0 0 18px rgba(255, 0, 122, 0.2);
}

.showcase-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--pink2);
  text-transform: uppercase;
}

.showcase-video {
  display: flex;
  justify-content: center;
  padding: 2px 4px 10px;
}

.showcase-video .video-card {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 14;
  height: auto;
  max-height: min(72vh, 540px);
  flex: none;
  transform: none;
  scroll-snap-align: unset;
}

.showcase-video .video-card.is-active {
  transform: none;
}

.showcase-video .card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  -webkit-object-fit: cover;
  -webkit-object-position: center center;
}

.sound-unmute {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #fff;
  pointer-events: auto;
}

.sound-unmute.is-hidden {
  display: none;
}

.sound-unmute-stack {
  position: relative;
  width: 52px;
  height: 52px;
}

.sound-unmute-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 120, 200, 0.85);
  animation: soundUnmuteHalo 1.8s ease-out infinite;
  pointer-events: none;
}

.sound-unmute-core {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff0050 0%, #ff4db8 100%);
  box-shadow:
    0 8px 22px rgba(255, 0, 80, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.2);
  animation: soundUnmuteTap 1.4s ease-in-out infinite;
}

.sound-unmute-svg {
  display: block;
}

.sound-unmute-hint {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

@keyframes soundUnmuteHalo {
  0% {
    transform: scale(0.88);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes soundUnmuteTap {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

#gallerySection {
  scroll-margin-top: 10px;
}

.gallery-label {
  margin: 4px 0 10px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(255, 180, 220, 0.45);
  text-transform: uppercase;
}

.cat-nav-shell {
  padding: 0 10px 12px;
  position: relative;
}

.cat-nav-shell::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 122, 0.35),
    rgba(255, 215, 0, 0.25),
    rgba(255, 0, 122, 0.35),
    transparent
  );
  pointer-events: none;
  opacity: 0.7;
}

.cat-nav-inner.is-rtl {
  direction: rtl;
}

.cat-nav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 5px;
  border-radius: 999px;
  position: relative;
  background: linear-gradient(145deg, rgba(40, 8, 48, 0.92), rgba(12, 4, 22, 0.95));
  border: 1px solid rgba(255, 77, 184, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(255, 0, 122, 0.12),
    0 0 40px rgba(120, 0, 255, 0.08);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cat-nav-inner::-webkit-scrollbar {
  display: none;
}

.cat-nav-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff007a 0%, #ff4db8 45%, #ffb347 100%);
  box-shadow:
    0 4px 22px rgba(255, 0, 122, 0.55),
    0 0 18px rgba(255, 215, 0, 0.25);
  transition:
    transform 0.55s cubic-bezier(0.34, 1.35, 0.64, 1),
    width 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
  z-index: 0;
  pointer-events: none;
}

.cat-nav-glider::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: catGliderShine 2.8s ease-in-out infinite;
}

@keyframes catGliderShine {
  0% { background-position: 200% 0; opacity: 0; }
  35% { opacity: 1; }
  100% { background-position: -200% 0; opacity: 0; }
}

.cat-nav-tab {
  flex: 0 0 auto;
  scroll-snap-align: center;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.35s ease, transform 0.25s ease, text-shadow 0.35s ease;
}

.cat-nav-tab.is-active {
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.cat-nav-tab:not(.is-active):hover {
  color: rgba(255, 200, 230, 0.85);
}

.cat-nav-tab:active {
  transform: scale(0.96);
}

.category-stage {
  position: relative;
  padding: 0 8px 10px;
  min-height: min(96vw, 440px);
}

.category-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60%;
  height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 0, 122, 0.12), transparent 70%);
  pointer-events: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.category-grid.is-leaving {
  animation: catGridLeave 0.32s cubic-bezier(0.4, 0, 0.9, 0.2) forwards;
  pointer-events: none;
}

.category-grid.is-entering {
  animation: catGridEnter 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes catGridLeave {
  to {
    opacity: 0;
    transform: scale(0.9) translateY(12px);
    filter: blur(6px) saturate(0.6);
  }
}

@keyframes catGridEnter {
  from {
    opacity: 0;
    transform: scale(1.08) translateY(-16px);
    filter: blur(8px) brightness(1.2);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: none;
  }
}

.category-card {
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 0, 122, 0.38);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
  animation: catCardPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.category-grid.is-entering .category-card:nth-child(1) {
  animation-delay: 0.06s;
}

.category-grid.is-entering .category-card:nth-child(2) {
  animation-delay: 0.1s;
}

.category-grid.is-entering .category-card:nth-child(3) {
  animation-delay: 0.16s;
}

.category-grid.is-entering .category-card:nth-child(4) {
  animation-delay: 0.22s;
}

@keyframes catCardPop {
  from {
    opacity: 0;
    transform: scale(0.82) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.category-card {
  position: relative;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.category-card-free {
  border: 2px solid rgba(0, 255, 200, 0.75);
  padding: 0;
  overflow: visible;
  background: rgba(6, 3, 12, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  contain: layout style;
}

.category-card-free::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    0 0 14px rgba(0, 255, 200, 0.55),
    0 0 28px rgba(0, 255, 200, 0.22);
  opacity: 0.55;
  animation: catCardGlowPulse 2.2s ease-in-out infinite;
}

.category-grid .category-card-free:nth-child(2)::before {
  animation-delay: 0.45s;
}

@keyframes catCardGlowPulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.category-card-free .cat-card-media {
  border-radius: 14px;
  z-index: 1;
  overflow: visible;
}

.cat-card-photo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  width: 100%;
}

.category-card-free .cat-card-photo {
  border-radius: 14px;
}

.category-card-live {
  border: 1.5px solid rgba(255, 0, 122, 0.32);
}

.category-card:active {
  transform: scale(0.97);
  box-shadow: 0 4px 16px rgba(255, 0, 122, 0.25);
}

.cat-card-media {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover img {
    transform: scale(1.03);
  }
}

.cat-card-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 92%);
  pointer-events: none;
  z-index: 1;
}

.cat-badge {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: calc(100% - 14px);
  min-width: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
  pointer-events: none;
}

.cat-badge-anchor {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-block;
  max-width: calc(100% - 12px);
  pointer-events: none;
  overflow: visible;
  isolation: isolate;
}

/* 药丸裁切固定，只转底层大渐变 → 单圈贴边流动，避免 mask 一起转出现双环 */
.cat-badge-anchor.cat-badge-anchor-free {
  overflow: hidden;
  border-radius: 999px;
  padding: 2.5px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 220, 0.38));
  transform: translateX(-50%);
  animation: catBadgeFreePulse 1.65s ease-in-out infinite;
  animation-delay: calc(var(--badge-pulse-phase, 0) * 0.55s);
  transform-origin: center bottom;
}

@keyframes catBadgeFreePulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.08);
  }
}

.cat-badge-anchor-free::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: max(200%, 140px);
  height: max(420%, 140px);
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    #00ffe8 0deg,
    #ffffff 72deg,
    #ff0088 144deg,
    #00c8ff 216deg,
    #00ffe8 360deg
  );
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  animation: catBadgeRingSpin 2.3s linear infinite;
  animation-delay: var(--badge-ring-delay, 0s);
  backface-visibility: hidden;
}

.cat-badge-anchor-free::after {
  display: none;
}

@keyframes catBadgeRingSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.cat-badge-anchor .cat-badge-free {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  border-radius: 999px;
}

.cat-badge-free {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.76rem;
  padding: 9px 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(180deg, rgba(6, 32, 28, 0.98), rgba(4, 18, 28, 0.99));
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.cat-badge-free .cat-badge-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: none;
  opacity: 1;
}

.cat-badge-live {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(8, 4, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  font-size: 0.62rem;
}

.cat-badge-live .cat-live-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d8d;
}

.track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 22px 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

.girl-card,
.host-card,
.video-card {
  position: relative;
  flex: 0 0 min(58vw, 220px);
  height: min(78vw, 300px);
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1.5px solid rgba(255, 0, 122, 0.4);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(255, 0, 122, 0.18);
  transform: scale(0.92);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.girl-card.is-active,
.host-card.is-active,
.video-card.is-active {
  transform: scale(0.97);
  border-color: rgba(255, 77, 184, 0.9);
  box-shadow:
    0 18px 48px rgba(255, 0, 122, 0.28),
    0 0 32px rgba(255, 0, 122, 0.22);
}

.girl-card img,
.host-card img,
.video-card .card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #120018;
}

.intro {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 0, 122, 0.08);
  border: 1px solid rgba(255, 0, 122, 0.2);
}

.intro p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.intro p + p {
  margin-top: 8px;
}

.card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: rgba(255, 0, 122, 0.92);
  box-shadow: 0 4px 14px rgba(255, 0, 122, 0.45);
}

.card-tag.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 20, 60, 0.95);
  box-shadow: 0 4px 16px rgba(255, 0, 60, 0.5);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 0, 8, 0.2) 55%, rgba(5, 0, 8, 0.94) 100%);
  pointer-events: none;
}

.card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 10px 10px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.name-row strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.age {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.verified {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-size: 0.68rem;
  font-weight: 800;
}

.loc {
  font-size: 0.8rem;
  color: var(--pink2);
  font-weight: 700;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 2px;
}

.dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots button.active {
  width: 22px;
  background: linear-gradient(90deg, var(--pink), var(--pink2));
}

.hero {
  text-align: center;
  padding: 4px 0 14px;
}

.title {
  margin: 0;
  font-size: clamp(2rem, 9vw, 2.6rem);
  font-weight: 800;
  line-height: 0.98;
}

.title span {
  display: block;
}

.title .neon {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.15rem, 5.2vw, 1.45rem);
  background: linear-gradient(90deg, var(--pink), var(--pink2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
  padding: 0 2px;
}

.step {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 0, 122, 0.18);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.step strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2px;
}

.step span:last-child {
  display: block;
  font-size: 0.58rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.step-arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 0.85rem;
  color: rgba(255, 77, 184, 0.7);
  font-weight: 700;
}

.footnote {
  text-align: center;
  margin: 0 0 8px;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
  line-height: 1.4;
  padding: 0 8px;
}

.sub {
  margin: 10px auto 0;
  max-width: 300px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.stats div {
  text-align: center;
  padding: 10px 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pink2);
}

.stats span {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.pills span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 0, 122, 0.1);
  border: 1px solid rgba(255, 0, 122, 0.25);
}

.trust {
  text-align: center;
  margin: 0 0 6px;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-float {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  width: min(calc(100% - 28px), 380px);
  transform: translateX(-50%);
  pointer-events: none;
  background: none;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  animation: ctaFabFloat 3.2s ease-in-out infinite;
}

body.wa-vcall-open .cta-float,
.gallery-contact.is-open ~ .cta-float,
.cta-float.is-at-gallery {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px) scale(0.92);
  animation: none;
}

.cta-fab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.cta-fab:active .cta-fab-body {
  transform: scale(0.97);
}

.cta-fab-aura {
  position: absolute;
  inset: -8px -12px;
  border-radius: 999px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(255, 0, 122, 0.55), transparent 70%);
  filter: blur(10px);
  opacity: 0.85;
  animation: ctaFabPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.cta-fab-orbit {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(
    120deg,
    #00e5ff,
    #ff007a,
    #7c3aed,
    #00e5ff
  );
  background-size: 220% 220%;
  animation: ctaFabBorder 4s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-fab-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, #ff007a 0%, #d946ef 42%, #7c3aed 100%);
  box-shadow:
    0 10px 36px rgba(255, 0, 122, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 28px rgba(0, 229, 255, 0.22);
  transition: transform 0.15s ease;
}

.cta-fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.cta-fab-icon svg {
  display: block;
}

.cta-fab-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.cta-fab-shine {
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.cta-fab-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: ctaFabShine 2.8s ease-in-out infinite;
}

@keyframes ctaFabFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes ctaFabPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes ctaFabBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes ctaFabShine {
  0% { left: -120%; }
  45%, 100% { left: 140%; }
}

@media (min-width: 431px) {
  body { background: #000; }
  .app {
    border-left: 1px solid rgba(255, 0, 122, 0.12);
    border-right: 1px solid rgba(255, 0, 122, 0.12);
    min-height: 100vh;
  }
}

/* 切后台 / 省性能：JS 加 html.fx-pause 时暂停无限动画 */
html.fx-pause .cat-badge-anchor.cat-badge-anchor-free,
html.fx-pause .cat-badge-anchor-free::before,
html.fx-pause .category-card-free::before,
html.fx-pause .cta-float,
html.fx-pause .cta-fab-aura,
html.fx-pause .cta-fab-orbit,
html.fx-pause .cta-fab-shine::after,
html.fx-pause .sound-unmute-halo,
html.fx-pause .sound-unmute-core,
html.fx-pause .cat-nav-glider::after {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .cat-badge-anchor.cat-badge-anchor-free {
    animation: none !important;
    transform: translateX(-50%) scale(1);
  }

  .cat-badge-anchor-free::before,
  .category-card-free::before,
  .cta-fab-aura,
  .cta-fab-orbit,
  .cta-fab-shine::after,
  .sound-unmute-halo,
  .sound-unmute-core,
  .cat-nav-glider::after {
    animation: none !important;
  }

  .cta-float {
    animation: none !important;
    transform: translateX(-50%);
  }

  .cat-badge-anchor-free::before {
    transform: translate(-50%, -50%);
    background: linear-gradient(
      90deg,
      #00ffe8,
      #ffffff,
      #ff0088,
      #00c8ff
    );
  }

  .category-card-free::before {
    opacity: 0.75;
  }
}

/* WhatsApp-style video call overlay */
body.wa-vcall-open {
  overflow: hidden;
}

.wa-vcall {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.wa-vcall.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wa-vcall-frame {
  position: relative;
  width: min(100%, 430px);
  height: 100%;
  max-height: 100dvh;
  background: #0b141a;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.wa-vcall-remote {
  position: absolute;
  inset: 0;
  background: #1a2630;
}

.wa-vcall-remote-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  filter: none;
  transition: filter 0.55s ease, transform 0.55s ease;
}

.wa-vcall:not(.is-connected) .wa-vcall-remote-img {
  filter: brightness(0.92);
}

.wa-vcall.is-connected .wa-vcall-remote-img {
  filter: none;
  transform: scale(1);
  animation: waVcallKenBurns 22s ease-in-out infinite alternate;
}

.wa-vcall-remote-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 22%),
    linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 38%);
}

@keyframes waVcallKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.wa-vcall-wait {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px calc(108px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.wa-vcall-wait-panel {
  pointer-events: auto;
  width: min(100%, 280px);
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.wa-vcall.is-connected .wa-vcall-wait {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wa-vcall.is-connected .wa-vcall-wait-panel {
  transform: scale(0.96);
}

.wa-vcall-wait-title {
  margin: 0;
  max-width: 320px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.wa-vcall-countdown {
  position: relative;
  width: 152px;
  height: 152px;
}

.wa-vcall-countdown-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.wa-vcall-countdown-glow,
.wa-vcall-countdown-track,
.wa-vcall-countdown-progress {
  fill: none;
}

.wa-vcall-countdown-glow {
  stroke: rgba(37, 211, 102, 0.22);
  stroke-width: 10;
  filter: blur(4px);
}

.wa-vcall-countdown-track {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 6;
}

.wa-vcall-countdown-progress {
  stroke: url(#waCountdownGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  pathLength: 100;
  transition: stroke-dashoffset 0.95s cubic-bezier(0.33, 1, 0.68, 1);
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.55));
}

.wa-vcall-countdown-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.wa-vcall-countdown-num {
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #b8ffe0 55%, #25d366 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: waCountdownPulse 1s ease-in-out infinite;
}

@keyframes waCountdownPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.wa-vcall-countdown-unit {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.55);
}

.wa-vcall-wait-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.wa-vcall-wait-status-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.4), rgba(0, 229, 255, 0.15));
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}

.wa-vcall-wait-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 24px;
}

.wa-vcall-wait-bars span {
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(to top, #25d366, #7dffcf);
  animation: waWaitBar 1.1s ease-in-out infinite;
}

.wa-vcall-wait-bars span:nth-child(1) { height: 10px; animation-delay: 0s; }
.wa-vcall-wait-bars span:nth-child(2) { height: 18px; animation-delay: 0.12s; }
.wa-vcall-wait-bars span:nth-child(3) { height: 26px; animation-delay: 0.24s; }
.wa-vcall-wait-bars span:nth-child(4) { height: 16px; animation-delay: 0.36s; }
.wa-vcall-wait-bars span:nth-child(5) { height: 12px; animation-delay: 0.48s; }

@keyframes waWaitBar {
  0%, 100% {
    transform: scaleY(0.45);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.wa-vcall-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 16px;
}

.wa-vcall-back {
  margin: 0;
  padding: 8px;
  border: none;
  background: transparent;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.92;
}

.wa-vcall-peer {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.wa-vcall-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-vcall-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.wa-vcall-lock-ico {
  flex-shrink: 0;
  opacity: 0.9;
}

.wa-vcall-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 28px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wa-vcall-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
}

.wa-vcall-ctl {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.wa-vcall-ctl:active {
  transform: scale(0.94);
}

.wa-vcall-ctl.is-off {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.wa-vcall-ctl-end {
  width: 58px;
  height: 58px;
  background: #e74c3c;
  color: #fff;
}

.wa-vcall-ctl-end:active {
  background: #cf3c2d;
}

.wa-vcall-remote-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  background: #000;
}

.wa-vcall-remote-video.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.wa-vcall-remote-img.is-hidden {
  opacity: 0;
}

.wa-vcall.is-playing .wa-vcall-remote-img {
  animation: none;
  transform: scale(1);
}

.gallery-contact {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-contact.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.gallery-contact-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: linear-gradient(165deg, #1a2030 0%, #12161f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.gallery-contact-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.gallery-contact-sub {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 248, 240, 0.65);
}

.gallery-contact-body {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: #e2e8f0;
  max-height: 160px;
  overflow: auto;
}

.gallery-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-contact-copy {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  cursor: pointer;
}

.gallery-contact-close {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 248, 240, 0.85);
  font-size: 0.9rem;
  cursor: pointer;
}

.gallery-contact-toast {
  min-height: 1.2em;
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #4ade80;
}
