/* ============================================
   南宫28 · 雨林秘境寻宝乐园 - 主样式表
   热带雨林探险风 · 藤蔓缠绕有机布局
   ============================================ */

/* --- Google Fonts 引入 --- */
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Quicksand:wght@400;500;600;700&display=swap');

/* --- CSS 变量定义 --- */
:root {
  --jungle-green: #2ecc71;
  --jungle-green-dark: #1e8449;
  --earth-brown: #7f8c8d;
  --earth-brown-light: #a0a8a9;
  --rock-gray: #576574;
  --treasure-gold: #f1c40f;
  --treasure-gold-dark: #d4ac0d;
  --dark-bg: #0d2818;
  --dark-bg-light: #143d24;
  --deep-brown: #644e3c;
  --parchment: #d2b48c;
  --parchment-light: #e8d5b7;
  --water-blue: #3498db;
  --danger-red: #c0392b;
  --font-title: 'Luckiest Guy', cursive;
  --font-body: 'Quicksand', sans-serif;
  --max-width: 1200px;
  --vine-width: 60px;
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--rock-gray);
  background-color: var(--dark-bg);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: var(--jungle-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--treasure-gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--treasure-gold);
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 1em;
  font-weight: 500;
}

/* --- 容器 --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* --- 藤蔓装饰 --- */
.vine-left, .vine-right {
  position: fixed;
  top: 0;
  width: var(--vine-width);
  height: 100vh;
  z-index: 100;
  pointer-events: none;
  background-repeat: repeat-y;
  background-size: contain;
  opacity: 0.5;
}

.vine-left {
  left: 0;
  background-image: url('../images/vine-left.webp');
}

.vine-right {
  right: 0;
  background-image: url('../images/vine-right.webp');
  transform: scaleX(-1);
}

/* --- 树叶飘落动画 --- */
.falling-leaf {
  position: fixed;
  top: -60px;
  z-index: 99;
  pointer-events: none;
  animation: leafFall linear infinite;
  opacity: 0.7;
}

.falling-leaf:nth-child(1) {
  left: 10%;
  animation-duration: 12s;
  animation-delay: 0s;
}

.falling-leaf:nth-child(2) {
  left: 40%;
  animation-duration: 15s;
  animation-delay: 3s;
}

.falling-leaf:nth-child(3) {
  left: 70%;
  animation-duration: 18s;
  animation-delay: 6s;
}

@keyframes leafFall {
  0% {
    transform: translateY(-60px) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(110vh) rotate(720deg) translateX(80px);
    opacity: 0;
  }
}

/* --- 导航栏 (非sticky) --- */
.site-nav {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-light) 100%);
  border-bottom: 3px solid var(--jungle-green);
  padding: 12px 0;
  position: relative;
  z-index: 50;
}

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links li a {
  display: block;
  padding: 8px 14px;
  color: #e0e0e0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--treasure-gold);
  border-color: var(--jungle-green);
  background: rgba(46, 204, 113, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--treasure-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 40, 24, 0.4) 0%, rgba(13, 40, 24, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: var(--treasure-gold);
  text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

.hero-content .hero-slogan {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  font-weight: 600;
}

/* --- CTA 按钮 --- */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--treasure-gold) 0%, var(--treasure-gold-dark) 100%);
  color: var(--dark-bg);
  font-family: var(--font-title);
  font-size: 1.2rem;
  border-radius: 50px;
  border: 3px solid var(--treasure-gold);
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(241, 196, 15, 0.5);
  color: var(--dark-bg);
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::after {
  width: 300px;
  height: 300px;
}

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

.section-module:nth-child(odd) {
  background: var(--dark-bg);
}

.section-module:nth-child(even) {
  background: var(--dark-bg-light);
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--treasure-gold);
  position: relative;
  display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
  content: '🌿';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.section-title h2::before {
  left: -40px;
}

.section-title h2::after {
  right: -40px;
}

.section-title p {
  color: var(--earth-brown-light);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 10px auto 0;
}

/* --- 品牌故事 (藏宝图) --- */
.brand-story-section {
  background: linear-gradient(135deg, var(--dark-bg-light) 0%, var(--dark-bg) 100%);
}

.treasure-map-wrapper {
  background: url('../images/treasure-map.webp') center/cover no-repeat;
  border-radius: 20px;
  padding: 40px;
  border: 4px solid var(--deep-brown);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.treasure-map-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 40, 24, 0.85);
  z-index: 0;
}

.treasure-map-wrapper > * {
  position: relative;
  z-index: 1;
}

.brand-story-text {
  color: var(--parchment-light);
  font-size: 1.05rem;
  line-height: 2;
}

.brand-story-text h3 {
  color: var(--treasure-gold);
  margin-top: 25px;
  font-size: 1.4rem;
}

/* --- 游戏试玩宝石模块 --- */
.game-gems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.gem-card {
  background: linear-gradient(145deg, rgba(46, 204, 113, 0.1) 0%, rgba(13, 40, 24, 0.9) 100%);
  border: 3px solid var(--jungle-green);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.gem-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.gem-card:hover::before {
  opacity: 1;
}

.gem-card:hover {
  transform: translateY(-8px);
  border-color: var(--treasure-gold);
  box-shadow: 0 15px 40px rgba(241, 196, 15, 0.2);
}

.gem-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.gem-card h3 {
  font-size: 1.2rem;
  color: var(--treasure-gold);
}

.gem-card p {
  color: var(--earth-brown-light);
  font-size: 0.95rem;
}

/* --- 大奖播报 (藤蔓果实) --- */
.jackpot-vine {
  background: linear-gradient(180deg, var(--jungle-green-dark) 0%, var(--dark-bg) 100%);
  padding: 30px 0;
  overflow: hidden;
}

.jackpot-scroll {
  display: flex;
  animation: jackpotScroll 20s linear infinite;
  gap: 20px;
}

.jackpot-item {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--treasure-gold) 0%, var(--treasure-gold-dark) 100%);
  color: var(--dark-bg);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

@keyframes jackpotScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 探险家日志 --- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.journal-card {
  background: var(--parchment);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid var(--deep-brown);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.journal-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

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

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

.journal-card-body h3 {
  font-size: 1rem;
  color: var(--dark-bg);
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 700;
}

.journal-card-body .author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.journal-card-body .author-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--jungle-green);
}

.journal-card-body .author-info span {
  font-size: 0.85rem;
  color: var(--rock-gray);
}

/* --- 注册宝箱模块 --- */
.register-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0a1f12 100%);
  position: relative;
  overflow: hidden;
}

.register-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.register-form {
  background: rgba(210, 180, 140, 0.1);
  border: 2px solid var(--deep-brown);
  border-radius: 20px;
  padding: 35px;
}

.register-form input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--earth-brown);
  border-radius: 12px;
  color: var(--parchment-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.register-form input:focus {
  outline: none;
  border-color: var(--treasure-gold);
}

.register-form input::placeholder {
  color: var(--earth-brown);
}

.register-chest-img {
  max-width: 100%;
  border-radius: 20px;
}

/* --- 活动日历 (玛雅日历) --- */
.calendar-section {
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.calendar-event {
  background: linear-gradient(135deg, var(--earth-brown) 0%, var(--rock-gray) 100%);
  border-radius: 15px;
  padding: 25px;
  text-align: left;
  border: 2px solid var(--treasure-gold);
  transition: all 0.3s ease;
}

.calendar-event:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(241, 196, 15, 0.2);
}

.calendar-event h4 {
  color: var(--treasure-gold);
  font-family: var(--font-body);
  font-weight: 700;
}

.calendar-event p {
  color: #e0e0e0;
  font-size: 0.95rem;
}

.calendar-event .event-date {
  display: inline-block;
  background: var(--treasure-gold);
  color: var(--dark-bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* --- 负责任博彩 --- */
.responsible-section {
  background: var(--dark-bg-light);
}

.responsible-sign {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #a0784c 0%, #8b6940 100%);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 4px solid var(--deep-brown);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
}

.responsible-sign::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--deep-brown);
  border-radius: 0 0 5px 5px;
}

.responsible-sign .badge-18 {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.responsible-sign h3 {
  color: #fff;
}

.responsible-sign p, .responsible-sign li {
  color: #f0e6d2;
  font-size: 1rem;
}

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

.responsible-sign ul li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  padding-left: 25px;
  position: relative;
}

.responsible-sign ul li::before {
  content: '⚠';
  position: absolute;
  left: 0;
}

/* --- 牌照模块 --- */
.license-section {
  text-align: center;
}

.license-badge-img {
  max-width: 300px;
  margin: 0 auto 25px;
  border-radius: 15px;
  border: 3px solid var(--treasure-gold);
  box-shadow: 0 8px 30px rgba(241, 196, 15, 0.2);
}

.license-text {
  max-width: 700px;
  margin: 0 auto;
  color: var(--parchment-light);
  font-size: 1.05rem;
}

.license-number {
  display: inline-block;
  background: var(--treasure-gold);
  color: var(--dark-bg);
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 15px 0;
}

/* --- FAQ 鹦鹉模块 --- */
.faq-section {
  background: var(--dark-bg);
}

.faq-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: start;
}

.faq-parrot {
  position: sticky;
  top: 20px;
}

.faq-parrot img {
  width: 100%;
  border-radius: 15px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(46, 204, 113, 0.08);
  border: 2px solid var(--jungle-green);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 700;
  color: var(--treasure-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.faq-question::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--parchment-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

/* --- 页脚 --- */
.site-footer {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #060f0a 100%);
  border-top: 3px solid var(--jungle-green);
  padding: 50px 0 20px;
  color: var(--earth-brown-light);
}

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

.footer-col h4 {
  color: var(--treasure-gold);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

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

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

.footer-col ul li a {
  color: var(--earth-brown-light);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

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

.footer-social a img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.footer-social a img:hover {
  transform: scale(1.15);
}

.footer-payments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-payments img {
  height: 36px;
  border-radius: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(46, 204, 113, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--earth-brown);
}

.footer-bottom .badge-18-footer {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
}

/* --- 面包屑 --- */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
  color: var(--earth-brown-light);
}

.breadcrumb a {
  color: var(--jungle-green);
}

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

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

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

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 40, 24, 0.5) 0%, rgba(13, 40, 24, 0.9) 100%);
  z-index: 2;
}

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

.inner-hero-content h1 {
  font-size: 2.5rem;
  color: var(--treasure-gold);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.inner-content {
  background: var(--dark-bg-light);
  padding: 50px 0;
}

.inner-article {
  max-width: 900px;
  margin: 0 auto;
  color: var(--parchment-light);
  font-size: 1.05rem;
  line-height: 2;
}

.inner-article h2, .inner-article h3 {
  margin-top: 30px;
}

.inner-article img {
  border-radius: 15px;
  margin: 25px 0;
  border: 3px solid var(--jungle-green);
}

.inner-article .game-info-box {
  background: rgba(46, 204, 113, 0.08);
  border: 2px solid var(--jungle-green);
  border-radius: 15px;
  padding: 25px;
  margin: 25px 0;
}

.inner-article .game-info-box h4 {
  color: var(--treasure-gold);
}

.inner-article .game-info-box table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.inner-article .game-info-box table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(46, 204, 113, 0.2);
  color: var(--parchment-light);
}

.inner-article .game-info-box table td:first-child {
  font-weight: 700;
  color: var(--treasure-gold);
  width: 40%;
}

/* --- 视频模块 --- */
.video-section {
  text-align: center;
  padding: 40px 0;
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--jungle-green);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16/9;
  background: #000;
}

.video-wrapper video,
.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(241, 196, 15, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 5;
}

.video-play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 28px;
  border-color: transparent transparent transparent var(--dark-bg);
  margin-left: 5px;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--treasure-gold);
}

/* --- APP下载页 --- */
.app-hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--jungle-green-dark) 100%);
  padding: 60px 0;
  text-align: center;
}

.app-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 600px;
  margin: 30px auto;
}

.app-qr-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--jungle-green);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
}

.app-qr-card img {
  width: 200px;
  height: 200px;
  margin: 0 auto 15px;
  border-radius: 10px;
}

.app-qr-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
}

.app-steps {
  max-width: 800px;
  margin: 40px auto;
}

.app-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(46, 204, 113, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--jungle-green);
}

.app-step-num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--jungle-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.5rem;
}

.app-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.app-advantage-card {
  background: rgba(46, 204, 113, 0.08);
  border: 2px solid var(--jungle-green);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
}

.app-advantage-card:hover {
  transform: translateY(-5px);
  border-color: var(--treasure-gold);
}

.app-advantage-card h4 {
  color: var(--treasure-gold);
  font-family: var(--font-body);
  font-weight: 700;
}

/* --- 淡入动画 --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 栏目页通用 --- */
.category-hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.category-content {
  padding: 50px 0;
  background: var(--dark-bg-light);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.category-card {
  background: rgba(46, 204, 113, 0.05);
  border: 2px solid var(--jungle-green);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15);
}

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

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

.category-card-body h3 {
  font-size: 1.1rem;
  color: var(--treasure-gold);
  font-family: var(--font-body);
  font-weight: 700;
}

.category-card-body p {
  color: var(--parchment-light);
  font-size: 0.95rem;
}

/* ============================================
   响应式设计 - 移动端优先
   ============================================ */

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .register-wrapper {
    grid-template-columns: 1fr;
  }

  .faq-wrapper {
    grid-template-columns: 1fr;
  }

  .faq-parrot {
    position: static;
    text-align: center;
  }

  .faq-parrot img {
    max-width: 150px;
    margin: 0 auto;
  }

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

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

  .vine-left, .vine-right {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    border-top: 2px solid var(--jungle-green);
    padding: 15px;
    z-index: 100;
  }

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

  .nav-toggle {
    display: flex;
  }

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

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

  .game-gems-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

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

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

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

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

  .treasure-map-wrapper {
    padding: 20px;
  }

  .inner-hero {
    height: 280px;
  }

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

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

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

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

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .cta-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }

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