:root {
  --lavender: #e6e0f8;
  --deep-plum: #3a1c4f;
  --white: #ffffff;
  --cool-gray: #f5f5f7;
  --silver: #b0b0b8;
  --coral: #ff6b6b;
  --text-main: #2d2d35;
  --text-muted: #6e6e7a;
  --font-serif: "Georgia", "Songti SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); background-color: var(--cool-gray); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(58,28,79,0.1); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 20px; font-weight: bold; color: var(--deep-plum); }
.brand img { height: 32px; border-radius: 4px; }
.nav { display: none; }
.nav a { margin: 0 15px; font-size: 14px; font-weight: 500; color: var(--text-main); transition: color 0.3s; }
.nav a:hover { color: var(--deep-plum); }
.header-actions { display: flex; align-items: center; }
.btn-header-download { background: var(--deep-plum); color: var(--white); padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: bold; transition: background 0.3s; }
.btn-header-download:hover { background: #2a1138; }
.menu-toggle { display: block; background: none; border: none; font-size: 24px; color: var(--deep-plum); cursor: pointer; margin-left: 15px; }

/* Main Container */
main { padding-top: 60px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--deep-plum); }
h2 { font-size: 28px; margin-bottom: 20px; border-bottom: 1px solid var(--silver); padding-bottom: 10px; display: inline-block; }
h3 { font-size: 20px; margin-bottom: 10px; }
.text-muted { color: var(--text-muted); font-size: 14px; }
.tag { display: inline-block; padding: 2px 8px; background: var(--lavender); color: var(--deep-plum); font-size: 12px; border-radius: 4px; margin-right: 5px; }

/* Hero Section */
.hero { background: var(--white); padding: 40px 0 60px; }
.hero-grid { display: flex; flex-direction: column; gap: 30px; }
.hero-text { max-width: 100%; }
.hero-text h1 { font-size: 36px; line-height: 1.2; margin-bottom: 15px; }
.hero-text p { font-size: 16px; margin-bottom: 25px; color: var(--text-muted); }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primary { background: var(--deep-plum); color: var(--white); padding: 12px 24px; border-radius: 25px; font-weight: bold; transition: background 0.3s; }
.btn-primary:hover { background: #2a1138; }
.btn-secondary { background: transparent; color: var(--deep-plum); border: 1px solid var(--deep-plum); padding: 12px 24px; border-radius: 25px; font-weight: bold; transition: all 0.3s; }
.btn-secondary:hover { background: var(--lavender); }
.hero-covers { display: flex; overflow-x: auto; gap: 15px; padding-bottom: 10px; scrollbar-width: none; }
.hero-covers::-webkit-scrollbar { display: none; }
.hero-cover-item { flex: 0 0 140px; position: relative; }
.hero-cover-item img { width: 100%; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); aspect-ratio: 2/3; object-fit: cover; }
.hero-cover-item .cover-info { margin-top: 8px; font-size: 13px; }
.hero-cover-item .cover-info span { display: block; color: var(--silver); font-size: 12px; }
.hero-cover-main { transform: translateY(-10px); }

/* Today's Pick */
.today-pick { background: var(--white); }
.today-content { display: flex; flex-direction: column; gap: 20px; }
.today-cover { flex: 0 0 200px; }
.today-cover img { width: 100%; border-radius: 8px; aspect-ratio: 2/3; object-fit: cover; }
.today-info { flex: 1; }
.today-info h3 { font-size: 24px; margin-bottom: 10px; }
.today-info p { margin-bottom: 15px; }
.today-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; font-size: 14px; color: var(--text-muted); }

/* Categories */
.categories { background: var(--cool-gray); }
.cat-filters { display: flex; gap: 15px; margin-bottom: 30px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.cat-filters::-webkit-scrollbar { display: none; }
.cat-btn { background: none; border: none; font-size: 16px; color: var(--text-muted); padding: 5px 10px; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.3s; }
.cat-btn.active { color: var(--deep-plum); border-bottom-color: var(--deep-plum); font-weight: bold; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.cat-card img { width: 100%; border-radius: 8px; aspect-ratio: 2/3; object-fit: cover; margin-bottom: 8px; }
.cat-card h4 { font-size: 14px; color: var(--deep-plum); }

/* Ranking */
.ranking { background: var(--white); }
.rank-list { display: flex; flex-direction: column; gap: 15px; }
.rank-top { display: flex; flex-direction: column; gap: 15px; }
.rank-item-lg { display: flex; gap: 15px; align-items: center; background: var(--cool-gray); padding: 15px; border-radius: 12px; }
.rank-num { font-size: 40px; font-family: var(--font-serif); font-weight: bold; color: var(--lavender); line-height: 1; }
.rank-item-lg:nth-child(1) .rank-num { color: var(--deep-plum); }
.rank-item-lg:nth-child(2) .rank-num { color: #7a5c9e; }
.rank-item-lg:nth-child(3) .rank-num { color: #9a7bbd; }
.rank-item-lg img { width: 80px; border-radius: 6px; aspect-ratio: 2/3; object-fit: cover; }
.rank-info h4 { font-size: 16px; margin-bottom: 5px; }
.rank-info p { font-size: 13px; color: var(--text-muted); }
.rank-others { display: flex; flex-direction: column; gap: 10px; }
.rank-item-sm { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; background: var(--cool-gray); border-radius: 8px; font-size: 14px; }
.rank-item-sm span:first-child { font-weight: bold; }

/* New Updates */
.updates { background: var(--cool-gray); }
.update-list { display: flex; flex-direction: column; gap: 15px; }
.update-item { display: flex; gap: 15px; background: var(--white); padding: 15px; border-radius: 8px; align-items: center; }
.update-item img { width: 60px; border-radius: 6px; aspect-ratio: 2/3; object-fit: cover; }
.update-info h4 { font-size: 16px; margin-bottom: 5px; }
.update-info .status { font-size: 12px; color: var(--coral); font-weight: bold; }

/* Features */
.features { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature-item { text-align: center; padding: 20px; background: var(--cool-gray); border-radius: 12px; }
.feature-icon { font-size: 32px; margin-bottom: 10px; }
.feature-item h4 { font-size: 18px; color: var(--deep-plum); margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-muted); }

/* Comments */
.comments { background: var(--cool-gray); }
.comment-list { display: flex; flex-direction: column; gap: 15px; }
.comment-item { background: var(--white); padding: 15px; border-radius: 8px; }
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.comment-avatar { width: 40px; height: 40px; background: var(--lavender); color: var(--deep-plum); display: flex; justify-content: center; align-items: center; border-radius: 50%; font-weight: bold; font-size: 14px; }
.comment-user { font-weight: bold; font-size: 14px; }
.comment-text { font-size: 14px; color: var(--text-main); margin-bottom: 10px; }
.comment-movie { font-size: 12px; color: var(--silver); }

/* FAQ */
.faq { background: var(--white); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--silver); border-radius: 8px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 15px; background: none; border: none; font-size: 16px; font-weight: bold; color: var(--deep-plum); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 0 15px 15px; font-size: 14px; color: var(--text-muted); display: none; }
.faq-item.active { border-color: var(--deep-plum); }
.faq-item.active .faq-answer { display: block; }

/* Download */
.download { background: var(--deep-plum); color: var(--white); text-align: center; }
.download h2 { color: var(--white); border-bottom-color: rgba(255,255,255,0.2); }
.download p { color: var(--lavender); margin-bottom: 20px; }
.download-steps { text-align: left; max-width: 600px; margin: 0 auto 30px; color: var(--lavender); font-size: 14px; }
.download-steps li { margin-bottom: 10px; }
.download-btns { display: flex; flex-direction: column; gap: 15px; align-items: center; }
.btn-download { display: block; width: 100%; max-width: 300px; background: var(--white); color: var(--deep-plum); text-align: center; padding: 15px 0; border-radius: 30px; font-weight: bold; font-size: 16px; transition: transform 0.2s; }
.btn-download:hover { transform: scale(1.02); }

/* Footer */
.footer { background: var(--deep-plum); color: var(--silver); padding: 40px 0 20px; font-size: 13px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 20px; }
.footer-brand { font-family: var(--font-serif); font-size: 18px; color: var(--white); margin-bottom: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 10px; color: #8a7d99; }
.footer-bottom a { color: #8a7d99; }
.footer-bottom a:hover { text-decoration: underline; }

/* Responsive */
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .hero-grid { flex-direction: row; align-items: center; }
  .hero-text { flex: 1; max-width: 50%; }
  .hero-covers { flex: 1; overflow-x: visible; flex-wrap: wrap; justify-content: center; }
  .hero-cover-item { flex: 0 0 150px; }
  .hero-cover-item:nth-child(even) { transform: translateY(20px); }
  .today-content { flex-direction: row; align-items: flex-start; }
  .today-cover { flex: 0 0 220px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .rank-top { flex-direction: row; }
  .rank-item-lg { flex-direction: column; text-align: center; flex: 1; }
  .rank-item-lg img { width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-btns { flex-direction: row; justify-content: center; }
  .footer-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .hero-text h1 { font-size: 48px; }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .rank-item-lg { flex-direction: row; text-align: left; }
  .rank-item-lg img { width: 120px; }
}