/* ===================== 基础重置（单页不引用公共样式） ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    border: 0;
    vertical-align: middle;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ===================== 通用容器 ===================== */
.ws-container {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* 锚点跳转时避免被固定顶栏遮挡 */
#feature,
#recharge,
#download {
    scroll-margin-top: 74px;
}

/* ===================== 单页官网顶栏 ===================== */
.sp-header {
    position: sticky;
    top: 0;
    z-index: 999;
    height: 64px;
    background: #17181d;
}

.sp-header-inner {
    height: 64px;
    display: flex;
    align-items: center;
}

.sp-logo {
    flex: none;
    display: flex;
    align-items: center;
}

.sp-logo img {
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 8px;
    background: #fff;
}

.sp-logo-text {
    margin-left: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.sp-nav {
    flex: 1;
    display: flex;
    margin-left: 48px;
}

.sp-nav li a {
    display: block;
    padding: 0 18px;
    height: 64px;
    line-height: 64px;
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
    transition: color .2s;
}

.sp-nav li a:hover,
.sp-nav li a.active {
    color: #fff;
}

.sp-header-btn {
    flex: none;
    height: 38px;
    line-height: 38px;
    padding: 0 26px;
    border-radius: 19px;
    background: linear-gradient(90deg, #ff5b7f, #ff2d55);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.sp-header-btn:hover {
    opacity: .9;
}

/* ===================== 主视觉 ===================== */
.ws-hero {
    background: linear-gradient(120deg, #1b1c22 0%, #2b1d2a 45%, #3d1a2a 100%);
    color: #fff;
    overflow: hidden;
}

.ws-hero-inner {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ws-hero-left {
    flex: 1;
    padding: 60px 40px 70px 0;
}

.ws-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ws-slogan {
    margin-top: 16px;
    font-size: 20px;
    color: #ffb3c1;
    letter-spacing: 1px;
}

.ws-desc {
    margin-top: 18px;
    font-size: 14px;
    line-height: 26px;
    color: rgba(255, 255, 255, .72);
}

.ws-btns {
    margin-top: 32px;
}

.ws-btn {
    display: inline-block;
    height: 48px;
    line-height: 48px;
    padding: 0 36px;
    border-radius: 24px;
    font-size: 16px;
    text-align: center;
    transition: all .2s;
    cursor: pointer;
}

.ws-btn-main {
    background: linear-gradient(90deg, #ff5b7f, #ff2d55);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255, 45, 85, .35);
}

.ws-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 45, 85, .45);
}

.ws-btn-ghost {
    margin-left: 14px;
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
}

.ws-btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
}

.ws-btn-light {
    background: #fff;
    color: #ff2d55;
    font-weight: 700;
}

.ws-btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.ws-hero-tags {
    margin-top: 26px;
}

.ws-hero-tags span {
    display: inline-block;
    margin-right: 12px;
    padding: 5px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
}

/* 手机预览 */
.ws-hero-right {
    flex: none;
}

.ws-phone {
    width: 270px;
    height: 520px;
    padding: 12px;
    margin: 40px 0;
    background: #17181d;
    border-radius: 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.ws-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #22232a;
}

.ws-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.ws-slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .6s;
}

.ws-slide.active {
    opacity: 1;
}

.ws-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-slide-empty {
    background: linear-gradient(160deg, #2b1d2a, #4a2133);
}

.ws-slide-empty img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================== 通用区块 ===================== */
.ws-section {
    padding: 64px 0;
}

.ws-feature-section {
    background: #fff;
}

.ws-live-section {
    background: #f7f8fa;
}

.sp-recharge-section {
    background: #f7f8fa;
}

.ws-download-section {
    background: #fff;
}

.ws-section-hd {
    text-align: center;
    margin-bottom: 42px;
}

.ws-section-hd h2 {
    font-size: 30px;
    color: #222;
    font-weight: 700;
}

.ws-section-hd p {
    margin-top: 12px;
    font-size: 14px;
    color: #999;
}

/* ===================== 功能亮点 ===================== */
.ws-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ws-feature {
    padding: 30px 26px;
    background: #fafbfc;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    transition: all .25s;
}

.ws-feature:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: #ffd6de;
    box-shadow: 0 12px 30px rgba(255, 45, 85, .1);
}

.ws-ico {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff5b7f, #ff2d55);
    position: relative;
}

.ws-ico::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.ws-ico-hd::after { content: "▶"; }
.ws-ico-mic::after { content: "♪"; }
.ws-ico-chat::after { content: "✉"; }
.ws-ico-gift::after { content: "★"; }
.ws-ico-dynamic::after { content: "◈"; }
.ws-ico-safe::after { content: "✓"; }

.ws-feature h3 {
    margin-top: 18px;
    font-size: 17px;
    color: #222;
    font-weight: 700;
}

.ws-feature p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 22px;
    color: #999;
}

/* ===================== 热门直播 ===================== */
.ws-lives {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ws-live {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    transition: all .25s;
}

.ws-live:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.ws-live-cover {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #eee;
}

.ws-live-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-live-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 3px 10px;
    background: #ff2d55;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
}

.ws-live-nums {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 10px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
}

.ws-live-info {
    display: flex;
    align-items: center;
    padding: 14px 16px;
}

.ws-live-avatar {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.ws-live-text {
    flex: 1;
    margin-left: 12px;
    overflow: hidden;
}

.ws-live-nick {
    font-size: 14px;
    color: #222;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ws-live-title {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ===================== 下载 ===================== */
.ws-downloads {
    display: grid;
    grid-template-columns: repeat(2, 260px);
    justify-content: center;
    gap: 20px;
}

.ws-download {
    padding: 26px 20px;
    text-align: center;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    background: #fafbfc;
}

.ws-download-title {
    font-size: 15px;
    color: #222;
    font-weight: 700;
}

.ws-download-ewm {
    margin-top: 18px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-download-ewm img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.ws-download-link {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    color: #ff2d55;
    border: 1px solid #ffd6de;
    border-radius: 20px;
}

.ws-download-btn {
    margin-top: 40px;
    text-align: center;
}

/* ===================== 页脚 ===================== */
.sp-footer {
    padding: 34px 0;
    background: #17181d;
    color: rgba(255, 255, 255, .5);
    text-align: center;
    font-size: 13px;
    line-height: 26px;
}

.sp-footer-company {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 2px;
}

.sp-footer a {
    color: rgba(255, 255, 255, .6);
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.sp-footer a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .6);
}

.sp-footer-copy {
    margin-top: 2px;
    color: rgba(255, 255, 255, .4);
}

.sp-footer-icp img {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -3px;
}

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
    .ws-container,
    .ws-hero-inner {
        width: 100%;
    }

    .ws-hero-inner {
        flex-direction: column;
        padding-bottom: 30px;
    }

    .ws-hero-left {
        padding: 40px 0 20px;
        text-align: center;
    }

    .ws-title {
        font-size: 30px;
    }

    .ws-phone {
        margin: 0 auto 40px;
    }

    .ws-features,
    .ws-lives {
        grid-template-columns: repeat(2, 1fr);
    }

    .ws-downloads {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-nav {
        margin-left: 10px;
    }

    .sp-nav li a {
        padding: 0 10px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .ws-features,
    .ws-lives,
    .ws-downloads {
        grid-template-columns: 1fr;
    }

    .sp-logo img {
        width: 28px;
        height: 28px;
    }

    .sp-logo-text {
        margin-left: 8px;
        font-size: 15px;
    }

    .sp-header-btn {
        padding: 0 14px;
        font-size: 13px;
    }
}
