/* ============================================
   南宫28·东方雅韵文化博弈馆 - 古典水墨丹青风
   全局样式表
   ============================================ */

/* --- 字体引入 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

/* --- CSS变量 --- */
:root {
  --xuanzhi-white: #f8f8f8;
  --moyun-black: #333333;
  --danqing-red: #c0392b;
  --yuanshan-dai: #6c7a89;
  --gold-accent: #b8860b;
  --rice-paper: #f5f0e8;
  --ink-light: #8a8a8a;
  --border-ink: #d4c9b8;
  --font-title: 'Noto Serif SC', '方正清刻本悦宋', 'SimSun', serif;
  --font-body: 'Noto Serif SC', '思源宋体', 'Source Han Serif SC', serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--moyun-black);
  background-color: var(--xuanzhi-white);
  line-height: 1.8;
  overflow-x: hidden;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23f8f8f8" width="100" height="100"/><circle cx="50" cy="50" r="0.5" fill="%23e8e0d0" opacity="0.3"/></svg>');
}

/* --- 干扰标签隐藏 --- */
.jammer-block {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* --- 通用容器 --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 水墨晕染动画 --- */
@keyframes inkSpread {
  0% { opacity: 0; transform: scale(0.8); filter: blur(10px); }
  50% { opacity: 0.7; filter: blur(3px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes scrollUnfold {
  0% { max-height: 0; opacity: 0; }
  100% { max-height: 2000px; opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes brushStroke {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes sealStamp {
  0% { transform: rotate(-15deg) scale(1.3); opacity: 0; }
  50% { transform: rotate(5deg) scale(0.95); }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}

@keyframes floatCloud {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(15px) translateY(-5px); }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.ink-spread {
  animation: inkSpread 1.2s ease-out forwards;
}

/* --- 导航栏 (非Sticky) --- */
.nav-header {
  background: linear-gradient(180deg, rgba(51,51,51,0.95) 0%, rgba(51,51,51,0.85) 100%);
  padding: 12px 0;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid var(--danqing-red);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: 40px;
  border-radius: 4px;
}

.nav-logo-text {
  color: var(--xuanzhi-white);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu li a {
  color: var(--xuanzhi-white);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.9rem;
  padding: 8px 16px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--danqing-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu li a:hover {
  color: var(--danqing-red);
}

.nav-menu li a:hover::after {
  width: 80%;
}

.nav-menu li a.active {
  color: var(--danqing-red);
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--xuanzhi-white);
  transition: all 0.3s ease;
}

/* --- Hero模块 --- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--rice-paper);
}

.hero-scroll-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  animation: inkSpread 2s ease-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  background: rgba(248, 248, 248, 0.85);
  border: 2px solid var(--border-ink);
  border-radius: 8px;
  max-width: 700px;
  animation: scrollUnfold 1.5s ease-out;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 900;
  color: var(--moyun-black);
  margin-bottom: 15px;
  letter-spacing: 8px;
}

.hero-slogan {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--yuanshan-dai);
  margin-bottom: 30px;
  letter-spacing: 4px;
}

/* --- CTA按钮 (印章风格) --- */
.cta-seal {
  display: inline-block;
  background: var(--danqing-red);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.1rem;
  padding: 14px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s ease;
  letter-spacing: 4px;
  position: relative;
  overflow: hidden;
}

.cta-seal:hover {
  background: #a93226;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
}

.cta-seal:active {
  animation: sealStamp 0.5s ease-out;
}

/* --- 通用模块样式 --- */
.section-module {
  padding: 60px 0;
  position: relative;
}

.section-module:nth-child(even) {
  background: var(--rice-paper);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--moyun-black);
  position: relative;
  display: inline-block;
  letter-spacing: 6px;
}

.section-title h2 span {
  color: var(--danqing-red);
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--danqing-red);
  margin: 12px auto 0;
}

.section-title p {
  color: var(--yuanshan-dai);
  font-size: 1rem;
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 品牌宣言模块 (屏风) --- */
.brand-screen {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}

.brand-screen-overlay {
  background: rgba(248, 248, 248, 0.92);
  padding: 50px 40px;
  border: 2px solid var(--border-ink);
  border-radius: 8px;
}

.brand-content {
  max-width: 900px;
  margin: 0 auto;
}

.brand-content h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--danqing-red);
  margin: 25px 0 12px;
  padding-left: 15px;
  border-left: 3px solid var(--danqing-red);
}

.brand-content p {
  text-indent: 2em;
  margin-bottom: 15px;
  line-height: 2;
}

/* --- 棋牌雅集模块 (长卷) --- */
.qipai-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--danqing-red) var(--rice-paper);
}

.qipai-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.qipai-scroll-wrapper::-webkit-scrollbar-track {
  background: var(--rice-paper);
}

.qipai-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--danqing-red);
  border-radius: 4px;
}

.qipai-card {
  display: inline-block;
  width: 320px;
  margin-right: 25px;
  vertical-align: top;
  white-space: normal;
  background: var(--xuanzhi-white);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qipai-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.qipai-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.qipai-card-body {
  padding: 20px;
}

.qipai-card-body h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--moyun-black);
  margin-bottom: 8px;
}

.qipai-card-body p {
  color: var(--yuanshan-dai);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- 彩票博戏模块 (签筒) --- */
.caipiao-module {
  text-align: center;
}

.caipiao-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.caipiao-stick {
  background: linear-gradient(135deg, #f5f0e8, #e8dcc8);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  padding: 25px 20px;
  width: 180px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.caipiao-stick:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: var(--danqing-red);
}

.caipiao-stick h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--danqing-red);
  margin-bottom: 8px;
}

.caipiao-stick p {
  font-size: 0.85rem;
  color: var(--yuanshan-dai);
}

/* --- 名家讲坛模块 (书院) --- */
.mingjia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.mingjia-article {
  background: var(--xuanzhi-white);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mingjia-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.mingjia-article-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.mingjia-article-body {
  padding: 20px;
}

.mingjia-article-body h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--moyun-black);
  margin-bottom: 8px;
  line-height: 1.5;
}

.mingjia-article-body .author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--yuanshan-dai);
}

.mingjia-article-body p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
  line-height: 1.6;
}

/* --- 注册模块 (门贴) --- */
.register-module {
  background-size: cover;
  background-position: center;
  position: relative;
}

.register-overlay {
  background: rgba(248, 248, 248, 0.9);
  padding: 60px 20px;
}

.register-card {
  max-width: 450px;
  margin: 0 auto;
  background: var(--xuanzhi-white);
  border: 3px solid var(--danqing-red);
  border-radius: 12px;
  padding: 40px 35px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  position: relative;
}

.register-card::before {
  content: '南宫雅集';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--danqing-red);
  color: #fff;
  font-family: var(--font-title);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  letter-spacing: 3px;
}

.register-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--moyun-black);
  margin-bottom: 8px;
  margin-top: 10px;
}

.register-card .subtitle {
  color: var(--yuanshan-dai);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--moyun-black);
  margin-bottom: 5px;
  font-family: var(--font-title);
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-ink);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--rice-paper);
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--danqing-red);
}

.btn-seal-register {
  width: 100%;
  padding: 14px;
  background: var(--danqing-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  cursor: pointer;
  letter-spacing: 4px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-seal-register:hover {
  background: #a93226;
  transform: scale(1.02);
}

/* --- 活动预告模块 --- */
.activity-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.activity-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--xuanzhi-white);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.activity-item:hover {
  border-color: var(--danqing-red);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.activity-date {
  min-width: 60px;
  text-align: center;
  background: var(--danqing-red);
  color: #fff;
  border-radius: 6px;
  padding: 10px 8px;
  font-family: var(--font-title);
}

.activity-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.activity-date .month {
  font-size: 0.75rem;
}

.activity-info h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--moyun-black);
  margin-bottom: 5px;
}

.activity-info p {
  font-size: 0.85rem;
  color: var(--yuanshan-dai);
  line-height: 1.5;
}

/* --- 负责任博彩模块 (竹简) --- */
.responsible-module {
  background: linear-gradient(135deg, #f5f0e8, #ede5d5);
  border-top: 3px solid var(--yuanshan-dai);
  border-bottom: 3px solid var(--yuanshan-dai);
}

.responsible-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.age-18 {
  width: 60px;
  height: 60px;
  border: 3px solid var(--danqing-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--danqing-red);
}

.taiji-symbol {
  font-size: 2.5rem;
}

.responsible-list {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 20px auto;
}

.responsible-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-ink);
  font-size: 0.95rem;
  padding-left: 25px;
  position: relative;
}

.responsible-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--danqing-red);
}

.responsible-quote {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--danqing-red);
  margin-top: 25px;
  font-style: italic;
  letter-spacing: 2px;
}

/* --- 牌照展示模块 --- */
.license-frame {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.license-frame img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.license-info {
  margin-top: 25px;
}

.license-info .license-number {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--danqing-red);
  margin-bottom: 10px;
}

.license-info p {
  color: var(--yuanshan-dai);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* --- FAQ模块 (对话) --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-elder-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.faq-elder-img {
  width: 150px;
  min-width: 150px;
  border-radius: 8px;
  border: 2px solid var(--border-ink);
}

.faq-list {
  flex: 1;
}

.faq-item {
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--danqing-red);
}

.faq-question {
  padding: 15px 20px;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--moyun-black);
  background: var(--rice-paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--danqing-red);
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
  line-height: 1.8;
  color: var(--yuanshan-dai);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

/* --- 页脚 --- */
.site-footer {
  background: linear-gradient(180deg, #2c2c2c, #1a1a1a);
  color: var(--xuanzhi-white);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--danqing-red);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--danqing-red);
}

.footer-col p {
  color: #ccc;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #666;
  border-radius: 50%;
  color: #ccc;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--danqing-red);
  color: var(--danqing-red);
}

.payment-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.payment-icon {
  background: #444;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-title);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.footer-age-badge {
  display: inline-block;
  border: 2px solid var(--danqing-red);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--danqing-red);
  margin-bottom: 10px;
}

/* --- 面包屑导航 --- */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--yuanshan-dai);
}

.breadcrumb a {
  color: var(--danqing-red);
  text-decoration: none;
}

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

.breadcrumb span {
  margin: 0 8px;
  color: var(--border-ink);
}

/* --- 内页样式 --- */
.inner-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--moyun-black);
}

.inner-hero-content h1 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  letter-spacing: 6px;
  margin-bottom: 10px;
}

.inner-hero-content p {
  font-size: 1.1rem;
  color: var(--yuanshan-dai);
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
}

.article-content h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--moyun-black);
  margin: 35px 0 15px;
  padding-left: 15px;
  border-left: 4px solid var(--danqing-red);
}

.article-content h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--danqing-red);
  margin: 25px 0 12px;
}

.article-content p {
  text-indent: 2em;
  margin-bottom: 18px;
  line-height: 2;
}

.article-content blockquote {
  background: var(--rice-paper);
  border-left: 4px solid var(--danqing-red);
  padding: 20px 25px;
  margin: 25px 0;
  font-style: italic;
  color: var(--yuanshan-dai);
}

.article-img {
  width: 100%;
  border-radius: 8px;
  margin: 25px 0;
  border: 1px solid var(--border-ink);
}

.article-author-box {
  background: var(--rice-paper);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}

.article-author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--danqing-red);
  object-fit: cover;
}

.article-author-box .author-detail h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--moyun-black);
}

.article-author-box .author-detail p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
  text-indent: 0;
  margin-bottom: 0;
}

/* --- APP下载页 --- */
.app-download-section {
  text-align: center;
  padding: 60px 20px;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 40px auto;
}

.app-feature-card {
  background: var(--rice-paper);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.app-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.app-feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.app-feature-card h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--moyun-black);
  margin-bottom: 8px;
}

.app-feature-card p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
}

.download-qr-area {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 40px 0;
}

.qr-box {
  text-align: center;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  border: 3px solid var(--danqing-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  background: var(--xuanzhi-white);
  font-family: var(--font-title);
  color: var(--danqing-red);
  font-size: 0.9rem;
}

.qr-box p {
  font-family: var(--font-title);
  color: var(--moyun-black);
}

.install-steps {
  max-width: 700px;
  margin: 40px auto;
  text-align: left;
}

.install-step {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--rice-paper);
  border-radius: 8px;
  border: 1px solid var(--border-ink);
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--danqing-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
}

.step-content h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--moyun-black);
  margin-bottom: 5px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
}

/* --- 云雾装饰 --- */
.cloud-decoration {
  position: absolute;
  opacity: 0.15;
  animation: floatCloud 6s ease-in-out infinite;
  pointer-events: none;
}

/* --- 响应式设计 --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mingjia-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(51,51,51,0.98);
    flex-direction: column;
    padding: 10px 0;
    border-top: 1px solid #555;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid #444;
  }

  .hero-section {
    min-height: 60vh;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }

  .hero-slogan {
    font-size: 1rem;
  }

  .hero-content {
    margin: 0 15px;
    padding: 25px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .brand-screen-overlay {
    padding: 30px 20px;
  }

  .mingjia-grid {
    grid-template-columns: 1fr;
  }

  .activity-list {
    grid-template-columns: 1fr;
  }

  .faq-elder-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .faq-elder-img {
    width: 100px;
    min-width: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    height: 280px;
  }

  .inner-hero-content h1 {
    font-size: 1.8rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .download-qr-area {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .app-features {
    grid-template-columns: 1fr;
  }

  .caipiao-container {
    gap: 15px;
  }

  .caipiao-stick {
    width: 140px;
    padding: 18px 12px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-module {
    padding: 40px 0;
  }

  .register-card {
    padding: 30px 20px;
  }
}

/* --- APP下载页补充样式 --- */
.app-download-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.download-card {
  background: var(--rice-paper);
  border: 2px solid var(--border-ink);
  border-radius: 12px;
  padding: 35px 25px;
  width: 280px;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: var(--danqing-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.download-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.download-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--moyun-black);
  margin-bottom: 10px;
}

.download-card p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
  margin-bottom: 15px;
}

.download-card .cta-seal {
  display: inline-block;
  margin-bottom: 10px;
}

.version-info {
  font-size: 0.75rem !important;
  color: var(--ink-light) !important;
}

.features-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--moyun-black);
  text-align: center;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  background: var(--rice-paper);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-item h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--moyun-black);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
  line-height: 1.6;
}

.install-guide {
  max-width: 800px;
  margin: 50px auto;
}

.install-guide h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--moyun-black);
  text-align: center;
  margin-bottom: 30px;
}

.install-step h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--moyun-black);
  margin-bottom: 5px;
}

.install-step p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
  line-height: 1.6;
  text-indent: 0;
}

.user-reviews {
  max-width: 900px;
  margin: 50px auto;
}

.user-reviews h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--moyun-black);
  text-align: center;
  margin-bottom: 30px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card {
  background: var(--rice-paper);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
}

.review-stars {
  color: var(--gold-accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--yuanshan-dai);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

.reviewer {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--danqing-red);
}

@media (max-width: 768px) {
  .app-download-buttons {
    flex-direction: column;
    align-items: center;
  }
  .download-card {
    width: 100%;
    max-width: 320px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
