/* 扑克游戏 - 智谋博弈风格 */
/* 灵感：扑克牌面、筹码、赌桌绿 + 象牙白 + 金色点缀 */

*, *::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: #faf8f3; /* 象牙白基底 */
  color: #2c3e2d; /* 深卡其绿文字 */
}

/* 核心布局 */
.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

.section { 
  padding: 80px 0; 
  position: relative;
}

.section:nth-child(even) { 
  background: #f4efe6; /* 浅米色交替区 */
}

/* 导航 — 赌桌绿调 */
.site-header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000; 
  background: rgba(250, 248, 243, 0.92); 
  backdrop-filter: blur(12px); 
  border-bottom: 2px solid #c8b997; 
}

.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: 800; 
  font-size: 1.3rem; 
  text-decoration: none; 
  color: #1e3a2f; 
  letter-spacing: 1px;
}

.logo-icon { 
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  background: linear-gradient(135deg, #b8860b, #d4af37); 
  color: #fff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.2rem; 
  box-shadow: 0 2px 8px rgba(184, 134, 11, 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: #3a5a40; 
  transition: all 0.2s; 
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b8860b;
  transition: width 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta { 
  padding: 10px 24px; 
  border-radius: 50px; 
  background: linear-gradient(135deg, #b8860b, #d4af37); 
  color: #fff !important; 
  font-weight: 700; 
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.25);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle { 
  display: none; 
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e3a2f;
}

/* 首页Hero — 扑克牌面解构 */
.hero { 
  min-height: 80vh; 
  display: flex; 
  align-items: center; 
  background: 
    radial-gradient(circle at 10% 20%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(60, 100, 70, 0.06) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '♠ ♥ ♦ ♣';
  position: absolute;
  top: -20px;
  right: -40px;
  font-size: 14rem;
  color: rgba(184, 134, 11, 0.06);
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-content { 
  max-width: 700px; 
  position: relative;
  z-index: 2;
}

.hero-eyebrow { 
  display: inline-block; 
  font-size: 0.8rem; 
  font-weight: 700; 
  color: #b8860b;
  padding: 6px 18px; 
  border-radius: 50px; 
  background: rgba(184, 134, 11, 0.1);
  margin-bottom: 20px; 
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 { 
  font-size: 3.2rem; 
  line-height: 1.15; 
  margin-bottom: 20px; 
  color: #1e3a2f;
  letter-spacing: -0.5px;
}

.hero h1::after {
  content: '🃏';
  display: inline-block;
  margin-left: 12px;
  font-size: 2.4rem;
}

.hero p { 
  font-size: 1.1rem; 
  opacity: 0.75; 
  max-width: 520px; 
  margin-bottom: 36px; 
  color: #3a5a40;
  line-height: 1.7;
}

.hero-buttons { 
  display: flex; 
  gap: 16px; 
}

.hero-image { 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 20px 40px -12px rgba(30, 58, 47, 0.15);
}

.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: 700; 
  cursor: pointer; 
  border: none; 
  text-decoration: none; 
  transition: all 0.3s; 
  font-size: 0.95rem;
}

.btn-primary { 
  background: linear-gradient(135deg, #b8860b, #d4af37); 
  color: #fff; 
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 134, 11, 0.4);
}

.btn-outline { 
  background: transparent; 
  border: 2px solid #b8860b; 
  color: #1e3a2f;
}

.btn-outline:hover {
  background: rgba(184, 134, 11, 0.08);
  border-color: #d4af37;
}

/* 标签/标题 */
.section-label { 
  display: inline-block; 
  font-size: 0.75rem; 
  font-weight: 700; 
  letter-spacing: 3px; 
  margin-bottom: 14px; 
  color: #b8860b;
  text-transform: uppercase;
}

.section-title { 
  font-size: 2.2rem; 
  margin-bottom: 16px; 
  color: #1e3a2f;
  letter-spacing: -0.3px;
}

.section-desc { 
  max-width: 600px; 
  opacity: 0.7; 
  margin-bottom: 44px; 
  color: #3a5a40;
  line-height: 1.6;
}

/* 卡片网格 — 扑克牌面风格 */
.cards-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); 
  gap: 28px; 
}

.category-card { 
  border-radius: 16px; 
  padding: 32px; 
  background: #fff;
  border: 1px solid #e8ddd0; 
  transition: all 0.3s; 
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '♠';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 6rem;
  color: rgba(184, 134, 11, 0.05);
  font-weight: 900;
  line-height: 1;
}

.category-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 32px rgba(30, 58, 47, 0.1); 
  border-color: #d4af37;
}

.card-icon { 
  width: 52px; 
  height: 52px; 
  border-radius: 14px; 
  background: linear-gradient(135deg, #f4efe6, #fff);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 18px; 
  font-size: 1.5rem; 
  color: #b8860b;
  border: 1px solid #e8ddd0;
}

.card-link { 
  font-weight: 700; 
  font-size: 0.85rem; 
  text-decoration: none; 
  color: #b8860b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* 特性块 */
.feature-block { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px; 
  align-items: center; 
}

.feature-image { 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 16px 32px -12px rgba(30, 58, 47, 0.12);
}

.feature-image img { 
  width: 100%; 
  height: auto; 
  display: block;
}

.feature-text { }

.feature-list { 
  list-style: none; 
}

.feature-list li { 
  padding: 8px 0; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-size: 0.95rem;
}

.feature-list li::before { 
  content: '🃏'; 
  font-weight: 700; 
  color: #b8860b;
}

/* 数据条 — 筹码堆叠感 */
.stats-bar { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 24px; 
  text-align: center; 
}

.stat-item { 
  padding: 28px 20px; 
  border-radius: 16px; 
  background: #fff;
  border: 1px solid #e8ddd0; 
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20%;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 4px;
}

.stat-number { 
  font-size: 2.5rem; 
  font-weight: 900; 
  color: #1e3a2f;
  letter-spacing: -1px;
}

.stat-label { 
  font-size: 0.85rem; 
  opacity: 0.6; 
  margin-top: 8px; 
  color: #3a5a40;
}

/* 内容墙 */
.content-wall { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); 
  gap: 28px; 
}

.content-wall-item { 
  border-radius: 16px; 
  overflow: hidden; 
  background: #fff;
  border: 1px solid #e8ddd0; 
  transition: all 0.3s; 
}

.content-wall-item:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 32px rgba(30, 58, 47, 0.1); 
  border-color: #d4af37;
}

.content-wall-item img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  border-bottom: 2px solid #f4efe6;
}

.content-wall-body { 
  padding: 22px; 
}

.content-wall-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1e3a2f;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  color: #3a5a40;
}

/* FAQ — 折叠牌面 */
.faq-list { 
  max-width: 800px; 
  margin: 0 auto; 
}

.faq-item { 
  border: 1px solid #e8ddd0; 
  border-radius: 12px; 
  margin-bottom: 10px; 
  overflow: hidden; 
  cursor: pointer; 
  background: #fff;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: #d4af37;
}

.faq-item .faq-question { 
  padding: 18px 22px; 
  font-weight: 700; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  color: #1e3a2f;
  font-size: 0.95rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: #b8860b;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer { 
  padding: 0 22px 18px; 
  display: none; 
  opacity: 0.75; 
  color: #3a5a40;
  line-height: 1.6;
}

.faq-item.open .faq-answer { 
  display: block; 
}

/* CTA横幅 — 金绿渐变 */
.cta-banner { 
  padding: 64px 32px; 
  text-align: center; 
  border-radius: 20px; 
  background: linear-gradient(135deg, #1e3a2f 0%, #2c5f3a 50%, #b8860b 100%);
  color: #fff; 
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '♠ ♥ ♦ ♣';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  letter-spacing: 20px;
  pointer-events: none;
}

.cta-banner h2 { 
  color: #fff; 
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary { 
  background: #fff; 
  color: #1e3a2f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
  background: #f4efe6;
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer { 
  padding: 60px 0 28px; 
  background: #1e3a2f; 
  color: rgba(255, 255, 255, 0.8);
}

.site-footer .container { }

.footer-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr 1fr; 
  gap: 40px; 
}

.footer-brand { 
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.6;
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.6;
}

.footer-col { }

.footer-col h4 {
  color: #d4af37;
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #d4af37;
}

.footer-bottom { 
  border-top: 1px solid rgba(212, 175, 55, 0.15); 
  margin-top: 40px; 
  padding-top: 24px; 
  text-align: center; 
  font-size: 0.8rem; 
  opacity: 0.5;
}

/* 工具类 */
.text-accent { 
  color: #b8860b; 
}

.text-center { 
  text-align: center; 
}

.seo-description { 
  max-width: 600px; 
  margin: 0 auto 48px; 
  opacity: 0.7; 
  line-height: 1.6;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .feature-block { 
    grid-template-columns: 1fr; 
    gap: 32px;
  }
  .stats-bar { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  .main-nav { 
    display: none; 
  }
  .menu-toggle { 
    display: flex; 
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  .main-nav.open { 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    top: 72px; 
    left: 0; 
    width: 100%; 
    background: rgba(250, 248, 243, 0.98); 
    padding: 24px; 
    gap: 16px;
    border-bottom: 2px solid #c8b997;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero::before {
    font-size: 8rem;
    top: -10px;
    right: -20px;
  }
}

@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; 
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero h1::after {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .cta-banner {
    padding: 40px 20px;
  }
  .cta-banner h2 {
    font-size: 1.4rem;
  }
}