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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ca87b9101:hover .c669f9f0a {
  transform: scale(1.05);
}

.ca87b9101 .c695dc513 {
  overflow: hidden;
  position: relative;
}

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

.ca87b9101 .c5f8684bc {
  padding: 20px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c580e6ba1 .cf55f1574 {
  transition: var(--transition-base);
  color: var(--color-accent);
}

.c94ff1244.c7a7ad3e7 .c580e6ba1 .cf55f1574 {
  transform: rotate(180deg);
}

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

.c94ff1244.c7a7ad3e7 .c3e8917e9 {
  padding: 0 24px 18px;
  max-height: 500px;
}

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

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

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

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

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

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

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

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

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

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

.c4c99412a ul {
  list-style: none;
}

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

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

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

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

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

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

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

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

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

.ce3fef995 span {
  margin: 0 8px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .c601d26f9 {
    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);
  }
  
  .c601d26f9.c7a7ad3e7 {
    display: flex;
  }
  
  .c6ea88321 {
    display: flex;
  }
  
  .c981518ea h1 {
    font-size: 1.8rem;
  }
  
  .c981518ea p {
    font-size: 1rem;
  }
  
  .c4c9cedaa {
    padding: 50px 16px;
  }
  
  .c2d3f741e {
    font-size: 1.6rem;
  }
  
  .c2d4f234e {
    grid-template-columns: 1fr;
  }
  
  .c9dd82666 {
    flex: 0 0 90%;
  }
  
  .c9dd82666 img {
    height: 250px;
  }
  
  .c8e46aafa .ccb5ffa35 {
    grid-template-columns: 1fr;
  }
  
  .c3f6f077f {
    grid-template-columns: 1fr;
  }
  
  .cb1edb5d9 {
    grid-template-columns: 1fr;
  }
  
  .c91ccf6c2 {
    flex-direction: column;
    text-align: center;
  }
  
  .c1e21e225 h1 {
    font-size: 1.8rem;
  }
}

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

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

.c2c437a7f.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 {
  .ca1df45da, .c30ba5e98, .c52245e69, .c9984a9ed, .c00eb32fb {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
