:root {
  --bg-color: #F7F6F0;
  --primary-color: #3045F5;
  --text-main: #181A24;
  --text-light: #5A5D6B;
  --accent-lime: #D4FF33;
  --border-color: #E2E0D8;
  --container-max: 1200px;
}

* {
  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.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #2032cc;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
}

.btn-outline:hover {
  background-color: var(--text-main);
  color: var(--bg-color);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(247, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand img {
  height: 32px;
  width: auto;
}

nav {
  display: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.is-active {
  display: flex;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--text-main);
  color: var(--bg-color);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin: 0;
  word-break: break-all;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 90%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.hero-actions .btn {
  flex: 1;
  min-width: 160px;
}

.hero-platforms {
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  background-color: #E8EDFF;
  border-radius: 12px;
  padding: 2rem 1rem;
  overflow: hidden;
}

.hero-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  font-weight: 900;
  color: rgba(48, 69, 245, 0.1);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-poster-main {
  position: relative;
  z-index: 2;
  width: 60%;
  max-width: 240px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-poster-main img {
  width: 100%;
  aspect-ratio: 2/3;
}

.hero-thumbnails {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
}

.hero-thumb {
  width: 48px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.hero-thumb img {
  width: 100%;
  aspect-ratio: 2/3;
}

.hero-thumb.active {
  border-color: var(--accent-lime);
}

.hero-meta {
  margin-top: 1rem;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-meta h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.hero-meta p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* 正在热播 */
.hot-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hot-main {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.hot-main img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 2/3;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: transform 0.2s;
}

.hot-item:hover {
  transform: translateX(4px);
}

.hot-item img {
  width: 60px;
  aspect-ratio: 2/3;
  border-radius: 4px;
}

.hot-item-info {
  flex: 1;
}

.hot-item-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hot-item-info p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* 按时间选剧 */
.time-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.time-tab {
  padding: 0.5rem 1rem;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
}

.time-tab.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.time-content {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.time-content.active {
  display: grid;
}

.time-card img {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.time-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.time-card p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* 题材交叉筛选 */
.filter-panel {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn, .filter-status-btn {
  padding: 0.4rem 0.8rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.filter-btn.active, .filter-status-btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.filter-clear {
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
}

.filter-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.filter-card img {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.filter-card h4 {
  font-size: 0.85rem;
}

.filter-card p {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* 最近更新 */
.updates-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.update-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.update-date {
  font-weight: 800;
  font-size: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--text-main);
  display: inline-block;
}

.update-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.update-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.update-row img {
  width: 48px;
  aspect-ratio: 2/3;
  border-radius: 4px;
}

.update-row-info {
  flex: 1;
}

.update-row-info h4 {
  font-size: 0.95rem;
}

.update-row-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* 剧情切入点 */
.plot-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.plot-cover img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 2/3;
  border-radius: 12px;
  margin: 0 auto;
}

.plot-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.plot-tab {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
}

.plot-tab.active {
  color: var(--primary-color);
}

.plot-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  min-height: 80px;
}

/* APP 观看体验 */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step {
  background-color: #fff;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.step-mock {
  margin-top: 1rem;
  background-color: var(--bg-color);
  padding: 1rem;
  border-radius: 8px;
}

.progress-bar {
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  width: 60%;
}

/* 品牌历史 */
.history-band {
  background-color: #fff;
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.history-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.history-intro p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 4px;
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 2px solid #fff;
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* 常见问题 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* 下载区 */
.download-section {
  background-color: var(--primary-color);
  color: #fff;
  padding: 4rem 0;
}

.download-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.download-text h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.download-text p {
  color: rgba(255,255,255,0.8);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.btn-white {
  background-color: #fff;
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: var(--bg-color);
}

/* Footer */
footer {
  padding: 3rem 0 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-actions {
    flex-wrap: nowrap;
  }
  
  .hot-layout {
    grid-template-columns: 1fr 1.5fr;
  }
  
  .plot-layout {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .history-layout {
    grid-template-columns: 1fr 1fr;
  }
  
  .download-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .download-buttons {
    flex-direction: row;
    width: auto;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  nav {
    display: block;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .hero-layout {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-content {
    flex: 0 0 45%;
  }
  
  .hero-visual {
    flex: 0 0 55%;
    min-height: 500px;
  }
  
  .hero-poster-main {
    width: 50%;
    max-width: 280px;
  }
  
  .hero-thumbnails {
    right: 2rem;
  }
  
  .hero-thumb {
    width: 60px;
  }
  
  .update-group {
    flex-direction: row;
    gap: 2rem;
  }
  
  .update-date {
    width: 100px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 2px solid var(--text-main);
    padding-right: 1rem;
    padding-bottom: 0;
    text-align: right;
  }
  
  .update-items {
    flex: 1;
  }
}