:root {
  --pink-light: #fff0f5;
  --pink-main: #ff6b9d;
  --pink-dark: #d6336c;
  --yellow-btn: #ffd43b;
  --yellow-hover: #fcc419;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-color: #fafafa;
  --white: #ffffff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Nav */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(255, 107, 157, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-wrap img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.logo-wrap span {
  font-size: 20px;
  font-weight: bold;
  color: var(--pink-dark);
  letter-spacing: 1px;
}
.nav-bar {
  background-color: var(--pink-light);
  border-top: 1px solid #ffe3ed;
  border-bottom: 1px solid #ffe3ed;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.nav-list {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  list-style: none;
}
.nav-list li a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--pink-dark);
  font-weight: 500;
  transition: all 0.3s;
}
.nav-list li a:hover {
  color: var(--pink-main);
  background-color: #ffe3ed;
}

/* Hero Section */
.hero {
  padding: 24px 0;
  background: linear-gradient(180deg, var(--pink-light) 0%, var(--white) 100%);
  text-align: center;
}
.hero h1 {
  font-size: 24px;
  color: var(--pink-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.hero p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.btn-download-main {
  display: inline-block;
  background-color: var(--yellow-btn);
  color: #333;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 36px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(255, 212, 59, 0.4);
  transition: all 0.3s;
}
.btn-download-main:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-2px);
}
.update-time {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
  display: block;
}

/* Scrolling Ticker */
.ticker-wrap {
  background-color: var(--pink-main);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-size: 14px;
}
.ticker {
  display: inline-block;
  animation: ticker 20s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.ticker span {
  margin: 0 20px;
}

/* Carousel */
.carousel-section {
  padding: 32px 0;
}
.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--pink-dark);
  cursor: pointer;
  z-index: 10;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Sections Common */
.section-title {
  text-align: center;
  font-size: 22px;
  color: var(--pink-dark);
  margin-bottom: 24px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background-color: var(--pink-main);
  border-radius: 2px;
  margin: 8px auto 0;
}

/* Today's News */
.news-section {
  padding: 32px 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.news-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.news-intro {
  text-align: center;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 20px;
  padding: 0 16px;
}

/* High Energy Theater */
.theater-section {
  padding: 32px 0;
  background-color: var(--pink-light);
}
.theater-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.theater-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.theater-img-wrap {
  position: relative;
  width: 100%;
}
.theater-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.play-btn::before {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.play-btn:hover {
  background: rgba(255, 107, 157, 0.6);
}
.theater-text {
  padding: 16px;
}
.theater-text h3 {
  font-size: 18px;
  color: var(--pink-dark);
  margin-bottom: 8px;
}
.theater-text p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Hot Ranking */
.ranking-section {
  padding: 32px 0;
}
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-item {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  gap: 12px;
}
.rank-num {
  font-size: 18px;
  font-weight: bold;
  color: var(--pink-main);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.rank-img-wrap {
  width: 80px;
  height: 106px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.rank-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-img-wrap .play-btn {
  width: 36px;
  height: 36px;
}
.rank-img-wrap .play-btn::before {
  border-width: 8px 0 8px 14px;
}
.rank-info {
  flex-grow: 1;
}
.rank-info h4 {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank-stats {
  font-size: 12px;
  color: #999;
}

/* Q&A Section */
.qa-section {
  padding: 32px 0;
  background-color: var(--pink-light);
}
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}
.qa-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}
.qa-question {
  padding: 14px 16px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  color: var(--text-main);
}
.qa-question::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--pink-main);
}
.qa-item.open .qa-question::after {
  content: '-';
}
.qa-answer {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  font-size: 14px;
  color: var(--text-muted);
}
.qa-item.open .qa-answer {
  padding: 0 16px 14px;
}

/* Comment Form */
.comment-form {
  max-width: 800px;
  margin: 24px auto 0;
  background: var(--white);
  padding: 16px;
  border-radius: 10px;
}
.comment-form textarea {
  width: 100%;
  height: 80px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: none;
  font-family: inherit;
  margin-bottom: 12px;
  font-size: 14px;
}
.comment-form button {
  background: var(--pink-main);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  float: right;
}
.comment-form button:hover {
  background: var(--pink-dark);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  max-width: 90%;
  width: 320px;
}
.modal-content h3 {
  color: var(--pink-dark);
  margin-bottom: 12px;
}
.modal-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.modal-btn {
  background: var(--yellow-btn);
  color: #333;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

/* Footer */
footer {
  background: #f1f1f1;
  padding: 20px 16px;
  text-align: center;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #e0e0e0;
}
footer p {
  margin-bottom: 6px;
}
footer a {
  color: #888;
}

/* Desktop & Tablet */
@media (min-width: 768px) {
  .hero h1 { font-size: 32px; }
  .news-grid { grid-template-columns: repeat(4, 1fr); }
  .theater-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .theater-item {
    width: calc(50% - 10px);
  }
  .carousel-slide img {
    aspect-ratio: 21/9;
  }
}
@media (min-width: 1024px) {
  .theater-item {
    width: calc(33.333% - 14px);
  }
  .hero h1 { font-size: 36px; }
}