:root {
  --rainbow: linear-gradient(135deg, #FF4D4D, #FFA500, #FFD700, #32CD32, #1E90FF, #7C4DFF);
  --primary: #7C4DFF;
  --bg-light: #F7F8FA;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-gray: #666666;
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 24px rgba(124,77,255,0.15);
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 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: 64px;
  display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-area { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; background: var(--rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-area img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 24px; font-size: 15px; font-weight: 500; color: var(--text-gray); }
.nav-links a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.search-box {
  background: var(--bg-light); border-radius: 20px; padding: 8px 16px;
  border: 1px solid #E0E0E0; font-size: 14px; width: 200px; outline: none; transition: 0.3s;
}
.search-box:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(124,77,255,0.1); }
.btn-download {
  background: var(--rainbow); color: #fff; padding: 8px 20px; border-radius: 20px;
  font-weight: bold; font-size: 14px; transition: 0.3s; box-shadow: 0 4px 12px rgba(124,77,255,0.3);
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(124,77,255,0.4); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  padding: 80px 0; background: var(--bg-white); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,77,255,0.1) 0%, rgba(255,255,255,0) 70%); z-index: 0;
}
.hero-inner { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.hero-text p { font-size: 18px; color: var(--text-gray); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.badge-btn {
  background: var(--bg-light); border: 1px solid #E0E0E0; border-radius: 8px; padding: 8px 16px;
  font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px;
  color: var(--text-dark); transition: 0.2s;
}
.badge-btn:hover { border-color: var(--primary); color: var(--primary); }
.trust-text { font-size: 13px; color: #999; margin-bottom: 32px; display: flex; gap: 12px; }
.stats-bar { display: flex; gap: 32px; font-size: 15px; font-weight: bold; }
.stats-bar span { color: var(--primary); font-size: 20px; margin-right: 4px; }
.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 260px; height: 520px; background: #fff; border-radius: 32px; border: 6px solid #1A1A1A;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); position: relative; overflow: hidden;
}
.phone-mockup:nth-child(2) { position: absolute; right: 20px; bottom: -40px; transform: scale(0.85); z-index: -1; opacity: 0.8; }
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; display: none; }
.phone-mockup img.active { display: block; }
.floating-tag {
  position: absolute; top: 40px; right: 40px; background: #fff; padding: 8px 16px;
  border-radius: 20px; font-weight: bold; color: #FF4D4D; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  animation: float 3s ease-in-out infinite; font-size: 14px;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Sections Common */
section { padding: 64px 0; }
.section-title { font-size: 32px; margin-bottom: 32px; display: flex; align-items: center; gap: 12px; position: relative; }
.section-title::after { content: ''; display: block; width: 40px; height: 4px; background: var(--rainbow); border-radius: 2px; }
.scroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-behavior: smooth; }
.scroll-row::-webkit-scrollbar { height: 4px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

/* Cards */
.poster-card {
  flex: 0 0 180px; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: 0.3s; position: relative;
}
.poster-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.poster-img { width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden; }
.poster-img img { width: 100%; height: 100%; transition: 0.3s; }
.poster-card:hover .poster-img img { transform: scale(1.05); }
.tag-badge {
  position: absolute; top: 8px; left: 8px; padding: 2px 8px; font-size: 11px;
  border-radius: 4px; font-weight: bold; color: #fff;
}
.tag-exclusive { background: var(--rainbow); }
.tag-hot { background: #FF4D4D; }
.tag-free { background: #32CD32; }
.poster-info { padding: 12px; }
.poster-title { font-size: 15px; font-weight: bold; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-meta { font-size: 12px; color: var(--text-gray); margin-bottom: 8px; display: flex; justify-content: space-between; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.tags span { font-size: 11px; background: var(--bg-light); padding: 2px 6px; border-radius: 4px; color: var(--text-gray); }
.heat { font-size: 12px; color: #FF4D4D; font-weight: bold; }

/* Ranking */
.ranking-section { background: var(--bg-white); }
.ranking-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rank-col { background: var(--bg-light); padding: 20px; border-radius: var(--radius); }
.rank-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E0E0E0; }
.rank-item:last-child { border-bottom: none; }
.rank-num { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-weight: bold; border-radius: 4px; color: #fff; font-size: 14px; }
.rank-1 { background: #FFB300; }
.rank-2 { background: #B0BEC5; }
.rank-3 { background: #8D6E63; }
.rank-4, .rank-5 { background: #CFD8DC; color: #666; }
.rank-img { width: 40px; height: 53px; border-radius: 4px; object-fit: cover; }
.rank-info { flex: 1; }
.rank-title { font-size: 14px; font-weight: bold; }
.rank-desc { font-size: 12px; color: var(--text-gray); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-item {
  background: #fff; border: 1px solid #E0E0E0; border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: 0.3s; cursor: pointer;
}
.cat-item:hover { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box; border: 2px solid transparent; }
.cat-icon { font-size: 28px; }

/* Theater */
.theater-banner {
  background: var(--rainbow); color: #fff; padding: 16px 24px; border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-weight: bold;
}
.theater-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.f-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-gray); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.review-user { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--rainbow); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.review-stars { color: #FFB300; font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-dark); }

/* Footer */
.site-footer { background: #2A2A2A; color: #A0A0A0; padding: 64px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #444; padding-top: 24px; text-align: center; font-size: 12px; line-height: 2; }
.download-cta {
  background: var(--rainbow); color: #fff; padding: 64px 0; text-align: center; border-radius: 24px; margin-bottom: 64px;
}
.download-cta h2 { font-size: 36px; margin-bottom: 16px; color: #fff; }
.download-cta h2::after { display: none; }
.download-cta p { margin-bottom: 32px; font-size: 18px; }
.download-cta .btn-download { background: #fff; color: var(--primary); font-size: 18px; padding: 12px 32px; }

/* Mobile Sticky */
.mobile-sticky {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: var(--rainbow); padding: 12px 20px; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.mobile-sticky span { color: #fff; font-weight: bold; font-size: 16px; }
.mobile-sticky .btn-white { background: #fff; color: var(--primary); padding: 8px 20px; border-radius: 20px; font-weight: bold; font-size: 14px; }

@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-btns, .trust-text, .stats-bar { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .theater-grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-wrap { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .search-box { display: none; }
  .menu-toggle { display: block; }
  .hero-text h1 { font-size: 32px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .poster-card { flex: 0 0 140px; }
  .mobile-sticky { display: flex; }
  body { padding-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr; }
}