/* ============================================
   开元棋牌 · 江南园林雅韵棋苑 全局样式
   设计风格：移步换景长卷布局
   配色：宣纸白+黛瓦青+朱漆红+翡翠绿+藕荷粉
   ============================================ */

/* 字体引入 - 霞鹜文楷 + 思源黑体 */
@font-face {
  font-family: 'LXGW WenKai';
  src: url('https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.7.0/style.css');
  font-display: swap;
}

:root {
  --xuanzhi-bai: #f7f3eb;
  --daiwa-qing: #2c3e50;
  --zhuqi-hong: #a83232;
  --feicui-lv: #2e8b57;
  --ouhe-fen: #de9ab2;
  --zhuqi-hong-light: #c44545;
  --daiwa-qing-light: #3d5166;
  --feicui-lv-light: #3da76a;
  --shadow-ink: rgba(44, 62, 80, 0.15);
  --border-ink: rgba(44, 62, 80, 0.2);
  --font-kai: 'LXGW WenKai', 'KaiTi', 'STKaiti', serif;
  --font-hei: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-hei);
  background-color: var(--xuanzhi-bai);
  color: var(--daiwa-qing);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 宣纸纹理背景 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(222,154,178,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(46,139,87,0.03) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* 链接样式 */
a {
  color: var(--zhuqi-hong);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--zhuqi-hong-light);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-kai);
  color: var(--daiwa-qing);
  line-height: 1.4;
  font-weight: 600;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-align: justify;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ 导航栏 ============ */
.yuanlin-nav {
  background: linear-gradient(180deg, var(--xuanzhi-bai) 0%, rgba(247,243,235,0.95) 100%);
  border-bottom: 2px solid var(--border-ink);
  padding: 0.8rem 0;
  position: relative;
  z-index: 100;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo span {
  font-family: var(--font-kai);
  font-size: 1.3rem;
  color: var(--daiwa-qing);
  font-weight: 700;
}

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

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--daiwa-qing);
  font-family: var(--font-kai);
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

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

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

.nav-menu a:hover {
  color: var(--zhuqi-hong);
  background: rgba(168,50,50,0.05);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--daiwa-qing);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ============ 面包屑 ============ */
.breadcrumb-trail {
  padding: 0.8rem 0;
  font-size: 0.85rem;
  color: var(--daiwa-qing-light);
  border-bottom: 1px solid var(--border-ink);
}

.breadcrumb-trail a {
  color: var(--feicui-lv);
}

.breadcrumb-trail span {
  margin: 0 0.4rem;
  color: var(--border-ink);
}

/* ============ 模块通用 ============ */
.yuanlin-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

/* 水墨过渡分隔 */
.shuimo-divider {
  height: 60px;
  background: linear-gradient(180deg,
    var(--xuanzhi-bai) 0%,
    rgba(44,62,80,0.04) 30%,
    rgba(46,139,87,0.03) 50%,
    rgba(44,62,80,0.04) 70%,
    var(--xuanzhi-bai) 100%);
  position: relative;
}

.shuimo-divider::before {
  content: '〰';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: var(--border-ink);
  letter-spacing: 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
  content: '◆';
  font-size: 0.6rem;
  color: var(--zhuqi-hong);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.section-title h2::before { left: -2rem; }
.section-title h2::after { right: -2rem; }

.section-title h2 span {
  color: var(--zhuqi-hong);
}

.section-title p {
  font-family: var(--font-kai);
  color: var(--daiwa-qing-light);
  font-size: 1.05rem;
  text-align: center;
}

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

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

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-overlay h1 {
  font-family: var(--font-kai);
  font-size: 3.5rem;
  color: var(--daiwa-qing);
  text-shadow: 2px 2px 8px rgba(247,243,235,0.8);
  margin-bottom: 1rem;
  letter-spacing: 0.3rem;
}

.hero-slogan {
  font-family: var(--font-kai);
  font-size: 1.4rem;
  color: var(--daiwa-qing-light);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(247,243,235,0.6);
}

/* CTA 按钮 */
.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--zhuqi-hong);
  color: #fff;
  font-family: var(--font-kai);
  font-size: 1.15rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.15rem;
}

.cta-btn:hover {
  background: var(--zhuqi-hong-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168,50,50,0.3);
}

/* 印章动画 */
.cta-btn .stamp-overlay {
  position: absolute;
  top: 50%; left: 50%;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--zhuqi-hong);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.4s ease;
  pointer-events: none;
}

.cta-btn:hover .stamp-overlay {
  opacity: 0.2;
  transform: translate(-50%, -50%) scale(3);
}

/* ============ 品牌介绍长卷 ============ */
.changquan-section {
  background: linear-gradient(90deg,
    rgba(44,62,80,0.02) 0%,
    transparent 10%,
    transparent 90%,
    rgba(44,62,80,0.02) 100%);
  border-top: 1px solid var(--border-ink);
  border-bottom: 1px solid var(--border-ink);
}

.changquan-content {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  background: rgba(247,243,235,0.6);
}

.changquan-content::before {
  content: '';
  position: absolute;
  top: -1px; left: 20px; right: 20px;
  height: 3px;
  background: linear-gradient(90deg,
    transparent, var(--zhuqi-hong), transparent);
}

.changquan-content h3 {
  color: var(--zhuqi-hong);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.changquan-content .sub-section {
  margin-bottom: 2rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--feicui-lv);
}

.changquan-content .sub-section h4 {
  color: var(--feicui-lv);
  margin-bottom: 0.5rem;
}

.inline-illustration {
  float: right;
  width: 200px;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-ink);
}

/* ============ 风云榜 ============ */
.fengyun-section {
  background: linear-gradient(180deg,
    rgba(46,139,87,0.03) 0%,
    transparent 100%);
}

.bamboo-leaderboard {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(180deg,
    rgba(46,139,87,0.08) 0%,
    rgba(46,139,87,0.02) 100%);
  border: 2px solid var(--feicui-lv);
  border-radius: 12px;
  overflow: hidden;
}

.leaderboard-header {
  background: var(--feicui-lv);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-kai);
  font-size: 1.4rem;
  letter-spacing: 0.3rem;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid rgba(46,139,87,0.15);
  transition: background 0.3s ease;
}

.leaderboard-item:hover {
  background: rgba(46,139,87,0.05);
}

.leaderboard-item:last-child {
  border-bottom: none;
}

.rank-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-kai);
  font-weight: 700;
  font-size: 1rem;
  margin-right: 1rem;
  background: var(--xuanzhi-bai);
  border: 2px solid var(--feicui-lv);
  color: var(--feicui-lv);
}

.leaderboard-item.top3 .rank-num {
  background: var(--zhuqi-hong);
  border-color: var(--zhuqi-hong);
  color: #fff;
}

.rank-name {
  flex: 1;
  font-family: var(--font-kai);
  font-size: 1.05rem;
}

.rank-score {
  font-size: 0.9rem;
  color: var(--daiwa-qing-light);
}

.rank-badge {
  margin-left: 0.5rem;
  color: #d4a017;
  font-size: 0.85rem;
}

/* 中奖公告 */
.prize-marquee {
  background: rgba(168,50,50,0.06);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--font-kai);
  color: var(--zhuqi-hong);
  font-size: 0.95rem;
  overflow: hidden;
}

/* ============ 四大雅室 ============ */
.yashi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.yashi-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-ink);
  background: var(--xuanzhi-bai);
  transition: all 0.4s ease;
  cursor: pointer;
}

.yashi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow-ink);
  border-color: var(--zhuqi-hong);
}

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

.yashi-card-body {
  padding: 1.5rem;
}

.yashi-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--zhuqi-hong);
}

.yashi-card-body p {
  font-family: var(--font-kai);
  color: var(--daiwa-qing-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.yashi-card-body .enter-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--zhuqi-hong);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-kai);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.yashi-card-body .enter-btn:hover {
  background: var(--zhuqi-hong-light);
  color: #fff;
}

/* ============ 棋苑雅集文章 ============ */
.yaji-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.yaji-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-ink);
}

.yaji-article-card .article-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.yaji-article-card .article-body {
  padding: 1.2rem;
}

.yaji-article-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--daiwa-qing);
}

.yaji-article-card .article-meta {
  font-size: 0.8rem;
  color: var(--daiwa-qing-light);
  margin-bottom: 0.5rem;
}

.yaji-article-card .article-excerpt {
  font-size: 0.9rem;
  color: var(--daiwa-qing-light);
  line-height: 1.6;
}

/* ============ 注册模块 ============ */
.register-section {
  position: relative;
  background-size: cover;
  background-position: center;
}

.register-overlay {
  background: rgba(247,243,235,0.92);
  padding: 3rem 0;
}

.register-form-wrap {
  max-width: 500px;
  margin: 0 auto;
  background: var(--xuanzhi-bai);
  border: 2px solid var(--border-ink);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
}

.register-form-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: 30px; right: 30px;
  height: 3px;
  background: var(--zhuqi-hong);
}

.register-form-wrap h3 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--zhuqi-hong);
  font-size: 1.4rem;
}

.register-form-wrap .form-subtitle {
  text-align: center;
  font-family: var(--font-kai);
  color: var(--daiwa-qing-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-kai);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--daiwa-qing);
}

.form-group input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-ink);
  border-radius: 4px;
  background: rgba(247,243,235,0.5);
  font-size: 1rem;
  color: var(--daiwa-qing);
  transition: border-color 0.3s ease;
  font-family: var(--font-hei);
}

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

.stamp-btn {
  display: block;
  width: 80px;
  height: 80px;
  margin: 1.5rem auto 0;
  border-radius: 50%;
  background: var(--zhuqi-hong);
  color: #fff;
  font-family: var(--font-kai);
  font-size: 1.2rem;
  border: 3px solid var(--zhuqi-hong-light);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.1rem;
}

.stamp-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(168,50,50,0.4);
}

.register-bonus {
  text-align: center;
  margin-top: 1.2rem;
  font-family: var(--font-kai);
  color: var(--feicui-lv);
  font-size: 0.9rem;
}

/* ============ VIP 清风雅阁 ============ */
.vip-section {
  background: linear-gradient(180deg,
    rgba(168,50,50,0.02) 0%,
    transparent 100%);
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.vip-card {
  text-align: center;
  padding: 2rem 1.2rem;
  border: 2px solid var(--border-ink);
  border-radius: 12px;
  background: var(--xuanzhi-bai);
  transition: all 0.3s ease;
}

.vip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-ink);
}

.vip-card.vip-zhizun {
  border-color: #d4a017;
  background: linear-gradient(180deg,
    rgba(212,160,23,0.05) 0%,
    var(--xuanzhi-bai) 100%);
}

.vip-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.vip-card h4 {
  margin-bottom: 0.5rem;
  color: var(--daiwa-qing);
}

.vip-card ul {
  list-style: none;
  text-align: left;
  font-size: 0.88rem;
  color: var(--daiwa-qing-light);
  line-height: 2;
}

.vip-card ul li::before {
  content: '✦ ';
  color: var(--feicui-lv);
  font-size: 0.7rem;
}

/* ============ 负责任博弈 ============ */
.responsible-section {
  background: linear-gradient(180deg,
    rgba(44,62,80,0.04) 0%,
    transparent 100%);
}

.stone-tablet {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(180deg,
    #e8e4dc 0%, #d5d0c6 100%);
  border-radius: 12px 12px 4px 4px;
  padding: 2.5rem 2rem;
  border: 2px solid rgba(44,62,80,0.3);
  position: relative;
  text-align: center;
}

.stone-tablet::before {
  content: '';
  position: absolute;
  top: -8px; left: 20%; right: 20%;
  height: 8px;
  background: linear-gradient(90deg,
    transparent, rgba(44,62,80,0.2), transparent);
  border-radius: 4px 4px 0 0;
}

.stone-tablet .age-badge {
  display: inline-block;
  width: 50px; height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--zhuqi-hong);
  color: #fff;
  font-family: var(--font-kai);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.stone-tablet h3 {
  margin-bottom: 1rem;
}

.stone-tablet p {
  font-family: var(--font-kai);
  font-size: 0.95rem;
  line-height: 1.9;
  text-align: center;
}

.stone-tablet .gamcare-link {
  color: var(--feicui-lv);
  text-decoration: underline;
}

/* 香炉青烟动画 */
.incense-smoke {
  width: 2px;
  height: 40px;
  margin: 1rem auto;
  position: relative;
}

.incense-smoke::before,
.incense-smoke::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 2px;
  background: linear-gradient(0deg,
    rgba(44,62,80,0.15), transparent);
  animation: smoke-rise 3s ease-in-out infinite;
}

.incense-smoke::before {
  left: 0;
  height: 30px;
  animation-delay: 0s;
}

.incense-smoke::after {
  left: 4px;
  height: 25px;
  animation-delay: 1.5s;
}

@keyframes smoke-rise {
  0% { opacity: 0; transform: translateY(0) scaleX(1); }
  50% { opacity: 0.6; transform: translateY(-15px) scaleX(1.5); }
  100% { opacity: 0; transform: translateY(-35px) scaleX(0.5); }
}

/* ============ MGA 牌照 ============ */
.mga-section {
  background: linear-gradient(180deg,
    rgba(139,90,43,0.03) 0%,
    transparent 100%);
}

.bogu-shelf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem;
  border: 2px solid rgba(139,90,43,0.3);
  border-radius: 12px;
  background: linear-gradient(180deg,
    rgba(139,90,43,0.06) 0%,
    rgba(139,90,43,0.02) 100%);
}

.mga-badge-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid rgba(139,90,43,0.4);
  object-fit: cover;
}

.mga-info {
  max-width: 500px;
}

.mga-info h4 {
  color: var(--daiwa-qing);
  margin-bottom: 0.5rem;
}

.mga-info .license-num {
  font-family: var(--font-kai);
  color: var(--zhuqi-hong);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.mga-info p {
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============ FAQ 问答亭 ============ */
.faq-section {
  background: linear-gradient(180deg,
    rgba(46,139,87,0.02) 0%,
    transparent 100%);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: var(--feicui-lv);
}

.faq-item summary {
  padding: 1rem 1.5rem;
  font-family: var(--font-kai);
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--daiwa-qing);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '▸';
  color: var(--feicui-lv);
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.faq-item[open] summary::before {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem 2.8rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--daiwa-qing-light);
}

/* ============ 页脚 ============ */
.yuanlin-footer {
  position: relative;
  background: var(--daiwa-qing);
  color: rgba(247,243,235,0.8);
  overflow: hidden;
}

.footer-landscape-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 1.5rem;
}

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

.footer-col h4 {
  color: var(--xuanzhi-bai);
  font-family: var(--font-kai);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(247,243,235,0.2);
}

.footer-col a {
  display: block;
  color: rgba(247,243,235,0.7);
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--xuanzhi-bai);
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(247,243,235,0.6);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.footer-social a {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(247,243,235,0.3);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--zhuqi-hong);
  border-color: var(--zhuqi-hong);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247,243,235,0.15);
  font-size: 0.8rem;
  color: rgba(247,243,235,0.5);
}

.footer-bottom .age-18 {
  display: inline-block;
  width: 32px; height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: var(--zhuqi-hong);
  color: #fff;
  font-family: var(--font-kai);
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.footer-payment {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.footer-payment span {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(247,243,235,0.2);
  border-radius: 4px;
  font-size: 0.78rem;
  color: rgba(247,243,235,0.6);
}

/* ============ 内页通用 ============ */
.page-hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(247,243,235,0.7);
  padding: 2rem 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-ink);
}

.page-content {
  padding: 3rem 0;
}

.page-content h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--zhuqi-hong);
  display: inline-block;
}

.page-content h3 {
  margin: 2rem 0 1rem;
  color: var(--feicui-lv);
  padding-left: 1rem;
  border-left: 4px solid var(--feicui-lv);
}

.page-content h4 {
  margin: 1.5rem 0 0.8rem;
  color: var(--zhuqi-hong);
}

.content-img {
  width: 100%;
  max-width: 700px;
  margin: 1.5rem auto;
  border-radius: 8px;
  border: 1px solid var(--border-ink);
}

.story-box {
  background: rgba(168,50,50,0.04);
  border: 1px solid rgba(168,50,50,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.story-box h4 {
  color: var(--zhuqi-hong);
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

.insight-box {
  background: rgba(46,139,87,0.04);
  border: 1px solid rgba(46,139,87,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.insight-box h4 {
  color: var(--feicui-lv);
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

/* ============ APP下载页 ============ */
.app-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.app-feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  background: var(--xuanzhi-bai);
  text-align: center;
}

.app-feature-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.app-feature-card h4 {
  margin-bottom: 0.5rem;
  color: var(--daiwa-qing);
}

.qr-codes {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

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

.qr-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(46,139,87,0.1) 0%,
    rgba(46,139,87,0.2) 100%);
  border: 3px solid var(--feicui-lv);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-family: var(--font-kai);
  color: var(--feicui-lv);
  font-size: 0.9rem;
}

.install-steps {
  counter-reset: step;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border-ink);
  border-radius: 8px;
}

.install-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--zhuqi-hong);
  color: #fff;
  font-family: var(--font-kai);
  font-weight: 700;
}

/* ============ 滚动显示动画 ============ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 卷轴展开动画 */
.scroll-unfold {
  opacity: 0;
  transform: scaleX(0.3);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-unfold.revealed {
  opacity: 1;
  transform: scaleX(1);
}

/* 落花飘零 */
.petal {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  font-size: 1rem;
  animation: petal-fall linear forwards;
}

@keyframes petal-fall {
  0% { opacity: 0.7; transform: translateY(-20px) rotate(0deg); }
  100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}

/* 水波涟漪 */
.ripple {
  position: fixed;
  border-radius: 50%;
  border: 2px solid rgba(46,139,87,0.3);
  pointer-events: none;
  z-index: 9998;
  animation: ripple-expand 0.8s ease-out forwards;
}

@keyframes ripple-expand {
  0% { width: 0; height: 0; opacity: 0.6; }
  100% { width: 150px; height: 150px; opacity: 0; margin-left: -75px; margin-top: -75px; }
}

/* ============ 干扰标签隐藏 ============ */
.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;
}

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

@media (max-width: 768px) {
  html { font-size: 15px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--xuanzhi-bai);
    flex-direction: column;
    border-bottom: 2px solid var(--border-ink);
    padding: 1rem;
    animation: bamboo-dropdown 0.4s ease;
  }

  @keyframes bamboo-dropdown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

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

  .hamburger {
    display: flex;
  }

  .hero-overlay h1 {
    font-size: 2.2rem;
  }

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

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

  .yaji-articles {
    grid-template-columns: 1fr;
  }

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

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

  .bogu-shelf {
    flex-direction: column;
    text-align: center;
  }

  .inline-illustration {
    float: none;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto;
  }

  .page-hero {
    height: 250px;
  }

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

  .section-title h2::before,
  .section-title h2::after {
    display: none;
  }
}

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

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

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

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

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

  .qr-codes {
    flex-direction: column;
    align-items: center;
  }

  .yuanlin-section {
    padding: 2.5rem 0;
  }
}

/* ============ 打印样式 ============ */
@media print {
  .yuanlin-nav, .yuanlin-footer, .petal, .ripple {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
