:root {
  --bg-dark: #0B1712;
  --bg-panel: #13261E;
  --text-cream: #F4EBD9;
  --text-muted: #9AAC9D;
  --accent-red: #E54B4B;
  --accent-red-hover: #C93D3D;
  --accent-green: #8AE06B;
  --radius: 12px;
  --transition: 0.3s ease;
}
* { 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-dark);
  color: var(--text-cream);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--accent-red); color: #fff;
  padding: 10px 24px; border-radius: 8px; font-weight: 600;
  transition: background var(--transition);
}
.btn:hover { background-color: var(--accent-red-hover); }
.btn-outline {
  background: transparent; border: 1px solid var(--text-muted);
}
.btn-outline:hover { border-color: var(--text-cream); background: rgba(255,255,255,0.05); }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 23, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 20px; font-size: 14px; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-cream); }
.nav-links a.active { color: var(--accent-green); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-cream); font-size: 24px; cursor: pointer; }
.drawer-nav { display: none; background: var(--bg-panel); padding: 20px; position: absolute; top: 64px; left: 0; right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.drawer-nav.open { display: flex; flex-direction: column; gap: 15px; }

/* Hero */
.hero { position: relative; padding: 80px 0; overflow: hidden; min-height: 80vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.2; overflow: hidden; }
.hero-bg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; transform: scale(1.1); }
.hero-bg-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; border-radius: 8px; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg-dark) 40%, transparent); z-index: 0; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero-text p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.stat-item h4 { font-size: 24px; color: var(--accent-green); }
.stat-item p { font-size: 12px; color: var(--text-muted); }
.hero-showcase { position: relative; height: 400px; }
.hero-poster-main { position: absolute; top: 0; left: 10%; width: 60%; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.1); }
.hero-poster-sub { position: absolute; width: 40%; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
.sub-1 { bottom: 10%; left: 0; z-index: 2; }
.sub-2 { bottom: 0; right: 0; z-index: 3; }

/* Sections common */
section { padding: 80px 0; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 32px; margin-bottom: 10px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 40px; height: 3px; background: var(--accent-green); }

/* Ranking */
.ranking-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.rank-top-poster { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; position: relative; border: 2px solid var(--accent-red); }
.rank-top-poster img { width: 100%; height: 100%; object-fit: cover; }
.rank-top-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.rank-list { display: flex; flex-direction: column; gap: 15px; }
.rank-item { display: grid; grid-template-columns: 30px 60px 1fr 100px; gap: 15px; align-items: center; padding: 10px; background: var(--bg-panel); border-radius: 8px; }
.rank-item img { width: 60px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.rank-num { font-size: 20px; font-weight: 700; color: var(--text-muted); text-align: center; }
.rank-item:nth-child(1) .rank-num, .rank-item:nth-child(2) .rank-num, .rank-item:nth-child(3) .rank-num { color: var(--accent-red); }
.rank-details h4 { font-size: 16px; margin-bottom: 4px; }
.rank-details p { font-size: 12px; color: var(--text-muted); }
.heat-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.heat-bar span { display: block; height: 100%; background: var(--accent-green); border-radius: 3px; }

/* Genres */
.genre-tags { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.genre-tag { padding: 6px 16px; border-radius: 20px; background: var(--bg-panel); font-size: 14px; cursor: pointer; border: 1px solid transparent; transition: var(--transition); }
.genre-tag:hover, .genre-tag.active { border-color: var(--accent-green); color: var(--accent-green); }
.cover-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cover-card { background: var(--bg-panel); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition); }
.cover-card:hover { transform: translateY(-5px); }
.cover-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cover-card-info { padding: 12px; }
.cover-card-info h3 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-card-info p { font-size: 12px; color: var(--text-muted); }

/* New Releases */
.scroll-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.scroll-track::-webkit-scrollbar { display: none; }
.scroll-track .cover-card { min-width: 160px; }

/* Curated lists */
.curated-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.curated-card { background: var(--bg-panel); border-radius: var(--radius); padding: 20px; }
.curated-covers { display: flex; margin-bottom: 20px; height: 180px; }
.curated-covers img { width: 50%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; border: 2px solid var(--bg-panel); }
.curated-covers img:nth-child(1) { transform: translateX(10%) scale(0.9); z-index: 1; }
.curated-covers img:nth-child(2) { transform: translateX(-10%) scale(1); z-index: 2; }

/* Calendar */
.calendar-table { width: 100%; border-collapse: collapse; }
.calendar-table th, .calendar-table td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
.calendar-table th { color: var(--text-muted); font-weight: normal; font-size: 14px; }
.calendar-item { display: flex; align-items: center; gap: 15px; }
.calendar-item img { width: 40px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

/* Production */
.production { background: var(--bg-panel); }
.production .cover-grid { grid-template-columns: repeat(3, 1fr); }
.production-stats { display: flex; gap: 40px; margin-top: 30px; }

/* Reviews */
.review-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--bg-panel); padding: 20px; border-radius: var(--radius); }
.review-card p { font-size: 14px; margin-bottom: 15px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-user img { width: 30px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

/* Download */
.download-section { text-align: center; background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-dark) 100%); border-top: 1px solid var(--accent-green); border-bottom: 1px solid var(--accent-green); }
.download-box { max-width: 600px; margin: 0 auto; }
.download-box img { width: 150px; margin: 20px auto; border-radius: 12px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details { background: var(--bg-panel); margin-bottom: 10px; border-radius: 8px; }
summary { padding: 15px 20px; cursor: pointer; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; }
details[open] summary::after { content: '-'; }
details p { padding: 0 20px 15px; color: var(--text-muted); }

/* Footer */
footer { background: #050C09; padding: 40px 0; font-size: 12px; color: var(--text-muted); }
.footer-content { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.footer-links { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--text-cream); }
.about-us { margin-top: 20px; width: 100%; max-width: 800px; }
.about-us summary { font-size: 12px; padding: 10px; color: var(--text-muted); }
.about-us summary::after { content: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .header-inner { position: relative; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .hero-bg-grid { grid-template-columns: repeat(3, 1fr); }
  .cover-grid { grid-template-columns: repeat(3, 1fr); }
  .ranking-wrap { grid-template-columns: 1fr; }
  .curated-list, .review-board { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero-text h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .curated-list, .review-board { grid-template-columns: 1fr; }
  .calendar-table thead { display: none; }
  .calendar-table tr { display: flex; flex-direction: column; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .calendar-table td { padding: 5px 0; border: none; }
  .footer-links { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}