:root {
  --bg: #120B22;
  --panel-1: #221641;
  --panel-2: #2E2058;
  --primary: #A46BFF;
  --secondary: #6E4BD6;
  --highlight: #4FE3B0;
  --text-main: #F0EBFF;
  --text-sub: #A99FC8;
  --border-light: rgba(190, 175, 255, .10);
  --border-mid: rgba(190, 175, 255, .20);
  --gold: #FFCE86;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 80px;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: rgba(18, 11, 34, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.nav-menu {
  display: none;
}
.nav-menu a {
  font-size: 14px;
  color: var(--text-sub);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: rgba(164, 107, 255, 0.1);
}
.mobile-toggle {
  display: block;
  background: none;
  border: 1px solid var(--border-mid);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
}

/* Hero Section */
.hero {
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 400px;
  background: radial-gradient(circle, rgba(110, 75, 214, 0.2) 0%, transparent 70%);
  z-index: -1;
}
.hero h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 16px;
  text-align: center;
  color: var(--gold);
  font-weight: 800;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Downloads */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-1);
  border: 1px solid var(--border-mid);
  padding: 12px 8px;
  border-radius: var(--radius-md);
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  text-align: center;
  gap: 6px;
}
.dl-btn:hover {
  background: var(--panel-2);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(164, 107, 255, 0.2);
}
.dl-btn.primary-dl {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border: none;
  color: #fff;
}
.dl-btn.primary-dl:hover {
  box-shadow: 0 4px 16px rgba(164, 107, 255, 0.4);
}

/* Hero Images */
.hero-images {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero-images::-webkit-scrollbar {
  display: none;
}
.hero-img-box {
  flex: 0 0 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-mid);
  scroll-snap-align: start;
  position: relative;
}
.hero-img-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-img-box:hover img {
  transform: scale(1.05);
}

/* Marquee */
.marquee-wrap {
  background: var(--panel-1);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  overflow: hidden;
  margin-bottom: 40px;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: scrollText 25s linear infinite;
}
.marquee-content span {
  font-size: 14px;
  font-weight: 700;
  margin: 0 20px;
  background: linear-gradient(90deg, var(--highlight), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 40px 0;
}
.sec-header {
  margin-bottom: 24px;
}
.sec-header h2 {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sec-header h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--highlight);
  border-radius: 2px;
}
.sec-header p {
  color: var(--text-sub);
  font-size: 14px;
}

/* Real Person Drama */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.drama-card {
  background: var(--panel-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.drama-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(164, 107, 255, 0.15);
}
.drama-card img {
  width: 100%;
  height: 220px;
}
.drama-info {
  padding: 12px;
}
.drama-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drama-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.tag {
  font-size: 12px;
  background: rgba(79, 227, 176, 0.1);
  color: var(--highlight);
  padding: 2px 6px;
  border-radius: 4px;
}
.drama-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-sub);
}
.rating {
  color: var(--gold);
  font-weight: 700;
}

/* Finished Drama */
.finished-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.finished-item {
  display: flex;
  background: var(--panel-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.finished-item img {
  width: 100px;
  height: 140px;
  flex-shrink: 0;
  object-fit: cover;
}
.finished-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.finished-content h3 {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 4px;
}
.finished-content p {
  font-size: 13px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Time Axis */
.schedule-section {
  background: var(--panel-1);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-mid);
  margin: 40px 0;
}
.timeline {
  position: relative;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-mid);
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--highlight);
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.timeline-time {
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-text {
  font-size: 14px;
  color: var(--text-main);
}

/* Reviews */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-item {
  display: flex;
  gap: 12px;
  background: var(--panel-1);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}
.review-body {
  flex: 1;
}
.review-user {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.review-stars {
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 6px;
}
.review-text {
  font-size: 14px;
  color: var(--text-sub);
}

/* Member Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.benefit-card {
  background: linear-gradient(135deg, var(--panel-2), var(--panel-1));
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-mid);
  text-align: center;
}
.benefit-card h3 {
  font-size: 16px;
  color: var(--highlight);
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 13px;
  color: var(--text-sub);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--panel-1);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-q {
  padding: 16px;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--text-sub);
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}

/* Download Area */
.download-area {
  background: var(--panel-1);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 40px 0;
}
.dl-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step-num {
  width: 24px;
  height: 24px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-text {
  font-size: 14px;
  color: var(--text-main);
}

/* Footer */
footer {
  background: var(--panel-1);
  border-top: 1px solid var(--border-light);
  padding: 30px 0 20px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--text-sub);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-info {
  margin-bottom: 8px;
}
.footer-info a {
  color: var(--text-sub);
}

/* Floating Download */
.floating-dl {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(34, 22, 65, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--primary);
  border-radius: 50px;
  padding: 8px 16px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.floating-dl img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.floating-dl a {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: var(--panel-2);
  padding: 24px;
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 400px;
  text-align: center;
  border: 1px solid var(--border-mid);
}
.modal-box p {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--text-main);
}
.modal-box input {
  width: 100%;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-align: center;
}
.modal-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    gap: 4px;
  }
  .mobile-toggle {
    display: none;
  }
  .hero h1 {
    font-size: 36px;
  }
  .download-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-images {
    justify-content: center;
  }
  .hero-img-box {
    flex: 1;
    max-width: 250px;
  }
  .hero-img-box img {
    height: 320px;
  }
  .drama-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .finished-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .timeline::before {
    display: none;
  }
  .timeline-item {
    flex: 1;
    min-width: 150px;
    padding: 16px;
    background: var(--panel-2);
    border-radius: var(--radius-sm);
    margin-bottom: 0;
    border: 1px solid var(--border-light);
  }
  .timeline-item::before {
    display: none;
  }
}
@media (min-width: 1024px) {
  .drama-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .finished-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero h1 {
    font-size: 42px;
  }
}