/* ================================================
   K-DRAMA CREAM — 韩剧免费大片在线观看
   Design: Warm Editorial / Korean Aesthetic
   Palette: Cream · Coral · Mint · Gold
   ================================================ */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FBF6F0;
  --paper: #FFFFFF;
  --primary: #F05A6C;
  --primary-dark: #D94257;
  --primary-soft: rgba(240, 90, 108, 0.09);
  --secondary: #53BBA6;
  --secondary-soft: rgba(83, 187, 166, 0.10);
  --gold: #F6C25F;
  --gold-soft: rgba(246, 194, 95, 0.16);
  --ink: #27272E;
  --muted: rgba(39, 39, 46, 0.58);
  --line: #F0E7DC;
  --shadow: 0 16px 44px rgba(39, 39, 46, 0.06);
  --shadow-hover: 0 24px 56px rgba(240, 90, 108, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 90, 108, 0.04) 0%, transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(83, 187, 166, 0.05) 0%, transparent 30%),
    var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--gold));
  border-radius: 999px;
}

/* ================================================
   核心布局
   ================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section:nth-child(even) {
  background:
    radial-gradient(circle at 90% 10%, rgba(246, 194, 95, 0.05) 0%, transparent 40%),
    #F6F1EA;
}

/* ================================================
   导航 — 固定顶部
   ================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 246, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 8px 30px rgba(39, 39, 46, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.04em;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.82;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  box-shadow: 0 6px 16px rgba(240, 90, 108, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-6deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.main-nav a:not(.nav-cta):hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-cta {
  padding: 10px 24px !important;
  border-radius: var(--radius-pill) !important;
  color: #fff !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 20px rgba(240, 90, 108, 0.28);
  margin-left: 10px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(240, 90, 108, 0.36);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--primary-soft);
}

.menu-toggle::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 4px;
  box-shadow: 0 7px 0 var(--ink), 0 -7px 0 var(--ink);
}

/* ================================================
   首页 Hero
   ================================================ */
.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 96px;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(240, 90, 108, 0.09) 0%, transparent 52%),
    radial-gradient(ellipse at 12% 82%, rgba(83, 187, 166, 0.09) 0%, transparent 46%),
    linear-gradient(180deg, #FEFAF4 0%, var(--cream) 100%);
}

.hero::before {
  content: '재생';
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(240, 90, 108, 0.12);
  pointer-events: none;
  line-height: 1;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  height: 80px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 28px,
    rgba(39, 39, 46, 0.035) 28px,
    rgba(39, 39, 46, 0.035) 40px
  );
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(240, 90, 108, 0.16);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.12;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 38px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  position: relative;
  background: var(--line);
}

.hero-image:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

/* ================================================
   按钮
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1.2;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 22px rgba(240, 90, 108, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(240, 90, 108, 0.36);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(83, 187, 166, 0.28);
}

/* ================================================
   标签 / 标题
   ================================================ */
.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-left: 22px;
  position: relative;
}

.section-label::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.58rem;
  color: var(--gold);
  text-shadow: 0 2px 6px rgba(246, 194, 95, 0.4);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ================================================
   卡片网格
   ================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(240, 90, 108, 0.14);
}

.category-card:nth-child(1) .card-icon {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.category-card:nth-child(2) .card-icon {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.category-card:nth-child(3) .card-icon {
  background: var(--gold-soft);
  color: #C9922A;
}

.category-card:nth-child(4) .card-icon {
  background: rgba(122, 108, 240, 0.08);
  color: #6A5AE0;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.06) rotate(-4deg);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.card-link::after {
  content: '→';
  transition: transform 0.25s ease;
  display: inline-block;
}

.category-card:hover .card-link::after {
  transform: translateX(5px);
}

/* ================================================
   特性块
   ================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  background: var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-image:hover {
  transform: rotate(1deg) translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.feature-image:hover img {
  transform: scale(1.04);
}

.feature-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1.25;
}

.feature-text p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.96rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--secondary);
  background: var(--secondary-soft);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  border: 1px solid rgba(83, 187, 166, 0.2);
}

/* ================================================
   数据条
   ================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: var(--paper);
  padding: 40px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: all 0.35s ease;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-item:hover::after {
  opacity: 1;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--primary-dark);
  line-height: 1.1;
  font-feature-settings: 'tnum';
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ================================================
   内容墙
   ================================================ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(0.4deg);
  box-shadow: var(--shadow-hover);
  border-color: rgba(240, 90, 108, 0.14);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--line);
  transition: transform 0.6s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  transition: color 0.25s;
}

.content-wall-item:hover .content-wall-body h3 {
  color: var(--primary-dark);
}

.content-wall-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ================================================
   FAQ
   ================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
}

.faq-item:hover {
  border-color: rgba(240, 90, 108, 0.2);
}

.faq-item.open {
  border-color: rgba(240, 90, 108, 0.3);
  box-shadow: 0 12px 32px rgba(240, 90, 108, 0.08);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.faq-item.open .faq-question {
  color: var(--primary-dark);
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.35s ease;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  line-height: 1.7;
  animation: faqFade 0.3s ease;
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item.open .faq-answer {
  display: block;
}

/* ================================================
   CTA 横幅
   ================================================ */
.cta-banner {
  padding: 72px 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, #B93A50 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(240, 90, 108, 0.3);
}

.cta-banner::before {
  content: '▶';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.cta-banner::after {
  content: '▶';
  position: absolute;
  left: 10%;
  top: 18%;
  font-size: 120px;
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-size: 1.02rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

/* ================================================
   页脚
   ================================================ */
.site-footer {
  padding: 72px 0 28px;
  background: linear-gradient(180deg, var(--cream) 0%, #F1EAE1 100%);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--ink);
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.87rem;
  padding: 5px 0;
  transition: color 0.2s ease, transform 0.2s ease;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ================================================
   工具类
   ================================================ */
.text-accent {
  color: var(--primary-dark);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ================================================
   响应式
   ================================================ */
@media (max-width: 900px) {
  .hero::before {
    opacity: 0.5;
  }

  .feature-block {
    gap: 40px;
  }

  .cta-banner {
    padding: 56px 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 104px 0 72px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 2.8rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero::before {
    font-size: 5rem;
    top: 15%;
    right: 4%;
  }

  .hero::after {
    bottom: 20px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-image {
    order: 1;
  }

  .feature-text {
    order: 2;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(251, 246, 240, 0.97);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    gap: 4px;
    align-items: stretch;
  }

  .main-nav.open a {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .main-nav.open .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .cta-banner {
    padding: 48px 28px;
  }

  .cta-banner::before {
    font-size: 160px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .main-nav.open {
    top: 64px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 60px 0;
  }

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .stat-item {
    padding: 28px 16px;
  }

  .cta-banner {
    border-radius: var(--radius-md);
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .cta-banner .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}