/* 德州扑克游戏平台 - 极简纸牌美学 */
/* 主色调：翡翠绿 #2ecc71 + 象牙白 #faf8f5 + 珊瑚橙 #ff6b6b */
/* 灵感：扑克牌纹理、毛边纸质感、轻奢卡片 */

*, *::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: #faf8f5;
  color: #2d2a24;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #f5f2ed;
}

/* 导航 — 毛玻璃纸牌质感 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(46, 204, 113, 0.15);
  box-shadow: 0 2px 30px rgba(46, 204, 113, 0.04);
}

.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: #2d2a24;
  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, #2ecc71, #27ae60);
  color: #fff;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 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;
  transition: 0.25s ease;
  color: #4a453e;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2ecc71;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #2ecc71;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  box-shadow: 0 4px 14px rgba(46, 204, 113, 0.3);
  transition: 0.3s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2d2a24;
  font-size: 1.2rem;
}

/* 首页Hero — 扑克牌飞溅布局 */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  background: linear-gradient(165deg, #faf8f5 0%, #f0ebe3 100%);
}

.hero::before {
  content: '♠ ♥ ♦ ♣';
  position: absolute;
  top: -20px;
  right: -40px;
  font-size: 18rem;
  opacity: 0.04;
  color: #2ecc71;
  transform: rotate(15deg);
  font-weight: 900;
  letter-spacing: 40px;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(46, 204, 113, 0.12);
  color: #27ae60;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #1a1a1a;
}

.hero h1 span {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  color: #5a554e;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(46, 204, 113, 0.12);
  position: relative;
}

.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: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(46, 204, 113, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #2ecc71;
  color: #2ecc71;
}

.btn-outline:hover {
  background: rgba(46, 204, 113, 0.06);
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.08);
  padding: 4px 16px;
  border-radius: 50px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  color: #5a554e;
  font-size: 1.05rem;
}

/* 卡片网格 — 扑克牌翻转感 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(46, 204, 113, 0.12);
  transition: 0.35s cubic-bezier(0.2, 0.9, 0.4, 1);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2ecc71, #27ae60);
  opacity: 0;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(46, 204, 113, 0.1);
  border-color: rgba(46, 204, 113, 0.25);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: rgba(46, 204, 113, 0.08);
  color: #2ecc71;
  transition: 0.3s;
}

.category-card:hover .card-icon {
  background: rgba(46, 204, 113, 0.15);
  transform: scale(1.05);
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #2ecc71;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.card-link:hover {
  gap: 10px;
}

/* 特性块 — 交错布局 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(46, 204, 113, 0.08);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.feature-list li::before {
  content: '♠';
  font-weight: 700;
  color: #2ecc71;
  font-size: 1.1rem;
}

/* 数据条 — 筹码堆叠 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid rgba(46, 204, 113, 0.1);
  background: #fff;
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(46, 204, 113, 0.08);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: #2ecc71;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5a554e;
}

/* 内容墙 — 扑克牌画廊 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(46, 204, 113, 0.08);
  transition: 0.35s cubic-bezier(0.2, 0.9, 0.4, 1);
  background: #fff;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(46, 204, 113, 0.1);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h4 {
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  color: #5a554e;
}

/* FAQ — 手风琴折叠 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(46, 204, 113, 0.1);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.3s;
}

.faq-item:hover {
  border-color: rgba(46, 204, 113, 0.25);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1a1a1a;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: #2ecc71;
  transition: 0.3s;
  font-weight: 300;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  color: #5a554e;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 — 全绿渐变 */
.cta-banner {
  padding: 72px 24px;
  text-align: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #2ecc71, #1abc9c, #27ae60);
  box-shadow: 0 20px 60px rgba(46, 204, 113, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '♠ ♥ ♦ ♣';
  position: absolute;
  bottom: -30px;
  right: -30px;
  font-size: 14rem;
  opacity: 0.06;
  color: #fff;
  transform: rotate(-10deg);
  font-weight: 900;
  letter-spacing: 30px;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-banner p {
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #2ecc71 !important;
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

/* 页脚 — 纸牌屋底座 */
.site-footer {
  padding: 64px 0 32px;
  background: #2d2a24;
  color: rgba(255,255,255,0.8);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  opacity: 0.6;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #2ecc71;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* 工具类 */
.text-accent {
  color: #2ecc71;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5a554e;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 响应式 — 纸牌折叠 */
@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: 72px;
    left: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  }
  .hero::before {
    font-size: 10rem;
    right: -20px;
    top: 0;
  }
  .cta-banner {
    padding: 48px 20px;
  }
  .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;
    text-align: center;
  }
  .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: 60vh;
  }
}