:root {
  --orange: #f28b30;
  --orange-light: #ffb86b;
  --lime: #7a9c3f;
  --lime-light: #b5d47a;
  --bg-dark: #121210;
  --bg-card: #1e1e1a;
  --text-main: #f5f2ea;
  --text-muted: #a8a49b;
  --border: #3a3a32;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; }
.num { font-variant-numeric: tabular-nums; }

/* Header & Nav */
.nav-container {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px; transition: all 0.3s ease;
}
.nav-container.shrink {
  padding: 10px 40px;
  background: rgba(18, 18, 16, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 32px; width: auto; }
.logo span { font-size: 20px; font-weight: bold; letter-spacing: 1px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  font-size: 14px; color: var(--text-muted); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.mobile-menu-btn { display: none; font-size: 24px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; padding: 120px 40px 60px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.4; z-index: -1;
}
.hero-content { max-width: 800px; z-index: 1; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 20px; letter-spacing: 2px; }
.hero p { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; }
.btn-primary {
  display: inline-block; background: var(--orange); color: #000;
  padding: 14px 32px; border-radius: 30px; font-weight: bold;
  font-size: 18px; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 10px 20px rgba(242, 139, 48, 0.3);
}

/* Sections Common */
section { padding: 100px 40px; }
.section-title { font-size: 36px; margin-bottom: 20px; text-align: center; }
.section-desc { text-align: center; color: var(--text-muted); margin-bottom: 50px; font-size: 16px; }
.grid-cards { display: grid; gap: 24px; }

/* b. Orchard Theater */
.theater-top-bar {
  display: flex; justify-content: space-between; background: var(--bg-card);
  padding: 16px 24px; border-radius: var(--radius); margin-bottom: 40px; font-size: 14px;
}
.theater-layout { display: flex; gap: 30px; }
.taste-sidebar { display: flex; flex-direction: column; gap: 16px; width: 88px; flex-shrink: 0; }
.taste-btn {
  position: relative; height: 80px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; border-radius: 8px;
  background: var(--bg-card); color: var(--text-muted); transition: all 0.3s;
}
.taste-btn.active { background: var(--orange-light); color: #000; font-weight: bold; transform: scale(1.05); }
.taste-btn.active::after {
  content: ''; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  border-left: 10px solid var(--orange-light);
}
.taste-btn .icon { font-size: 20px; margin-bottom: 4px; }
.theater-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px; flex-grow: 1; perspective: 1000px;
}
.theater-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  transform: rotateY(-4deg); transition: all 0.3s ease; display: flex; flex-direction: column;
}
.theater-card:hover { transform: rotateY(0) scale(1.03); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.theater-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.theater-card-info { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.theater-card-title { font-size: 16px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theater-card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.theater-card-desc { font-size: 13px; color: #ccc; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theater-tags { display: flex; gap: 8px; margin-top: auto; }
.theater-tags span { background: #333; padding: 2px 8px; border-radius: 4px; font-size: 12px; color: var(--orange-light); }

/* c. Main Orchard */
.actors-layout { display: flex; gap: 40px; }
.actors-text { flex: 1; }
.actors-text p { margin-bottom: 20px; line-height: 1.9; color: #ddd; font-size: 15px; }
.actors-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.stat-card { background: var(--bg-card); padding: 20px; border-radius: var(--radius); border-left: 4px solid var(--lime); }
.stat-card .num { font-size: 24px; font-weight: bold; color: var(--lime-light); display: block; margin-bottom: 4px; }
.stat-card span { font-size: 13px; color: var(--text-muted); }
.actors-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.actor-card { position: relative; width: 100%; aspect-ratio: 3/4; perspective: 1000px; cursor: pointer; }
.actor-inner { width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; position: relative; }
.actor-card:hover .actor-inner, .actor-card.flipped .actor-inner { transform: rotateY(180deg); }
.actor-front, .actor-back {
  position: absolute; width: 100%; height: 100%; backface-visibility: hidden;
  border-radius: var(--radius); overflow: hidden;
}
.actor-front img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.3s; }
.actor-card:hover .actor-front img { filter: grayscale(0%); }
.actor-front-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.actor-front h4 { font-size: 16px; }
.actor-front p { font-size: 12px; color: #ccc; }
.actor-back {
  background: var(--lime); color: #111; transform: rotateY(180deg);
  padding: 16px; display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.actor-back p { font-size: 12px; margin-bottom: 8px; line-height: 1.4; }
.actor-back button { margin-top: 10px; background: #111; color: var(--lime); padding: 6px 10px; border-radius: 4px; font-size: 12px; }

/* e. Danmaku */
.danmaku-track-wrapper { width: 100%; overflow: hidden; background: #1a1a18; padding: 16px 0; border-radius: var(--radius); margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.danmaku-track { display: flex; width: max-content; white-space: nowrap; }
.track-left { animation: scrollLeft 28s linear infinite; }
.track-right { animation: scrollRight 36s linear infinite; }
.danmaku-track-wrapper:hover .danmaku-track { animation-play-state: paused; }
.danmaku-item {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05);
  padding: 6px 16px; border-radius: 20px; margin-right: 16px; font-size: 14px; color: #ddd;
}
.danmaku-item img { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--orange); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.reviews-layout { display: flex; gap: 30px; }
.review-main { flex: 0 0 340px; background: var(--bg-card); padding: 24px; border-radius: var(--radius); border-top: 4px solid var(--orange); }
.review-main .stars { color: var(--orange); margin-bottom: 10px; }
.review-main h4 { font-size: 18px; margin-bottom: 10px; }
.review-main p { font-size: 14px; color: #ccc; line-height: 1.7; margin-bottom: 16px; }
.review-list { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-item { background: var(--bg-card); padding: 16px; border-radius: var(--radius); }
.review-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; }
.review-header img { width: 24px; height: 24px; border-radius: 50%; }
.review-item p { font-size: 13px; color: #bbb; line-height: 1.5; }

/* f. Binge Ring */
.ring-layout { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ring-chart { position: relative; width: 300px; height: 300px; flex-shrink: 0; }
.ring-chart svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #333; stroke-width: 8; }
.ring-fill { fill: none; stroke: var(--orange); stroke-width: 8; stroke-dasharray: 800; stroke-dashoffset: 200; transition: stroke-dashoffset 1.5s ease-out; }
.ring-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.ring-text h4 { font-size: 24px; color: var(--orange); margin-bottom: 4px; }
.ring-text p { font-size: 12px; color: var(--text-muted); }
.badges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; flex: 1; min-width: 300px; }
.badge-card { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 16px; border-radius: 8px; text-align: center; }
.badge-card.unlocked { border-color: var(--orange); background: linear-gradient(135deg, rgba(242,139,48,0.1), transparent); }
.badge-card h5 { font-size: 14px; margin-bottom: 4px; color: #fff; }
.badge-card p { font-size: 11px; color: var(--text-muted); }

/* g. Membership */
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; max-width: 1000px; margin: 0 auto; }
.price-card { background: var(--bg-card); padding: 40px 30px; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); position: relative; }
.price-card.popular { transform: translateY(-16px); border-color: var(--orange); box-shadow: 0 10px 30px rgba(242,139,48,0.15); }
.price-card.popular::before { content: '最受欢迎'; position: absolute; top: 0; right: 0; background: var(--orange); color: #000; padding: 4px 12px; font-size: 12px; font-weight: bold; border-bottom-left-radius: 8px; }
.price-card h3 { font-size: 22px; margin-bottom: 20px; }
.price-card .price { font-size: 48px; font-weight: bold; color: var(--orange); margin-bottom: 20px; }
.price-card .price span { font-size: 16px; color: var(--text-muted); font-weight: normal; }
.price-card ul { text-align: left; margin-bottom: 30px; }
.price-card li { font-size: 14px; color: #ccc; margin-bottom: 12px; padding-left: 20px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--lime-light); }
.btn-outline { display: block; width: 100%; padding: 12px; border: 1px solid var(--text-muted); border-radius: 20px; transition: all 0.2s; }
.price-card.popular .btn-outline { background: var(--orange); color: #000; border-color: var(--orange); font-weight: bold; }
.price-card .btn-outline:hover { background: #fff; color: #000; border-color: #fff; }

/* i. Install Workshop */
.workshop-layout { display: flex; gap: 40px; }
.workshop-tabs { width: 200px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.workshop-tab { padding: 12px 20px; background: var(--bg-card); border-radius: 8px; text-align: left; transition: all 0.2s; font-size: 15px; }
.workshop-tab.active { background: var(--orange); color: #000; font-weight: bold; }
.workshop-content { flex: 1; background: var(--bg-card); padding: 30px; border-radius: var(--radius); }
.step-list { display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; gap: 20px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--orange-light); color: #000; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.step-text h4 { font-size: 16px; margin-bottom: 4px; }
.step-text p { font-size: 14px; color: var(--text-muted); }

/* Footer */
footer { padding: 40px; text-align: center; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--text-main); }

/* Download Section */
.download-section { background: linear-gradient(180deg, var(--bg-dark), #1a1a18); text-align: center; padding: 100px 40px; }
.download-box { max-width: 600px; margin: 0 auto; background: var(--bg-card); padding: 50px; border-radius: 20px; border: 1px solid var(--border); }
.download-box h2 { font-size: 32px; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 1200px) {
  .actors-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .review-list { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .theater-layout { flex-direction: column; }
  .taste-sidebar { flex-direction: row; width: 100%; overflow-x: auto; padding-bottom: 10px; }
  .taste-btn { width: 80px; height: 60px; flex-shrink: 0; }
  .taste-btn.active::after { display: none; }
  .actors-layout { flex-direction: column; }
  .reviews-layout { flex-direction: column; }
  .review-main { flex: auto; }
  .pricing-cards { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .workshop-layout { flex-direction: column; }
  .workshop-tabs { width: 100%; flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
  .workshop-tab { white-space: nowrap; }
}
@media (max-width: 768px) {
  section { padding: 60px 20px; }
  .hero { padding: 100px 20px 40px; }
  .nav-container { padding: 15px 20px; }
  .theater-grid { grid-template-columns: repeat(2, 1fr); }
  .actors-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-grid { grid-template-columns: 1fr 1fr; }
  .ring-chart { width: 250px; height: 250px; }
}
@media (max-width: 480px) {
  .theater-grid { grid-template-columns: 1fr; }
  .actors-grid { grid-template-columns: 1fr; }
  .download-box { padding: 30px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}