:root {
  --primary: #ff4d6d;
  --secondary: #7b2cbf;
  --bg-dark: #0f0c1b;
  --bg-card: #1a1528;
  --text-main: #f0eaff;
  --text-muted: #a397c4;
  --accent: #ff9a00;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(15, 12, 27, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 77, 109, 0.2);
  padding: 15px 0;
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-area img {
  height: 32px;
  border-radius: 6px;
}
.logo-area span {
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: none;
  flex-wrap: wrap;
  gap: 15px;
}
.nav-links a {
  font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 40px 0;
  background: radial-gradient(circle at 50% 0%, var(--secondary) 0%, var(--bg-dark) 70%);
  text-align: center;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  line-height: 1.2;
}
.hero p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.hero-gallery img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-gallery img:hover {
  transform: scale(1.03);
}
@media (min-width: 768px) {
  .hero-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: opacity 0.3s;
  min-width: 120px;
}
.btn:hover {
  opacity: 0.9;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Marquee */
.marquee-wrap {
  background: var(--bg-card);
  padding: 10px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,77,109,0.3);
  border-bottom: 1px solid rgba(255,77,109,0.3);
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}
.marquee-content span {
  font-size: 0.9rem;
  margin-right: 30px;
  color: var(--accent);
  font-weight: bold;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections Common */
section {
  padding: 50px 0;
}
section:nth-child(even) {
  background: var(--bg-card);
}
.section-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
}
.drama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
@media (min-width: 768px) {
  .drama-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.drama-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
}
.drama-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.drama-info {
  padding: 10px;
}
.drama-info h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.drama-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}
.tags span {
  font-size: 0.7rem;
  background: rgba(255,77,109,0.2);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Layout splits */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .split {
    flex-direction: row;
    align-items: center;
  }
  .split-reverse {
    flex-direction: row-reverse;
  }
}
.split-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}
.split-content {
  flex: 1;
}
.split-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}
.split-content p {
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* List layout for Weekly */
.list-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.list-item {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  padding: 10px;
  border-radius: 8px;
}
.list-item img {
  width: 60px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 15px;
}
.list-item-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.list-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Q&A */
.qa-item {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
}
.qa-item h4 {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.qa-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--primary);
  margin: 20px 0;
}
.timeline-item {
  margin-bottom: 15px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline-time {
  font-weight: bold;
  color: var(--primary);
  font-size: 0.9rem;
}
.timeline-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 21, 40, 0.95);
  border: 1px solid var(--primary);
  border-radius: 30px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
  z-index: 999;
}
.floating-download img {
  height: 30px;
  border-radius: 4px;
}
.floating-download span {
  font-size: 0.8rem;
  color: var(--text-main);
}
.floating-download .btn {
  padding: 6px 15px;
  font-size: 0.8rem;
  min-width: auto;
}

/* Footer */
footer {
  background: #0a0812;
  padding: 30px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
footer p {
  margin-bottom: 10px;
}
footer a {
  color: var(--text-muted);
  text-decoration: underline;
}
footer a:hover {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  padding: 15px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 99;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}