:root {
  --bg-main: #1A1650;
  --brand-pink: #FF2A6D;
  --brand-orange: #FF8A3D;
  --cyber-cyan: #05D9E8;
  --text-main: #D1F7FF;
  --text-muted: #8A96C4;
  --glass-bg: rgba(26, 22, 80, 0.6);
  --glass-border: rgba(5, 217, 232, 0.3);
  --gradient-brand: linear-gradient(135deg, #FF2A6D, #FF8A3D);
  --gradient-cyan: linear-gradient(135deg, #05D9E8, #D1F7FF);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(5, 217, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 217, 232, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

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

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

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

/* Header */
header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(26, 22, 80, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.logo-box img {
  height: 32px;
  width: auto;
  border-radius: 4px;
}

.header-nav {
  display: none;
}

.header-nav a {
  margin-left: 24px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.header-nav a:hover {
  color: var(--cyber-cyan);
}

.btn-download-top {
  display: inline-block;
  background: var(--gradient-brand);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 42, 109, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-top:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.7);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero p.subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-tags span {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--cyber-cyan);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background: var(--gradient-brand);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 42, 109, 0.5);
  transition: all 0.3s;
  width: 100%;
  max-width: 300px;
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(255, 42, 109, 0.8);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cyber-cyan);
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid var(--cyber-cyan);
  transition: all 0.3s;
  width: 100%;
  max-width: 300px;
}

.btn-secondary:hover {
  background: rgba(5, 217, 232, 0.1);
  box-shadow: 0 0 15px rgba(5, 217, 232, 0.4);
}

/* Section Common */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 12px;
  color: #fff;
}

.section-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* 直播分区 */
.channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.channel-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.channel-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-pink);
}

.channel-card .code {
  font-size: 12px;
  color: var(--brand-orange);
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}

.channel-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

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

/* 追直播 */
.track-section {
  background: rgba(5, 217, 232, 0.03);
  border-top: 1px solid rgba(5, 217, 232, 0.1);
  border-bottom: 1px solid rgba(5, 217, 232, 0.1);
}

.track-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.track-text h2 {
  font-size: 24px;
  color: var(--cyber-cyan);
  margin-bottom: 16px;
}

.track-text p {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 12px;
}

.track-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.track-card {
  background: rgba(26, 22, 80, 0.8);
  border: 1px solid var(--cyber-cyan);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.track-card .avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.track-card .info h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.track-card .info p {
  font-size: 13px;
  color: var(--cyber-cyan);
}

/* 连麦三步 */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  position: relative;
}

.step-card .step-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

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

/* 人气榜 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

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

.rank-item:nth-child(1),
.rank-item:nth-child(2),
.rank-item:nth-child(3) {
  border-color: var(--brand-orange);
  box-shadow: 0 0 10px rgba(255, 138, 61, 0.2);
}

.rank-num {
  font-size: 20px;
  font-weight: bold;
  width: 30px;
  text-align: center;
  color: var(--brand-pink);
}

.rank-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.rank-info {
  flex: 1;
}

.rank-info h4 {
  font-size: 16px;
  color: #fff;
}

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

/* 图片墙 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  border-color: var(--cyber-cyan);
}

/* App下载 */
.download-section {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(255, 42, 109, 0.1));
  border-radius: 24px;
  padding: 50px 20px;
  margin: 40px 0;
}

.download-section h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
}

.download-section p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.download-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.btn-download-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 42, 109, 0.4);
}

.btn-download-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 42, 109, 0.7);
}

.download-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
}

.faq-item h3 {
  font-size: 16px;
  color: var(--cyber-cyan);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0 30px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

footer .footer-links {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

footer .footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

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

footer .about-details {
  margin: 16px 0;
}

footer details summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  outline: none;
  transition: color 0.3s;
}

footer details summary:hover {
  color: var(--cyber-cyan);
}

footer details .about-content {
  margin-top: 12px;
  padding: 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  line-height: 2;
}

footer details .about-content a {
  color: var(--text-muted);
  margin: 0 4px;
}

footer details .about-content a:hover {
  color: var(--cyber-cyan);
}

footer .copyright {
  margin: 8px 0;
}

footer time {
  opacity: 0.6;
}

/* 悬浮下载窗 */
.floating-download {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--brand-pink);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.3);
  backdrop-filter: blur(10px);
  z-index: 999;
  max-width: 260px;
  display: none;
}

.floating-download p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
}

.floating-download .btn-float {
  display: block;
  background: var(--gradient-brand);
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.floating-download .close-float {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
}

/* Responsive */
@media (min-width: 768px) {
  .header-nav {
    display: block;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero p.subtitle {
    font-size: 18px;
  }
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  .btn-primary, .btn-secondary {
    width: auto;
  }
  .container {
    padding: 0 40px;
  }
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .track-content {
    flex-direction: row;
    align-items: center;
  }
  .track-text {
    flex: 1;
  }
  .track-cards {
    flex: 1;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .download-btns {
    flex-direction: row;
    justify-content: center;
  }
  .floating-download {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 56px;
  }
  .channel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .track-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}