/* ===== 全局重置 & 基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Microsoft YaHei', 'SimHei', 'PingFang SC', sans-serif;
  background: #0d0d0d;
  color: #e0d5c0;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== 背景 ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(180deg, #0a0806 0%, #1a0f08 30%, #2d1a0a 60%, #0a0806 100%);
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 15px 60px, rgba(255, 200, 100, 0.6), transparent),
    radial-gradient(1px 1px at 50px 120px, rgba(255, 180, 80, 0.4), transparent),
    radial-gradient(1px 1px at 80px 40px, rgba(255, 220, 120, 0.5), transparent),
    radial-gradient(1px 1px at 120px 180px, rgba(255, 200, 100, 0.3), transparent),
    radial-gradient(1px 1px at 200px 90px, rgba(255, 160, 60, 0.5), transparent),
    radial-gradient(1px 1px at 280px 150px, rgba(255, 200, 100, 0.4), transparent);
  background-size: 300px 200px;
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
  0% { opacity: 0.3; transform: translateY(0); }
  100% { opacity: 0.8; transform: translateY(-10px); }
}

/* ===== 主容器 ===== */
.container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  min-height: 100vh;
}

/* ===== 顶部导航 ===== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(200, 150, 80, 0.3);
  margin-bottom: 2rem;
  border-radius: 4px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffcc44;
  text-shadow: 0 0 10px rgba(255, 204, 68, 0.3);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.75rem;
  color: #8a7a6a;
  letter-spacing: 1px;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #8a7a6a;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #44bb44;
  box-shadow: 0 0 6px rgba(68, 187, 68, 0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(68, 187, 68, 0.6); }
  50% { box-shadow: 0 0 12px rgba(68, 187, 68, 0.9); }
}

/* ===== 英雄区域 ===== */
.hero-section {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.game-badge {
  display: inline-block;
  background: linear-gradient(90deg, #cc3300, #ff4400);
  color: #fff;
  padding: 0.3rem 1.2rem;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 1.2rem;
  border-radius: 2px;
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 68, 0, 0.4); }
  50% { box-shadow: 0 0 20px rgba(255, 68, 0, 0.7); }
}

.game-title {
  font-size: clamp(2.8rem, 12vw, 5rem);
  font-weight: 900;
  color: #ffcc44;
  text-shadow:
    2px 2px 0 #8b5e3c,
    4px 4px 0 #5a3a2a,
    0 0 30px rgba(255, 204, 68, 0.3);
  letter-spacing: 8px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.game-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.2rem);
  color: #c9a96e;
  letter-spacing: 6px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hero-divider {
  width: 60%;
  max-width: 500px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
  position: relative;
}

.hero-divider::before,
.hero-divider::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #c9a96e;
  font-size: 0.6rem;
}

.hero-divider::before { left: 5%; }
.hero-divider::after { right: 5%; }

/* ===== 截图轮播 ===== */
.screenshot-section {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.screenshot-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(135deg, #2a1a0a, #1a0f08);
  border: 1px solid rgba(200, 150, 80, 0.4);
  box-shadow:
    0 0 20px rgba(200, 150, 80, 0.15),
    inset 0 0 20px rgba(200, 150, 80, 0.05);
  max-width: 100%;
  border-radius: 4px;
}

.screenshot-wrapper {
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

.screenshot-img {
  width: 100%;
  max-width: 700px;
  max-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-frame:hover .screenshot-img {
  transform: scale(1.02);
}

.screenshot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  text-align: center;
}

.screenshot-overlay span {
  color: #c9a96e;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* ===== 游戏介绍 ===== */
.intro-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.intro-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(200, 150, 80, 0.2);
  padding: 1.5rem;
  border-radius: 4px;
}

.intro-card-title {
  font-size: 1rem;
  color: #ffcc44;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200, 150, 80, 0.2);
}

.intro-text {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: #c0b09a;
  line-height: 1.8;
}

/* ===== 职业展示 ===== */
.classes-section {
  margin-bottom: 2.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: #ffcc44;
  letter-spacing: 6px;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 204, 68, 0.2);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.class-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(200, 150, 80, 0.2);
  padding: 1rem;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: default;
}

.class-card:hover {
  border-color: rgba(200, 150, 80, 0.6);
  background: rgba(20, 15, 10, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.class-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  border: 2px solid rgba(200, 150, 80, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0,0,0,0.3);
}

.class-name {
  font-size: 0.95rem;
  color: #ffcc44;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.class-desc {
  font-size: 0.75rem;
  color: #8a7a6a;
}

/* ===== 截图画廊 ===== */
.gallery-section {
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.gallery-item {
  position: relative;
  border: 1px solid rgba(200, 150, 80, 0.3);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  border-color: rgba(200, 150, 80, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 0.75rem;
  color: #c9a96e;
  letter-spacing: 2px;
}

/* ===== 游戏攻略 ===== */
.guide-section {
  margin-bottom: 2.5rem;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.guide-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(200, 150, 80, 0.2);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.guide-card:hover {
  border-color: rgba(200, 150, 80, 0.5);
  background: rgba(20, 15, 10, 0.7);
  transform: translateX(4px);
}

.guide-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.guide-card-tag {
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  letter-spacing: 1px;
  border: 1px solid;
}

.guide-card-tag.hot {
  background: rgba(255, 68, 0, 0.15);
  border-color: rgba(255, 68, 0, 0.4);
  color: #ff6644;
}

.guide-card-tag.new {
  background: rgba(60, 175, 80, 0.15);
  border-color: rgba(60, 175, 80, 0.4);
  color: #66dd66;
}

.guide-card-tag.top {
  background: rgba(200, 150, 80, 0.15);
  border-color: rgba(200, 150, 80, 0.4);
  color: #c9a96e;
}

.guide-card-title {
  font-size: 0.9rem;
  color: #e0d5c0;
  letter-spacing: 1px;
  font-weight: normal;
  flex: 1;
  margin-right: 0.5rem;
}

.guide-card-desc {
  font-size: 0.75rem;
  color: #8a7a6a;
  line-height: 1.6;
}

/* ===== 下载区域 ===== */
.download-section {
  margin-bottom: 2.5rem;
}

.download-title {
  text-align: center;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: #ffcc44;
  letter-spacing: 8px;
  margin-bottom: 0.5rem;
}

.download-sub {
  text-align: center;
  font-size: 0.8rem;
  color: #8a7a6a;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border: 1px solid;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.download-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
}

.download-btn:hover::after {
  left: 100%;
}

/* Android 按钮 */
.android-btn {
  background: linear-gradient(135deg, rgba(60, 175, 80, 0.15), rgba(60, 175, 80, 0.05));
  border-color: rgba(60, 175, 80, 0.5);
  color: #66dd66;
}

.android-btn:hover {
  background: linear-gradient(135deg, rgba(60, 175, 80, 0.25), rgba(60, 175, 80, 0.1));
  border-color: rgba(60, 175, 80, 0.8);
  box-shadow: 0 0 20px rgba(60, 175, 80, 0.2);
  transform: translateY(-2px);
}

/* iOS 按钮 */
.ios-btn {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.15), rgba(0, 122, 255, 0.05));
  border-color: rgba(0, 122, 255, 0.5);
  color: #55aaff;
}

.ios-btn:hover {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.25), rgba(0, 122, 255, 0.1));
  border-color: rgba(0, 122, 255, 0.8);
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.2);
  transform: translateY(-2px);
}

/* PC 按钮 */
.pc-btn {
  background: linear-gradient(135deg, rgba(200, 150, 80, 0.15), rgba(200, 150, 80, 0.05));
  border-color: rgba(200, 150, 80, 0.5);
  color: #c9a96e;
}

.pc-btn:hover {
  background: linear-gradient(135deg, rgba(200, 150, 80, 0.25), rgba(200, 150, 80, 0.1));
  border-color: rgba(200, 150, 80, 0.8);
  box-shadow: 0 0 20px rgba(200, 150, 80, 0.2);
  transform: translateY(-2px);
}

.btn-icon-wrapper {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 8px;
}

.btn-icon {
  width: 100%;
  height: 100%;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.btn-label {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  font-weight: bold;
  letter-spacing: 2px;
}

.btn-sub {
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  opacity: 0.6;
}

/* ===== 底部固定悬浮导航 ===== */
.fixed-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 8, 6, 0.95);
  border-top: 1px solid rgba(200, 150, 80, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.fixed-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border: 1px solid;
  border-radius: 4px;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 260px;
  justify-content: center;
}

.fixed-nav-btn .nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.fixed-nav-btn .nav-label {
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
}

.fixed-nav-btn .nav-sub {
  font-size: 0.6rem;
  opacity: 0.7;
  display: none;
}

.fixed-nav-btn.android-nav {
  background: linear-gradient(135deg, rgba(60, 175, 80, 0.2), rgba(60, 175, 80, 0.05));
  border-color: rgba(60, 175, 80, 0.5);
  color: #66dd66;
}

.fixed-nav-btn.android-nav:hover {
  background: linear-gradient(135deg, rgba(60, 175, 80, 0.35), rgba(60, 175, 80, 0.1));
  border-color: rgba(60, 175, 80, 0.8);
  box-shadow: 0 0 15px rgba(60, 175, 80, 0.3);
}

.fixed-nav-btn.ios-nav {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(0, 122, 255, 0.05));
  border-color: rgba(0, 122, 255, 0.5);
  color: #55aaff;
}

.fixed-nav-btn.ios-nav:hover {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.35), rgba(0, 122, 255, 0.1));
  border-color: rgba(0, 122, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 122, 255, 0.3);
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  z-index: 99;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(200, 150, 80, 0.4);
  border-radius: 4px;
  background: rgba(10, 8, 6, 0.85);
  color: #c9a96e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: rgba(200, 150, 80, 0.8);
  background: rgba(20, 15, 10, 0.95);
  box-shadow: 0 0 15px rgba(200, 150, 80, 0.2);
  transform: translateY(-3px);
}
.back-to-top svg { width: 20px; height: 20px; }
@media (min-width: 640px) {
  .back-to-top { bottom: 6rem; right: 2rem; width: 48px; height: 48px; }
  .back-to-top svg { width: 22px; height: 22px; }
}

/* ===== 灯箱（inline样式迁移） ===== */
#lightboxOverlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}
#lightboxOverlay.active {
  opacity: 1;
  visibility: visible;
}
#lightboxWrapper {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
}
#lightboxImg {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 2px solid rgba(200,150,80,0.3);
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(200,150,80,0.15);
}
#lightboxCloseBtn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #c9a96e;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  z-index: 10;
}
#lightboxCloseBtn:hover {
  opacity: 1;
  color: #ffcc44;
}
#lightboxPrevBtn, #lightboxNextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10,8,6,0.7);
  border: 1px solid rgba(200,150,80,0.4);
  border-radius: 4px;
  color: #c9a96e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
  padding: 0;
}
#lightboxPrevBtn:hover, #lightboxNextBtn:hover {
  background: rgba(20,15,10,0.9);
  border-color: rgba(200,150,80,0.8);
  color: #ffcc44;
}
#lightboxPrevBtn svg, #lightboxNextBtn svg {
  width: 20px;
  height: 20px;
}
#lightboxPrevBtn { left: -0.8rem; }
#lightboxNextBtn { right: -0.8rem; }
#lightboxCounter {
  margin-top: 1rem;
  color: #8a7a6a;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
@media (min-width: 640px) {
  #lightboxPrevBtn { left: -2.5rem; }
  #lightboxNextBtn { right: -2.5rem; }
}

/* ===== 职业SVG图标 ===== */
.class-svg-icon {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto;
}

/* ===== 火苗图标 ===== */
.badge-fire {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
  display: inline-block;
}

/* ===== SVG 礼包图标 ===== */
.gift-svg-icon {
  display: block;
  margin: 0 auto;
}

/* ===== 礼包图标图片 ===== */
.gift-icon-img {
  width: 36px;
  height: 36px;
  display: block;
  margin: 0 auto;
}

/* ===== 二维码图片 ===== */
.service-qr-img {
  width: 100%;
  height: auto;
  max-width: 180px;
  display: block;
  border-radius: 2px;
}

/* ===== 攻略"查看"按钮 ===== */
.guide-card-tag {
  display: inline-block;
  font-family: inherit;
  font-size: 0.65rem;
  padding: 0.2rem 0.8rem;
  border-radius: 3px;
  letter-spacing: 1px;
  border: 1px solid #c9a96e;
  background: rgba(200, 150, 80, 0.2);
  color: #ffdd99;
  cursor: pointer;
  line-height: inherit;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.3s ease;
}
.guide-card-tag:focus {
  outline: none;
  box-shadow: none;
}
.guide-card-tag:hover {
  background: rgba(200, 150, 80, 0.35);
  border-color: #ffcc44;
  color: #ffeebb;
}
.guide-card-tag:active {
  transform: scale(0.95);
}

/* ===== 复制微信号按钮 ===== */
.copy-wechat-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 3px;
  letter-spacing: 1px;
  border: 1px solid rgba(200,150,80,0.3);
  background: rgba(200,150,80,0.15);
  color: #c9a96e;
  cursor: pointer;
  line-height: inherit;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.3s ease;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.copy-wechat-btn:focus {
  outline: none;
  box-shadow: none;
}
.copy-wechat-btn:hover {
  background: rgba(200,150,80,0.3);
  border-color: #ffcc44;
  color: #ffdd99;
}
.copy-wechat-btn:active {
  transform: scale(0.95);
}

/* ===== 简约底部导航 ===== */
.bottom-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 1.5rem 0 0.5rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(200,150,80,0.15);
}
.bottom-nav-link {
  color: #8a7a6a;
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  padding: 0.2rem 0;
}
.bottom-nav-link:hover {
  color: #c9a96e;
}

/* ===== 福利号+兑换码 ===== */
.welfare-section {
  margin-bottom: 3rem;
}
.welfare-subtitle {
  color: #c9a96e;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  opacity: 0.8;
}
.welfare-row {
  display: flex;
  gap: 1.5rem;
}
.welfare-card {
  background: rgba(15,12,8,0.7);
  border: 1px solid rgba(200,150,80,0.25);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  flex: 1;
  min-width: 0;
}
.welfare-card-header {
  color: #ffcc44;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(200,150,80,0.2);
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.welfare-codes-title {
  flex: 1;
}
.welfare-codes-badge {
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: rgba(200,150,80,0.2);
  color: #c9a96e;
  border: 1px solid rgba(200,150,80,0.3);
  font-weight: normal;
  letter-spacing: 1px;
}
.welfare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.welfare-list li {
  color: #c9a96e;
  font-size: 0.85rem;
  line-height: 1.8;
  padding-left: 1rem;
  position: relative;
}
.welfare-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #c9a96e;
}
.welfare-tip {
  color: #ff8844;
  font-size: 0.75rem;
}
.welfare-codes-list {
  max-height: 320px;
  overflow-y: auto;
}
.welfare-codes-list::-webkit-scrollbar {
  width: 4px;
}
.welfare-codes-list::-webkit-scrollbar-track {
  background: rgba(200,150,80,0.1);
  border-radius: 2px;
}
.welfare-codes-list::-webkit-scrollbar-thumb {
  background: rgba(200,150,80,0.3);
  border-radius: 2px;
}
.welfare-code-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(200,150,80,0.1);
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s ease;
}
.welfare-code-item:hover {
  background: rgba(200,150,80,0.1);
}
.welfare-code-item:last-child {
  border-bottom: none;
}
.welfare-code {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #ffcc44;
  background: rgba(200,150,80,0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.welfare-code-desc {
  color: #c9a96e;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .welfare-row {
    flex-direction: column;
  }
  .welfare-codes-list {
    max-height: 250px;
  }
}

/* ===== VIP福利弹窗 ===== */
#vipModal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#vipModal.active {
  opacity: 1;
  visibility: visible;
}
#vipModalContent {
  position: relative;
  background: linear-gradient(135deg, #1a1510 0%, #2a2218 100%);
  border: 1px solid rgba(200,150,80,0.4);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(200,150,80,0.15);
}
#vipModalClose {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  color: #c9a96e;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  z-index: 10;
}
#vipModalClose:hover {
  opacity: 1;
  color: #ffcc44;
}
#vipModalBody {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.vip-modal-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vip-modal-icon {
  margin-bottom: 0.8rem;
}
.vip-modal-title {
  color: #ffcc44;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  letter-spacing: 2px;
}
.vip-modal-desc {
  color: #c9a96e;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.vip-modal-desc p {
  margin: 0 0 0.5rem 0;
}
.vip-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.vip-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 1px;
}
.vip-btn-primary {
  background: linear-gradient(135deg, #c9a96e, #b8860b);
  color: #fff;
  font-weight: bold;
}
.vip-btn-primary:hover {
  background: linear-gradient(135deg, #dab976, #c9971c);
  transform: translateY(-1px);
}
.vip-btn-cancel {
  background: rgba(200,150,80,0.15);
  color: #c9a96e;
  border: 1px solid rgba(200,150,80,0.3);
}
.vip-btn-cancel:hover {
  background: rgba(200,150,80,0.25);
}
.vip-modal-right {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.vip-modal-qr {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(200,150,80,0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.vip-modal-qr-label {
  color: #c9a96e;
  font-size: 0.75rem;
  text-align: center;
  margin: 0;
  letter-spacing: 1px;
}
@media (max-width: 500px) {
  #vipModalBody {
    flex-direction: column;
  }
  .vip-modal-right {
    width: 100%;
    order: -1;
  }
  .vip-modal-qr {
    width: 100px;
    height: 100px;
  }
}

/* ===== 最新活动弹窗（宽版） ===== */
#vipModalContent {
  max-width: 600px;
}

/* ===== 小助理微信弹窗 ===== */
#assistantModal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10002;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#assistantModal.active {
  opacity: 1;
  visibility: visible;
}
#assistantModalContent {
  position: relative;
  background: linear-gradient(135deg, #1a1510 0%, #2a2218 100%);
  border: 1px solid rgba(200,150,80,0.4);
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(200,150,80,0.15);
}
#assistantModalClose {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  color: #c9a96e;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  z-index: 10;
}
#assistantModalClose:hover {
  opacity: 1;
  color: #ffcc44;
}
#assistantModalBody {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.assistant-modal-title {
  color: #ffcc44;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
  letter-spacing: 2px;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(200,150,80,0.2);
}
.assistant-modal-subtitle {
  color: #c9a96e;
  font-size: 0.85rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 1px;
}
.assistant-modal-section {
  padding: 0;
}
.assistant-modal-qr {
  max-width: 180px;
  margin: 0 auto;
  border: 2px solid rgba(200,150,80,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.assistant-modal-desc {
  color: #c9a96e;
  font-size: 0.85rem;
  margin: 0 0 0.5rem 0;
  font-weight: bold;
  letter-spacing: 1px;
}
.assistant-modal-list {
  color: #e0d5c0;
  font-size: 0.8rem;
  padding-left: 1.2rem;
  margin: 0;
  line-height: 1.8;
}
.assistant-modal-list li {
  margin-bottom: 0.2rem;
}

/* ===== 客服微信 ===== */
.service-section {
  margin-bottom: 2.5rem;
  text-align: center;
}

.service-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(200, 150, 80, 0.2);
  border-radius: 4px;
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.service-wechat {
  display: inline-block;
  width: 160px;
  height: 160px;
  background: #fff;
  border: 2px solid rgba(200, 150, 80, 0.3);
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.service-wechat-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  background: linear-gradient(135deg, #1a3a1a, #2a5a2a);
  border-radius: 2px;
}

.service-wechat-placeholder .qr-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.service-wechat-placeholder .qr-text {
  font-size: 0.6rem;
  color: #88cc88;
  letter-spacing: 1px;
}

.service-info {
  font-size: 0.85rem;
  color: #c0b09a;
  line-height: 1.8;
}

.service-info strong {
  color: #ffcc44;
  font-weight: normal;
  letter-spacing: 1px;
}

.service-info .wechat-id {
  display: inline-block;
  background: rgba(60, 175, 80, 0.15);
  border: 1px solid rgba(60, 175, 80, 0.3);
  padding: 0.2rem 0.8rem;
  border-radius: 2px;
  color: #66dd66;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: 0.3rem;
}

.service-hint {
  font-size: 0.7rem;
  color: #6a5a4a;
  margin-top: 0.5rem;
}

/* ===== 礼包卡片标题颜色 ===== */
.gift-card-title-1 { color: #ffcc44 !important; } /* 小助理微信 - 金色 */
.gift-card-title-2 { color: #ff6b6b !important; } /* 最新活动 - 红色 */
.gift-card-title-3 { color: #ff9f43 !important; } /* 火爆新区 - 橙色 */
.gift-card-title-4 { color: #54a0ff !important; } /* 新手礼包 - 蓝色 */

/* ===== 礼包模块 ===== */
.gift-section {
  margin-bottom: 2.5rem;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.gift-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(200, 150, 80, 0.2);
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gift-card:hover {
  border-color: rgba(200, 150, 80, 0.5);
  background: rgba(20, 15, 10, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gift-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gift-name {
  font-size: 0.85rem;
  color: #e0d5c0;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.gift-desc {
  font-size: 0.7rem;
  color: #8a7a6a;
  margin-bottom: 0.6rem;
}

.gift-code {
  display: inline-block;
  background: rgba(200, 150, 80, 0.1);
  border: 1px dashed rgba(200, 150, 80, 0.4);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: #c9a96e;
  letter-spacing: 2px;
  border-radius: 2px;
  font-family: 'Courier New', monospace;
  transition: all 0.3s ease;
}

.gift-card:hover .gift-code {
  background: rgba(200, 150, 80, 0.2);
  border-color: rgba(200, 150, 80, 0.7);
}

.gift-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 1rem;
  font-size: 0.7rem;
  color: #ffcc44;
  border: 1px solid rgba(200, 150, 80, 0.4);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.gift-btn:hover {
  background: rgba(200, 150, 80, 0.15);
  border-color: rgba(200, 150, 80, 0.8);
}

.gift-btn.copied {
  background: rgba(60, 175, 80, 0.2);
  border-color: rgba(60, 175, 80, 0.6);
  color: #66dd66;
}

/* ===== 友情链接 ===== */
.friend-links {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 150, 80, 0.1);
}

.friend-links-title {
  text-align: center;
  font-size: 0.75rem;
  color: #6a5a4a;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
}

.friend-links-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.friend-links-list a {
  color: #5a4a3a;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 1px;
  transition: color 0.3s;
  padding: 0.2rem 0;
}

.friend-links-list a:hover {
  color: #c9a96e;
}

.friend-links-divider {
  color: #3a2a1a;
  font-size: 0.6rem;
  display: none;
}

@media (min-width: 480px) {
  .friend-links-divider {
    display: inline;
  }
}

/* ===== 底部 ===== */
.footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 150, 80, 0.15);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: #8a7a6a;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #c9a96e;
}

.copyright {
  font-size: 0.7rem;
  color: #5a4a3a;
  line-height: 2;
}

.copyright span {
  display: block;
}

/* ===== 响应式 ===== */

/* 平板 */
@media (min-width: 640px) {
  .container {
    padding: 3rem 2rem;
  }

  .intro-section {
    grid-template-columns: 1fr 1fr;
  }

  .classes-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gift-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .guide-list {
    max-width: 600px;
    margin: 0 auto;
  }

  .download-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .download-btn {
    flex: 0 1 auto;
    min-width: 280px;
  }
}

/* 桌面 */
@media (min-width: 768px) {
  .container {
    padding: 3rem 2.5rem;
  }

  .screenshot-img {
    max-width: 800px;
    max-height: 450px;
  }
}

/* 大屏桌面 */
@media (min-width: 1024px) {
  .container {
    max-width: 1100px;
    padding: 4rem 3rem;
  }

  .top-bar {
    padding: 1rem 2rem;
  }
}

/* 极小屏 */
@media (max-width: 360px) {
  .container {
    padding: 1rem 0.8rem;
  }

  .game-title {
    letter-spacing: 4px;
  }

  .btn-icon-wrapper {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}
