:root {
  --paper: #faf7f2;
  --paper-2: #f2ece1;
  --ink: #1a1714;
  --ink-2: #5c5449;
  --red: #d6452f;
  --teal: #3f6b6b;
  --gold: #c9a227;
  --line: #e0d7c8;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 2px 8px rgba(26, 23, 20, .06);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.app-layout {
  display: flex;
  min-height: 100vh;
}
/* Sidebar */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background-color: var(--paper);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 4px;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--red);
  text-decoration: none;
}
.nav-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--line);
  font-weight: 700;
}
.nav-menu a.active .nav-num {
  color: var(--red);
}
/* Main Content */
.main-content {
  flex: 1;
  min-width: 0;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.sec-header {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.sec-num {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 900;
  line-height: 0.8;
  color: var(--line);
  letter-spacing: -2px;
}
.sec-title-wrap {
  padding-bottom: 8px;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}
.sec-desc {
  color: var(--ink-2);
  font-size: 1rem;
  margin-top: 8px;
  max-width: 600px;
}
/* Hero */
.hero {
  padding-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 480px;
}
.btn-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: none;
  font-family: var(--font-sans);
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-primary {
  background-color: var(--red);
  color: #fff;
}
.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.keyword {
  font-size: 0.85rem;
  color: var(--teal);
  background: var(--paper-2);
  padding: 4px 12px;
  border-radius: 20px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-carousel {
  position: relative;
  width: 320px;
  height: 480px;
}
.carousel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: scale(0.8);
  z-index: 0;
}
.carousel-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.carousel-card.prev {
  opacity: 0.5;
  transform: translateX(-40%) scale(0.9);
  z-index: 1;
}
.carousel-card.next {
  opacity: 0.5;
  transform: translateX(40%) scale(0.9);
  z-index: 1;
}
.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  section: none;
  padding: 40px 0;
}
.metric-item {
  text-align: center;
}
.metric-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}
.metric-label {
  font-size: 0.9rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: inline-block;
}
/* Library */
.filter-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  overflow-x: auto;
}
.filter-tabs span {
  font-size: 1rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.filter-tabs span.active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 12px;
  margin-bottom: -13px;
  font-weight: 600;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.drama-card {
  cursor: pointer;
}
.drama-cover {
  aspect-ratio: 9/16;
  background-color: var(--paper-2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}
.drama-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.drama-card:hover .drama-cover img {
  transform: scale(1.05);
}
.drama-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.drama-tags {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 8px;
}
.drama-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
/* Genres */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.genre-item {
  text-align: center;
}
.genre-covers {
  position: relative;
  height: 180px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.genre-cover {
  width: 100px;
  aspect-ratio: 9/16;
  background-color: var(--paper-2);
  border-radius: 4px;
  box-shadow: var(--shadow);
  position: absolute;
  transition: transform 0.3s ease;
  overflow: hidden;
}
.genre-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.genre-cover:nth-child(1) { transform: translateX(-30px) rotate(-5deg); z-index: 1; }
.genre-cover:nth-child(2) { transform: translateY(-10px); z-index: 3; }
.genre-cover:nth-child(3) { transform: translateX(30px) rotate(5deg); z-index: 2; }
.genre-item:hover .genre-cover:nth-child(1) { transform: translateX(-60px) rotate(-10deg); }
.genre-item:hover .genre-cover:nth-child(2) { transform: translateY(-15px) scale(1.05); }
.genre-item:hover .genre-cover:nth-child(3) { transform: translateX(60px) rotate(10deg); }
.genre-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  display: inline-block;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  margin-bottom: 8px;
}
.genre-desc {
  font-size: 0.85rem;
  color: var(--ink-2);
}
/* Ranking */
.ranking-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
}
.ranking-main-cover {
  aspect-ratio: 9/16;
  background-color: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ranking-main-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.rank-item:hover {
  background-color: var(--paper-2);
}
.rank-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  width: 40px;
}
.rank-info {
  flex: 1;
}
.rank-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}
.rank-tags {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 4px;
}
.rank-heat-bar {
  height: 4px;
  background-color: var(--line);
  border-radius: 2px;
  margin-top: 12px;
  position: relative;
}
.rank-heat-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--red);
  border-radius: 2px;
}
/* AI Factory */
.ai-factory {
  background-color: var(--paper-2);
  padding: 48px;
  border-radius: 6px;
}
.step-row {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}
.step-item {
  flex: 1;
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 8px;
}
.step-title {
  font-weight: 700;
  margin-bottom: 4px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.demo-box {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.demo-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
}
.demo-input:focus {
  border-color: var(--red);
}
.demo-output {
  padding: 24px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 100px;
  font-family: var(--font-serif);
  color: var(--ink-2);
  text-align: center;
}
/* Schedule */
.schedule-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.schedule-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background-color: #fff;
}
.schedule-item.today {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}
.schedule-cover {
  aspect-ratio: 9/16;
  background-color: var(--paper-2);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
}
.schedule-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.schedule-day {
  font-weight: 700;
  margin-bottom: 4px;
}
.schedule-topic {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.schedule-count {
  font-size: 0.8rem;
  color: var(--teal);
}
/* Experience */
.experience-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
}
.phone-mockup {
  aspect-ratio: 9/16;
  background-color: #fff;
  border: 8px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.danmaku-overlay {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  padding: 0 10px;
  pointer-events: none;
}
.danmaku-item {
  display: inline-block;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  animation: float 3s infinite alternate;
}
@keyframes float {
  from { transform: translateX(0); }
  to { transform: translateX(10px); }
}
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  background-color: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--teal);
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
}
/* Echoes */
.echoes-section {
  overflow: hidden;
}
.marquee-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
}
.marquee-row:hover {
  animation-play-state: paused;
}
.marquee-row.reverse {
  animation: scrollRight 25s linear infinite;
}
.marquee-tag {
  background-color: var(--paper-2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--ink-2);
  white-space: nowrap;
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.review-card {
  background-color: #fff;
  padding: 24px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--paper-2);
}
.review-user {
  font-weight: 700;
}
.review-date {
  font-size: 0.8rem;
  color: var(--ink-2);
}
.review-text {
  font-size: 0.95rem;
  color: var(--ink-2);
}
/* Download */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.download-card {
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  text-align: center;
}
.qr-code {
  width: 120px;
  height: 120px;
  background-color: var(--paper-2);
  margin: 0 auto 24px;
  border-radius: 4px;
}
.download-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.download-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 24px;
}
/* Keyword Wall */
.keyword-wall {
  text-align: center;
}
.keyword-display {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ink);
  min-height: 4rem;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.keyword-tag-btn {
  background-color: transparent;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.keyword-tag-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
/* Footer */
footer {
  padding: 60px 0 40px;
  background-color: var(--paper-2);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 16px;
  font-family: var(--font-serif);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: var(--ink-2);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
/* Floating Btn */
.floating-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
}
/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 23, 20, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background-color: var(--paper);
  padding: 40px;
  border-radius: 6px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-card {
  transform: translateY(0);
}
.modal-cover {
  width: 160px;
  aspect-ratio: 9/16;
  background-color: var(--paper-2);
  margin: 0 auto 24px;
  border-radius: 4px;
  overflow: hidden;
}
.modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 24px;
}
/* Scroll Animate */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.js-enabled .fade-in {
  opacity: 0;
  transform: translateY(20px);
}
.js-enabled .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 3rem; }
  .grid-4, .genre-grid { grid-template-columns: repeat(3, 1fr); }
  .ranking-layout, .experience-layout { grid-template-columns: 1fr; }
  .ranking-main-cover { max-width: 300px; margin: 0 auto; }
  .phone-mockup { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .app-layout { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    padding: 16px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .brand { margin-bottom: 0; }
  .nav-menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 16px;
    display: none;
  }
  .container { padding: 0 24px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .genre-grid, .reviews-grid, .download-grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-layout { grid-template-columns: 1fr; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sec-num { font-size: 60px; }
  .step-row { flex-direction: column; }
  .demo-box { flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-btn { bottom: 20px; right: 20px; }
}
@media (max-width: 420px) {
  .grid-4, .genre-grid, .reviews-grid, .download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.5rem; }
}