:root {
  --gold: #FFC64D;
  --orange: #FF8A3D;
  --coral: #FF5470;
  --bg-main: #1A0C08;
  --bg-dark: #1F0E09;
  --panel-1: #33150E;
  --panel-2: #4A1E13;
  --text-main: #FFF3EA;
  --text-sub: #C29C8A;
  --border-light: rgba(255, 196, 150, 0.10);
  --border-strong: rgba(255, 196, 150, 0.20);
  --grad-main: linear-gradient(135deg, #FFC64D 0%, #FF8A3D 50%, #FF5470 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

/* 光晕背景 */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 10%, rgba(255, 198, 77, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(255, 138, 61, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255, 84, 112, 0.1) 0%, transparent 50%);
}

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(26, 12, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
}

.brand img {
  height: 32px;
  border-radius: 6px;
}

.nav-list {
  display: none;
  gap: 16px;
}

.nav-list a {
  font-size: 14px;
  color: var(--text-sub);
  transition: color 0.3s;
  position: relative;
}

.nav-list a:hover {
  color: var(--gold);
}

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

.nav-list a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 20px;
  flex-direction: column;
  gap: 12px;
}

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

.mobile-nav a {
  font-size: 15px;
  color: var(--text-sub);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

/* 首屏 Hero */
.hero {
  padding: 100px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 16px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-break: break-word;
}

.hero-text p {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  color: #1A0C08;
  background: var(--grad-main);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.4);
}

.hero-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex: 1;
}

.hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  aspect-ratio: 3/4;
}

/* 跑马灯 */
.marquee-wrap {
  overflow: hidden;
  background: var(--panel-1);
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-top: 20px;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-size: 16px;
  font-weight: bold;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.marquee-content span {
  padding-right: 40px;
}

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

/* 通用版块 */
.section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--grad-main);
  border-radius: 2px;
}

/* 网格卡片 */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--panel-1);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.card:hover {
  border-color: var(--border-strong);
}

.card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.card-info {
  padding: 12px;
}

.card-info h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--gold);
}

.card-desc {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.card-date {
  font-size: 11px;
  color: var(--coral);
}

/* 排行榜列表 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel-1);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
}

.rank-num {
  font-size: 18px;
  font-weight: bold;
  color: var(--coral);
  width: 24px;
  text-align: center;
}

.rank-item img {
  width: 40px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.rank-info {
  flex: 1;
}

.rank-info h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.rank-info p {
  font-size: 12px;
  color: var(--text-sub);
}

/* 点评 */
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-item {
  background: var(--panel-1);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.review-name {
  font-size: 14px;
  font-weight: bold;
  color: var(--gold);
}

.review-text {
  font-size: 13px;
  color: var(--text-sub);
}

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--border-strong);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-main);
}

.timeline-time {
  font-size: 13px;
  font-weight: bold;
  color: var(--coral);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 14px;
  color: var(--text-main);
}

/* 问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel-1);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
}

.faq-q {
  font-size: 15px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 13px;
  color: var(--text-sub);
}

/* 会员权益 */
.vip-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vip-item {
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}

.vip-item h3 {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 6px;
}

.vip-item p {
  font-size: 12px;
  color: var(--text-sub);
}

/* 下载专区 */
.download-section {
  background: var(--panel-1);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.download-section img {
  width: 120px;
  border-radius: 12px;
}

/* 浮动下载 */
.float-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(51, 21, 14, 0.95);
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.float-download img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.float-text {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.3;
  text-align: left;
}

.float-text span {
  display: block;
  color: var(--gold);
  font-weight: bold;
}

.float-btn {
  background: var(--grad-main);
  color: #1A0C08;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}

/* 页脚 */
.footer {
  padding: 30px 20px;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 80px; /* 给浮动窗口留空间 */
}

.footer p {
  margin-bottom: 8px;
}

.footer a {
  color: var(--text-sub);
}

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

/* 弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--panel-1);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 320px;
  text-align: center;
}

.modal-content p {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.modal-content input {
  width: 100%;
  padding: 10px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}

.modal-content button {
  width: 100%;
  padding: 10px;
  background: var(--grad-main);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  color: #1A0C08;
  cursor: pointer;
  font-size: 14px;
}

/* 桌面端适配 */
@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
  .hero {
    flex-direction: row;
    align-items: center;
    padding-top: 120px;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .hero-images {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
  .vip-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .download-section {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: 40px;
  }
  .download-section img {
    width: 160px;
  }
}

@media (min-width: 1024px) {
  .hero {
    gap: 60px;
  }
  .hero-text h1 {
    font-size: 42px;
  }
  .grid-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
  .rank-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .download-section img {
    width: 200px;
  }
  .float-download {
    bottom: 30px;
    padding: 10px 24px;
  }
}