/* 缘之空在线观看未删减 - 玄关之战 - 萝莉导航 */
/* 设计风格：清新樱花粉 + 淡紫渐变，杂志风卡片层叠，圆润柔美 */
/* 禁止黑色/深色背景，使用浅色亮色背景 */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 50%, #e0f2fe 100%);
  background-attachment: fixed;
  color: #4a2c4a;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  margin: 0 24px;
  padding: 80px 40px;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.08);
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(236, 72, 153, 0.15);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #7c3aed;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: #fff;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.3s;
  color: #6b4a6b;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ec4899, #a855f7);
  transition: 0.3s;
  border-radius: 2px;
}

.main-nav a:hover {
  color: #7c3aed;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
  transition: 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #7c3aed;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  color: #5a4a5a;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(236, 72, 153, 0.15);
  transform: perspective(1000px) rotateY(-3deg);
  transition: 0.5s;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #d8b4fe;
  color: #7c3aed;
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: #a855f7;
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #ec4899;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #4a2c4a;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  color: #5a4a5a;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(236, 72, 153, 0.1);
  transition: 0.4s;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.04);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.12);
  border-color: rgba(168, 85, 247, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(168, 85, 247, 0.12));
  color: #7c3aed;
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #4a2c4a;
}

.category-card p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 16px;
  color: #5a4a5a;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #ec4899;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s;
}

.card-link:hover {
  gap: 8px;
  color: #7c3aed;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(236, 72, 153, 0.1);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #4a2c4a;
}

.feature-text p {
  opacity: 0.7;
  margin-bottom: 20px;
  color: #5a4a5a;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a2c4a;
  font-weight: 500;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #ec4899;
  font-size: 1.1rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(236, 72, 153, 0.1);
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.08);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5a4a5a;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(236, 72, 153, 0.08);
  transition: 0.4s;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.04);
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.12);
  border-color: rgba(168, 85, 247, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #4a2c4a;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.6;
  color: #5a4a5a;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(236, 72, 153, 0.12);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: 0.3s;
}

.faq-item:hover {
  border-color: rgba(168, 85, 247, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4a2c4a;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: #ec4899;
  transition: 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.7;
  color: #5a4a5a;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  box-shadow: 0 16px 48px rgba(236, 72, 153, 0.25);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #7c3aed;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* 页脚 */
.site-footer {
  padding: 60px 0 28px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(236, 72, 153, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #4a2c4a;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.6;
  color: #5a4a5a;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #4a2c4a;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.6;
  color: #5a4a5a;
  transition: 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: #7c3aed;
}

.footer-bottom {
  border-top: 1px solid rgba(236, 72, 153, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #5a4a5a;
  opacity: 0.6;
}

/* 工具类 */
.text-accent {
  color: #ec4899;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5a4a5a;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 额外装饰元素 */
.section-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.05;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 24px;
    gap: 16px;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  }
  
  .section:nth-child(even) {
    margin: 0 12px;
    padding: 60px 24px;
  }
  
  .cta-banner {
    padding: 48px 24px;
  }
  
  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero {
    min-height: 70vh;
  }
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(236, 72, 153, 0.04);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ec4899, #a855f7);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #db2777, #9333ea);
}