/* ========================================
   异宠爬虫繁殖与热带雨林造景发烧友平台 - 主样式表
   迷幻雨林绿+毒箭蛙警戒红 生态微观视觉
   ======================================== */

/* CSS变量定义 */
:root {
  --color-primary: #1A4314;
  --color-accent: #FF3300;
  --color-bg: #0B120C;
  --color-card: #142416;
  --color-text: #D0E5D2;
  --color-text-muted: #8BAF8E;
  --color-border: #1E5A16;
  --color-glass: rgba(20, 36, 22, 0.85);
  --font-heading: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(26, 67, 20, 0.6);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 背景粒子效果 */
.c3c777623 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.c3c777623 .spore {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(208, 229, 210, 0.3);
  border-radius: 50%;
  animation: floatSpore 8s infinite ease-in-out;
}

@keyframes floatSpore {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* 藤蔓装饰 */
.ccff47d17, .c09abdbaa {
  position: fixed;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.ccff47d17 {
  left: 0;
  background: linear-gradient(to right, rgba(26, 67, 20, 0.6), transparent);
}

.c09abdbaa {
  right: 0;
  background: linear-gradient(to left, rgba(26, 67, 20, 0.6), transparent);
}

/* 导航栏 */
.c6d2ec652 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.cf6b0205c {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.c973509e4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.c973509e4 .c1913c4c5 {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.c72654f5e {
  display: flex;
  list-style: none;
  gap: 8px;
}

.c72654f5e a {
  color: var(--color-text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition-base);
  position: relative;
}

.c72654f5e a:hover,
.c72654f5e a.ce60cd4fa {
  background: rgba(26, 67, 20, 0.8);
  color: var(--color-accent);
}

.c0c38c394 {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.c0c38c394 span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-base);
}

/* Hero区域 - 雾气生态 */
.c06c41968 {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ce094cf15 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.c11441a3b {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(11, 18, 12, 0.8) 100%);
  pointer-events: none;
}

.c8217291f {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px;
  max-width: 800px;
}

.c8217291f h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
  line-height: 1.3;
}

.c8217291f p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.c70519905 {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(255, 51, 0, 0.4);
  border: none;
  cursor: pointer;
}

.c70519905:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 51, 0, 0.6);
}

/* 内容区域通用 */
.cdfe466ec {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
}

.cf7aea04b {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}

.cf7aea04b::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.c06ce89db {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 50px;
  font-size: 1rem;
}

/* 卡片网格 */
.c88a03b44 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.ccb2bee1a {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  text-decoration: none;
  color: var(--color-text);
  display: block;
}

.ccb2bee1a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-accent);
}

.ccb2bee1a .cc168f975 {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-base);
}

.ccb2bee1a:hover .cc168f975 {
  transform: scale(1.05);
}

.ccb2bee1a .c8d27152e {
  overflow: hidden;
  position: relative;
}

.ccb2bee1a .c6d6cb51d {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ccb2bee1a .ce07ffac0 {
  padding: 20px;
}

.ccb2bee1a .c9cc820cf {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.ccb2bee1a .c24d6f1de {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.ccb2bee1a .c0b367ba0 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* 轮播区域 */
.c0823bad8 {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.c4975696d {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 20px;
  scrollbar-width: none;
}

.c4975696d::-webkit-scrollbar {
  display: none;
}

.cf03dede2 {
  flex: 0 0 80%;
  max-width: 900px;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.cf03dede2 img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.cf03dede2 .c16f51d1a {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(11, 18, 12, 0.9));
}

/* 雷达图组件 */
.c756678ee {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--color-border);
}

.c0a5c841a {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

/* 基因计算器 */
.cbb41778f {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--color-border);
}

.cbb41778f .c23819bd3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.cbb41778f select,
.cbb41778f input {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9rem;
}

.cbb41778f .cce05ebbe {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 20px;
}

/* 温湿度面板 */
.c3864fe27 {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--color-border);
}

.c7359ec65 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.ccd66c085 {
  text-align: center;
  padding: 20px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.ccd66c085 .cb092fc74 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.ccd66c085 .c63adab86 {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* FAQ手风琴 */
.c3baeb61b {
  max-width: 800px;
  margin: 0 auto;
}

.c4ecd3770 {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.c9f82a5d1 {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: var(--transition-base);
}

.c9f82a5d1:hover {
  background: rgba(26, 67, 20, 0.3);
}

.c9f82a5d1 .ca8b022b1 {
  transition: var(--transition-base);
  color: var(--color-accent);
}

.c4ecd3770.ce60cd4fa .c9f82a5d1 .ca8b022b1 {
  transform: rotate(180deg);
}

.c544cad22 {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.c4ecd3770.ce60cd4fa .c544cad22 {
  padding: 0 24px 18px;
  max-height: 500px;
}

/* 展会预告 */
.c12c84086 {
  position: relative;
  padding-left: 30px;
}

.c12c84086::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.ca2809a18 {
  position: relative;
  padding: 20px 0 20px 30px;
  border-bottom: 1px solid rgba(30, 90, 22, 0.3);
}

.ca2809a18::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-bg);
}

.ca2809a18 .cf7fdba79 {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.ca2809a18 .cd5db7cb1 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.ca2809a18 .c81c9497d {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* 页脚 */
.c6d744b1d {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding: 60px 20px 30px;
  position: relative;
  z-index: 2;
}

.c137a2512 {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.c3df1fb6a h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.c3df1fb6a ul {
  list-style: none;
}

.c3df1fb6a ul li {
  margin-bottom: 8px;
}

.c3df1fb6a ul li a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.c3df1fb6a ul li a:hover {
  color: var(--color-accent);
}

.ca2403243 {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.ca2403243 a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.ca2403243 a:hover {
  color: var(--color-accent);
}

/* 面包屑 */
.c427e5c34 {
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.c427e5c34 a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.c427e5c34 a:hover {
  color: var(--color-accent);
}

.c427e5c34 span {
  margin: 0 8px;
}

/* 内页布局 */
.cf568b657 {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(26, 67, 20, 0.3) 0%, var(--color-bg) 100%);
}

.cf568b657 h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cf568b657 .c504e501f {
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.c30d6c85f {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.c30d6c85f h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}

.c30d6c85f h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  color: var(--color-text);
}

.c30d6c85f p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.c30d6c85f ul, .c30d6c85f ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--color-text-muted);
}

.c30d6c85f li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.c30d6c85f img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.product-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card .product-info {
  padding: 16px;
}

.product-card .product-name {
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card .product-price {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

/* 搜索页 */
.search-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.c0bcfacd8 {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.c0bcfacd8 input {
  flex: 1;
  padding: 14px 20px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-base);
}

.c0bcfacd8 input:focus {
  border-color: var(--color-accent);
}

.c0bcfacd8 button {
  padding: 14px 28px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-base);
}

.ce71eca5a .result-item {
  padding: 20px;
  background: var(--color-card);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
}

.ce71eca5a .result-item h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.ce71eca5a .result-item h3 a:hover {
  color: var(--color-accent);
}

.ce71eca5a .result-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* 变色龙模拟器 */
.c9b7c7741 {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--color-border);
  text-align: center;
}

.cf8533741 {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.c2d6f0116 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition-base);
}

.c2d6f0116:hover,
.c2d6f0116.ce60cd4fa {
  border-color: var(--color-text);
  transform: scale(1.2);
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .c8217291f h1 {
    font-size: 2.4rem;
  }
  
  .c88a03b44 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .c7359ec65 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .c72654f5e {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
  }
  
  .c72654f5e.ce60cd4fa {
    display: flex;
  }
  
  .c0c38c394 {
    display: flex;
  }
  
  .c8217291f h1 {
    font-size: 1.8rem;
  }
  
  .c8217291f p {
    font-size: 1rem;
  }
  
  .cdfe466ec {
    padding: 50px 16px;
  }
  
  .cf7aea04b {
    font-size: 1.6rem;
  }
  
  .c88a03b44 {
    grid-template-columns: 1fr;
  }
  
  .cf03dede2 {
    flex: 0 0 90%;
  }
  
  .cf03dede2 img {
    height: 250px;
  }
  
  .cbb41778f .c23819bd3 {
    grid-template-columns: 1fr;
  }
  
  .c7359ec65 {
    grid-template-columns: 1fr;
  }
  
  .c137a2512 {
    grid-template-columns: 1fr;
  }
  
  .ca2403243 {
    flex-direction: column;
    text-align: center;
  }
  
  .cf568b657 h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .c8217291f h1 {
    font-size: 1.5rem;
  }
  
  .c70519905 {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .c973509e4 {
    font-size: 1.1rem;
  }
}

/* 动画类 */
.cf5ec322b {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cf5ec322b.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 水波纹效果 */
.ripple-effect {
  position: relative;
  overflow: hidden;
}

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

.ripple-effect:hover::after {
  width: 300px;
  height: 300px;
}

/* Schema标记隐藏文本 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 打印样式 */
@media print {
  .c6d2ec652, .c3c777623, .ccff47d17, .c09abdbaa, .c6d744b1d {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
