:root {
  --main-red: #e63946;
  --light-red: #ffebee;
  --btn-yellow: #ffca28;
  --btn-yellow-hover: #ffb300;
  --text-dark: #2b2b2b;
  --text-gray: #666;
  --card-bg: #ffffff;
  --border-radius: 12px;
}
* {
  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(--light-red);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* 顶部横幅 */
.top-banner {
  background-color: var(--main-red);
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.banner-content {
  display: inline-block;
  animation: scrollText 20s linear infinite;
  padding-left: 100%;
}
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 导航条 */
.header {
  background-color: var(--main-red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
.logo-area img {
  height: 32px;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  font-size: 15px;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.nav-links a:hover {
  opacity: 1;
  font-weight: bold;
}

/* 首屏 Hero */
.hero {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  padding: 60px 20px;
  text-align: center;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 36px;
  color: var(--main-red);
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 30px;
}
.download-btn {
  display: inline-block;
  background-color: var(--btn-yellow);
  color: #333;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 202, 40, 0.5);
  transition: all 0.3s;
}
.download-btn:hover {
  background-color: var(--btn-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 202, 40, 0.6);
}
.update-time {
  margin-top: 15px;
  font-size: 13px;
  color: #888;
}

/* 轮播图 */
.carousel-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}
.carousel-item {
  min-width: 100%;
  height: 100%;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.carousel-dot.active {
  background: #fff;
}

/* 西瓜影院 */
.section-title {
  text-align: center;
  font-size: 28px;
  color: var(--main-red);
  margin-bottom: 30px;
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.movie-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}
.movie-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.play-btn-overlay:hover {
  background: rgba(230, 57, 70, 0.8);
}
.play-btn-overlay::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;
}
.movie-info {
  padding: 15px;
}
.movie-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.movie-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* 产品问答 & 网友热议 */
.info-sections {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.qa-item {
  background: #fff;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.qa-item h3 {
  font-size: 18px;
  color: var(--main-red);
  margin-bottom: 10px;
}
.qa-item p {
  font-size: 15px;
  color: var(--text-gray);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.comment-item {
  background: #fff;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  gap: 15px;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffcdd2;
  color: var(--main-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.comment-content {
  flex: 1;
}
.comment-user {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.comment-text {
  font-size: 14px;
  color: var(--text-gray);
}

/* 下载弹窗 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 320px;
  width: 90%;
}
.modal-content h3 {
  color: var(--main-red);
  margin-bottom: 15px;
  font-size: 20px;
}
.modal-content p {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 20px;
}
.modal-content .download-btn {
  width: 100%;
  padding: 12px 0;
  font-size: 18px;
}
.close-modal {
  margin-top: 15px;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  display: inline-block;
}

/* 页脚 */
.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  color: #999;
  margin-top: 40px;
}
.footer a {
  color: #999;
}
.footer a:hover {
  color: var(--text-gray);
}

/* 响应式 */
@media (min-width: 768px) {
  .hero h1 { font-size: 42px; }
  .movie-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 30px; }
  .nav-links a { font-size: 16px; }
}
@media (min-width: 1024px) {
  .hero { padding: 80px 20px; }
  .hero h1 { font-size: 48px; }
  .movie-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
}