/* =========================================
   1. 基础重置 (Preflight - Simplified)
   ========================================= */


/* =========================================
   2. CSS 变量系统 (模拟 Tailwind 渐变与特效)
   ========================================= */
* {
  margin:0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Poppins, -apple-system, BlinkMacSystemPont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, system-ui;
}
:root {
  /* 默认渐变色标，防止为空时出错 */

  --spacing: 0.25rem;
  --vh: 1vh;
  --vw: 1vw;
}

/* =========================================
   3. 布局与定位 (Layout & Position)
   ========================================= */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; } /* 转义 [] */

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.inline-flex { display: inline-flex; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.-space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: -0.5rem; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-rows-3 { grid-template-rows: repeat(3, minmax(0, 1fr)); }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }
.pointer-events-none { pointer-events: none; }

/* =========================================
   4. 尺寸与间距 (Sizing & Spacing)
   ========================================= */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.h-screen { height: 100dvh; height:100vh; }
.h-9 { height: calc(var(--spacing) * 9); }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-xl { max-width: 36rem; }
.max-w-md { max-width: 28rem; }
.max-h-\[85vh\] { max-height: 85vh; }

.w-4 { width: 1rem; } .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.w-14 { width: 3.5rem; } .h-14 { height: 3.5rem; }
.w-16 { width: 4rem; } .h-16 { height: 4rem; }

/* Arbitrary Values */
.w-\[300px\] { width: 300px; } .h-\[300px\] { height: 300px; }
.w-\[250px\] { width: 250px; } .h-\[250px\] { height: 250px; }
.w-\[200px\] { width: 200px; } .h-\[200px\] { height: 200px; }
.w-\[140px\] { width: 140px; } .h-\[100px\] { height: 100px; }
.w-\[110px\] { width: 110px; } .h-\[110px\] { height: 110px; }
.w-\[100px\] { width: 100px; } .h-\[100px\] { height: 100px; }
.w-\[12px\] { width: 12px; } .h-\[12px\] { height: 12px; }

.left-\[-20\%\] { left: -20%; }
.right-\[-10\%\] { right: -10%; }
.left-\[40\%\] { left: 40%; }
.top-\[-4px\] { top: -4px; }
.right-\[-6px\] { right: -6px; }

.aspect-square { aspect-ratio: 1 / 1; }

.p-1 { padding: 0.25rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-0 { padding-top: 0px; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pb-10 { padding-bottom: 2.5rem; }

.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.ml-3 { margin-left: 0.75rem; }

/* =========================================
   5. 视觉效果 (Visual & Decorations)
   ========================================= */
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-none { border-radius: 0px; }
.rounded-t-\[30px\] { border-top-left-radius: 30px; border-top-right-radius: 30px; }

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

.shadow-lg { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); box-shadow: var(--tw-shadow); }
.shadow-2xl { --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); box-shadow: var(--tw-shadow); }
.shadow-none { box-shadow: none; }
.shadow-\[0_0_8px_\#ff0055\,0_0_16px_\#ff0055\] { box-shadow: 0 0 8px #ff0055, 0 0 16px #ff0055; }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)); }

.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.blur-\[70px\] { filter: blur(70px); }
.blur-\[15px\] { filter: blur(15px); }
.object-cover { object-fit: cover; }

/* 颜色与渐变引擎 */
.bg-white { background-color: #fff; }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.bg-white\/20 { background-color: rgb(255 255 255 / 0.2); }
.bg-white\/30 { background-color: rgb(255 255 255 / 0.3); }
.bg-black { background-color: #000; }
.bg-black\/10 { background-color: rgb(0 0 0 / 0.1); }
.bg-black\/20 { background-color: rgb(0 0 0 / 0.2); }
.bg-black\/40 { background-color: rgb(0 0 0 / 0.4); }
.bg-black\/80 { background-color: rgb(0 0 0 / 0.8); }
.bg-green-400 { background-color: #4ade80; }
.bg-gray-900 { background-color: #111827; }
/* Arbitrary Backgrounds */
.bg-\[\#1c1c1c\]\/95 { background-color: rgb(28 28 28 / 0.95); }
.bg-\[\#0a0a0a\]\/95 { background-color: rgb(10 10 10 / 0.95); }
.bg-\[\#ff0055\] { background-color: #ff0055; }
.bg-\[\#7928ca\] { background-color: #7928ca; }
.bg-\[\#FFD700\] { background-color: #FFD700; }
.bg-\[\#FFD700\]\/40 { background-color: rgb(255 215 0 / 0.4); }

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }

.from-\[\#1a0a1f\] { --tw-gradient-from: #1a0a1f; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-\[\#2d1435\] { --tw-gradient-to: rgb(45 20 53 / 0); --tw-gradient-stops: var(--tw-gradient-from), #2d1435, var(--tw-gradient-to); }
.to-\[\#1a0a1f\] { --tw-gradient-to: #1a0a1f; }

.from-black\/90 { --tw-gradient-from: rgb(0 0 0 / 0.9); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-black\/50 { --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.5), var(--tw-gradient-to); }
.from-black\/80 { --tw-gradient-from: rgb(0 0 0 / 0.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-black\/70 { --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.7), var(--tw-gradient-to); }
.to-black\/80 { --tw-gradient-to: rgb(0 0 0 / 0.8); }

.from-pink-300 { --tw-gradient-from: #f9a8d4; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-pink-400 { --tw-gradient-from: #f472b6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-pink-500 { --tw-gradient-from: #ec4899; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-pink-500\/10 { --tw-gradient-from: rgb(236 72 153 / 0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-pink-500\/5 { --tw-gradient-from: rgb(236 72 153 / 0.05); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-pink-600\/20 { --tw-gradient-from: rgb(219 39 119 / 0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }

.via-pink-400 { --tw-gradient-stops: var(--tw-gradient-from), #f472b6, var(--tw-gradient-to); }
.via-pink-500 { --tw-gradient-stops: var(--tw-gradient-from), #ec4899, var(--tw-gradient-to); }
.via-rose-600\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgb(225 29 72 / 0.2), var(--tw-gradient-to); }

.to-rose-400 { --tw-gradient-to: #fb7185; }
.to-rose-600 { --tw-gradient-to: #e11d48; }
.to-pink-500 { --tw-gradient-to: #ec4899; }
.to-pink-600 { --tw-gradient-to: #db2777; }
.to-purple-500\/10 { --tw-gradient-to: rgb(168 85 247 / 0.1); }
.to-purple-500\/5 { --tw-gradient-to: rgb(168 85 247 / 0.05); }
.to-purple-600\/20 { --tw-gradient-to: rgb(147 51 234 / 0.2); }
.to-transparent { --tw-gradient-to: transparent; }

.from-\[\#ff0055\] { --tw-gradient-from: #ff0055; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-\[\#ff3399\] { --tw-gradient-stops: var(--tw-gradient-from), #ff3399, var(--tw-gradient-to); }
.to-\[\#ff0055\] { --tw-gradient-to: #ff0055; }
.from-\[\#FFD700\] { --tw-gradient-from: #FFD700; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-\[\#FDB931\] { --tw-gradient-to: #FDB931; }

.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

.border-pink-400 { border-color: #f472b6; }
.border-pink-400\/50 { border-color: rgb(244 114 182 / 0.5); }
.border-pink-400\/30 { border-color: rgb(244 114 182 / 0.3); }
.border-pink-400\/20 { border-color: rgb(244 114 182 / 0.2); }
.border-pink-500\/20 { border-color: rgb(236 72 153 / 0.2); }
.border-white\/15 { border-color: rgb(255 255 255 / 0.15); }
.border-white\/20 { border-color: rgb(255 255 255 / 0.2); }
.border-black { border-color: #000; }

/* =========================================
   6. 字体与文本 (Typography)
   ========================================= */
.text-transparent { color: transparent; }
.text-white { color: #fff; }
.text-white\/90 { color: rgb(255 255 255 / 0.9); }
.text-white\/80 { color: rgb(255 255 255 / 0.8); }
.text-white\/60 { color: rgb(255 255 255 / 0.6); }
.text-white\/50 { color: rgb(255 255 255 / 0.5); }
.text-white\/30 { color: rgb(255 255 255 / 0.3); }
.text-black { color: #000; }
.text-gray-900 { color: #111827; }

.text-pink-200 { color: #fbcfe8; }
.text-pink-200\/80 { color: rgb(251 207 232 / 0.8); }
.text-pink-200\/70 { color: rgb(251 207 232 / 0.7); }
.text-pink-200\/60 { color: rgb(251 207 232 / 0.6); }
.text-pink-200\/40 { color: rgb(251 207 232 / 0.4); }
.text-pink-300 { color: #f9a8d4; }
.text-pink-300\/60 { color: rgb(249 168 212 / 0.6); }

.text-blue-400 { color: #60a5fa; }
.text-green-400 { color: #4ade80; }
.text-yellow-400 { color: #facc15; }
.fill-yellow-400 { fill: #facc15; }
.text-\[\#FFD700\] { color: #FFD700; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[2\.5rem\] { font-size: 2.5rem; }
.text-\[1\.25rem\] { font-size: 1.25rem; }
.text-\[0\.65rem\] { font-size: 0.65rem; }

/* =========================================
   7. 动画与过渡 (Animations & Transitions)
   ========================================= */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/*
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes breathe {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 0 25px rgba(236, 72, 153, 0.6); }
}
@keyframes bounce-slow {
  0%, 100% { transform: translateY(-15%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes pulse-gold {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn95 { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes slideInUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideInLeft { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.animate-breathe { animation: breathe 3s infinite ease-in-out; background-size: 200% auto; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s infinite; }
.animate-bounce-slow { animation: bounce-slow 2s infinite; }
.animate-pulse-dot { animation: pulse-dot 2s infinite; }
.animate-pulse-gold { animation: pulse-gold 2s infinite; }
.animate-bounce-soft { animation: bounce-soft 3s infinite ease-in-out; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 50% { opacity: .5; } }

.animate-in { animation-fill-mode: forwards; animation-duration: 0.3s; }
.fade-in { animation-name: fadeIn; }
.zoom-in-95 { animation-name: zoomIn95; }
.slide-in-from-left { animation-name: slideInLeft; }
.slide-in-from-bottom { animation-name: slideInUp; }
.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }
.animate-zoom-in { animation: zoomIn 0.3s ease-out forwards; }
.animate-slide-in-up { animation: slideInUp 0.5s ease-out forwards; }
*/
/* =========================================
   8. 交互状态 (State Variants)
   ========================================= */
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:scale-105:hover { transform: scale(1.05); }
.active\:scale-95:active { transform: scale(0.95); }

.hover\:text-pink-300:hover { color: #f9a8d4; }
.hover\:from-pink-600:hover { --tw-gradient-from: #db2777; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.hover\:to-rose-700:hover { --tw-gradient-to: #be123c; }
.hover\:shadow-pink-500\/50:hover { --tw-shadow: 0 10px 15px -3px rgb(236 72 153 / 0.5), 0 4px 6px -4px rgb(236 72 153 / 0.5); box-shadow: var(--tw-shadow); }
.hover\:shadow-lg:hover { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); box-shadow: var(--tw-shadow); }
.hover\:bg-white\/20:hover { background-color: rgb(255 255 255 / 0.2); }
.group:hover .group-hover\:translate-x-full { transform: translateX(100%); }

/* =========================================
   9. 响应式 (Responsive)
   ========================================= */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-\[2\.8rem\] { font-size: 2.8rem; }
  .sm\:text-\[1\.4rem\] { font-size: 1.4rem; }
  .sm\:text-\[0\.95rem\] { font-size: 0.95rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .sm\:text-\[0\.7rem\] { font-size: 0.7rem; }
  .sm\:w-\[160px\] { width: 160px; }
  .sm\:h-\[120px\] { height: 120px; }
  .sm\:w-\[130px\] { width: 130px; }
  .sm\:h-\[130px\] { height: 130px; }
  .sm\:mb-4 { margin-bottom: 1rem; }
  .sm\:space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.875rem; }
  .sm\:h-14 { height: 3.5rem; }
  .sm\:w-6 { width: 1.5rem; } .sm\:h-6 { height: 1.5rem; }
  .sm\:mr-3 { margin-right: 0.75rem; }
  .sm\:ml-2 { margin-left: 0.5rem; }
  .sm\:px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
  .sm\:gap-1 { gap: 0.25rem; }
  .sm\:w-4 { width: 1rem; } .sm\:h-4 { height: 1rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
}

@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* =========================================
   10. 其他辅助 (Misc)
   ========================================= */
.safe-area-bottom { padding-bottom: env(safe-area-inset-bottom); }

.animate-float {
  animation: float 3s ease-in-out infinite;
  will-change: transform;
}

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

.animate-bounce-slow {
  animation: bounce-slow 2s ease-in-out infinite;
  will-change: transform;
}

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

.animate-breathe {
  animation: breathe 3s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
  will-change: box-shadow;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5), 0 0 40px rgba(236, 72, 153, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.8), 0 0 60px rgba(236, 72, 153, 0.5);
  }
}

@keyframes fadeInAnimation {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadein {
  animation: fadeInAnimation 700ms forwards cubic-bezier(0, 0, 0.2, 1);
}

@keyframes slideInAnimation {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slidein {
  animation: slideInAnimation 500ms forwards ease-out;
}

@keyframes zoomInAnimation {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-zoomin {
  animation: zoomInAnimation 300ms forwards;
}
.loaderWrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
}
.loaderWrap.show {
  display: flex;
}

.loaderFirst {
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  /* 定义径向渐变背景图案 */
  --_s: no-repeat radial-gradient(farthest-side, #fff 94%, #0000);
  background:
          var(--_s) 0 0,
          var(--_s) 100% 0,
          var(--_s) 100% 100%,
          var(--_s) 0 100%;
  background-size: 40% 40%;
  animation: l50 .5s infinite;
  opacity: 0.6;
}
/*  */
.page-container {
  width: 100%;
  background-color: #0a050a; /* 极深紫黑背景 */
  color: white;
  min-height: 100vh;
  padding-bottom: 50px;
}

/* 模块 1 样式 */
.intro-section {
  padding: 40px 24px;
  text-align: center;
}

.main-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 0 10px #ff2d7d;
}

.logo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 24px;
}

.line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, #ff2d7d, transparent);
}

.logo-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.description {
  color: #a0a0a0;
  font-size: 13px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 30px;
}

.cta-button {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(to right, #ff2d7d, #fb245a);
  color: white;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 5px 20px rgba(255, 45, 125, 0.4);
  cursor: pointer;
}

/* 模块 2 卡片样式 */
.cards-section {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05); /* 毛玻璃感 */
  border: 1px solid rgba(255, 45, 125, 0.2);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
}

.icon-wrapper {
  margin-bottom: 16px;
  color: #ff2d7d;
  background: rgba(255, 45, 125, 0.1);
  padding: 12px;
  border-radius: 14px;
}

.icon-people {
  margin-left: 7px;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.card-text {
  font-size: 12px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}
.app-viewport { background-color: #121212; display: flex; justify-content: center; min-height: 100vh; }
.mobile-container { width: 360px; background-color: #0a050a; color: white; font-family: sans-serif; }
.module-section { padding: 40px 20px; border-bottom: 1px solid rgba(255, 45, 125, 0.15); }

/* 模块 3: 气泡选择样式 */
.selection-visual { height: 240px; position: relative; margin-bottom: 25px; }
.user-bubble { position: absolute; border-radius: 50%; background-size: cover; border: 2px solid #ff2d7d; box-shadow: 0 0 15px rgba(255, 45, 125, 0.4); transition: transform 0.3s; }
.ub-1 { width: 60px; height: 60px; top: 10px; left: 10px; opacity: 0.7; }
.ub-2 { width: 75px; height: 75px; bottom: 20px; left: 30px; opacity: 0.8; }
.ub-3 { width: 120px; height: 120px; top: 40px; left: 50%; transform: translateX(-50%); z-index: 5; border-width: 3px; }
.ub-4 { width: 65px; height: 65px; top: 15px; right: 20px; opacity: 0.7; }
.ub-5 { width: 80px; height: 80px; bottom: 30px; right: 10px; opacity: 0.8; }

/* 引导手势与涟漪 */
.tap-guide { position: absolute; bottom: -10px; right: 0;width: 40px; height: 40px; background: rgba(255, 45, 125, 0.4); border-radius: 50%; animation: pulse 1.5s infinite; display: flex; justify-content: center;align-items: center; }
.hand-icon { position: relative; font-size: 24px; animation: bounce 1s infinite; }

/* 装饰元素 */
.decor { position: absolute; color: #ff2d7d; font-size: 18px; opacity: 0.6; }
.d-heart-1 { top: 10%; right: 30%; animation: float 3s infinite ease-in-out; }
.d-star-1 { bottom: 20%; left: 10%; transform: rotate(20deg); }
.d-cube-1 { width: 10px; height: 10px; border: 2px solid #ff2d7d; top: 50%; right: 5%; transform: rotate(45deg); }

/* 模块 4: 视频互动样式 */
.video-visual { margin-bottom: 25px; position: relative; }
.main-caller { width: 100%; height: 320px; background-size: cover; background-position: center; border-radius: 24px; position: relative; overflow: hidden; }
.video-info { position: absolute; top: 15px; left: 15px; background: rgba(0,0,0,0.5); padding: 5px 12px; border-radius: 20px; display: flex; gap: 10px; align-items: center; }
.timer { font-size: 12px; font-weight: bold; }
.voice-waves { display: flex; gap: 2px; }
.voice-waves span { width: 3px; height: 8px; background: #ff2d7d; animation: wave 0.6s infinite alternate; }

.mini-self { position: absolute; top: 15px; right: 15px; width: 85px; height: 110px; border-radius: 12px; border: 2px solid #ff2d7d; background-size: cover; background-position: center; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.wave-hand { position: absolute; bottom: 5px; right: 5px; font-size: 18px; }

.control-bar { position: absolute; bottom: 20px; width: 100%; display: flex; justify-content: center; gap: 15px; }
.c-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.end-call { background: #ff3b30 !important; }

/* 通用文字 */
.text-content { text-align: center; }
.neon-title { font-size: 24px; font-weight: bold; color: #fff; margin-bottom: 12px; text-shadow: 0 0 10px #ff2d7d; }
.main-desc { font-size: 14px; color: #ccc; line-height: 1.6; }

/* 动画库 */
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes wave { from { height: 4px; } to { height: 12px; } }
.mobile-container { width: 360px; background-color: #0a050a; color: white; font-family: sans-serif; overflow: hidden; }
.module-section { padding: 45px 20px; border-bottom: 1px solid rgba(255, 45, 125, 0.15); }

/* 模块 5: 雷达匹配 */
.radar-visual { height: 280px; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; }
.radar-wave { position: absolute; border: 1px solid rgba(255, 45, 125, 0.3); border-radius: 50%; animation: radar-spread 4s infinite linear; }
.wave-1 { width: 100px; height: 100px; }
.wave-2 { width: 100px; height: 100px; animation-delay: 1.3s; }
.wave-3 { width: 100px; height: 100px; animation-delay: 2.6s; }

.radar-center-btn { width: 70px; height: 70px; background: linear-gradient(135deg, #ff2d7d, #fb245a); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 0 30px #ff2d7d; }
.btn-glow { position: absolute; width: 80px; height: 80px; background: #ff2d7d; border-radius: 50%; filter: blur(20px); opacity: 0.4; animation: breath 2s infinite; }

.orbit-user { position: absolute; width: 45px; height: 45px; border-radius: 50%; background-size: cover; border: 1.5px solid #ff2d7d; box-shadow: 0 0 10px rgba(255, 45, 125, 0.5); z-index: 5; }
.flag { position: absolute; bottom: -5px; right: -5px; font-size: 10px; }

/* 分散定位 */
.ou-1 { transform: translate(-80px, -90px); }
.ou-2 { transform: translate(90px, -70px); }
.ou-3 { transform: translate(-100px, 20px); }
.ou-4 { transform: translate(110px, 40px); }
.ou-5 { transform: translate(-50px, 100px); }
.ou-6 { transform: translate(60px, 110px); }

/* 模块 6: 匹配成功 */
.match-success-visual { height: 320px; position: relative; margin-bottom: 30px; }
.match-frame { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.match-girl { width: 220px; height: 160px; border-radius: 20px; border: 2px solid #ff2d7d; background-size: cover; background-position: center; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 2; }
.match-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #ff2d7d; color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; white-space: nowrap; }

.connection-bar { width: 140px; height: 40px; background: rgba(255,45,125,0.1); border-radius: 20px; display: flex; align-items: center; justify-content: center; position: relative; margin: -10px 0; z-index: 3; border: 1px solid rgba(255,45,125,0.3); }
.voice-bars { display: flex; gap: 3px; }
.voice-bars span { width: 3px; height: 15px; background: #ff2d7d; border-radius: 2px; animation: voice-jump 0.5s infinite alternate; }

.match-boy { width: 140px; height: 100px; border-radius: 15px; border: 1.5px solid rgba(255,255,255,0.3); background-size: cover; background-position: center; position: relative; align-self: flex-end; margin-right: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.hi-tag { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.6); font-size: 10px; padding: 3px 8px; border-radius: 10px; }

.heart-line { position: absolute; top: 20%; left: 10%; width: 80%; height: 60px; pointer-events: none; opacity: 0.5; }

/* 通用样式 */
.text-content { text-align: center; }
.neon-title { font-size: 24px; font-weight: bold; color: #fff; margin-bottom: 12px; text-shadow: 0 0 10px #ff2d7d; }
.main-desc { font-size: 14px; color: #ccc; line-height: 1.6; }

/* 动画库 */
@keyframes radar-spread { 0% { width: 80px; height: 80px; opacity: 1; } 100% { width: 320px; height: 320px; opacity: 0; } }
@keyframes breath { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.1); } }
@keyframes voice-jump { from { height: 5px; opacity: 0.5; } to { height: 20px; opacity: 1; } }
.mobile-container { width: 100%; background-color: #0a050a; color: white; font-family: sans-serif; overflow-x: hidden; }
.module-section { padding: 40px 20px; border-bottom: 1px solid rgba(255, 45, 125, 0.1); }

.neon-title { font-size: 22px; font-weight: bold; color: #fff; margin-bottom: 24px; text-shadow: 0 0 10px #ff2d7d; }

/* FAQ 样式修正 */
.faq-item { background: rgba(255, 255, 255, 0.03); border: 1.5px solid rgba(255, 45, 125, 0.15); border-radius: 12px; margin-bottom: 10px; padding: 15px; cursor: pointer; }
.faq-header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0;}
.faq-icon-active { transform: rotate(180deg); }
.rotate { transform: rotate(180deg); }
.faq-content { margin-top: 12px; font-size: 12px; color: #999; line-height: 1.5; border-top: 1px solid rgba(255, 45, 125, 0.1); padding-top: 10px; display: none;}
.faq-item-active .faq-content { display: block; }

/* CTA 样式 */
.cta-visual { display: flex; justify-content: center; align-items: center; margin-bottom: 25px; }
.phone-mockup { width: 180px; height: 300px; margin: 0 auto; border-radius: 28px; border: 5px solid #222; background-size: cover; background-position: center; position: relative; box-shadow: 0 0 30px rgba(255, 45, 125, 0.3); margin-bottom: 25px;}
.ui-header { font-size: 10px; background: #ff2d7d; color: white; padding: 3px 10px; border-radius: 10px; font-weight: bold; margin-bottom: 10px; display: inline-block; }
.ui-video-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }

/* 模块 9: 参考图2高度还原 Footer */
.footer-copy-v2 { padding: 30px 20px 50px; position: relative; background: #050205; }
.footer-top-glow { height: 1.5px; width: 100%; background: linear-gradient(90deg, transparent, #ff2d7d, transparent); position: absolute; top: 0; left: 0; box-shadow: 0 0 10px #ff2d7d; }
.footer-main-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.brand-logo { font-size: 22px; font-weight: 900; color: white; letter-spacing: -0.5px; }
.footer-socials { display: flex; gap: 15px; }
.s-icon { font-size: 18px; opacity: 0.8; cursor: pointer; }

.footer-bottom-row { text-align: left; }
.policy-links { display: flex; gap: 15px; margin-bottom: 15px; }
.policy-links a { color: #666; font-size: 11px; text-decoration: none; }
.copyright-text { color: #444; font-size: 10px; }

.text-content { text-align: center; }
.main-desc { font-size: 14px; color: #ccc; margin-bottom: 30px; }
.footer {
  padding-left: 16px;
  padding-right: 16px;
  background: #0F0108;
  padding-bottom: 12px;
}
.footer-links {
  padding-top: 50px;
  /* padding-left: 14px;
  padding-right: 14px; */
  padding-bottom: 46px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.18);
  gap: 10px;
}
.flex-col {
  flex-direction: column;
}
.links-items {
  margin-top: 14px;
}
.links-items a{
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0;
  line-height: 14px;
  font-weight: 400;
}
.links-title {
  font-size: 14px;
  color: #fff;
  letter-spacing: 0;
  /* text-align: center; */
  line-height: 14px;
  font-weight: 700;
}
.copyright {
  margin-top: 14px;
}
.copyright div {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 16px;
  font-weight: 400;
}
.copyright-bottom {
  margin-top: 16px;
}

.lang-selector-wrapper {
    position: relative;
    /* 修改点：向下移动，间距为 60px */
    margin-top: 60px; 
    width: 140px;
    z-index: 20; 
}

.lang-selector-wrapper .lang-btn {
    background-color: #2F2A30;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    transition: background-color 0.2s;
    box-sizing: border-box;
}

.lang-open {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-top: 1px solid #3E3840 !important;
}

.lang-selector-wrapper .lang-btn:hover {
    background-color: #3E3840;
}

.lang-selector-wrapper .arrow-icon {
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: #9CA3AF;
}

/* JS控制的旋转类 */
.lang-selector-wrapper .arrow-icon.rotate {
    transform: rotate(180deg);
}

.lang-selector-wrapper .lang-dropdown {
    position: absolute;
    bottom: 44px;
    left: 0;
    width: 100%;
    background-color: #2F2A30;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    z-index: 30;
    overflow: hidden;
    animation: fadeInHtml 0.15s ease-out;
    /* 默认隐藏，由JS控制显示 */
    display: none;
}

.lang-selector-wrapper .lang-header {
    padding: 10px 20px; 
    height: 44px;      
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    border-bottom: 1px solid #3E3840;
    cursor: pointer; 
    box-sizing: border-box;
}

.lang-selector-wrapper .lang-header:hover {
    background-color: #3E3840;
}

.lang-selector-wrapper .lang-list {
    list-style: none;
    padding: 0 0 5px 0;
    margin: 0;
}

.lang-selector-wrapper .lang-item {
    padding: 10px 20px;
    font-size: 15px;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.lang-selector-wrapper .lang-item:hover {
    color: #ffffff;
    background-color: #3E3840;
}

@keyframes fadeInHtml {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.cards-title {
  width: 100%;
  text-align: center;
  font-size: 22px;
  text-shadow: 0 0 10px #ff2d7d;
}

[dir="rtl"] .icon-video {
  margin-left: 8px;
  margin-right: 0;
}