:root {
    --primary: #6c5ce7;
    --primary-light: #a29bfe;
    --secondary: #fd79a8;
    --bg-dark: #1e1e2f;
    --bg-light: #f8f9fc;
    --text-dark: #2d3436;
    --text-light: #dfe6e9;
    --accent: #fdcb6e;
    --gradient-1: linear-gradient(135deg, #6c5ce7, #fd79a8);
    --gradient-2: linear-gradient(135deg, #00b894, #00cec9);
    --gradient-3: linear-gradient(135deg, #e17055, #fdcb6e);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
.header {
    background: rgba(30, 30, 47, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-brand img { height: 32px; border-radius: 8px; }
.header-brand span { color: #fff; font-weight: bold; font-size: 18px; }
.nav-menu {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu a {
    color: var(--text-light);
    font-size: 14px;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s;
}
.nav-menu a:hover { background: var(--primary); color: #fff; }

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #2a2a40 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}
.hero-text h1 {
    color: #fff;
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-text p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 25px;
}
.hero-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    animation: float 4s ease-in-out infinite;
}
.hero-images img {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    object-fit: cover;
    height: 200px;
    width: 100%;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.download-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-android { background: var(--gradient-2); }
.btn-ios { background: var(--gradient-1); }
.btn-web { background: var(--gradient-3); }
.btn-harmony { background: #6c5ce7; }

/* Marquee */
.marquee-container {
    background: #1e1e2f;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid #333;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.marquee-content span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    font-weight: bold;
    margin-right: 40px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sections General */
.section {
    padding: 60px 20px;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* Section 1: 同款魔改 */
.sec-mogai { background: #fff; }
.mogai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.mogai-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.mogai-card:hover { transform: translateY(-5px); }
.mogai-card img { width: 100%; height: 260px; object-fit: cover; }
.mogai-info { padding: 15px; }
.mogai-info h3 { font-size: 16px; margin-bottom: 8px; color: var(--text-dark); }
.mogai-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.mogai-tags span {
    font-size: 12px;
    background: #e8e4ff;
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 10px;
}
.mogai-date { font-size: 12px; color: #999; }

/* Section 2: 完结魔改剧 */
.sec-wanjie { background: #f0f2f5; }
.wanjie-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.wanjie-item {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.wanjie-item img { width: 150px; height: 200px; object-fit: cover; flex-shrink: 0; }
.wanjie-info { padding: 20px; flex: 1; }
.wanjie-info h3 { color: var(--primary); margin-bottom: 10px; }
.wanjie-info p { color: #666; font-size: 14px; }

/* Section 3: 本周热播榜 */
.sec-hot { background: #1e1e2f; color: #fff; }
.sec-hot .section-title { color: #fff; }
.hot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.hot-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}
.hot-card img { width: 80px; height: 110px; object-fit: cover; border-radius: 8px; }
.hot-rank { font-size: 24px; font-weight: bold; color: var(--accent); margin-right: 10px; }

/* Section 4: 用户神评 */
.sec-review { background: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-item { background: var(--bg-light); padding: 20px; border-radius: 16px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: bold; font-size: 14px; }
.review-text { font-size: 14px; color: #555; }

/* Section 5: 会员权益 */
.sec-vip { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.vip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.vip-card {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
}
.vip-card h3 { color: #fff; margin-bottom: 10px; }
.vip-card p { color: rgba(255,255,255,0.9); font-size: 14px; }

/* Section 6: 隐私安全 */
.sec-privacy { background: #e8f5e9; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.privacy-text h2 { margin-bottom: 20px; }
.privacy-text p { margin-bottom: 15px; color: #444; }
.privacy-image img { border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Section 7: 意见反馈 */
.sec-feedback { background: #fff; }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.feedback-image img { border-radius: 16px; }
.feedback-item { margin-bottom: 20px; }
.feedback-item h3 { color: var(--primary); margin-bottom: 5px; }
.feedback-item p { color: #666; font-size: 14px; }

/* Section 8: 常见问题 */
.sec-faq { background: #f8f9fc; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 15px; border-radius: 12px; overflow: hidden; }
.faq-question { padding: 15px 20px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; }
.faq-answer { padding: 0 20px 15px; color: #666; font-size: 14px; }

/* Section 9: 下载专区 */
.sec-download { background: var(--bg-dark); color: #fff; }
.download-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.download-image { text-align: center; }
.download-image img { max-width: 300px; border-radius: 16px; margin: 0 auto; }
.download-steps { margin-top: 20px; }
.download-steps li { margin-bottom: 10px; color: var(--text-light); font-size: 14px; }

/* Floating Download */
.floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    z-index: 1000;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s;
}
.floating-download:hover { transform: translateX(-50%) scale(1.05); }
.floating-download img { width: 24px; height: 24px; border-radius: 50%; }

/* Footer */
.footer {
    background: #111;
    color: #666;
    padding: 30px 20px;
    text-align: center;
    font-size: 12px;
}
.footer-nav { margin-bottom: 15px; }
.footer-nav a { margin: 0 10px; color: #888; }
.footer-nav a:hover { color: #fff; }
.footer-beian { margin-top: 15px; }
.footer-beian a { color: #888; }
.footer-time { margin-top: 10px; color: #555; }

/* Mobile Menu */
.mobile-menu-btn { display: none; color: #fff; font-size: 24px; cursor: pointer; }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 24px; }
    .hero-images img { height: 120px; }
    .privacy-grid, .feedback-grid, .download-container { grid-template-columns: 1fr; }
    .wanjie-item { flex-direction: column; }
    .wanjie-item img { width: 100%; height: 200px; }
    .floating-download { padding: 10px 20px; }
}
@media (min-width: 1024px) {
    .hero-text h1 { font-size: 42px; }
}