:root {
    --primary-color: #ff2a5f;
    --secondary-color: #7c3aed;
    --text-main: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}
.brand img {
    height: 32px;
    border-radius: 8px;
}
.nav-links {
    display: flex;
    gap: 20px;
    font-size: 15px;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* 首屏 Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a0b2e 0%, #4a1942 100%);
    color: #fff;
    padding: 80px 0 60px;
    overflow: hidden;
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.hero-text {
    flex: 1;
}
.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ff7eb3, #ff758c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}
.hero-img {
    flex: 1;
    position: relative;
}
.hero-img img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* 下载按钮组 */
.download-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,42,95,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,42,95,0.6);
}
.btn-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.2);
}

/* 跑马灯 */
.marquee-wrap {
    background: #000;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    margin-top: 40px;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-size: 16px;
    font-weight: bold;
}
.marquee-content span {
    margin-right: 40px;
    background: linear-gradient(90deg, #ff7eb3, #8a2387, #e94057);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 通用区块标题 */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 今日上新 */
.today-update {
    padding: 80px 0;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle fill="%23f0f0f0" cx="2" cy="2" r="2"></circle></pattern></defs><rect width="100%" height="100%" fill="url(images/poster-24.webp)"></rect></svg>');
}
.update-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.poster-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.poster-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.poster-img-wrap {
    position: relative;
    padding-top: 133%;
}
.poster-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.poster-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.poster-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.poster-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}
.poster-tags span {
    font-size: 12px;
    background: #f0f0f0;
    color: #666;
    padding: 2px 6px;
    border-radius: 4px;
}
.poster-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

/* 互动短剧 - 左右结构 */
.interactive {
    padding: 80px 0;
    background: #eef2f5;
}
.interactive-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}
.interactive-list {
    flex: 1;
}
.interactive-list li {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
}
.interactive-list li span:first-child {
    font-weight: bold;
}
.interactive-list li span:last-child {
    color: var(--secondary-color);
    font-size: 14px;
}
.interactive-poster {
    flex: 0 0 300px;
}
.interactive-poster img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 竖屏微短剧 - 横向滚动 */
.vertical-shorts {
    padding: 80px 0;
    background: #1a1a1a;
    color: #fff;
}
.scroll-wrap {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}
.scroll-wrap::-webkit-scrollbar {
    height: 6px;
}
.scroll-wrap::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}
.v-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.v-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}
.v-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    font-weight: bold;
}

/* 二创社 - 瀑布流 */
.fan-creations {
    padding: 80px 0;
    background: #fff8f0;
}
.waterfall {
    column-count: 3;
    column-gap: 20px;
}
.waterfall-item {
    break-inside: avoid;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.waterfall-item img {
    width: 100%;
    display: block;
}
.waterfall-text {
    padding: 15px;
}

/* 创作者激励计划 */
.creator-plan {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a1942, #1a0b2e);
    color: #fff;
}
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.plan-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.plan-card h3 {
    margin-bottom: 15px;
    color: #ff7eb3;
}

/* 用户神评墙 */
.review-wall {
    padding: 80px 0;
    background: #f4f7f6;
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.review-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.review-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.review-name {
    font-weight: bold;
}
.review-stars {
    color: #ffb800;
    font-size: 14px;
    margin-left: auto;
}
.review-content {
    font-size: 14px;
    color: #555;
}

/* 隐私安全 */
.privacy {
    padding: 80px 0;
    background: #e8f4f8;
}
.privacy-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.privacy-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.privacy-icon {
    width: 40px;
    height: 40px;
    background: #d1f2eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #117a65;
    font-weight: bold;
    flex-shrink: 0;
}

/* 常见问题 */
.faq {
    padding: 80px 0;
    background: #fff;
}
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}
.faq-q {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.faq-a {
    margin-top: 10px;
    color: #666;
    display: none;
}
.faq-item.active .faq-a {
    display: block;
}

/* 安装步骤 */
.install-steps {
    padding: 80px 0;
    background: #fdfbf7;
}
.steps-wrap {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.step-item {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* 底部下载区 */
.footer-download {
    padding: 80px 0;
    background: linear-gradient(to right, #1a0b2e, #4a1942);
    color: #fff;
    text-align: center;
}
.footer-download h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.footer-download .download-group {
    justify-content: center;
}

/* 浮动下载窗口 */
.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.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 999;
    transition: var(--transition);
}
.floating-download img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}
.floating-download .btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* 弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}
.modal-box p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}
.copy-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    color: #666;
    text-align: center;
}

/* 页脚 */
footer {
    background: #111;
    color: #888;
    padding: 40px 0 20px;
    font-size: 14px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}
.footer-col a {
    display: block;
    margin-bottom: 8px;
    color: #888;
}
.footer-col a:hover {
    color: #fff;
}
.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}
.copyright a {
    color: #888;
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 36px; }
    .hero-content { gap: 30px; }
    .waterfall { column-count: 2; }
    .steps-wrap { flex-wrap: wrap; }
    .step-item { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 768px) {
    .nav-links { display: none; width: 100%; flex-direction: column; position: absolute; top: 64px; left: 0; background: #fff; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 40px 0; }
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-text h1 { font-size: 28px; }
    .hero-img img { max-width: 280px; }
    .download-group { justify-content: center; }
    .interactive-inner { flex-direction: column; }
    .interactive-poster { flex: 0 0 100%; }
    .waterfall { column-count: 1; }
    .step-item { flex: 0 0 100%; }
    .floating-download { padding: 8px 15px; gap: 10px; }
    .footer-content { flex-direction: column; text-align: center; }
    .faq-q { font-size: 16px; }
}