:root {
  --brand-start: #4A90E2;
  --brand-end: #D048B6;
  --bg-white: #FFFFFF;
  --bg-gray: #F7F8FA;
  --text-dark: #111111;
  --text-gray: #666666;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

section {
  padding: 90px 0 !important;
  border-bottom: 1px solid #f0f0f0;
}
section h2 {
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.grid-gap { gap: 24px; display: grid; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  height: 72px;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center; height: 100%;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; }
.brand img { height: 32px; width: auto; border-radius: 4px; }
.brand-sub { font-size: 12px; color: var(--text-gray); font-weight: 400; margin-left: 4px; text-transform: uppercase; }
nav.main-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--text-gray); }
nav.main-nav a:hover { color: var(--text-dark); }
.header-right { display: flex; align-items: center; gap: 16px; }
.search-box {
  display: flex; align-items: center;
  background: var(--bg-gray); border-radius: 20px; padding: 8px 16px; width: 200px;
}
.search-box input {
  border: none; background: transparent; outline: none; font-size: 14px; width: 100%; margin-left: 8px; color: var(--text-dark);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: white; padding: 10px 24px; border-radius: 24px; font-weight: 600; font-size: 14px;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

/* Hero */
.hero {
  padding-top: 150px !important;
  padding-bottom: 90px !important;
  background: radial-gradient(circle at top right, #f9f0ff 0%, #ffffff 50%);
  border-bottom: none;
}
.hero-inner { display: grid; grid-template-columns: 45% 55%; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 48px; line-height: 1.2; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px; }
.hero-text p { font-size: 18px; color: var(--text-gray); margin-bottom: 40px; max-width: 90%; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-actions .link { font-weight: 500; color: var(--text-dark); border-bottom: 1px solid var(--text-dark); padding-bottom: 2px; }
.hero-scroll { margin-top: 60px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-gray); }
.hero-posters { position: relative; height: 600px; }
.poster-item { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.poster-item img { width: 100%; height: 100%; object-fit: cover; }
.p1 { width: 220px; height: 320px; top: 0; left: 10%; z-index: 3; }
.p2 { width: 200px; height: 300px; top: 40px; left: 45%; z-index: 2; }
.p3 { width: 240px; height: 360px; top: 150px; right: 0; z-index: 1; }
.p4 { width: 180px; height: 260px; bottom: 0; left: 20%; z-index: 4; }

/* Topics */
.topics-grid { grid-template-columns: repeat(3, 1fr); }
.topic-card {
  padding: 48px 32px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  transition: transform 0.3s;
}
.topic-card:hover { transform: translateY(-5px); }
.topic-card.c1 { background: linear-gradient(135deg, #f0f7ff, #e0f0ff); }
.topic-card.c2 { background: linear-gradient(135deg, #fff0f5, #ffe4ef); }
.topic-card.c3 { background: linear-gradient(135deg, #f5f0ff, #ebe0ff); }
.topic-num { font-size: 14px; font-weight: 700; color: var(--text-gray); margin-bottom: 16px; }
.topic-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.topic-tag { display: inline-block; background: rgba(255,255,255,0.7); padding: 6px 16px; border-radius: 20px; font-size: 13px; color: var(--text-gray); }

/* Hot Picks */
.hot-grid { grid-template-columns: repeat(6, 1fr); }
.poster-card { position: relative; }
.poster-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; margin-bottom: 12px; box-shadow: var(--shadow); }
.poster-img img { width: 100%; height: 100%; transition: transform 0.3s; }
.poster-card:hover .poster-img img { transform: scale(1.05); }
.rating { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.6); color: #ffb800; padding: 2px 8px; border-radius: 8px; font-size: 12px; font-weight: bold; backdrop-filter: blur(4px); }
.status { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white; padding: 24px 12px 8px; font-size: 12px; text-align: right; }
.poster-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-info p { font-size: 12px; color: var(--text-gray); }

/* Rated & Shorts */
.rated-shorts-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.list-section h2 { margin-bottom: 32px; }
.rated-list { display: flex; flex-direction: column; gap: 24px; }
.rated-item { display: flex; align-items: center; gap: 16px; }
.rated-num { font-size: 24px; font-weight: 700; color: #ddd; width: 40px; font-family: sans-serif; }
.rated-thumb { width: 60px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.rated-desc { flex: 1; }
.rated-desc h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.rated-desc p { font-size: 13px; color: var(--text-gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rated-score { font-size: 18px; font-weight: 700; color: #ffb800; }

.shorts-list { display: flex; flex-direction: column; gap: 24px; }
.short-item { display: flex; gap: 16px; background: var(--bg-gray); padding: 16px; border-radius: var(--radius-lg); }
.short-thumb { width: 80px; height: 110px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.short-content { flex: 1; }
.short-content h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.short-content p { font-size: 13px; color: var(--text-gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Themes */
.theme-grid { grid-template-columns: repeat(4, 1fr); }
.theme-card {
  position: relative; border-radius: var(--radius-lg); padding: 32px; color: white; height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.theme-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2)); z-index: 1; }
.theme-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.8; transition: transform 0.3s; }
.theme-card:hover img { transform: scale(1.05); }
.theme-content { position: relative; z-index: 2; }
.theme-tag { font-size: 12px; opacity: 0.8; margin-bottom: 8px; text-transform: uppercase; }
.theme-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.theme-card p { font-size: 13px; opacity: 0.8; }

/* Genres */
.genre-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.genre-title-wrap { display: flex; align-items: baseline; gap: 16px; }
.genre-title-wrap h2 { margin-bottom: 0 !important; }
.genre-num { font-size: 14px; font-weight: 700; color: var(--brand-start); }
.genre-more { font-size: 14px; color: var(--text-gray); font-weight: 500; }
.genre-grid { grid-template-columns: repeat(6, 1fr); }

/* Download CTA */
.download-cta {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  border-radius: 24px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  position: relative; overflow: hidden;
}
.download-cta::after {
  content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(208,72,182,0.2) 0%, transparent 70%); border-radius: 50%; z-index: 0;
}
.cta-left { position: relative; z-index: 1; }
.cta-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand-end); margin-bottom: 16px; background: rgba(208,72,182,0.1); padding: 4px 12px; border-radius: 12px; }
.cta-left h2 { font-size: 42px; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px; }
.cta-left p { font-size: 16px; color: var(--text-gray); margin-bottom: 40px; }
.cta-actions { display: flex; align-items: center; gap: 16px; }
.cta-hint { font-size: 12px; color: #999; }
.cta-right {
  position: relative; z-index: 1; background: white; border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center;
}
.cta-arrow { font-size: 48px; color: var(--text-gray); margin-bottom: 24px; line-height: 1; }
.cta-right h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta-right p { font-size: 15px; color: var(--text-gray); margin-bottom: 32px; }
.btn-outline {
  display: inline-block; padding: 12px 32px; border: 2px solid var(--text-dark); border-radius: 24px;
  font-weight: 600; font-size: 15px; transition: all 0.2s; width: fit-content;
}
.btn-outline:hover { background: var(--text-dark); color: white; }

/* Footer */
footer { background: var(--bg-gray); padding: 64px 0 32px; border-top: 1px solid #eaeaea; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { font-size: 14px; color: var(--text-gray); max-width: 300px; }
.footer-col h4 { font-size: 16px; font-weight: 600; margin-bottom: 24px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-gray); }
.footer-col a:hover { color: var(--text-dark); }
.footer-bottom { border-top: 1px solid #eaeaea; padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #999; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 40px; }
  .hot-grid, .genre-grid { grid-template-columns: repeat(4, 1fr); }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 50px 0 !important; }
  nav.main-nav { display: none; }
  .search-box { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text h1 { font-size: 32px; }
  .hero-posters { height: 400px; }
  .p1 { width: 140px; height: 200px; left: 0; }
  .p2 { width: 130px; height: 190px; left: 35%; }
  .p3 { width: 150px; height: 220px; top: 100px; right: 0; }
  .p4 { width: 120px; height: 170px; left: 10%; }
  
  .topics-grid { grid-template-columns: 1fr; }
  .hot-grid, .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .rated-shorts-inner { grid-template-columns: 1fr; gap: 48px; }
  .theme-grid { grid-template-columns: 1fr; }
  
  .download-cta { grid-template-columns: 1fr; padding: 40px 24px; gap: 48px; }
  .cta-left h2 { font-size: 32px; }
  .cta-right { padding: 32px 24px; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}