:root {
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --brand-yellow: #ffcc00;
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --btn-red: #e53935;
  --border-color: #333;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
ul {
  list-style: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  backdrop-filter: blur(5px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-group img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--brand-yellow);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  font-size: 15px;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--brand-yellow);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--brand-yellow);
  color: var(--brand-yellow);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-text h1 span {
  color: var(--brand-yellow);
}
.hero-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.btn-download {
  display: inline-block;
  background-color: var(--btn-red);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 30px;
  transition: transform 0.2s, background-color 0.2s;
  text-align: center;
}
.btn-download:hover {
  background-color: #c62828;
  transform: translateY(-2px);
}
.hero-carousel {
  flex: 1;
  max-width: 320px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}
.carousel-track img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  cursor: pointer;
}
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots span {
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots span.active {
  background: var(--brand-yellow);
}

/* Rolling Banner */
.rolling-banner {
  background-color: var(--brand-yellow);
  color: #111;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-weight: bold;
  font-size: 15px;
}
.rolling-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.rolling-content span {
  margin: 0 30px;
}
@keyframes scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* Common Section */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.section-title {
  font-size: 26px;
  color: var(--brand-yellow);
  margin-bottom: 30px;
  text-align: center;
}
.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 15px;
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background-color: var(--bg-card);
}
.img-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}
.img-wrapper:hover img {
  transform: scale(1.05);
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  pointer-events: none;
  transition: background 0.3s;
}
.img-wrapper:hover .play-icon {
  background-color: var(--btn-red);
}

/* Ranking Section */
.rank-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.rank-item {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  padding: 15px;
  border-radius: 10px;
  gap: 15px;
}
.rank-item img {
  width: 80px;
  height: 106px;
  border-radius: 6px;
}
.rank-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.rank-stats {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 15px;
}
.rank-stats span {
  color: var(--brand-yellow);
}

/* Hot Topics / FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-header {
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #252525;
}
.accordion-header:hover {
  background: #2a2a2a;
}
.accordion-body {
  padding: 0 20px 15px;
  color: var(--text-muted);
  display: none;
  font-size: 14px;
}
.accordion-body.show {
  display: block;
}

/* Comment Section */
.comment-area {
  max-width: 800px;
  margin: 30px auto 0;
  background: var(--bg-card);
  padding: 25px;
  border-radius: 12px;
}
.comment-area textarea {
  width: 100%;
  height: 80px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  padding: 10px;
  resize: none;
  margin-bottom: 15px;
  font-size: 14px;
}
.comment-area textarea:focus {
  outline: none;
  border-color: var(--brand-yellow);
}
.btn-submit {
  background: var(--brand-yellow);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-submit:hover {
  opacity: 0.8;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal.active .modal-box {
  transform: translateY(0);
}
.modal-box h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--brand-yellow);
}
.modal-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}
.modal-box .btn-download {
  width: 100%;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: #666;
  margin-top: 40px;
}
.footer p {
  margin-bottom: 8px;
}
.footer a {
  color: #888;
}
.footer a:hover {
  color: var(--brand-yellow);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .rank-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .hero-text h1 {
    font-size: 28px;
  }
  .hero-carousel {
    width: 100%;
    max-width: 280px;
  }
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 22px;
  }
  .rolling-banner {
    font-size: 13px;
  }
}