* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* 顶部导航 */
.top-nav {
  background: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.nav-left a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-left a:hover {
  color: #007bff;
}

.nav-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-telegram {
  background: #007bff;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.btn-telegram:hover {
  background: #0056b3;
}

.btn-support {
  background: #ff69b4;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.btn-support:hover {
  background: #ff1493;
}

/* 信息横幅 */
.notice-banner {
  background: #ffe6f0;
  border: 1px solid #ff69b4;
  padding: 15px 20px;
  margin: 20px;
  border-radius: 5px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.notice-content p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5;
}

.notice-content a {
  color: #007bff;
  text-decoration: none;
}

.notice-content a:hover {
  text-decoration: underline;
}

/* 分类按钮 */
.category-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 20px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 15px 40px;
  border-radius: 10px;
  border: 2px solid #007bff;
  background: white;
  color: #007bff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  min-width: 150px;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

.category-btn.active {
  background: #007bff;
  color: white;
}

.click-hint {
  display: block;
  font-size: 12px;
  color: #999;
  font-weight: normal;
  margin-top: 5px;
}

.category-btn.active .click-hint {
  color: rgba(255,255,255,0.8);
}

/* 产品区域 */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section-header {
  background: #007bff;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 16px;
}

.folder-icon {
  margin-right: 10px;
}

.sub-category-title {
  font-size: 18px;
  font-weight: bold;
  margin: 30px 0 15px 0;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.product-card {
  background: white;
  padding: 20px;
  margin: 10px 0;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.card-icon {
  font-size: 40px;
}

.product-details {
  font-size: 14px;
  color: #666;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-right: 15px;
}

.product-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-copy {
  background: white;
  border: 2px solid #007bff;
  color: #007bff;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-copy:hover {
  background: #007bff;
  color: white;
}

.btn-buy {
  background: #007bff;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  transition: background 0.3s;
}

.btn-buy:hover {
  background: #0056b3;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-left {
    justify-content: center;
  }
  
  .nav-right {
    justify-content: center;
  }
  
  .category-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .category-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .product-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .product-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

