/* ============================================
   Melodong 官网自定义样式
   ============================================ */

/* ========== MeloDonG Logo 样式 ========== */
#navbar img[alt="MeloDonG"] {
  max-height: 48px !important;
  max-width: 140px !important;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* ========== 自定义动画 ========== */

/* 滚动渐显动画 - fade-up */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动渐显动画 - fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 悬浮上浮动画 */
@keyframes hoverLift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

/* 按钮微动动画 */
@keyframes buttonHover {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* 渐变背景动画 */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ========== 动画类 ========== */
.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-hover-lift {
  transition: all 0.3s ease;
}

.animate-hover-lift:hover {
  animation: hoverLift 0.3s ease forwards;
}

.btn-hover {
  transition: all 0.2s ease;
}

.btn-hover:hover {
  animation: buttonHover 0.3s ease;
}

/* ========== 滚动渐显初始状态 ========== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 毛玻璃效果 ========== */
#navbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#navbar.scrolled {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ========== 全局样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

/* 全局防横向滚动保护 */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

* {
  max-width: 100%;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: transparent;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

body * {
  max-width: 100%;
  box-sizing: border-box;
}

/* 防止绝对定位元素导致横向滚动 */
.true-focus-border,
.true-focus-corner,
.edge-light,
.orbit,
.game-icon {
  position: absolute;
  max-width: none;
}

.border-glow-card > .edge-light {
  inset: 0 !important;
}

/* 确保导航栏固定在顶部 */
#navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

section, footer {
  position: relative;
  z-index: 1;
}

#hero {
  overflow: hidden !important;
}

#hero * {
  overflow: hidden !important;
}

/* 给body添加上边距，避免内容被固定导航栏遮挡 */
body {
  padding-top: 0;
  overflow-x: hidden;
  width: 100%;
}

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

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: transparent;
}

/* ========== 代码风格展示 ========== */
.code-block {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  background: rgba(250, 204, 21, 0.05);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.code-block-dark {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 75%;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #16213e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #16213e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.code-block-dark pre {
  margin: 0;
  padding: 16px 20px;
  overflow: hidden;
  line-height: 1.8;
  font-size: 14px;
  height: calc(1.8em * 7);
}

@media (max-width: 768px) {
  .code-block-dark pre {
    padding: 12px 14px;
    line-height: 1.6;
    font-size: 12px;
    height: calc(1.6em * 7);
  }
  
  .code-header {
    padding: 10px 12px;
  }
  
  .code-footer {
    padding: 10px 12px;
  }
  
  .code-footer button {
    font-size: 12px !important;
    padding: 8px 16px !important;
  }
}

.code-keyword {
  color: #93C5FD;
}

.code-string {
  color: #4ADE80;
}

.code-property {
  color: #FACC15;
}

.code-cursor {
  display: inline;
  color: rgba(255, 255, 255, 0.8);
  animation: cursorBlink 0.8s ease-in-out infinite;
  vertical-align: bottom;
}

/* ========== 合作伙伴Logo样式 ========== */
.partner-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 60px;
  transition: transform 0.3s ease;
}

.partner-logo-container:hover {
  transform: scale(1.2);
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo-container:hover .partner-logo {
  opacity: 1;
}

/* ========== 营销客户Logo样式 ========== */
.client-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 48px;
  transition: transform 0.3s ease;
}

.client-logo-container:hover {
  transform: scale(1.45);
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.client-logo-container:hover .client-logo {
  opacity: 1;
}

/* ========== 合作伙伴Logo样式 - 深色背景版本 ========== */
.partner-logo-container-light {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 70px;
  padding: 12px 16px;
  border: 1px solid rgba(180, 190, 205, 0.5);
  border-radius: 12px;
  background: #e8eaef;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25), -1px -1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-logo-container-light:hover {
  transform: scale(1.45);
  border-color: rgba(150, 165, 185, 0.6);
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.35), -1px -1px 0 rgba(255, 255, 255, 0.6);
}

.partner-logo-light {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.partner-logo-container-light:hover .partner-logo-light {
  opacity: 1;
}

/* ========== 营销客户Logo样式 - 深色背景版本 ========== */
.client-logo-container-light {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 60px;
  padding: 8px 12px;
  border: 1px solid rgba(180, 190, 205, 0.45);
  border-radius: 10px;
  background: #e8eaef;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.22), -1px -1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-logo-container-light:hover {
  transform: scale(1.45);
  border-color: rgba(150, 165, 185, 0.55);
  box-shadow: 5px 5px 18px rgba(0, 0, 0, 0.33), -1px -1px 0 rgba(255, 255, 255, 0.5);
}

.client-logo-light {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.client-logo-container-light:hover .client-logo-light {
  opacity: 1;
}



/* ========== 页脚背景效果 ========== */
.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 0;
}

/* ========== 图标底部金黄色闪粉效果 ========== */

/* ========== 服务卡片图标样式 ========== */
.service-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(251, 191, 36, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon {
  width: 24px;
  height: 24px;
}

/* ========== 导航栏滚动高亮 ========== */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
  color: #374151;
}

#navbar.scrolled .nav-link {
  color: #374151;
}

.nav-link:hover {
  color: #FACC15;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FACC15;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ========== 卡片悬浮效果 ========== */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(250, 204, 21, 0.15);
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes avatarFlyIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(-180deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes spinBorder {
  to { --border-angle: 360deg; }
}

.cursor {
  color: #FACC15;
  animation: blink 1s ease-in-out infinite;
}

.hero-left {
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-right {
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.circles-container {
  width: 600px;
  height: 600px;
  position: relative;
}

@media (min-width: 769px) {
  .circles-container {
    width: 600px;
    height: 600px;
  }
}

@media (max-width: 768px) {
  .circles-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
  }
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.count-number {
  font-size: 64px;
  font-weight: 600;
  color: #FACC15;
  font-family: 'Inter', sans-serif;
}

.count-label {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  animation: avatarFlyIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.avatar-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
  transition: transform 0.3s ease;
}

.avatar-img:hover {
  transform: scale(1.1);
}

.avatar-img.avatar-round {
  border-radius: 50%;
}

.avatar-img.avatar-square {
  border-radius: 16px;
}

.avatar-img.avatar-square-lg {
  border-radius: 20px;
}

.avatar-img.avatar-lg {
  width: 78px;
  height: 78px;
}

.avatar-img.avatar-xl {
  width: 88px;
  height: 88px;
}

.avatar-img.avatar-yellow {
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.6);
}

.avatar-img.avatar-pink {
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
}

.avatar-img.avatar-blue {
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
}

.avatar-img.avatar-orange {
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.6);
}

.btn-border-wrap {
  position: relative;
  padding: 3px;
  border-radius: 50px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  display: inline-block;
}

.btn-border-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  background: conic-gradient(from var(--border-angle), #FACC15, #060218, #FACC15, #060218, #FACC15);
  animation: spinBorder 3s linear infinite;
}

.hero-btn {
  position: relative;
  background: #060218;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.hero-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #FACC15;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.hero-btn:hover::after {
  transform: translateX(0);
}

.hero-btn:hover {
  color: #000000;
}

.cursor-indicator {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 3.6s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 游戏宇宙轨道动效 ========== */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
}

.star-dot {
  background: white;
  border-radius: 50%;
}

.star-dot.small {
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.4), 0 0 8px rgba(255, 255, 255, 0.2);
  animation: twinkleSmall 3s ease-in-out infinite;
}

.star-dot.medium {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 16px rgba(255, 255, 255, 0.3);
  animation: twinkleMedium 2.5s ease-in-out infinite;
}

.star-dot.large {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 24px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
  animation: twinkleLarge 2s ease-in-out infinite;
}

.star-dot.blue {
  background: rgba(66, 153, 225, 0.9);
}

.star-dot.purple {
  background: rgba(139, 92, 246, 0.9);
}

.star-dot.yellow {
  background: rgba(250, 204, 21, 0.9);
}

.star-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.star-shape {
  background: transparent;
}

.star-shape::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: inherit;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
  animation: starShapeGlow 3s ease-in-out infinite;
}

@keyframes twinkleSmall {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

@keyframes twinkleMedium {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes twinkleLarge {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes starShapeGlow {
  0%, 100% { opacity: 0.3; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
  50% { opacity: 1; text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.6); }
}

.games-universe {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.universe-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 20;
}

.center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.35) 0%, rgba(250, 204, 21, 0.15) 40%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
  filter: blur(15px);
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.center-icon {
  position: relative;
  font-size: 100px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(250, 204, 21, 0.9));
  z-index: 30;
}

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

.center-text-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 40;
}

.center-text-container {
  display: inline-block;
  animation: slowRotate 20s linear infinite;
  transform-origin: center center;
}

.center-text, .center-label {
  animation: counterRotate 20s linear infinite;
}

@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.center-text {
  font-size: 36px;
  font-weight: 800;
  color: #FACC15;
  margin: 0;
  animation: scaleIn 1.5s ease-out;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.8);
  letter-spacing: 2px;
}

.center-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 2px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 230px;
  height: 230px;
  animation: orbitSpin 35s linear infinite;
}

.orbit-2 {
  width: 400px;
  height: 400px;
  animation: orbitSpin 55s linear infinite reverse;
}

.orbit-3 {
  width: 580px;
  height: 580px;
  animation: orbitSpin 75s linear infinite;
}

.orbit-4 {
  width: 740px;
  height: 740px;
  animation: orbitSpin 95s linear infinite reverse;
}

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

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid transparent;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter: blur(0.5px);
}

.orbit-puzzle {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0) 0%, rgba(59, 130, 246, 0.9) 43%, rgba(59, 130, 246, 0) 100%) border-box;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.orbit-casual {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0) 0%, rgba(16, 185, 129, 0.9) 43%, rgba(16, 185, 129, 0) 100%) border-box;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.orbit-strategy {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0) 0%, rgba(249, 115, 22, 0.9) 43%, rgba(249, 115, 22, 0) 100%) border-box;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.orbit-simulation {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0) 0%, rgba(139, 92, 246, 0.9) 43%, rgba(139, 92, 246, 0) 100%) border-box;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.game-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
}

.game-img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.game-icon:hover .game-img {
  transform: scale(1.6);
  box-shadow: 0 0 45px rgba(250, 204, 21, 0.8);
  border-color: rgba(250, 204, 21, 0.8);
}

.game-icon.switching .game-img {
  animation: iconSwitch 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes iconSwitch {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

.game-tooltip {
  display: none;
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-icon:hover .game-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

.orbit-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px currentColor;
}

.orbit-puzzle-label { color: #60A5FA; }
.orbit-casual-label { color: #34D399; }
.orbit-strategy-label { color: #FB923C; }
.orbit-simulation-label { color: #A78BFA; }

.games-universe:hover .orbit {
  animation-play-state: paused;
}

.games-universe:hover .game-icon {
  animation-play-state: paused;
}

/* ========== 响应式样式 ========== */
@media (max-width: 1024px) {
  .circles-container {
    transform: scale(1);
  }
  
  .orbit-1 { width: 150px; height: 150px; }
  .orbit-2 { width: 280px; height: 280px; }
  .orbit-3 { width: 420px; height: 420px; }
  .orbit-4 { width: 540px; height: 540px; }
  
  .game-img { width: 55px; height: 55px; }
  
  .partner-logo-container {
    width: 80px;
    height: 50px;
  }
  
  .client-logo-container {
    width: 60px;
    height: 38px;
  }
  
  .partner-logo-container-light {
    width: 100px;
    height: 60px;
    padding: 10px 14px;
  }
  
  .client-logo-container-light {
    width: 80px;
    height: 50px;
    padding: 6px 10px;
  }
  
  .m-footer-bg {
    width: 240px;
    height: 200px;
  }
  
  .m-footer-bg::after {
    font-size: 100px;
  }
}

@media (max-width: 1200px) {
  .hero-title-container {
    font-size: clamp(3.2rem, 13vw, 5rem) !important;
    white-space: nowrap !important;
  }
  
  .hero-subtitle-container {
    font-size: clamp(1.1rem, 3.5vw, 1.3rem) !important;
  }
  
  .hero-tagline-container {
    padding: 5px 20px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  .hero-title-container {
    font-size: clamp(2.8rem, 15vw, 4.2rem) !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.1em !important;
  }
  
  .hero-title-container .vp-space {
    display: none !important;
  }
  
  .hero-title-container .vp-word {
    display: block !important;
  }
  
  .hero-subtitle-container {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem) !important;
    margin-bottom: 2rem !important;
  }
  
  .hero-tagline-container {
    padding: 6px 20px !important;
    font-size: 11px !important;
    letter-spacing: 0.25em !important;
    margin-bottom: 1.5rem !important;
  }
  
  .circles-container {
    transform: scale(1);
  }
  
  .cursor-indicator {
    margin-left: 0 !important;
  }
  
  .orbit-1 { width: 38.3%; height: 38.3%; }
  .orbit-2 { width: 66.7%; height: 66.7%; }
  .orbit-3 { width: 96.7%; height: 96.7%; }
  .orbit-4 { width: 123.3%; height: 123.3%; }
  
  .center-text {
    font-size: 28px;
  }
  
  .center-planet {
    width: 80px;
    height: 80px;
  }
  
  .game-img {
    width: 50px;
    height: 50px;
  }
  
  .partner-logo-container {
    width: 70px;
    height: 45px;
  }
  
  .client-logo-container {
    width: 50px;
    height: 32px;
  }
  
  .partner-logo-container-light {
    width: 85px;
    height: 52px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  
  .client-logo-container-light {
    width: 70px;
    height: 44px;
    padding: 6px 8px;
    border-radius: 8px;
  }
  
  /* 合作伙伴和客户logo区域移动端gap调整 */
  #partners .flex,
  #clients .flex {
    gap-x: 8px !important;
    gap-y: 12px !important;
  }
  
  /* 服务卡片移动端调整 */
  #services .grid {
    gap: 16px !important;
  }
  
  .m-footer-bg {
    width: 180px;
    height: 150px;
    right: -40px;
  }
  
  .m-footer-bg::after {
    font-size: 70px;
  }
}

@media (max-width: 480px) {
  .circles-container {
    transform: scale(1);
  }
  
  .count-number {
    font-size: 32px;
  }
  
  .orbit-1 { width: 38.3%; height: 38.3%; }
  .orbit-2 { width: 66.7%; height: 66.7%; }
  .orbit-3 { width: 96.7%; height: 96.7%; }
  .orbit-4 { width: 123.3%; height: 123.3%; }
  
  .center-text {
    font-size: 22px;
  }
  
  .center-icon {
    font-size: 40px;
  }
  
  .center-planet {
    width: 60px;
    height: 60px;
  }
  
  .game-img {
    width: 45px;
    height: 45px;
  }
  
  .partner-logo-container {
    width: 55px;
    height: 35px;
  }
  
  .client-logo-container {
    width: 40px;
    height: 26px;
  }
  
  .partner-logo-container-light {
    width: 70px;
    height: 44px;
    padding: 6px 8px;
    border-radius: 8px;
  }
  
  .client-logo-container-light {
    width: 55px;
    height: 36px;
    padding: 4px 6px;
    border-radius: 6px;
  }
  
  /* 合作伙伴和客户logo区域小屏幕gap调整 */
  #partners .flex,
  #clients .flex {
    gap-x: 6px !important;
    gap-y: 10px !important;
  }
  
  /* Hero区域小屏幕调整 */
  .hero-tagline-container {
    padding: 6px 16px !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
  }
  
  .m-footer-bg {
    width: 120px;
    height: 100px;
    right: -20px;
  }
  
  .m-footer-bg::after {
    font-size: 50px;
  }
}

.hero-content {
  font-family: 'Roboto Flex', sans-serif;
  overflow: hidden;
}

.hero-tagline-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 40, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 5px 22px;
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  font-size: clamp(0.65rem, 1.5vw, 0.85rem);
  font-weight: 950;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FACC15;
}

.hero-title-container {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: clamp(3.2rem, 13vw, 6.2rem) !important;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 100%;
  overflow: hidden;
}

.hero-title-main {
  color: white;
}

.hero-title-sub {
  color: #FACC15;
}

.hero-subtitle-container {
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 100%;
  width: 100%;
  margin-bottom: 3rem;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.typewriter-container {
  display: inline-block;
  max-width: 100%;
}

.typewriter-text {
  display: inline;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.typewriter-cursor {
  display: inline;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  animation: cursorBlink 0.8s ease-in-out infinite;
  vertical-align: text-bottom;
}

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

.variable-proximity-container {
  position: relative;
  cursor: default;
}

.vp-word {
  display: inline-block;
  white-space: nowrap;
  font-size: inherit;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .hero-title-container .vp-word {
    white-space: normal;
    display: block;
  }
  
  .hero-title-container .vp-space {
    display: none;
  }
  
  .hero-subtitle-container .vp-word {
    white-space: normal;
    display: inline;
  }
  
  .hero-subtitle-container .vp-space {
    display: inline;
    width: 0.2em;
  }
}

.hero-tagline-container .vp-space {
  display: inline-block;
  width: 0.6em;
}

.vp-space {
  display: inline-block;
  width: 0.35em;
}

.vp-char {
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  transition: font-variation-settings 0.15s ease-out;
  vertical-align: middle;
}

.vp-white {
  color: #ffffff;
}

.vp-yellow {
  color: #FACC15;
}

.vp-gray {
  color: rgba(255, 255, 255, 0.7);
}


