* {
  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;
  }
}


/* ========== 新增样式：Hero Section 和 Logo ========== */

/* Logo 样式 */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #ff6b6b;
}

.logo-icon {
  font-size: 28px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.logo-text {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 40px;
  margin-bottom: 40px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(255, 142, 83, 0.9) 50%, rgba(255, 167, 38, 0.9) 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: white;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.hero-image {
  position: relative;
  z-index: 1;
  animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-showcase {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-card {
  position: absolute;
  width: 180px;
  height: 120px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.showcase-card:hover {
  transform: scale(1.1) translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.card-1 {
  transform: rotate(-15deg) translateX(-80px);
  animation-delay: 0s;
}

.card-2 {
  transform: rotate(0deg) translateY(-20px);
  z-index: 2;
  animation-delay: 0.5s;
}

.card-3 {
  transform: rotate(15deg) translateX(80px);
  animation-delay: 1s;
}

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

.hero-features {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  margin-top: 40px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-icon {
  font-size: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: scale(1.1) rotate(10deg);
  background: rgba(255, 255, 255, 0.3);
}

.feature-text {
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.notice-icon {
  font-size: 32px;
  flex-shrink: 0;
  animation: bounce 2s ease-in-out infinite;
}

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

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 20px; }
  .hero-description { font-size: 16px; }
  .card-showcase { height: 250px; }
  .showcase-card { width: 150px; height: 100px; font-size: 50px; }
  .card-1 { transform: rotate(-10deg) translateX(-60px); }
  .card-3 { transform: rotate(10deg) translateX(60px); }
  .hero-features { flex-wrap: wrap; gap: 30px; }
}

@media (max-width: 768px) {
  .hero-section { min-height: 400px; padding: 40px 15px 30px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 18px; }
  .hero-description { font-size: 14px; }
  .card-showcase { height: 200px; }
  .showcase-card { width: 120px; height: 80px; font-size: 40px; }
  .card-1 { transform: rotate(-8deg) translateX(-40px); }
  .card-3 { transform: rotate(8deg) translateX(40px); }
  .feature-icon { width: 60px; height: 60px; font-size: 30px; }
  .feature-text { font-size: 14px; }
}
