/* ============================================================
   THEME: 寻宝黄金城 — 寻宝黄金城app下载 — 寻宝黄金城，财富触手及
   Visual Identity: 轻奢金箔质感 + 柔光渐变 + 圆润卡片层叠
   Color Palette: 暖白底 (#FFF8F0) + 香槟金 (#C8A96E) + 珊瑚粉 (#FF7E67) + 浅茶 (#F5E6D3)
   Accent: 金箔闪光纹理 (纯CSS模拟)
   ============================================================ */

/* 基础重置 */
*, *::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: #FFF8F0;
  color: #3D2C1E;
  line-height: 1.6;
}

/* 装饰性背景纹理 — 模拟金箔微光 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200, 169, 110, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200, 169, 110, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 126, 103, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: rgba(245, 230, 211, 0.3);
  backdrop-filter: blur(4px);
}

/* 导航 — 金箔质感顶栏 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.25);
  box-shadow: 0 2px 20px rgba(200, 169, 110, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  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: #3D2C1E;
  letter-spacing: 1px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #C8A96E, #E8D5A3);
  color: #FFF8F0;
  box-shadow: 0 4px 12px rgba(200, 169, 110, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5A4A3A;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #C8A96E, #FF7E67);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover {
  color: #C8A96E;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px !important;
  color: #FFF8F0 !important;
  font-weight: 600;
  background: linear-gradient(135deg, #C8A96E, #E8A87C);
  box-shadow: 0 4px 16px rgba(200, 169, 110, 0.35);
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200, 169, 110, 0.5);
  color: #FFF8F0 !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #C8A96E;
  cursor: pointer;
  padding: 8px;
}

/* 首页Hero — 金箔层叠效果 */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(200, 169, 110, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 30%, rgba(255, 126, 103, 0.06) 0%, transparent 50%);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(200, 169, 110, 0.03) 40px,
      rgba(200, 169, 110, 0.03) 42px
    );
  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: 16px;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.15), rgba(255, 126, 103, 0.1));
  color: #C8A96E;
  border: 1px solid rgba(200, 169, 110, 0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #3D2C1E;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, #C8A96E, #E8A87C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  color: #5A4A3A;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(200, 169, 110, 0.2),
    0 0 0 1px rgba(200, 169, 110, 0.1);
  background: linear-gradient(135deg, #F5E6D3, #FFF8F0);
}

.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: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  color: #FFF8F0;
  background: linear-gradient(135deg, #C8A96E, #E8A87C);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200, 169, 110, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid #C8A96E;
  color: #C8A96E;
}

.btn-outline:hover {
  background: rgba(200, 169, 110, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200, 169, 110, 0.15);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #C8A96E;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid rgba(200, 169, 110, 0.3);
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #3D2C1E;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: #5A4A3A;
  font-size: 1.05rem;
}

/* 卡片网格 — 金箔卡片层叠 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  background: rgba(255, 248, 240, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 169, 110, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C8A96E, #FF7E67, #C8A96E);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(200, 169, 110, 0.15),
    0 0 0 1px rgba(200, 169, 110, 0.15);
  background: rgba(255, 248, 240, 0.95);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.12), rgba(255, 126, 103, 0.08));
  border: 1px solid rgba(200, 169, 110, 0.15);
  color: #C8A96E;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #C8A96E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
  color: #E8A87C;
}

/* 特性块 — 左右分栏 */
.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(200, 169, 110, 0.15),
    0 0 0 1px rgba(200, 169, 110, 0.08);
  background: linear-gradient(135deg, #F5E6D3, #FFF8F0);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #5A4A3A;
  border-bottom: 1px solid rgba(200, 169, 110, 0.08);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #C8A96E;
  font-size: 1.1rem;
}

/* 数据条 — 金箔数字 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 20px;
  background: rgba(255, 248, 240, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 169, 110, 0.15);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(200, 169, 110, 0.12);
  background: rgba(255, 248, 240, 0.9);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #C8A96E, #E8A87C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5A4A3A;
}

/* 内容墙 — 新闻/文章卡片 */
.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, 248, 240, 0.8);
  border: 1px solid rgba(200, 169, 110, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(200, 169, 110, 0.12),
    0 0 0 1px rgba(200, 169, 110, 0.2);
  background: rgba(255, 248, 240, 0.95);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid rgba(200, 169, 110, 0.2);
}

.content-wall-body {
  padding: 24px 22px 28px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #3D2C1E;
}

.content-wall-body p {
  opacity: 0.65;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5A4A3A;
}

/* FAQ — 金箔折叠 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 248, 240, 0.6);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(200, 169, 110, 0.35);
  box-shadow: 0 4px 16px rgba(200, 169, 110, 0.06);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3D2C1E;
  font-size: 1.05rem;
}

.faq-item .faq-question::after {
  content: '↓';
  transition: transform 0.3s ease;
  color: #C8A96E;
  font-size: 1.2rem;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.7;
  color: #5A4A3A;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.7; transform: translateY(0); }
}

/* CTA横幅 — 金箔渐变 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #C8A96E, #E8A87C, #C8A96E);
  color: #FFF8F0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(200, 169, 110, 0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFF8F0;
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 248, 240, 0.85);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
}

.cta-banner .btn-primary {
  background: #FFF8F0;
  color: #C8A96E !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* 页脚 — 暖金质感 */
.site-footer {
  padding: 60px 0 28px;
  background: rgba(245, 230, 211, 0.25);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-size: 0.95rem;
  color: #5A4A3A;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #3D2C1E;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #5A4A3A;
  opacity: 0.65;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: #C8A96E;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  margin-top: 44px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #5A4A3A;
  opacity: 0.5;
}

/* 工具类 */
.text-accent {
  color: #C8A96E;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5A4A3A;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(200, 169, 110, 0.08);
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(200, 169, 110, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 60vh;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* 额外装饰 — 金箔闪光动画 */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.logo-icon {
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

.nav-cta {
  background-size: 200% 100%;
  animation: shimmer 5s ease-in-out infinite;
}

.btn-primary {
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
}

/* 选中高亮 */
::selection {
  background: rgba(200, 169, 110, 0.3);
  color: #3D2C1E;
}