/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #f0f0f0;
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
  overflow-x: hidden;
}

#subtitle {
  text-align: center;
}

.blue-btn {
  display: inline-block;
  padding: 10px 20px;
  height: 45px;
  width: 120px;
  background-color: #4859B8;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.blue-btn:hover {
  background-color: #0E42D2;
}

.blue-btn:active {
  background-color: #0A34A0;
}

/* 毛玻璃效果基础类 */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 背景装饰 */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg-decoration::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: rgba(106, 90, 205, 0.2);
  border-radius: 50%;
  filter: blur(100px);
}

.bg-decoration::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: rgba(30, 144, 255, 0.2);
  border-radius: 50%;
  filter: blur(100px);
}

/* 导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(15px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

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

.toggle-btn, .menu-btn {
  padding: 8px 16px;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.menu-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 折叠菜单样式 */
.menu-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin: 10px auto;
  width: 90%;
  max-width: 1200px;
}

.menu-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
}

.menu-items a {
  color: #f0f0f0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.menu-items a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 主内容区样式 */
.main-content {
  padding: 30px 0 0px;
}

.project-section {
  display: none;
}

.project-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

/* 标题区域样式 */
.title-section {
  text-align: center;
  margin-bottom: 60px;
}

.rgb-title {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rgbShift 15s linear infinite;
}

@keyframes rgbShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.title-desc {
  font-size: 1.2rem;
  color: #ddd;
  max-width: 600px;
  margin: 0 auto;
}

/* 悬浮展示区域样式 */
.showcase {
  margin-bottom: 80px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.world-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) brightness(0.7);
}

.float-ball {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  animation: float 3s ease-in-out infinite;
}

.float-ball img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-1 { top: 20%; left: 20%; }
.float-2 { top: 60%; left: 30%; animation-delay: 0.5s; }
.float-3 { top: 40%; left: 50%; animation-delay: 1s; }
.float-4 { top: 70%; left: 70%; animation-delay: 1.5s; }
.float-5 { top: 30%; left: 80%; animation-delay: 2s; }

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

/* 渠道服务卡片样式 */
.channels-section {
  margin-bottom: 80px;
}

.channels-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  border-radius: 20px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.channel-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.more-card {
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

/* 介绍卡片区域样式 */
.intro-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.intro-card {
  padding: 30px;
  text-align: center;
  border-radius: 20px;
}

.intro-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.intro-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.intro-desc {
  color: #ddd;
  line-height: 1.6;
}

/* 页脚样式 */
.footer {
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .rgb-title {
    font-size: 4rem;
  }
  
  .intro-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rgb-title {
    font-size: 3rem;
  }
  
  .channels-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .float-ball {
    width: 60px;
    height: 60px;
  }
  
  .map-container {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .rgb-title {
    font-size: 2.5rem;
  }
  
  .channels-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .intro-section {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
  
  .float-ball {
    width: 50px;
    height: 50px;
  }
}