:root {
  --bg-dark: #12101a;
  --bg-darker: #0a0812;
  --bg-light: #f7f5fb;
  --primary: #ff3b5c;
  --primary-hover: #e62a4a;
  --secondary: #7b4dff;
  --accent: #00d2ff;
  --text-main: #2c2a35;
  --text-muted: #6b687d;
  --text-light: #f0eff5;
  --text-light-muted: #a09db0;
  --card-bg: #ffffff;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --transition: 0.3s ease;
  --container-width: 1000px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 整体布局容器 */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 16, 26, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-light);
}

.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.nav-desktop {
  display: none;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: var(--bg-darker);
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.nav-mobile.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.nav-mobile a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  padding: 10px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-mobile a:hover {
  color: var(--text-light);
  background: rgba(255, 59, 92, 0.2);
}

/* 首屏区域 */
.hero {
  position: relative;
  background: linear-gradient(135deg, #12101a 0%, #2a1b3d 100%);
  padding: 100px 0 60px;
  color: var(--text-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #fff, #ffd1d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1rem;
  color: var(--text-light-muted);
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-img-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
  padding: 0 10px;
}

.hero-img-group img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  aspect-ratio: 3/4;
  object-fit: cover;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), #ff6b3b);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 59, 92, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 59, 92, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 跑马灯 */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  padding: 10px 0;
  margin-top: 30px;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: scrollText 20s linear infinite;
}

.marquee-content span {
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 30px;
  background: linear-gradient(90deg, #ff3b5c, #00d2ff, #7b4dff, #ff3b5c);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 3s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes gradientFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 公共区块样式 */
.section {
  padding: 60px 0;
}

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

.section-title h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 真人短剧 */
.sec-real {
  background-color: var(--bg-light);
}

.real-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.real-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.real-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.real-card-info {
  padding: 15px;
}

.real-card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.real-card-info .tags {
  font-size: 0.8rem;
  color: var(--primary);
  background: rgba(255, 59, 92, 0.1);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.real-card-info .date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 完结魔改剧 */
.sec-magic {
  background-color: #f0f2f5;
}

.magic-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.magic-item {
  background: #fff;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.magic-item-main {
  display: flex;
  align-items: center;
  gap: 15px;
}

.magic-item-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.magic-item-text h3 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.magic-item-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.magic-item-label {
  font-size: 0.8rem;
  background: var(--secondary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
}

/* 本周热播榜 */
.sec-rank {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.sec-rank .section-title h2 {
  color: var(--text-light);
}

.sec-rank .section-title p {
  color: var(--text-light-muted);
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
}

.rank-table th, .rank-table td {
  padding: 15px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.rank-table th {
  color: var(--text-light-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.rank-table td {
  font-size: 0.95rem;
}

.rank-num {
  font-weight: 700;
  color: var(--primary);
  width: 40px;
}

.rank-title {
  font-weight: 600;
}

.rank-score {
  color: #ffb400;
}

/* 热门点评 */
.sec-review {
  background-color: #fff8f9;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-user img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.review-user span {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 会员权益与隐私安全 */
.sec-rights {
  background-color: #f4f7f6;
}

.rights-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.rights-block {
  background: #fff;
  padding: 25px;
  border-radius: var(--border-radius-lg);
}

.rights-block h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
}

.rights-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rights-item {
  display: flex;
  gap: 12px;
}

.rights-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.rights-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 意见反馈与常见问题 */
.sec-help {
  background-color: #fff;
}

.help-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  padding: 15px;
}

.faq-q {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feedback-box {
  background: var(--bg-light);
  padding: 25px;
  border-radius: var(--border-radius-lg);
}

.feedback-box h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.feedback-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-form input, .feedback-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 100px;
}

.feedback-form button {
  align-self: flex-start;
}

/* 未成年保护 */
.sec-teen {
  background-color: #eef2ff;
}

.teen-content {
  background: #fff;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.teen-content h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.teen-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 10px;
}

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
}

.timeline-time {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* 安装步骤 */
.sec-install {
  background: linear-gradient(135deg, #1f1c2e 0%, #12101a 100%);
  color: var(--text-light);
}

.sec-install .section-title h2 {
  color: var(--text-light);
}

.install-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.install-img img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 15px;
}

.step-num {
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.step-text p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

/* 页脚 */
.footer {
  background: #0a0812;
  padding: 40px 0 80px;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer a {
  color: var(--text-light-muted);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--text-light);
}

.footer-copyright {
  margin-bottom: 5px;
}

.footer-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

/* 浮动下载窗口 */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  border: 1px solid rgba(0,0,0,0.05);
  width: 90%;
  max-width: 400px;
}

.floating-download img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.floating-download-info {
  flex-grow: 1;
  text-align: left;
}

.floating-download-info h4 {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.floating-download-info p {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.floating-download .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* 复制链接弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 25px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-content p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 500;
}

.modal-content .input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.modal-content input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #f7f7f7;
}

.modal-content .btn {
  width: 100%;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
  cursor: pointer;
}

/* 响应式断点 768px */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .hero-img-group {
    gap: 15px;
  }
  .nav-desktop {
    display: flex;
    gap: 20px;
  }
  .nav-desktop a {
    color: var(--text-light-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
  }
  .nav-desktop a:hover {
    color: var(--primary);
  }
  .nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
  }
  .nav-desktop a:hover::after {
    width: 100%;
  }
  .nav-toggle {
    display: none;
  }
  .real-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rights-container {
    grid-template-columns: 1fr 1fr;
  }
  .help-container {
    grid-template-columns: 1fr 1fr;
  }
  .install-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* 响应式断点 1024px */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .real-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-desktop {
    gap: 30px;
  }
  .magic-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-img-group {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}