:root {
  --bg-dark: #0b0e14;
  --bg-panel: #141822;
  --bg-card: #1b202c;
  --accent: #ff3b5c;
  --accent-2: #ff7a45;
  --accent-3: #26d0ce;
  --text-main: #f0f2f5;
  --text-sub: #a0a8b8;
  --border: #262d3d;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
section { padding: 48px 0; }
.section-title { font-size: 1.6rem; margin-bottom: 8px; font-weight: 800; letter-spacing: 1px; }
.section-desc { color: var(--text-sub); font-size: 0.95rem; margin-bottom: 28px; }
.color-bar { width: 48px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px; margin: 12px 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: none; gap: 20px; font-size: 0.9rem; color: var(--text-sub); }
.nav-links a:hover { color: var(--accent); }
.nav-download { display: none; background: var(--accent); color: #fff; padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.menu-toggle { display: block; background: none; border: 1px solid var(--border); color: var(--text-main); padding: 6px 10px; border-radius: 8px; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 60px 0 40px; overflow: hidden; background: radial-gradient(circle at 80% 20%, #2a1620 0%, var(--bg-dark) 60%); }
.hero-content { display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 2; }
.hero-text h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 16px; font-weight: 900; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { color: var(--text-sub); font-size: 1rem; margin-bottom: 24px; max-width: 540px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-badges span { background: rgba(255, 59, 92, 0.12); border: 1px solid rgba(255, 59, 92, 0.3); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; }
.download-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 30px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 4px 18px rgba(255, 59, 92, 0.35); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-icon { width: 18px; height: 18px; fill: currentColor; }
.hero-visual { position: relative; display: flex; justify-content: center; margin-top: 10px; }
.hero-carousel { position: relative; width: 100%; max-width: 380px; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; border: 2px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.hero-carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.hero-carousel img.active { opacity: 1; }
.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; }
.carousel-dots span.active { background: var(--accent); width: 18px; border-radius: 4px; }
.hero-float-tag { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; color: #fff; border: 1px solid rgba(255,255,255,0.1); }

/* Ticker */
.ticker-wrap { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 10px 0; }
.ticker { display: flex; white-space: nowrap; animation: ticker 25s linear infinite; }
.ticker span { color: var(--text-sub); font-size: 0.85rem; margin-right: 40px; display: flex; align-items: center; gap: 6px; }
.ticker span::before { content: "✦"; color: var(--accent); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Timetable */
.timetable-section { background: var(--bg-panel); border-radius: var(--radius); padding: 32px 20px; margin-top: 20px; border: 1px solid var(--border); }
.tt-list { display: flex; flex-direction: column; gap: 20px; position: relative; padding-left: 30px; border-left: 2px solid var(--border); }
.tt-item { position: relative; display: flex; flex-direction: column; gap: 4px; }
.tt-item::before { content: ""; position: absolute; left: -38px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-panel); border: 3px solid var(--accent); }
.tt-time { font-weight: 800; color: var(--accent-3); font-size: 1.1rem; }
.tt-title { font-weight: 700; color: var(--text-main); }
.tt-desc { font-size: 0.85rem; color: var(--text-sub); }

/* Grid Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.drama-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform 0.2s; display: flex; flex-direction: column; }
.drama-card:hover { transform: translateY(-4px); }
.drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; color: var(--text-main); }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.card-tags span { font-size: 0.7rem; padding: 2px 6px; background: rgba(255,255,255,0.05); border-radius: 4px; color: var(--text-sub); }
.card-meta { font-size: 0.75rem; color: var(--text-sub); margin-top: auto; display: flex; justify-content: space-between; }

/* Split Section */
.split-section { display: flex; flex-direction: column; gap: 24px; }
.split-left { flex-shrink: 0; width: 100%; max-width: 320px; margin: 0 auto; }
.split-left img { border-radius: var(--radius); border: 1px solid var(--border); }
.split-right { flex: 1; }
.list-block { display: flex; flex-direction: column; gap: 12px; }
.list-item { background: var(--bg-panel); padding: 14px 18px; border-radius: 10px; border-left: 3px solid var(--accent-2); display: flex; flex-direction: column; gap: 4px; }
.list-item strong { color: var(--text-main); font-size: 0.95rem; }
.list-item p { color: var(--text-sub); font-size: 0.85rem; }

/* FAQ */
.faq-grid { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-panel); border-radius: 10px; border: 1px solid var(--border); padding: 16px; cursor: pointer; }
.faq-q { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: "+"; font-size: 1.2rem; color: var(--accent); }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; margin-top: 10px; color: var(--text-sub); font-size: 0.9rem; }
.faq-item.open .faq-a { display: block; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review-card { background: var(--bg-card); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review-user { font-weight: 700; font-size: 0.9rem; }
.review-stars { color: #f5a623; font-size: 0.8rem; }
.review-text { font-size: 0.9rem; color: var(--text-sub); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step-item { background: var(--bg-panel); padding: 20px; border-radius: var(--radius); position: relative; border: 1px solid var(--border); }
.step-num { font-size: 2rem; font-weight: 900; color: rgba(255,255,255,0.05); position: absolute; top: 10px; right: 16px; }
.step-item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--accent); }
.step-item p { font-size: 0.9rem; color: var(--text-sub); }

/* News */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item { display: flex; gap: 16px; background: var(--bg-panel); padding: 16px; border-radius: 10px; align-items: center; }
.news-date { font-weight: 800; color: var(--accent-3); font-size: 0.9rem; flex-shrink: 0; }
.news-content { font-size: 0.9rem; color: var(--text-sub); }

/* Footer */
.site-footer { background: var(--bg-panel); border-top: 1px solid var(--border); padding: 30px 0; font-size: 0.8rem; color: var(--text-sub); }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.footer-inner a { color: var(--text-sub); }
.footer-inner a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-main); }
.footer-brand img { height: 24px; border-radius: 4px; }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.show { display: flex; }
.modal-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; max-width: 400px; width: 100%; text-align: center; }
.modal-box p { margin-bottom: 16px; font-size: 0.95rem; color: var(--text-main); }
.modal-box .link-box { background: var(--bg-dark); border: 1px solid var(--border); padding: 12px; border-radius: 8px; word-break: break-all; font-size: 0.85rem; color: var(--accent-3); margin-bottom: 16px; }
.modal-box button { width: 100%; }

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-download { display: inline-block; }
  .menu-toggle { display: none; }
  .hero-content { flex-direction: row; align-items: center; }
  .hero-text { flex: 1; }
  .hero-visual { flex: 0 0 360px; }
  .hero-text h1 { font-size: 2.6rem; }
  .tt-list { flex-direction: row; border-left: none; border-top: 2px solid var(--border); padding-left: 0; padding-top: 20px; justify-content: space-between; }
  .tt-item::before { left: 50%; top: -36px; transform: translateX(-50%); }
  .tt-item { align-items: center; text-align: center; }
  .split-section { flex-direction: row; align-items: flex-start; }
  .split-left { width: 280px; margin: 0; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) {
  .hero-text h1 { font-size: 3.2rem; }
  .hero-visual { flex: 0 0 420px; }
  .split-left { width: 340px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(5, 1fr); }
}