:root {
  --bg-dark: #121212;
  --bg-light: #f8f9fa;
  --brand-red: #e63946;
  --brand-gold: #f4a261;
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --card-bg: #ffffff;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px; /* Space for floating bar */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: none; gap: 20px; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--brand-red); }
.menu-toggle { display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #2a2a2a, var(--bg-dark));
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 { font-size: 2rem; margin-bottom: 16px; line-height: 1.3; font-weight: 800; }
.hero p { color: #ccc; font-size: 1rem; max-width: 600px; margin: 0 auto 24px; }
.hero-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  transform: rotate(-2deg) scale(0.95);
  transition: var(--transition);
}
.hero-images img {
  width: 70px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-images img:nth-child(2) { transform: translateY(-15px); }
.hero-images img:nth-child(3) { transform: translateY(10px); }
.hero-images:hover { transform: rotate(0) scale(1); }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: #c1121f; transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* Marquee */
.marquee {
  background: #000;
  color: var(--brand-gold);
  padding: 10px 0;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: bold;
}
.marquee span { display: inline-block; animation: scroll 20s linear infinite; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Main Content Sections */
main { max-width: 1200px; margin: 0 auto; padding: 20px; }
.section-title { font-size: 1.5rem; margin-bottom: 8px; color: var(--text-main); }
.section-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

/* Section 1: Real Drama (Grid) */
.real-drama { background: var(--bg-light); padding: 30px 0; border-radius: var(--border-radius); }
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.drama-card { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: var(--transition); }
.drama-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.drama-info { padding: 10px; }
.drama-title { font-size: 0.9rem; font-weight: bold; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-tags { font-size: 0.75rem; color: var(--text-muted); }

/* Section 2: Modified Drama (Horizontal List) */
.modified-drama { background: #fdf2f8; padding: 30px 20px; border-radius: var(--border-radius); margin-top: 24px; }
.horizontal-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.horizontal-scroll::-webkit-scrollbar { display: none; }
.scroll-item { flex: 0 0 200px; background: #fff; border-radius: var(--border-radius); padding: 12px; display: flex; gap: 12px; align-items: center; }
.scroll-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; }
.scroll-text { flex: 1; }
.scroll-text h3 { font-size: 0.9rem; margin-bottom: 4px; }
.scroll-text p { font-size: 0.75rem; color: var(--text-muted); }

/* Section 3: Ranking Timeline (Vertical) */
.ranking { background: #e0f2fe; padding: 30px 20px; border-radius: var(--border-radius); margin-top: 24px; }
.timeline { position: relative; border-left: 3px solid #38bdf8; margin-left: 20px; padding-left: 20px; }
.timeline-item { margin-bottom: 20px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #38bdf8; border: 3px solid #fff; }
.timeline-time { font-weight: bold; color: #0284c7; font-size: 0.9rem; margin-bottom: 4px; }
.timeline-content { background: #fff; padding: 12px; border-radius: var(--border-radius); display: flex; gap: 12px; align-items: center; }
.timeline-content img { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; }

/* Section 4: Reviews (Grid) */
.reviews { background: #f5f5f5; padding: 30px 20px; border-radius: var(--border-radius); margin-top: 24px; }
.review-list { display: grid; gap: 16px; }
.review-card { background: #fff; padding: 16px; border-radius: var(--border-radius); display: flex; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #ddd; }
.review-body h4 { font-size: 0.9rem; margin-bottom: 4px; }
.review-body p { font-size: 0.85rem; color: var(--text-muted); }
.review-meta { font-size: 0.75rem; color: #999; margin-top: 8px; }

/* Section 5: VIP & Privacy & FAQ (Flex) */
.mixed-section { background: #fef3c7; padding: 30px 20px; border-radius: var(--border-radius); margin-top: 24px; display: grid; gap: 24px; }
@media (min-width: 768px) { .mixed-section { grid-template-columns: 1fr 1fr; } }
.mixed-block h2 { font-size: 1.2rem; margin-bottom: 12px; }
.mixed-block ul { list-style: none; }
.mixed-block li { margin-bottom: 8px; font-size: 0.9rem; display: flex; align-items: flex-start; gap: 8px; }
.mixed-block li::before { content: '•'; color: var(--brand-red); font-weight: bold; }
.faq-item { margin-bottom: 12px; }
.faq-q { font-weight: bold; font-size: 0.9rem; margin-bottom: 4px; }
.faq-a { font-size: 0.85rem; color: var(--text-muted); }

/* Section 6: Download Area */
.download-section { background: #fff; padding: 40px 20px; border-radius: var(--border-radius); margin-top: 24px; text-align: center; border: 1px solid #eee; }
.download-flex { display: flex; flex-direction: column; align-items: center; gap: 24px; }
@media (min-width: 768px) { .download-flex { flex-direction: row; justify-content: space-between; text-align: left; } }
.download-text { flex: 1; }
.download-text h2 { margin-bottom: 16px; }
.download-steps { margin-bottom: 20px; text-align: left; }
.download-steps p { font-size: 0.9rem; margin-bottom: 8px; }
.download-image { flex: 0 0 200px; width: 260px; height: 340px; border-radius: var(--border-radius); overflow: hidden; }
.download-image img { width: 100%; height: 100%; object-fit: cover; }
.download-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 20px; }

/* Floating Download Bar */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #eee;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}
.float-info { display: flex; align-items: center; gap: 12px; }
.float-info img { height: 32px; width: 32px; border-radius: 6px; }
.float-text h4 { font-size: 0.9rem; margin-bottom: 2px; }
.float-text p { font-size: 0.75rem; color: var(--text-muted); }
.float-actions { display: flex; gap: 8px; }
.btn-small { padding: 8px 16px; font-size: 0.85rem; border-radius: 20px; }

/* Footer */
footer { background: #fafafa; padding: 40px 20px; border-top: 1px solid #eee; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--brand-red); }
.copyright { color: #999; font-size: 0.8rem; }
.copyright a { color: #999; }
.copyright a:hover { color: var(--text-main); }
.time-info { font-size: 0.75rem; color: #aaa; margin-top: 8px; }

/* Responsive Adjustments */
@media (max-width: 767px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-images img { width: 60px; height: 85px; }
  .real-drama .drama-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-bar { padding: 8px 12px; }
  .float-text p { display: none; }
  .btn-small { padding: 6px 12px; font-size: 0.8rem; }
  .download-flex { text-align: center; }
  .download-buttons { flex-direction: column; }
  .download-buttons .btn { width: 100%; }
}