:root {
  --pink-start: #FA3C9C;
  --pink-end: #E42B7C;
  --blue-start: #4A64F2;
  --purple-end: #9F5DE2;
  --white: #FFFFFF;
  --yellow: #F2FF49;
  --mint: #49FFC6;
  --dark: #1A1A2E;
  --gray: #F5F5F7;
  --text-gray: #666666;
  --radius: 16px;
  --radius-sm: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== HEADER ========== */
.site-header {
  background: linear-gradient(135deg, var(--pink-start), var(--pink-end));
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(228, 43, 124, 0.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}
.brand img { height: 34px; width: auto; border-radius: 6px; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  color: var(--white);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  transition: background 0.2s;
}
.main-nav a:hover { background: rgba(255,255,255,0.2); }
.main-nav a.active { background: rgba(255,255,255,0.25); font-weight: 600; }

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(160deg, var(--pink-start) 0%, var(--pink-end) 60%, #C81E6E 100%);
  padding: 60px 20px 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--white);
  border-radius: 40px 40px 0 0;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-size: 36px;
  line-height: 1.35;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--yellow), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.search-box {
  display: flex;
  max-width: 560px;
  margin: 0 auto 28px;
  background: var(--white);
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 30px;
  color: var(--dark);
  background: transparent;
}
.search-box input::placeholder { color: #AAA; }
.search-box button {
  background: linear-gradient(135deg, var(--blue-start), var(--purple-end));
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-start), var(--purple-end));
  color: var(--white);
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(74, 100, 242, 0.4);
  transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.8);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ========== SECTION COMMON ========== */
.section { padding: 70px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}
.section-title .hl-grad {
  background: linear-gradient(135deg, var(--blue-start), var(--purple-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc {
  text-align: center;
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 40px;
}

/* ========== TODAY SCHEDULE ========== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.schedule-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 4px solid var(--pink-start);
  transition: transform 0.2s;
}
.schedule-card:hover { transform: translateY(-4px); }
.schedule-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink-end);
  margin-bottom: 6px;
}
.schedule-card h3 { font-size: 17px; margin-bottom: 10px; }
.schedule-card p { font-size: 14px; color: var(--text-gray); margin-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(74,100,242,0.1), rgba(159,93,226,0.1));
  color: var(--blue-start);
  font-weight: 600;
}
.tag.hot { background: var(--yellow); color: #333; }
.tag.new { background: var(--mint); color: #0A5C44; }

/* ========== STEPS ========== */
.steps-section { background: var(--gray); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.step-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink-start), var(--purple-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-gray); }

/* ========== RANKING ========== */
.rank-list { max-width: 800px; margin: 0 auto; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #EEEEEE;
}
.rank-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-start), var(--purple-end));
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-info { flex: 1; }
.rank-info h3 { font-size: 16px; margin-bottom: 2px; }
.rank-info span { font-size: 13px; color: var(--text-gray); }
.rank-bar-wrap { width: 140px; flex-shrink: 0; }
.rank-bar {
  height: 8px;
  background: #EEE;
  border-radius: 4px;
  overflow: hidden;
}
.rank-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink-start), var(--yellow));
}
.rank-pct { font-size: 12px; color: var(--pink-end); font-weight: 700; text-align: right; margin-top: 4px; }

/* ========== GALLERY ========== */
.gallery-section { background: var(--gray); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ========== PLAYER FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250,60,156,0.1), rgba(159,93,226,0.1));
  border-radius: 12px;
}
.feature-item h3 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--text-gray); }

/* ========== COMMENTS ========== */
.comments-section { background: var(--dark); color: var(--white); }
.comments-section .section-title { color: var(--white); }
.comments-section .section-desc { color: #AAA; }
.rating-box { text-align: center; margin-bottom: 32px; }
.rating-score { font-size: 48px; font-weight: 800; color: var(--yellow); }
.rating-sub { font-size: 14px; color: #AAA; }
.comments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.comment-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 20px;
}
.comment-user { font-size: 14px; font-weight: 700; color: var(--mint); margin-bottom: 8px; }
.comment-text { font-size: 14px; color: #DDD; line-height: 1.7; }

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--blue-start), var(--purple-end) 50%, var(--pink-start));
  padding: 80px 20px;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--pink-end);
  padding: 16px 48px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.cta-btn:hover { transform: scale(1.04); }

/* ========== FLOATING BTN ========== */
.float-download {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--pink-start), var(--purple-end));
  color: var(--white);
  padding: 14px 24px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(228,43,124,0.45);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
}
.float-download:hover { transform: scale(1.05); }

/* ========== FOOTER ========== */
.site-footer {
  background: #111;
  color: #888;
  padding: 40px 20px 80px;
  font-size: 13px;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #CCC;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-brand img { height: 24px; border-radius: 4px; }
.footer-links { margin: 16px 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.footer-links a { color: #888; }
.footer-links a:hover { color: var(--pink-start); }
.footer-copy { margin-bottom: 6px; }
.footer-copy a { color: #888; }
.footer-copy a:hover { color: var(--pink-start); }
.update-time { font-size: 12px; color: #666; margin-top: 6px; }
details.about-us {
  margin-top: 20px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
details.about-us summary {
  cursor: pointer;
  font-size: 13px;
  color: #888;
  list-style: none;
  display: inline-block;
  padding: 4px 0;
}
details.about-us summary::-webkit-details-marker { display: none; }
details.about-us[open] summary { color: #CCC; }
.about-content {
  margin-top: 12px;
  font-size: 12px;
  color: #777;
  line-height: 1.9;
}
.about-content a { color: #999; margin: 0 6px; }
.about-content a:hover { color: var(--yellow); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .comments-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 30px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: var(--pink-end); flex-direction: column; padding: 12px 20px; gap: 4px; }
  .menu-toggle { display: block; }
  .hero { padding: 40px 16px 70px; }
  .hero h1 { font-size: 24px; }
  .hero-sub { font-size: 14px; }
  .search-box button { padding: 12px 18px; font-size: 14px; }
  .section { padding: 50px 16px; }
  .section-title { font-size: 22px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .features-grid { grid-template-columns: 1fr; }
  .comments-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 24px; }
  .rank-bar-wrap { width: 80px; }
  .float-download { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 14px; }
}