@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --secondary: #f8bbd0;
  --bg: #fce4ec;
  --bg-light: #fff5f8;
  --text: #880e4f;
  --text-light: #ad1457;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(233, 30, 99, 0.12);
  --shadow-hover: 0 12px 40px rgba(233, 30, 99, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Ma Shan Zheng', 'Noto Sans SC', cursive;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header & Nav ========== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(233, 30, 99, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* ========== Hero / Banner ========== */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--secondary) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233,30,99,0.2), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(248,187,208,0.5), transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 52px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text .subtitle {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-desc {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(233,30,99,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(233,30,99,0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 48px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3), 0 0 0 8px rgba(233,30,99,0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--bg) 100%);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 20px 4px;
  font-size: 12px;
  color: var(--white);
}

.phone-app-content {
  flex: 1;
  padding: 12px 16px;
  overflow: hidden;
}

.phone-app-content h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 12px;
}

.phone-banner {
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}

.phone-banner h4 { color: var(--white); font-size: 16px; margin-bottom: 4px; }
.phone-banner p { color: rgba(255,255,255,0.85); font-size: 11px; }

.phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.phone-card {
  flex: 1;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--secondary), var(--bg));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  background: rgba(255,255,255,0.9);
  border-radius: 0 0 36px 36px;
}

.phone-nav span {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 50%;
}

.phone-nav span.active {
  background: var(--primary);
  color: var(--white);
}

/* ========== Section Common ========== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 38px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-alt {
  background: var(--bg);
}

/* ========== Features Cards ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.feature-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

/* ========== Download Section ========== */
.download-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.qr-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.qr-code {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary);
  border: 3px dashed var(--secondary);
}

.qr-box h3 {
  color: var(--primary-dark);
  font-size: 24px;
  margin-bottom: 8px;
}

.qr-box p {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 20px;
}

.qr-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.qr-btns .btn { padding: 10px 20px; font-size: 14px; }

.download-info h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
}

.download-info p {
  font-size: 17px;
  margin-bottom: 24px;
  opacity: 0.95;
  line-height: 1.8;
}

.download-list {
  list-style: none;
  margin-bottom: 30px;
}

.download-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}

.download-list li::before {
  content: '✓';
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.download-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all 0.3s;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.store-btn .icon { font-size: 28px; }
.store-btn .text small { display: block; font-size: 11px; font-weight: 400; opacity: 0.7; }
.store-btn .text span { font-size: 16px; }

/* ========== Movie/TV Cards ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--white);
  border: 2px solid var(--secondary);
  border-radius: 50px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.video-poster {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--secondary), var(--bg));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
  overflow: hidden;
}

.video-poster .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(233,30,99,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  font-size: 40px;
  color: var(--white);
}

.video-card:hover .play-overlay {
  background: rgba(233,30,99,0.3);
}

.video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.video-info {
  padding: 18px 16px;
}

.video-info h3 {
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.video-meta span {
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 50px;
}

/* ========== About Page ========== */
.about-hero {
  background: linear-gradient(135deg, var(--bg), var(--secondary));
  padding: 100px 0 80px;
  text-align: center;
}

.about-hero h1 {
  font-size: 48px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 19px;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-text h2 {
  font-size: 36px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.story-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 16px;
}

.story-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--secondary), var(--bg));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--white);
}

.team-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.team-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 14px;
}

.team-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Contact Page ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.8;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-list .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
}

.contact-list h4 {
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-list p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-light);
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(233,30,99,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== Installation Guide ========== */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.guide-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step;
}

.guide-card::before {
  content: counter(step);
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.guide-card h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-right: 60px;
}

.guide-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.guide-card .guide-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary-dark);
}

/* ========== Footer ========== */
.site-footer {
  background: #2d1b26;
  color: #d4c0cb;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #d4c0cb;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: var(--secondary);
}

.footer-brand .logo {
  color: var(--secondary);
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

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

/* ========== Responsive ========== */
@media (max-width: 968px) {
  .hero-grid,
  .download-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-text h1 { font-size: 40px; }
  .hero-text .subtitle { font-size: 18px; }

  .download-hero,
  .download-grid {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle { display: block; }

  .hero { padding: 50px 0; }
  .hero-text h1 { font-size: 32px; }
  .hero-text .subtitle { font-size: 16px; }

  .section { padding: 50px 0; }
  .section-title h2 { font-size: 28px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .download-btns { justify-content: center; }

  .cta-section { padding: 50px 0; }
  .cta-section h2 { font-size: 26px; }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }

  .video-info { padding: 12px; }
  .video-info h3 { font-size: 15px; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .phone-mockup { width: 260px; height: 520px; }
}