/* 糖心官网原创样式 - clwsscc.com */
:root {
  --zhuse-zhuyao: #ff6b9d;
  --zhuse-ciyao: #4ecdc4;
  --zhuse-qiangdiao: #45b7d1;
  --zhuse-beijing: #0a0a1a;
  --zhuse-beijing-er: #1a1a2e;
  --zhuse-wenzi: #ffffff;
  --zhuse-wenzi-er: #b8b8b8;
  --zhuse-biankuang: #333366;
  --jianbian-zhuyao: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --jianbian-tangxin: linear-gradient(45deg, #ff6b9d, #4ecdc4, #45b7d1);
  --yinying-qingwei: 0 2px 10px rgba(0,0,0,0.1);
  --yinying-zhongdeng: 0 8px 30px rgba(0,0,0,0.2);
  --yinying-qianglie: 0 15px 50px rgba(0,0,0,0.3);
}

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

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: var(--zhuse-beijing);
  color: var(--zhuse-wenzi);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 加载动画 */
.jiazai-donghua {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--zhuse-beijing);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.jiazai-xuanzhuan {
  width: 50px;
  height: 50px;
  border: 3px solid var(--zhuse-zhuyao);
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: xuanzhuan 1s linear infinite;
}

@keyframes xuanzhuan {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 导航栏 */
.daohang {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--zhuse-biankuang);
}

.daohang.yincang {
  transform: translateY(-100%);
}

.daohang-rongqi {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: var(--jianbian-tangxin);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.daohang-caidan {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.daohang-xiangmu a {
  color: var(--zhuse-wenzi);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.daohang-xiangmu a:hover {
  background: var(--jianbian-tangxin);
  transform: translateY(-2px);
  box-shadow: var(--yinying-zhongdeng);
}

.sousuo-kuang {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(5px);
}

.sousuo-kuang input {
  background: transparent;
  border: none;
  color: var(--zhuse-wenzi);
  outline: none;
  width: 200px;
  padding: 0.5rem;
}

.sousuo-kuang input::placeholder {
  color: var(--zhuse-wenzi-er);
}

.sousuo-anniu {
  background: var(--jianbian-tangxin);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.sousuo-anniu:hover {
  transform: scale(1.05);
  box-shadow: var(--yinying-qingwei);
}

/* 主要内容区域 */
.zhuyao-neirong {
  margin-top: 80px;
  min-height: 100vh;
}

/* 英雄区域 */
.yingxiong-quyu {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--jianbian-zhuyao);
  overflow: hidden;
}

.yingxiong-quyu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.yingxiong-neirong {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.yingxiong-biaoti {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: var(--jianbian-tangxin);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: biaoti-donghua 2s ease-out;
}

@keyframes biaoti-donghua {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.yingxiong-miaoshu {
  font-size: 1.2rem;
  color: var(--zhuse-wenzi-er);
  margin-bottom: 2rem;
  animation: miaoshu-donghua 2s ease-out 0.5s both;
}

@keyframes miaoshu-donghua {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.yingxiong-anniu {
  display: inline-flex;
  gap: 1rem;
  animation: anniu-donghua 2s ease-out 1s both;
}

@keyframes anniu-donghua {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.anniu {
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.anniu-zhuyao {
  background: var(--jianbian-tangxin);
  color: white;
}

.anniu-zhuyao:hover {
  transform: translateY(-3px);
  box-shadow: var(--yinying-qianglie);
}

.anniu-ciyao {
  background: transparent;
  color: var(--zhuse-wenzi);
  border: 2px solid var(--zhuse-zhuyao);
}

.anniu-ciyao:hover {
  background: var(--zhuse-zhuyao);
  transform: translateY(-3px);
  box-shadow: var(--yinying-zhongdeng);
}

/* 特色区域 */
.tese-quyu {
  padding: 5rem 0;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
}

.rongqi {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.quyu-biaoti {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  background: var(--jianbian-tangxin);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tese-wangge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tese-kapian {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.tese-kapian::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: var(--jianbian-tangxin);
  transition: all 0.3s ease;
}

.tese-kapian:hover::before {
  left: 0;
}

.tese-kapian:hover {
  transform: translateY(-10px);
  box-shadow: var(--yinying-qianglie);
  background: rgba(255, 255, 255, 0.1);
}

.tese-tubiao {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--jianbian-tangxin);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tubiao-maibo 2s ease-in-out infinite;
}

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

.tese-biaoti {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--zhuse-wenzi);
}

.tese-miaoshu {
  color: var(--zhuse-wenzi-er);
  line-height: 1.6;
}

/* 统计区域 */
.tongji-quyu {
  padding: 5rem 0;
  background: var(--jianbian-zhuyao);
  position: relative;
  overflow: hidden;
}

.tongji-quyu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(69, 183, 209, 0.1) 0%, transparent 50%);
}

.tongji-wangge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.tongji-xiangmu {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.tongji-xiangmu:hover {
  transform: translateY(-5px);
  box-shadow: var(--yinying-zhongdeng);
}

.tongji-shuzi {
  font-size: 3rem;
  font-weight: bold;
  background: var(--jianbian-tangxin);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.tongji-biaoqian {
  color: var(--zhuse-wenzi-er);
  font-size: 1.1rem;
}

/* 页脚 */
.yejiao {
  background: var(--zhuse-beijing-er);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--zhuse-biankuang);
}

.yejiao-neirong {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.yejiao-kuai {
  text-align: center;
}

.yejiao-biaoti {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--zhuse-wenzi);
}

.yejiao-lianjie {
  list-style: none;
}

.yejiao-lianjie li {
  margin-bottom: 0.5rem;
}

.yejiao-lianjie a {
  color: var(--zhuse-wenzi-er);
  text-decoration: none;
  transition: all 0.3s ease;
}

.yejiao-lianjie a:hover {
  color: var(--zhuse-zhuyao);
  transform: translateX(5px);
}

.yejiao-dixian {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--zhuse-biankuang);
  color: var(--zhuse-wenzi-er);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .daohang-rongqi {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .daohang-caidan {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .sousuo-kuang input {
    width: 150px;
  }
  
  .yingxiong-biaoti {
    font-size: 2.5rem;
  }
  
  .yingxiong-anniu {
    flex-direction: column;
    align-items: center;
  }
  
  .tese-wangge {
    grid-template-columns: 1fr;
  }
  
  .tongji-wangge {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rongqi {
    padding: 0 1rem;
  }
  
  .yingxiong-biaoti {
    font-size: 2rem;
  }
  
  .tongji-wangge {
    grid-template-columns: 1fr;
  }
}

/* 点击波纹效果 */
.bolang-xiaoguo {
  position: relative;
  overflow: hidden;
}

.bolang-xiaoguo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.bolang-xiaoguo:active::after {
  width: 300px;
  height: 300px;
}

/* 滚动动画 */
.gundong-donghua {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.gundong-donghua.xianshi {
  opacity: 1;
  transform: translateY(0);
}