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

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

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

.c70ef6032 .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; }
}

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

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

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

/* 导航栏 */
.c563213cd {
  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);
}

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

.cc9b4aa6d {
  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;
}

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

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

.c56ae954e 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;
}

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

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

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

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

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

.cc65fb443 {
  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;
}

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

.ccc7d1a1b 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;
}

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

.c8d0f39b9 {
  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;
}

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

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

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

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

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

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

.c461f4506 {
  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;
}

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

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

.c461f4506:hover .c9069bf73 {
  transform: scale(1.05);
}

.c461f4506 .c8927262d {
  overflow: hidden;
  position: relative;
}

.c461f4506 .cb3e84aed {
  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;
}

.c461f4506 .c69e9f8d7 {
  padding: 20px;
}

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

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

.c461f4506 .ce4c2f7f2 {
  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);
}

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

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

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

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

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

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

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

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

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

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

.c82ebfaa6 select,
.c82ebfaa6 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;
}

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

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

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

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

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

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

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

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

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

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

.c207ae0ae .c10b216ae {
  transition: var(--transition-base);
  color: var(--color-accent);
}

.cea3793e0.c6b9d6e1a .c207ae0ae .c10b216ae {
  transform: rotate(180deg);
}

.cdd89f142 {
  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;
}

.cea3793e0.c6b9d6e1a .cdd89f142 {
  padding: 0 24px 18px;
  max-height: 500px;
}

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

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

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

.c0d3919bb::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);
}

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

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

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

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

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

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

.c634e70ff ul {
  list-style: none;
}

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

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

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

.cbd69a393 {
  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);
}

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

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

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

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

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

.cdc12a201 span {
  margin: 0 8px;
}

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

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

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

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

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

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

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

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

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

.c115376c6 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;
}

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

.c02dca139 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);
}

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

.c02dca139 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);
}

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

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .c56ae954e {
    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);
  }
  
  .c56ae954e.c6b9d6e1a {
    display: flex;
  }
  
  .c70470759 {
    display: flex;
  }
  
  .ccc7d1a1b h1 {
    font-size: 1.8rem;
  }
  
  .ccc7d1a1b p {
    font-size: 1rem;
  }
  
  .cb6d8f48d {
    padding: 50px 16px;
  }
  
  .cb080ed97 {
    font-size: 1.6rem;
  }
  
  .c1d08f579 {
    grid-template-columns: 1fr;
  }
  
  .c99c5a5c5 {
    flex: 0 0 90%;
  }
  
  .c99c5a5c5 img {
    height: 250px;
  }
  
  .c82ebfaa6 .c3d794b5d {
    grid-template-columns: 1fr;
  }
  
  .c67a8e2d5 {
    grid-template-columns: 1fr;
  }
  
  .cb301e0f8 {
    grid-template-columns: 1fr;
  }
  
  .cbd69a393 {
    flex-direction: column;
    text-align: center;
  }
  
  .c3f63f394 h1 {
    font-size: 1.8rem;
  }
}

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

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

.cff3fcb66.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 {
  .c563213cd, .c70ef6032, .cdf64740e, .ccc8073c7, .cf2508954 {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
