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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ca7498620:hover .c98ecfb56 {
  transform: scale(1.05);
}

.ca7498620 .c0312c6fd {
  overflow: hidden;
  position: relative;
}

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

.ca7498620 .cce8cdb76 {
  padding: 20px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.caad2b2a1 .c823efca1 {
  transition: var(--transition-base);
  color: var(--color-accent);
}

.c2c9abf85.c7e38e969 .caad2b2a1 .c823efca1 {
  transform: rotate(180deg);
}

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

.c2c9abf85.c7e38e969 .c125047d1 {
  padding: 0 24px 18px;
  max-height: 500px;
}

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

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

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

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

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

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

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

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

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

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

.cbeb39077 ul {
  list-style: none;
}

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

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

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

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

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

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

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

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

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

.c7811efd5 span {
  margin: 0 8px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .c377dc271 {
    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);
  }
  
  .c377dc271.c7e38e969 {
    display: flex;
  }
  
  .c2c380485 {
    display: flex;
  }
  
  .c30ec1e03 h1 {
    font-size: 1.8rem;
  }
  
  .c30ec1e03 p {
    font-size: 1rem;
  }
  
  .c610bec5d {
    padding: 50px 16px;
  }
  
  .c618a096a {
    font-size: 1.6rem;
  }
  
  .ccfbc6d3a {
    grid-template-columns: 1fr;
  }
  
  .cf219fd73 {
    flex: 0 0 90%;
  }
  
  .cf219fd73 img {
    height: 250px;
  }
  
  .cddb1fb20 .cba3458cc {
    grid-template-columns: 1fr;
  }
  
  .cfac0dc70 {
    grid-template-columns: 1fr;
  }
  
  .ccbf81e19 {
    grid-template-columns: 1fr;
  }
  
  .ce2aa4430 {
    flex-direction: column;
    text-align: center;
  }
  
  .c62d9154e h1 {
    font-size: 1.8rem;
  }
}

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

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

.c5584d0f4.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 {
  .cdec6dbc0, .c212a527e, .c6e010e5f, .c99b03e90, .cfe6779d9 {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
