:root {
  --brand-red: #e63946;
  --brand-yellow: #f4d35e;
  --brand-green: #2a9d8f;
  --bg-light: #fdfaf6;
  --text-dark: #1d1d1f;
  --text-light: #6e6e73;
  --border-color: #e5e5ea;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}
* {
  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-light);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
.container {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-red);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}
.btn:hover {
  background-color: #c1121f;
}
.btn:active {
  transform: scale(0.98);
}
.btn-outline {
  background-color: transparent;
  color: var(--brand-red);
  border: 1px solid var(--brand-red);
}
.btn-outline:hover {
  background-color: rgba(230, 57, 70, 0.05);
}

/* Header */
.header {
  background-color: rgba(253, 250, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  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: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}
.brand img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
  gap: 24px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--brand-red);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-text h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}
.hero-text h1 span {
  color: var(--brand-red);
}
.hero-text p {
  font-size: 16px;
  color: var(--text-light);
}
.hero-actions {
  display: flex;
  gap: 12px;
}
.hero-visual {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.hero-visual::-webkit-scrollbar {
  display: none;
}
.hero-cover {
  flex: 0 0 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hero-cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2/3;
}
.hero-cover-main {
  flex: 0 0 200px;
  margin-top: 0;
}
.hero-cover:nth-child(2) {
  margin-top: 20px;
}
.hero-cover:nth-child(3) {
  margin-top: 10px;
}
.hero-cover:nth-child(4) {
  margin-top: 30px;
}

/* Section Common */
section {
  padding: 40px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.section-header h2 {
  font-size: 24px;
  font-weight: 700;
}
.section-header .more-link {
  font-size: 14px;
  color: var(--text-light);
}

/* Hot List */
.hot-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.hot-list::-webkit-scrollbar {
  display: none;
}
.drama-card {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drama-cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 2/3;
}
.drama-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--brand-yellow);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.drama-title {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drama-meta {
  font-size: 13px;
  color: var(--text-light);
}

/* Category Filter */
.filter-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar {
  display: none;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
}
.filter-btn.active {
  background-color: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

/* Featured */
.featured {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.featured-cover {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.featured-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
}
.featured-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-info h3 {
  font-size: 22px;
  font-weight: 700;
}
.featured-tags {
  display: flex;
  gap: 8px;
}
.featured-tags span {
  font-size: 12px;
  color: var(--brand-red);
  background-color: rgba(230, 57, 70, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}
.featured-info p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

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

/* Experience */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.exp-item {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border-color);
}
.exp-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(230, 57, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-weight: bold;
  font-size: 18px;
}
.exp-item h3 {
  font-size: 16px;
  font-weight: 600;
}
.exp-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* CTA */
.cta {
  background-color: var(--brand-red);
  color: #fff;
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius-lg);
  margin: 40px 20px;
}
.cta h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.cta p {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.9;
}
.cta .btn {
  background-color: #fff;
  color: var(--brand-red);
  font-size: 16px;
  padding: 12px 32px;
}
.cta .btn:hover {
  background-color: #f0f0f0;
}

/* Footer */
.footer {
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}
.footer-brand {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 16px;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-links a:hover {
  color: var(--brand-red);
}
.footer-info {
  margin-bottom: 8px;
}
.footer-info a {
  color: var(--text-light);
}
.time {
  font-size: 12px;
  color: #999;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero {
    flex-direction: row;
    align-items: center;
    padding: 60px 0;
  }
  .hero-text {
    flex: 1;
  }
  .hero-text h1 {
    font-size: 48px;
  }
  .hero-visual {
    flex: 1;
    overflow: visible;
    justify-content: flex-end;
  }
  .hero-cover-main {
    flex: 0 0 220px;
  }
  .hero-cover {
    flex: 0 0 160px;
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured {
    flex-direction: row;
    align-items: center;
  }
  .featured-cover {
    flex: 0 0 240px;
    margin: 0;
  }
  .featured-info {
    flex: 1;
  }
  .cta {
    margin: 60px auto;
    max-width: 800px;
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .exp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-cover-main {
    flex: 0 0 260px;
  }
  .hero-cover {
    flex: 0 0 180px;
  }
}