/* 魅影直播 本地CSS样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --secondary-color: #9c27b0;
    --gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 25%, #9c27b0 100%);
    --text-dark: #222;
    --text-gray: #666;
    --bg-light: #f9f6fc;
    --white: #fff;
    --shadow: 0 4px 20px rgba(156, 39, 176, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

/* 头部导航 */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.download-btn {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 25px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    opacity: 0.95;
}

/* Banner区域 */
.banner {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    color: var(--white);
    max-width: 600px;
}

.banner-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.big-download-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
    transition: all 0.3s;
}

.big-download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.5);
}

/* 板块通用样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 热门主播 */
.anchors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.anchor-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.anchor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(156, 39, 176, 0.2);
}

.anchor-img-wrap {
    width: 100%;
    height: 360px;
    overflow: hidden;
    position: relative;
}

.anchor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.anchor-card:hover .anchor-img-wrap img {
    transform: scale(1.05);
}

.live-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f44336;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.viewer-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.anchor-info {
    padding: 16px;
}

.anchor-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.anchor-desc {
    color: var(--text-gray);
    font-size: 14px;
}

/* APP功能介绍 */
.app-section {
    background: var(--white);
}

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

.app-screens {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.app-screens img {
    width: 45%;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--text-gray);
}

/* 优势板块 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--text-gray);
}

/* 下载板块 */
.download-section {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.download-section .section-title {
    color: white;
}

.download-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.download-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
}

.dl-btn {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.dl-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 底部 */
footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 50px 0 30px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* 图片懒加载过渡 */
img.lazy {
    opacity: 0;
    transition: opacity 0.5s;
}

img.loaded {
    opacity: 1;
}

/* 移动端响应式 */
@media (max-width: 992px) {
    .anchors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-wrapper {
        grid-template-columns: 1fr;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .banner-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 16px;
        font-size: 14px;
    }
    .banner {
        height: 450px;
    }
    .banner-content h1 {
        font-size: 32px;
    }
    .banner-content p {
        font-size: 16px;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .anchors-grid {
        grid-template-columns: 1fr;
    }
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
