:root {
  --primary: #F5B041;
  --primary-dark: #e09c2e;
  --secondary: #82C341;
  --secondary-dark: #6ea833;
  --bg: #FDFBF7;
  --text: #333333;
  --text-light: #666666;
  --card-bg: #FFFFFF;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(245, 176, 65, 0.08);
  --shadow-hover: 0 12px 32px rgba(245, 176, 65, 0.15);
  --transition: all 0.3s ease;
}

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

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text);
}

.logo-area img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-light);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-download-nav {
  background-color: var(--secondary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.btn-download-nav:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

/* Hero 区 */
.hero {
  position: relative;
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #FFF5E1 0%, #FDFBF7 100%);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  width: 100%;
  object-fit: cover;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding: 20px;
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  justify-content: space-around;
}

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

.stat-item strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
}

.stat-item span {
  font-size: 13px;
  color: var(--text-light);
}

/* 通用区块 */
.section {
  padding: 60px 0;
}

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

.section-header h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  font-size: 15px;
}

/* 下载区 */
.download-section {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: var(--shadow);
}

.download-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.download-visual {
  flex: 1;
  text-align: center;
}

.download-visual img {
  max-width: 280px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.download-info {
  flex: 1;
}

.download-info h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(130, 195, 65, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-weight: bold;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: var(--text-light);
}

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

.btn-download {
  background-color: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-download:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.download-note {
  font-size: 13px;
  color: var(--text-light);
}

/* 4x1 大图展示区 */
.gallery-section {
  background-color: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  padding: 30px 20px 20px;
  color: #fff;
}

.gallery-overlay h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 13px;
  opacity: 0.9;
}

/* 热门直播 */
.hot-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.live-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.live-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.live-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
}

.live-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: rgba(245, 176, 65, 0.9);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 50px;
}

.live-card-info {
  padding: 12px;
}

.live-card-info h3 {
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-card-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* 分类导航 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-item {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.category-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--secondary);
}

.category-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.category-item span {
  font-size: 14px;
  font-weight: 500;
}

/* 主播专区 */
.anchor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.anchor-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.anchor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.anchor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary);
}

.anchor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anchor-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.anchor-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.btn-follow {
  background-color: rgba(130, 195, 65, 0.1);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-follow:hover {
  background-color: var(--secondary);
  color: #fff;
}

/* 玩法介绍 */
.play-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.play-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.play-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.play-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.play-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* 活动专区 */
.event-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.event-banner img {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
}

.event-content {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.event-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* 排行榜 */
.rank-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.rank-list {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
}

.rank-list h3 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #f0f0f0;
}

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

.rank-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.rank-num {
  font-weight: bold;
  color: var(--text-light);
  width: 20px;
}

.rank-item:nth-child(1) .rank-num { color: var(--primary); font-size: 16px; }
.rank-item:nth-child(2) .rank-num { color: #FFA500; }
.rank-item:nth-child(3) .rank-num { color: #DAA520; }

.rank-score {
  font-size: 12px;
  color: var(--text-light);
}

/* 精彩回放 */
.replay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.replay-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.replay-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.replay-info {
  padding: 16px;
}

.replay-info h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.replay-info p {
  font-size: 13px;
  color: var(--text-light);
}

/* 主播故事 */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.story-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.story-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-header h3 {
  font-size: 16px;
}

.story-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* 安全合规 */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.safety-item {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.safety-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.safety-item h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.safety-item p {
  font-size: 13px;
  color: var(--text-light);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid transparent;
  transition: var(--transition);
}

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

.faq-item summary {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

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

.faq-content {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-light);
}

/* 底部 CTA */
.footer-cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #FFF5E1 0%, #FDFBF7 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.footer-cta h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.footer-cta p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* 页脚 */
.site-footer {
  background-color: #f9f6f0;
  padding: 40px 0 20px;
  font-size: 13px;
  color: #999;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #999;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-bottom a {
  color: #999;
}

.about-details {
  margin-top: 10px;
  font-size: 12px;
}

.about-details summary {
  cursor: pointer;
  color: #aaa;
  outline: none;
}

.about-details-content {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.about-details-content a {
  color: #bbb;
  transition: color 0.3s;
}

.about-details-content a:hover {
  color: var(--secondary);
}

/* 悬浮下载按钮 */
.floating-download {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.btn-float {
  background-color: var(--secondary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(130, 195, 65, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  animation: floatAnim 3s ease-in-out infinite;
}

.btn-float:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.float-popup {
  display: none;
  background-color: #fff;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  margin-bottom: 10px;
  text-align: center;
}

.float-popup.show {
  display: block;
}

.float-popup p {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 8px;
}

.qr-placeholder {
  width: 100px;
  height: 100px;
  background-color: #f0f0f0;
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 12px;
}

/* 响应式 */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text h1 {
    font-size: 42px;
  }
  
  .download-content {
    flex-direction: row;
    align-items: center;
  }
  
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hot-live-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .anchor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .play-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .rank-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .replay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .safety-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 48px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hot-live-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .anchor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}