/* ==========================================================================
   一分机场 (yifenjic.my) - 街头扭蛋与投币机 (Penny Arcade & Gachapon) 全局样式表
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  /* 品牌核心色彩 - 街头扭蛋与复古投币机 */
  --bg-main: #FFFDF0;           /* 浅鹅黄高质感底色 */
  --bg-card: #FEF9E7;           /* 扭蛋机卡片温润底色 */
  --bg-card-hover: #FFF9DB;     /* 悬停微亮底色 */
  --bg-window: rgba(255, 255, 255, 0.85); /* 扭蛋视窗透明玻璃 */
  
  /* 薄荷绿 & 翡翠绿 (主色调) */
  --mint-primary: #059669;
  --mint-light: #D1FAE5;
  --mint-border: #10B981;
  --mint-dark: #047857;
  --mint-glow: rgba(16, 185, 129, 0.25);

  /* 橙红撞色 (Coin slot / Accent CTA) */
  --orange-primary: #F97316;
  --orange-dark: #EA580C;
  --orange-light: #FFEDD5;
  --orange-glow: rgba(249, 115, 22, 0.35);

  /* 街机暗金 & 币黄色 */
  --gold-primary: #F59E0B;
  --gold-shadow: #D97706;
  --gold-light: #FEF3C7;

  /* 文字颜色 */
  --text-dark: #0F172A;
  --text-main: #1E293B;
  --text-muted: #475569;
  --text-light: #64748B;
  --white: #FFFFFF;

  /* 边框与阴影 */
  --border-thick: 3px solid var(--mint-primary);
  --border-orange: 3px solid var(--orange-primary);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  
  /* 3D 咔嗒机械立体阴影 */
  --shadow-arcade: 0 10px 25px -5px rgba(5, 150, 105, 0.15), 0 4px 0 var(--mint-dark);
  --shadow-orange-btn: 0 8px 20px var(--orange-glow), 0 4px 0 var(--orange-dark);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.06), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  
  --font-family: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 全局重置与基础设定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(249, 115, 22, 0.05) 0%, transparent 40%),
    radial-gradient(#059669 0.75px, transparent 0.75px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部公告条 - Arcade Marquee */
.arcade-announcement {
  background: linear-gradient(90deg, #047857 0%, #059669 50%, #047857 100%);
  color: #ECFDF5;
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid var(--gold-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.2);
}

.arcade-announcement .badge-flash {
  background: var(--orange-primary);
  color: #FFF;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulseGlow 1.8s infinite ease-in-out;
}

/* 导航栏 - Penny Arcade Shell */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--mint-primary);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--mint-dark);
  letter-spacing: -0.5px;
}

.logo-coin-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
  border: 3px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px var(--orange-glow), 0 2px 0 var(--orange-dark);
  transform: rotate(-5deg);
  transition: transform 0.3s var(--transition-bounce);
}

.logo:hover .logo-coin-icon {
  transform: rotate(15deg) scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mint-primary);
  background: var(--mint-light);
}

.nav-cta-btn {
  background: linear-gradient(180deg, #FF8A65 0%, var(--orange-primary) 50%, var(--orange-dark) 100%);
  color: #FFF !important;
  font-weight: 800 !important;
  padding: 10px 22px !important;
  border-radius: 30px !important;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-orange-btn);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
  cursor: pointer;
}

.nav-cta-btn:hover {
  transform: translateY(-3px) rotate(2deg) scale(1.03);
  box-shadow: 0 12px 25px var(--orange-glow), 0 4px 0 #9A3412;
}

.nav-cta-btn:active {
  transform: translateY(1px) rotate(0deg);
  box-shadow: 0 2px 6px var(--orange-glow);
}

/* 按钮全局特征 - "INSERT 1 CENT" 投币旋钮 */
.btn-insert-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #FF8A65 0%, var(--orange-primary) 55%, var(--orange-dark) 100%);
  color: #FFF;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 40px;
  border: 3px solid var(--gold-primary);
  box-shadow: var(--shadow-orange-btn);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--transition-bounce), box-shadow 0.25s ease, background 0.25s ease;
}

.btn-insert-coin::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: rotate(30deg);
  animation: shineGleam 4s infinite ease-in-out;
}

.btn-insert-coin:hover {
  transform: translateY(-4px) rotate(2deg) scale(1.03);
  box-shadow: 0 14px 30px var(--orange-glow), 0 5px 0 #9A3412;
  background: linear-gradient(180deg, #FF9E80 0%, #FF6D00 55%, #D84315 100%);
}

.btn-insert-coin:active {
  transform: translateY(2px) rotate(0deg);
  box-shadow: 0 2px 6px var(--orange-glow), 0 1px 0 #9A3412;
}

/* Hero 首屏 Section */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.arcade-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint-light);
  color: var(--mint-dark);
  border: 2px solid var(--mint-primary);
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px var(--mint-glow);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight-text {
  color: var(--orange-primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--gold-light);
  border-radius: 6px;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-secondary-arcade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 40px;
  border: 3px solid var(--mint-primary);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.1), 0 3px 0 var(--mint-dark);
}

.btn-secondary-arcade:hover {
  transform: translateY(-3px);
  background: var(--mint-light);
  color: var(--mint-dark);
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 2px dashed rgba(5, 150, 105, 0.2);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--mint-dark);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero 右侧扭蛋机视窗卡片 */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: var(--border-thick);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-arcade);
  text-align: center;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(254,249,231,0.9) 100%);
}

.hero-visual-card::before {
  content: 'GACHAPON 1 CENT';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-primary);
  color: #FFF;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 10px var(--orange-glow);
}

.hero-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--mint-border);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 16px;
}

.hero-img-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-visual-card:hover .hero-img-wrapper img {
  transform: scale(1.04);
}

/* 核心优势 Section */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--orange-primary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* 扭蛋机视窗通用卡片 */
.gachapon-card {
  background: var(--bg-card);
  border: var(--border-thick);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--transition-bounce);
  overflow: hidden;
}

.gachapon-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
  border-radius: 0 0 0 100%;
  pointer-events: none;
}

.gachapon-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.2), 0 6px 0 var(--mint-dark);
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--mint-light) 0%, #A7F3D0 100%);
  border: 3px solid var(--mint-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px var(--mint-glow);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.gachapon-card:hover .feature-icon-box {
  transform: rotate(8deg) scale(1.1);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 套餐价格 Section - 用户参考图精准设计 */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #FEF3C7 50%, var(--bg-main) 100%);
  border-top: 3px dashed var(--mint-border);
  border-bottom: 3px dashed var(--mint-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 3px solid var(--mint-primary);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.1);
  transition: all 0.35s var(--transition-bounce);
}

.pricing-card.popular {
  border: 4px solid var(--mint-dark);
  transform: scale(1.04);
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.25), 0 8px 0 var(--mint-dark);
  z-index: 2;
}

.pricing-card.popular::before {
  content: 'POPULAR ★ 最受推荐';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--orange-primary), var(--orange-dark));
  color: #FFF;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 4px 18px;
  border-radius: 20px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 12px var(--orange-glow);
  white-space: nowrap;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.pricing-card.popular:hover {
  transform: translateY(-8px) scale(1.06);
}

.pricing-badge-top {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--mint-dark);
  margin-bottom: 12px;
}

.pricing-traffic {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-price-num {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--mint-dark);
  line-height: 1;
  letter-spacing: -1.5px;
}

.pricing-price-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
}

.pricing-sub-rates {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: #E2E8F0;
  margin-bottom: 24px;
  border: none;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.pricing-features li span.check-mark {
  color: var(--mint-primary);
  font-weight: 900;
  font-size: 1.1rem;
}

.pricing-btn-wrapper {
  margin-top: auto;
}

.pricing-card .btn-pricing {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  border: 2px solid var(--mint-primary);
  background: #FFF;
  color: var(--mint-dark);
  cursor: pointer;
  transition: all 0.25s var(--transition-bounce);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.1);
  display: block;
}

.pricing-card.popular .btn-pricing {
  background: var(--mint-primary);
  color: #FFF;
  border-color: var(--mint-dark);
  box-shadow: 0 6px 16px var(--mint-glow);
}

.pricing-card .btn-pricing:hover {
  background: var(--mint-primary);
  color: #FFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--mint-glow);
}

/* 适合人群 Section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.audience-card {
  background: var(--bg-card);
  border: 3px solid var(--mint-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  background: #FFF;
  border-color: var(--orange-primary);
  box-shadow: 0 12px 24px var(--orange-glow);
}

.audience-emoji {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.audience-card:hover .audience-emoji {
  transform: scale(1.2) rotate(6deg);
}

.audience-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.audience-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 教程 Preview Section - Clash & Clash Party */
.tutorials-preview-section {
  background: #FFF;
  border-top: 3px solid var(--mint-primary);
  border-bottom: 3px solid var(--mint-primary);
}

.tutorial-tabs-container {
  background: var(--bg-card);
  border: 3px solid var(--mint-primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-arcade);
}

.tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.tutorial-step-card {
  background: #FFF;
  border: 2px solid var(--mint-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
}

.step-num-badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--orange-primary);
  color: #FFF;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 2px 12px;
  border-radius: 12px;
  border: 2px solid var(--gold-primary);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 10px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 用户评价 Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 3px solid var(--mint-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint-light);
  border: 2px solid var(--mint-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.review-user-details h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.review-user-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  color: var(--gold-primary);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* FAQ 常见问题 Section */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFF;
  border: 3px solid var(--mint-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.06);
}

.faq-item.active {
  border-color: var(--orange-primary);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  color: var(--mint-dark);
  background: var(--bg-card);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  background: var(--mint-light);
  border: 2px solid var(--mint-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--mint-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--orange-light);
  border-color: var(--orange-primary);
  color: var(--orange-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: #FFFBEB;
  border-top: 2px dashed rgba(5, 150, 105, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 20px 24px;
}

.faq-answer p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 文章目录 Catalog Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 3px solid var(--mint-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--transition-bounce);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.18), 0 5px 0 var(--mint-dark);
  background: #FFF;
}

.article-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--gold-light) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange-primary);
  color: #FFF;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--gold-primary);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-title a:hover {
  color: var(--mint-dark);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #E2E8F0;
  padding-top: 14px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.read-more-link {
  color: var(--mint-dark);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  color: var(--orange-primary);
}

/* 交互式复古扭蛋抽奖组件 Widget */
.arcade-widget-box {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: 4px solid var(--gold-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #FFF;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 40px rgba(4, 120, 87, 0.3);
  margin-top: 60px;
  overflow: hidden;
}

.arcade-widget-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.gachapon-result-modal {
  display: none;
  background: var(--bg-card);
  border: 3px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
  color: var(--text-dark);
  animation: popIn 0.4s var(--transition-bounce);
}

/* 文章详情页 SEO Layout (Single Article Style) */
.article-detail-layout {
  padding: 50px 0 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--mint-dark);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 3px dashed var(--mint-border);
  padding-bottom: 24px;
}

.article-header h1 {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-meta-info {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-content {
  background: #FFF;
  border: 3px solid var(--mint-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 5px solid var(--orange-primary);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--mint-dark);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  background: var(--bg-card);
  border-left: 4px solid var(--mint-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-dark);
}

.article-content .cta-box-in-article {
  background: linear-gradient(135deg, #FEF9E7 0%, #D1FAE5 100%);
  border: 3px solid var(--mint-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 36px 0;
  text-align: center;
  box-shadow: var(--shadow-arcade);
}

.article-content .cta-box-in-article h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* 相关推荐 & 内部链接 */
.related-posts-section {
  margin-top: 50px;
  border-top: 3px dashed var(--mint-border);
  padding-top: 36px;
}

/* 页脚 Footer */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 70px 0 30px;
  border-top: 4px solid var(--mint-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #FFF;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #F8FAFC;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-col a:hover {
  color: var(--mint-border);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Keyframes 动画 */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

@keyframes shineGleam {
  0% { left: -100%; }
  20%, 100% { left: 100%; }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.popular {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .nav-links {
    display: none; /* 移动端可隐藏或简单堆叠 */
  }
  .article-content {
    padding: 24px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
