:root {
  --primary-red: #D92128;
  --deep-black: #111111;
  --bg-light: #F8F9FA;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #EAEAEA;
  --white: #FFFFFF;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  padding-bottom: 70px; /* space for sticky download */
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-group img {
  height: 32px;
  width: auto;
}
.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--deep-black);
}
.nav-links {
  display: none;
}
.nav-links a {
  margin: 0 15px;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary-red);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.btn-download {
  background-color: var(--primary-red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-download:hover {
  background-color: #b81b21;
}

/* Hero Banner */
.hero {
  position: relative;
  background-color: var(--deep-black);
  color: var(--white);
  padding: 60px 0;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.hero-text {
  flex: 1;
  text-align: center;
}
.hero-text h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 15px;
}
.hero-text p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 25px;
}
.hero-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Common Section */
section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 28px;
  color: var(--deep-black);
  margin-bottom: 10px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 15px;
}
.feature-card h3 {
  font-size: 18px;
  color: var(--deep-black);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Movie/TV Cards Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card-grid.large-cards {
  grid-template-columns: 1fr;
}
.movie-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.movie-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.movie-card-content {
  padding: 15px;
}
.movie-card-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--deep-black);
}
.movie-card-content p {
  font-size: 13px;
  color: var(--text-muted);
}
.tag {
  display: inline-block;
  background: var(--primary-red);
  color: var(--white);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Resource Partition */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tag-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 15px;
  color: var(--text-main);
  transition: all 0.3s;
}
.tag-item:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* App Download Area */
.app-download {
  background: var(--deep-black);
  color: var(--white);
  text-align: center;
  border-radius: 16px;
  padding: 50px 20px;
  margin: 0 20px;
  position: relative;
  overflow: hidden;
}
.app-download::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217,33,40,0.3) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}
.app-download img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.app-download h2 {
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}
.app-download p {
  color: #aaa;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}
.app-download .btn-download {
  font-size: 16px;
  padding: 12px 40px;
  position: relative;
  z-index: 1;
}

/* FAQ */
.faq-list {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 20px;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  font-weight: bold;
  font-size: 16px;
  color: var(--deep-black);
  margin-bottom: 8px;
}
.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #888;
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  margin-top: 40px;
}
footer a {
  color: #888;
}
footer .time-text {
  margin-bottom: 10px;
}
footer .beian {
  margin-top: 10px;
}

/* Sticky Download Button */
.sticky-download {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  z-index: 999;
}
.sticky-download .btn-download {
  width: 100%;
  max-width: 400px;
  text-align: center;
  font-size: 16px;
  padding: 12px 0;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hero-inner {
    flex-direction: row;
    text-align: left;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.large-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .sticky-download {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 48px;
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid.large-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}