:root {
  --brand: #ff5a36;
  --brand-dark: #d93e1a;
  --accent: #ffb020;
  --bg: #fdf8f5;
  --surface: #ffffff;
  --text: #241a16;
  --text-soft: #6b5d56;
  --line: #f0e3dc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(180, 84, 48, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; border-radius: 14px; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); white-space: nowrap; }
.brand img { height: 32px; width: auto; border-radius: 8px; }
.nav-links { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; flex: 1; justify-content: center; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { font-size: 14px; color: var(--text-soft); white-space: nowrap; padding: 4px 0; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.header-cta { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 6px 18px rgba(217, 62, 26, 0.28); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(217, 62, 26, 0.38); }
.btn-ghost { background: #fff; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: #fff4ef; }

/* Hero */
.hero { position: relative; padding: 44px 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(28px, 6vw, 48px); line-height: 1.25; font-weight: 900;
  letter-spacing: -0.5px; margin-bottom: 16px;
}
.hero-copy h1 em { font-style: normal; color: var(--brand); }
.hero-sub { font-size: 16px; color: var(--text-soft); max-width: 520px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.hero-note .dot { width: 7px; height: 7px; background: #38b26e; border-radius: 50%; display: inline-block; }

/* Poster Stage */
.poster-stage { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; }
.poster-card {
  position: relative; width: 46%; aspect-ratio: 3 / 4.3; border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow); transition: transform .5s ease;
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.poster-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%);
}
.poster-card .p-tag {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.9); color: var(--brand-dark);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.poster-card:nth-child(1) { transform: translateY(14px) rotate(-2deg); }
.poster-card:nth-child(2) { transform: translateY(-8px) scale(1.04); z-index: 2; }
.poster-card:nth-child(3) { transform: translateY(14px) rotate(2deg); }
.float-badge {
  position: absolute; z-index: 5; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px 14px; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 6px; animation: floatUp 4s ease-in-out infinite;
}
.float-badge b { color: var(--brand); font-size: 16px; }
.badge-1 { top: 4%; left: -4%; }
.badge-2 { bottom: 8%; right: -2%; animation-delay: 1.5s; }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Section base */
section { padding: 52px 0; }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 850; margin-bottom: 10px; }
.sec-head p { color: var(--text-soft); font-size: 15px; max-width: 620px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: var(--brand-dark); background: #ffece4; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}

/* Drama Grid */
.drama-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.drama-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 16px rgba(120,60,30,.07); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.drama-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cover-wrap { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.cover-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cover-wrap .free-tag {
  position: absolute; top: 10px; left: 10px; background: var(--accent); color: #4a2a00;
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px;
}
.cover-wrap .watch-btn {
  position: absolute; bottom: 10px; right: 10px; background: rgba(255,90,54,.94); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.drama-info { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.drama-info h3 { font-size: 15px; font-weight: 800; line-height: 1.3; }
.drama-meta { display: flex; gap: 8px; font-size: 12px; color: var(--brand-dark); flex-wrap: wrap; }
.drama-meta span { background: #fff1eb; padding: 2px 8px; border-radius: 6px; }
.drama-desc { font-size: 12.5px; color: var(--text-soft); }
.hot-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-soft); }
.hot-bar { flex: 1; height: 5px; background: #f5e6df; border-radius: 99px; overflow: hidden; }
.hot-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--brand)); border-radius: 99px; }

/* AI & Row layout */
.split-row { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.split-text h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 850; margin-bottom: 14px; }
.split-text p { color: var(--text-soft); margin-bottom: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag-list span { font-size: 13px; background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; color: var(--text); }
.stack-imgs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow); }
.stack-imgs img:nth-child(2) { margin-top: 24px; }

/* App tutorial */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 4px 16px rgba(120,60,30,.06); display: flex; gap: 16px; align-items: flex-start; }
.step-num { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--accent)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-size: 16px; margin-bottom: 4px; }
.step-card p { font-size: 14px; color: var(--text-soft); }
.screen-strip { display: flex; gap: 12px; overflow-x: auto; padding: 6px 4px 16px; scroll-snap-type: x mandatory; }
.screen-strip img { width: 150px; flex-shrink: 0; aspect-ratio: 9/16; object-fit: cover; scroll-snap-align: start; box-shadow: var(--shadow); }

/* Ranking */
.rank-list { display: grid; gap: 10px; }
.rank-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: 0 3px 12px rgba(120,60,30,.05); }
.rank-no { font-size: 20px; font-weight: 900; color: #d9c4b9; width: 30px; text-align: center; }
.rank-item:nth-child(1) .rank-no { color: var(--brand); }
.rank-item:nth-child(2) .rank-no { color: var(--accent); }
.rank-item:nth-child(3) .rank-no { color: #e0a45a; }
.rank-item img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.rank-txt { flex: 1; min-width: 0; }
.rank-txt h3 { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-txt p { font-size: 12px; color: var(--text-soft); }
.rank-play { font-size: 13px; color: var(--brand); font-weight: 700; white-space: nowrap; }

/* Comments ticker */
.comment-section { background: linear-gradient(180deg, #fff, #fff7f2); }
.comment-track { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.comment-card { flex: 0 0 80%; max-width: 340px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 5px 18px rgba(120,60,30,.07); scroll-snap-align: start; }
.cm-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cm-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #ffd7c4, #ffb59c); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--brand-dark); font-size: 15px; flex-shrink: 0; }
.cm-name { font-weight: 700; font-size: 14px; }
.cm-stars { color: var(--accent); font-size: 12px; letter-spacing: 1px; }
.cm-body { font-size: 13.5px; color: var(--text-soft); }
.cm-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #b9a49a; }
.cm-foot .like { color: var(--brand); font-weight: 700; }

/* FAQ */
.faq-image-row { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; margin-bottom: 30px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 3px 12px rgba(120,60,30,.05); }
.faq-item h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; display: flex; gap: 8px; }
.faq-item h3::before { content: "Q"; color: var(--brand); font-weight: 900; }
.faq-item p { font-size: 13.5px; color: var(--text-soft); padding-left: 20px; }
.faq-figure { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.faq-figure img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* Extra features */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 16px rgba(120,60,30,.06); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: #ffece4; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-soft); }

/* CTA download */
.download-band { background: linear-gradient(135deg, #ff6a3d, #e03a17); border-radius: 24px; padding: 40px 24px; text-align: center; color: #fff; margin: 20px auto; max-width: 1140px; }
.download-band h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 10px; }
.download-band p { opacity: .92; margin-bottom: 22px; font-size: 15px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dl-btns .btn-ghost { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: #fff2ec; }

/* Footer */
.site-footer { background: #2a1c16; color: #b9a99f; padding: 34px 0 26px; font-size: 13px; }
.footer-search { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.footer-search span { font-size: 12px; color: #7d6a60; }
.footer-search a { font-size: 12px; color: #a08c80; padding: 3px 10px; border: 1px solid #443229; border-radius: 999px; }
.footer-bottom { border-top: 1px solid #443229; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #8a7669; }
.footer-bottom a { color: #a8968a; }
.footer-bottom .update-time { font-size: 12px; color: #7d6a60; }

/* Modal */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.modal-mask.show { display: flex; }
.modal-box { background: #fff; border-radius: 18px; padding: 26px 22px; max-width: 400px; width: 100%; text-align: center; }
.modal-box p { font-size: 14px; color: var(--text); margin-bottom: 16px; line-height: 1.6; }
.copy-field { display: flex; gap: 8px; margin-bottom: 16px; }
.copy-field input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--text-soft); background: #faf6f3; }
.copy-field button { border: none; background: var(--brand); color: #fff; border-radius: 10px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.modal-close { background: #f2e9e4; color: var(--text-soft); border: none; border-radius: 999px; padding: 10px 24px; font-size: 14px; cursor: pointer; }

@media (min-width: 768px) {
  .site-header { padding: 0; }
  .header-inner { height: 70px; }
  .brand img { height: 36px; }
  .nav-links { gap: 24px; }
  .header-cta { display: inline-flex; padding: 9px 20px; font-size: 14px; }
  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .drama-grid { grid-template-columns: repeat(3, 1fr); }
  .split-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .comment-card { flex: 0 0 46%; }
  .faq-image-row { grid-template-columns: 1.1fr .9fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1024px) {
  .nav-links { justify-content: flex-end; }
  .drama-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .comment-card { flex: 0 0 31%; }
  .screen-strip { justify-content: center; }
  .screen-strip img { width: 190px; }
}