:root {
  --bg-color: #f4f8fc;
  --panel-bg: rgba(255, 255, 255, 0.7);
  --text-main: #1a2b4c;
  --text-muted: #5a6f8e;
  --accent-blue: #d0e5f7;
  --brand-blue: #4a8fd1;
  --coral: #ff7668;
  --mint: #7bd4b8;
  --yellow: #ffd54f;
  --border-color: #e2eaf4;
  --shadow: 0 8px 24px rgba(74, 143, 209, 0.08);
  --radius: 12px;
}

* {
  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-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
}

.brand img {
  height: 32px;
  border-radius: 6px;
}

.desktop-nav {
  display: none;
  gap: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.desktop-nav a:hover {
  color: var(--brand-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--text-main);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--brand-blue);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--accent-blue) 100%);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 800;
}

.hero p {
  font-size: 16px;
  color: var(--text-muted);
}

.hero-covers {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.hero-covers::-webkit-scrollbar {
  display: none;
}

.hero-cover-card {
  flex: 0 0 auto;
  width: 140px;
  scroll-snap-align: start;
}

.hero-cover-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-cover-card.main-cover {
  width: 180px;
}

/* Sections Common */
section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Feature Block */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-cover {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.feature-cover img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-info .tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--accent-blue);
  color: var(--brand-blue);
}

.feature-info p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Mood Filter */
.mood-filter {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 24px;
}

.mood-filter::-webkit-scrollbar {
  display: none;
}

.mood-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mood-btn.active {
  background: var(--accent-blue);
  color: var(--text-main);
  border-color: var(--accent-blue);
}

/* Grid Sliders */
.grid-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.grid-slider::-webkit-scrollbar {
  display: none;
}

.drama-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drama-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 8px;
}

.drama-card h4 {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drama-card .meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Updates List */
.update-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.update-item {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  align-items: center;
  border: 1px solid var(--border-color);
}

.update-item img {
  width: 60px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 6px;
}

.update-item-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

/* Channels Grid */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.channel-card {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* FAQ */
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-q {
  padding: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-a {
  padding: 0 16px 16px;
  color: var(--text-muted);
  display: none;
  font-size: 14px;
}

.faq-item.is-open .faq-a {
  display: block;
}

/* Download Section */
.download-section {
  background: var(--accent-blue);
  padding: 60px 0;
  text-align: center;
  border-radius: 24px 24px 0 0;
}

.download-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* Footer */
.site-footer {
  background: var(--text-main);
  color: #fff;
  padding: 40px 0 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-grid a {
  display: block;
  color: #a0b3c6;
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: #a0b3c6;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .hero h1 { font-size: 40px; }
  .hero-inner { flex-direction: row; align-items: center; }
  .hero-text { flex: 1; }
  .hero-covers { flex: 1; justify-content: flex-end; }
  .feature-block { flex-direction: row; align-items: flex-start; }
  .feature-cover { margin: 0; }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .hero-covers { overflow-x: visible; flex-wrap: wrap; }
  .hero-cover-card { width: calc(33.33% - 8px); }
  .hero-cover-card.main-cover { width: calc(50% - 8px); }
  .channel-grid { grid-template-columns: repeat(4, 1fr); }
  .drama-card { flex: 0 0 220px; }
}