:root {
  --ink: #1a1a1a;
  --paper: #fdfaf6;
  --accent: #e63946;
  --accent-2: #457b9d;
  --accent-3: #f4a261;
  --bg-1: #fdfaf6;
  --bg-2: #f0f4f8;
  --bg-3: #fff8ef;
  --bg-4: #e8f3ee;
  --border: #2b2b2b;
  --font-serif: "Songti SC", "SimSun", "STSong", serif;
  --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; border-radius: 6px; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: 1px; font-family: var(--font-serif); }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { position: relative; padding: 4px 0; transition: color .3s; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); transition: width .3s;
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #fdfaf6 0%, #fff0f0 100%);
  padding: 60px 0 30px;
  border-bottom: 2px solid var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
  font-size: 17px;
  color: #444;
  margin-bottom: 30px;
  max-width: 480px;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all .25s;
}
.btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: #c1121f; border-color: #c1121f; }

.hero-visual { position: relative; }
.hero-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.hero-slider::-webkit-scrollbar { height: 4px; }
.hero-slider::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.hero-slide {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .3s;
}
.hero-slide:hover { transform: scale(1.02); }
.hero-slide img { width: 100%; height: 320px; object-fit: cover; }
.hero-slide-caption {
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-top: 2px solid var(--ink);
}

/* Marquee */
.marquee-wrap {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}
.marquee-content span {
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 40px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections Common */
section { padding: 70px 0; }
.section-title {
  font-family: var(--font-serif);
  font-size: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-desc { color: #666; margin-bottom: 40px; font-size: 15px; }
.bg-alt { background: var(--bg-2); }
.bg-alt-2 { background: var(--bg-3); }
.bg-alt-3 { background: var(--bg-4); }

/* Yesterday Hits (Newspaper style) */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.news-main {
  border: 2px solid var(--ink);
  padding: 30px;
  background: #fff;
  position: relative;
}
.news-main::before {
  content: '昨日爆款';
  position: absolute; top: -14px; left: 20px;
  background: var(--ink); color: #fff;
  padding: 2px 12px; font-size: 13px; letter-spacing: 2px;
}
.news-main h3 { font-size: 24px; margin-bottom: 16px; font-family: var(--font-serif); }
.news-main p { color: #444; margin-bottom: 20px; }
.news-list { display: flex; flex-direction: column; gap: 15px; }
.news-item {
  border-bottom: 1px dashed #bbb;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.news-item h4 { font-size: 16px; margin-bottom: 4px; }
.news-item p { font-size: 13px; color: #777; }
.news-tag {
  font-size: 12px; padding: 2px 8px; border: 1px solid var(--accent);
  color: var(--accent); border-radius: 4px; white-space: nowrap; height: fit-content;
}
.poster-side {
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
}
.poster-side img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }

/* Completed Selection (Editorial Layout) */
.editorial-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
.side-poster {
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.side-poster img { width: 100%; height: 450px; object-fit: cover; }
.side-poster-info { padding: 20px; background: #fff; border-top: 2px solid var(--ink); }
.side-poster-info h3 { font-size: 20px; margin-bottom: 8px; }
.side-poster-info p { font-size: 14px; color: #555; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px; padding: 2px 10px; background: #f0f0f0;
  border: 1px solid #ddd; border-radius: 20px; color: #555;
}
.text-list { display: flex; flex-direction: column; gap: 20px; }
.text-list-item { border-left: 3px solid var(--accent-2); padding-left: 20px; }
.text-list-item h4 { font-size: 17px; margin-bottom: 6px; }
.text-list-item p { font-size: 14px; color: #555; }

/* Rising Chart (Magazine Style) */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mag-card {
  background: #fff;
  border: 2px solid var(--ink);
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: background .3s, transform .3s;
}
.mag-card:hover { background: #fff8ef; transform: translateX(4px); }
.mag-num {
  font-size: 48px; font-weight: 800; font-family: var(--font-serif);
  color: var(--accent-3); line-height: 1; opacity: 0.7;
}
.mag-info h4 { font-size: 18px; margin-bottom: 4px; }
.mag-info p { font-size: 13px; color: #666; }

/* Theater (Dark Cinema Style) */
.bg-dark { background: #1a1a2e; color: #eee; }
.bg-dark .section-desc { color: #aaa; }
.theater-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.theater-card {
  background: #25253e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
}
.theater-card img { width: 100%; height: 180px; object-fit: cover; }
.theater-card-body { padding: 15px; }
.theater-card-body h4 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.theater-card-body p { font-size: 13px; color: #aaa; }

/* Creator Program (Q&A Style) */
.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.qa-item {
  background: #fff;
  border: 2px solid var(--ink);
  padding: 22px;
  border-radius: 10px;
}
.qa-q {
  font-weight: 700; font-size: 16px; margin-bottom: 8px;
  color: var(--accent-2);
}
.qa-a { font-size: 14px; color: #555; }

/* Comments Wall */
.comments-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.comment-card {
  background: #fff;
  border: 2px solid var(--ink);
  padding: 18px;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.comment-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--ink); flex-shrink: 0;
}
.comment-body h5 { font-size: 14px; margin-bottom: 4px; }
.comment-body p { font-size: 13px; color: #444; }

/* Teen Protection (Timeline) */
.timeline-wrap { position: relative; padding-left: 30px; }
.timeline-wrap::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: #ccc;
}
.timeline-item {
  position: relative; margin-bottom: 24px;
  background: #fff; padding: 15px 20px; border-radius: 8px;
  border: 1px solid #ddd;
}
.timeline-item::before {
  content: ''; position: absolute; left: -30px; top: 20px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-time { font-weight: 700; font-size: 14px; color: var(--accent); margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: #555; }

/* Feedback & Download */
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.fb-card {
  background: #fff; border: 2px solid var(--ink);
  padding: 30px; border-radius: 12px;
}
.fb-card h3 { font-size: 20px; margin-bottom: 20px; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 12px; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.step-text h4 { font-size: 15px; margin-bottom: 2px; }
.step-text p { font-size: 13px; color: #666; }

/* Floating Download */
.floating-dl {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 10px 24px; border-radius: 30px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 200; font-size: 14px; font-weight: 600;
  transition: transform .3s, background .3s;
}
.floating-dl:hover { background: var(--accent); transform: translateX(-50%) scale(1.03); }
.floating-dl img { height: 24px; border-radius: 4px; }

/* Footer */
.site-footer {
  background: #f7f7f7;
  padding: 30px 0;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #ddd;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; text-align: center;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #888; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: #aaa; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 300;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff; padding: 30px; border-radius: 12px;
  max-width: 400px; width: 100%; text-align: center;
}
.modal-box p { margin-bottom: 16px; font-size: 15px; line-height: 1.6; }
.modal-box .copy-input {
  width: 100%; padding: 10px; border: 1px solid #ddd;
  border-radius: 6px; font-size: 13px; margin-bottom: 16px; background: #f9f9f9;
  text-align: center;
}
.modal-box .btn { width: 100%; justify-content: center; }

/* Mobile */
@media (max-width: 767px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-text h1 { font-size: 28px; }
  .hero-slide { flex: 0 0 180px; }
  .hero-slide img { height: 240px; }
  .news-grid, .editorial-row, .mag-grid, .theater-grid, .qa-grid, .comments-wall, .feedback-grid { grid-template-columns: 1fr; }
  .side-poster { position: static; }
  .side-poster img { height: 300px; }
  .section-title { font-size: 24px; }
  section { padding: 40px 0; }
  .mag-card { flex-direction: row; }
  .mag-num { font-size: 32px; }
  .floating-dl { bottom: 15px; padding: 8px 18px; font-size: 13px; }
  .floating-dl img { height: 20px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .theater-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 16px; font-size: 14px; }
}