  /* 整体布局 */
  body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

/* 蓝色头部导航 */
.header-nav {
    background: #00c28e;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 8px 15px;
    min-width: 200px;
    position: relative;
}

.search-box input {
    background: none;
    border: none;
    color: white;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-box i {
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
}

.search-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
}

.search-btn:hover {
    color: white;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu a.active {
    font-weight: bold;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    position: relative;
}

.user-info-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding: 5px;
    border-radius: 6px;
    transition: background 0.2s;
}

.user-info-container:hover {
    background: rgba(255,255,255,0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.user-nickname {
    font-size: 14px;
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 150px;
    display: none;
    z-index: 1000;
}

.user-info-container:hover .user-dropdown {
    display: block;
}

.user-dropdown-item {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
}

.user-dropdown-item:hover {
    background: #f8f9fa;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.language-selector:hover .language-dropdown {
    display: block;
}

.language-dropdown-item {
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
    font-size: 14px;
}

.language-dropdown-item:hover {
    background: #f8f9fa;
}

.language-dropdown-item.active {
    background: #00c28e;
    color: white;
}
/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
}

 /* 页脚 */
 .footer {
  background: #333;
  color: white;
  padding: 30px 0;
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.payment-methods {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.payment-icon {
  width: 40px;
  height: 25px;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

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

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

.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #ccc;
}

/* 浮动客服按钮 */
.floating-service {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #00c28e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.floating-service:hover {
  transform: scale(1.1);
}

.floating-service i {
  color: white;
  font-size: 24px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .user-grid {
      grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 992px) {
  .user-grid {
      grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
      flex-direction: column;
      gap: 15px;
  }
  
  .nav-menu {
      gap: 20px;
  }
  
  .two-column-layout {
      grid-template-columns: 1fr;
  }
  
  .chat-users {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .user-grid {
      grid-template-columns: repeat(5, 1fr);
      gap: 6px;
  }
  
  .user-grid-avatar {
      width: 60px;
      height: 60px;
  }
}

@media (max-width: 480px) {
  .user-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 4px;
  }
  
  .user-grid-avatar {
      width: 50px;
      height: 50px;
  }
}

/* VIP特权卡片样式 */
.right-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.vip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vip-content {
    flex: 1;
}

.vip-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.vip-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.vip-item:last-child {
    border-bottom: none;
}

.vip-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.vip-icon.orange { background: #f6a700; }
.vip-icon.purple { background: #9b59b6; }
.vip-icon.pink { background: #ff69b4; }
.vip-icon.blue { background: #00c28e; }

.vip-icon-large {
    font-size: 20px;
}

.vip-btn {
    margin-top: 12px;
    width: 100%;
    background: #f6a700;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.vip-btn:hover {
    background: #e69500;
}