:root {
  --cyan: #00bcd4;
  --cyan-dark: #008ba3;
  --yellow: #ffd54f;
  --yellow-light: #fff9c4;
  --red: #e53935;
  --red-dark: #c62828;
  --bg: #f4f9fb;
  --text: #1a2b32;
  --text-light: #546e7a;
  --card-bg: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--cyan-dark);
}
.brand img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.nav-links a:hover {
  color: var(--cyan-dark);
  border-color: var(--cyan);
  background: rgba(0, 188, 212, 0.05);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--cyan);
  color: var(--cyan-dark);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #e0f7fa 0%, #fff9c4 100%);
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 36px;
  color: var(--cyan-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}
.btn-download {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 15px 40px;
  font-size: 20px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
  transition: transform 0.3s, background 0.3s;
}
.btn-download:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}
/* Falling Logos */
.falling-logo {
  position: absolute;
  top: -50px;
  opacity: 0.15;
  animation: fall linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(110vh) rotate(360deg); }
}

/* Carousel */
.carousel-section {
  padding: 60px 20px;
  text-align: center;
}
.carousel-section h2 { font-size: 28px; margin-bottom: 40px; color: var(--cyan-dark); }
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  height: 500px;
  perspective: 1000px;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card {
  position: absolute;
  width: 220px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: all 0.5s ease;
  cursor: pointer;
  background: #000;
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card .play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.card .play-btn::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  margin-left: 5px;
}
.card:hover .play-btn { background: rgba(229, 57, 53, 0.8); transform: translate(-50%, -50%) scale(1.1); }

/* Scrolling Banner */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--cyan-dark);
  color: var(--yellow-light);
  padding: 10px 0;
  font-size: 14px;
}
.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 20s linear infinite;
}
@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
.ticker span { margin-right: 50px; }

/* Sections General */
section.content-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 28px;
  color: var(--cyan-dark);
  margin-bottom: 40px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.discover-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.discover-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.3s; }
.discover-card:hover img { transform: scale(1.05); }
.discover-card p {
  padding: 15px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
  background: var(--card-bg);
  position: relative;
  z-index: 2;
}

/* Advantage */
.advantage-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,188,212,0.1);
  border-left: 8px solid var(--yellow);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}
.advantage-box p { margin-bottom: 15px; }

/* Ranking */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rank-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.rank-num {
  font-size: 24px;
  font-weight: bold;
  color: var(--yellow);
  width: 50px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.rank-item:nth-child(1) .rank-num { color: #f44336; }
.rank-item:nth-child(2) .rank-num { color: #ff9800; }
.rank-item:nth-child(3) .rank-num { color: #ffeb3b; }
.rank-item img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}
.rank-info { flex: 1; }
.rank-info h3 { font-size: 16px; margin-bottom: 5px; }
.rank-stats { font-size: 12px; color: var(--text-light); display: flex; gap: 15px; }

/* Danmaku Interactive */
.danmaku-player {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: #000;
}
.danmaku-player img { width: 100%; display: block; opacity: 0.8; }
.danmaku-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.danmaku-item {
  position: absolute;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  text-shadow: 1px 1px 2px #000;
  animation: danmakuMove linear;
}
@keyframes danmakuMove {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* History */
.history-box {
  background: var(--yellow-light);
  padding: 30px;
  border-radius: 16px;
  color: var(--text);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.faq-question {
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fcfd;
  transition: background 0.3s;
}
.faq-question:hover { background: #e0f7fa; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--cyan-dark);
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-light);
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

/* Comments */
.comment-section {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.comment-input-area {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}
.comment-input-area img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
}
.comment-input-area textarea {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  resize: none;
  font-family: inherit;
  font-size: 14px;
}
.comment-input-area button {
  background: var(--cyan);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}
.comment-input-area button:hover { background: var(--cyan-dark); }
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.comment-item {
  display: flex;
  gap: 15px;
}
.comment-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
}
.comment-content h4 { font-size: 14px; margin-bottom: 5px; color: var(--cyan-dark); }
.comment-content p { font-size: 14px; color: var(--text); }

/* Footer */
footer {
  background: #eef6f7;
  padding: 30px 20px;
  text-align: center;
  color: #90a4ae;
  font-size: 12px;
}
footer p { margin-bottom: 10px; }
footer a { color: #90a4ae; }
footer a:hover { color: var(--cyan-dark); }

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 300px;
  width: 90%;
}
.modal-content p { margin-bottom: 20px; font-size: 16px; font-weight: bold; }
.modal-content .btn-download { padding: 10px 20px; font-size: 16px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: rgba(255,255,255,0.95);
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .carousel-container {
    height: 400px;
  }
  .card {
    width: 160px;
    height: 240px;
  }
  .comment-input-area { flex-direction: column; }
}
@media (min-width: 1024px) {
  .carousel-container {
    height: 550px;
  }
  .card {
    width: 260px;
    height: 380px;
  }
}