* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #fff5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* 导航条 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(211, 47, 47, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.brand-name {
  font-size: 20px;
  font-weight: bold;
  color: #d32f2f;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  font-size: 15px;
  color: #555;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
}
.nav-links a:hover {
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
}

/* 首屏 Hero */
.hero {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  padding: 60px 20px;
  text-align: center;
}
.hero-container {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 32px;
  color: #b71c1c;
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}
.btn-download {
  display: inline-block;
  background-color: #ffd54f;
  color: #b71c1c;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(255, 213, 79, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 213, 79, 0.6);
}
.update-time {
  margin-top: 15px;
  font-size: 13px;
  color: #888;
}

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

/* 通用区块 */
.section-title {
  text-align: center;
  font-size: 26px;
  color: #b71c1c;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #d32f2f;
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-desc {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 15px;
}

/* 5188影院 */
.cinema-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
.cinema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.cinema-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  cursor: pointer;
}
.cinema-card:hover {
  transform: translateY(-5px);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.cinema-card:hover .card-img-wrap img {
  transform: scale(1.05);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  padding-left: 5px;
  opacity: 0.8;
  transition: opacity 0.3s, background 0.3s;
}
.cinema-card:hover .play-btn {
  opacity: 1;
  background-color: rgba(211, 47, 47, 0.8);
}
.card-info {
  padding: 15px;
}
.card-info h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}
.card-info p {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

/* 为什么选择我们 */
.features-section {
  background-color: #fff;
  padding: 60px 20px;
  margin-top: 40px;
}
.features-container {
  max-width: 1000px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.feature-item {
  text-align: center;
  padding: 20px;
}
.feature-item h3 {
  font-size: 18px;
  color: #d32f2f;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 14px;
  color: #666;
}

/* 网友热议 */
.reviews-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid #ffd54f;
}
.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #888;
}
.review-user {
  font-weight: bold;
  color: #333;
}
.review-content {
  font-size: 14px;
  color: #555;
}

/* 产品问答 */
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}
.faq-list {
  margin-top: 30px;
}
.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
  padding: 15px 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: #d32f2f;
}
.faq-item.active .faq-question::after {
  content: '-';
}
.faq-answer {
  padding: 0 20px 15px;
  font-size: 14px;
  color: #666;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* 弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay.show {
  display: flex;
}
.modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.modal-box h3 {
  color: #b71c1c;
  margin-bottom: 15px;
  font-size: 22px;
}
.modal-box p {
  color: #555;
  margin-bottom: 25px;
}
.modal-btn {
  display: block;
  background: #ffd54f;
  color: #b71c1c;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 0;
  border-radius: 25px;
  margin-bottom: 15px;
}
.modal-close {
  color: #999;
  font-size: 14px;
  cursor: pointer;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #f9f9f9;
  color: #999;
  font-size: 12px;
  border-top: 1px solid #eee;
}
footer p {
  margin-bottom: 10px;
}
footer a {
  color: #999;
  transition: color 0.3s;
}
footer a:hover {
  color: #d32f2f;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 16px; }
  .nav-links { display: none; }
  .carousel-section { margin-top: 20px; }
  .section-title { font-size: 22px; }
  .cinema-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-info { padding: 10px; }
  .card-info h3 { font-size: 14px; }
  .card-info p { font-size: 12px; }
  .reviews-list { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .hero { padding: 80px 20px; }
  .hero h1 { font-size: 40px; }
}