/* 基础设置 */
:root {
    --max-width: 1920px;
    --content-width: 1080px;
    --side-width: 420px;
}

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


a {
    text-decoration: none;
    color: #fff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

/* section {
    scroll-margin-top: 96px;
    width: 100%;
    min-height: 100vh;
    padding: 80px 0;
    overflow: hidden;
} */

.section_title {
    width: auto;
    height: auto;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 96px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 var(--side-width);
    transition: all 0.3s ease;
}

.navbar .logo img {
    height: 40px;
    width: auto;
}

/* 导航菜单 */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: clamp(2rem, 4vw, 4.167rem);
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 4px;
    position: relative;
    line-height: 30px;
    transition: color 0.3s ease;
}

/* 简化下划线动画 */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #FF2E4D;
    transition: 0.3s ease-out;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 悬浮和激活状态 */
.nav-menu a:hover {
    color: #333;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: #FF2E4D;
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

/* 导航栏滚动效果 */
.nav-menu li {
    transition: transform 0.2s ease;
}

.nav-menu li:hover {
    transform: translateY(-1px);
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 按钮样式 */
.btn {
    width: 174px;
    height: 56px;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 500;
    color: black;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 46, 77, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 46, 77, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 46, 77, 0.3);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    /* height: 100%; */
    display: flex;
    /* padding: 0 20px; */
}

.left {
    width: var(--side-width);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.right {
    width: var(--side-width);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 1. 首屏区域 */
.hero {
    height: 844px;
    padding-top: 96px;
    background: 
        url('/assets/img/bg_left.webp'),
        linear-gradient(
            to left,
            #FFC9E1,
            #fff
        );
    background-size: cover;
    scroll-margin-top: 96px;
}

.hero .container {
    padding-top: 145px;
}

.hero .logo {
    border-radius: 28px;
    margin-bottom: 24px;
    width: 124px;
    height: 124px;
    box-shadow: 0 0 100px #FF2E4D57;
}

.hero .title {
    font-size: 45px;
    font-weight: 800;
    color: #333;
    line-height: 68px;
}

.hero .desc {
    font-size: 14px;
    line-height: 1.6;
    color: #1E1E1E;
    margin-bottom: 104px;
    margin-top: 10px;
    max-width: 600px;
}

.hero .pic {
    margin-left: 110px;
}

.hero .pic img {
    /* width: 100%; */
    max-width: 600px;
    /* min-width: 400px; */
    height: auto;
}

/* 2. 平台核心优势 */
.about {
    background: #fff;
    height: 400px;
    padding-top: 80px;
}
.about .section_title{
    width: 132px;
    height: 48px;
}
.about .content{
    margin-top: 80px;
    width: 1136px;
    height: 120px;
}

/* 3. 影视项目优势 */
.services {
    padding-top: 80px;
    height: 688px;
    background: url('/assets/img/bg_3.webp');
    background-size: cover;
}
.services .section_title{
    width: 132px;
    height: 48px;
}
.services .content{
    margin-top: 59px;
    width: 1120px;
    height: 328px;
}

/* 4. 推文项目优势 */
.products {
    padding-top: 80px;
    height: 690px;
    background: #fff;
}
.products .section_title{
    width: 132px;
    height: 48px;
}
.products .content{
    /* margin-top: 50px; */
    width: 1120px;
    height: 546px;
}
/* 5. 短剧项目优势 */
.shorttv {
    padding-top: 80px;
    height: 727px;
    background: url('/assets/img/bg_5.webp');
    background-size: cover;
}
.shorttv .section_title{
    width: 132px;
    height: 48px;
}
.shorttv .content{
    margin-top: 80px;
    width: 1120px;
    height: 399px;
}

/* 6. 达人成长 */
.talent {
    padding-top: 80px;
    height: 656px;
    background: #fff;
}
.talent .section_title{
    width: 89px;
    height: 48px;
}
.talent .content{
    margin-top: 80px;
    width: 1120px;
    height: 367px;
}

/* 7. 合作伙伴 */
.partners {
    padding-top: 80px;
    height: 902px;
    background: url('/assets/img/bg_7.webp');
    background-size: cover;
}
.partners .section_title{
    width: 117px;
    height: 48px;
}
.partners .content{
    margin-top: 80px;
}

.share {
    height: 114px;
    background: url('/assets/img/s_bg.webp');
    background-size: cover;
}

.share .logo {
    width: 110px;
    height: 36px;
    /* 图片白色 */
    filter: brightness(0) invert(1);
}

.share .icon {
    width: 32px;
    height: 32px;
    /* 图片原始显示 */
    filter: none;
}
.share .icon+.icon{
    margin-left: 12px;
}
/* 分享图标和二维码样式 */
.icon-wrapper {
    position: relative;
    cursor: pointer;
}

.icon-wrapper + .icon-wrapper {
    margin-left: 12px;
}

.icon-wrapper .qrcode {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    transform-origin: bottom;
    margin-bottom: 12px;
    z-index: 100;
}

.icon-wrapper:hover .qrcode {
    transform: translateX(-50%) scale(1);
}

.icon-wrapper .qrcode img {
    width: 120px;
    height: 120px;
}

.icon-wrapper .qrcode span {
    color: #333;
    font-size: 14px;
}

/* 8. 页脚 */
.footer {
    background: #1A1A1A;
    color: #fff;
    padding: 80px 0 0;
}

.footer .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer .desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer .qrcode-img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.footer .qrcode-img:hover {
    transform: scale(1.5);
}

/* 通用图片样式 */
.section_title {
    height: 48px;
    width: auto;
}

/* 文件末尾添加响应式样式 */

/* 大屏幕设备 (1920px 以下) */
@media screen and (max-width: 1920px) {
    :root {
        --side-width: 360px;
    }

    .container {
        max-width: 1600px;
    }

    .hero .desc{
        margin-bottom: 100px;
    }

    .hero .pic img {
        max-width: 500px;
    }

    .navbar {
        padding: 0 360px;
    }
}

/* 中等屏幕设备 (1600px 以下) */
@media screen and (max-width: 1600px) {
    :root {
        --side-width: 280px;
    }

    .container {
        max-width: 1280px;
    }

    .hero .title {
        font-size: 40px;
        line-height: 60px;
    }

    .hero .pic {
        margin-left: 60px;
    }

    .hero .pic img {
        max-width: 450px;
    }

    .navbar {
        padding: 0 180px;
    }
}

/* 小屏幕设备 (1280px 以下) */
@media screen and (max-width: 1280px) {
    :root {
        --side-width: 200px;
    }

    .container {
        max-width: 960px;
    }

    .hero .title {
        font-size: 36px;
        line-height: 54px;
    }

    .hero .desc{
        margin-bottom: 60px;
    }

    .hero .pic img {
        max-width: 400px;
    }

    .navbar {
        padding: 0 120px;
    }

    .nav-menu ul {
        gap: 2rem;
    }

    .nav-menu a {
        font-size: 18px;
    }
}

/* 平板设备 (960px 以下) */
@media screen and (max-width: 960px) {
    .container {
        flex-direction: column;
        padding: 0 20px;
    }

    .left, .right {
        display: none;
    }

    .main {
        width: 100%;
    }

    .hero {
        height: auto;
        padding: 72px 0;
    }

    .hero .flex-row {
        flex-direction: column;
        gap: 40px;
    }

    .hero .flex-item {
        align-items: center !important;
        text-align: center;
    }

    .hero .pic {
        margin-left: 0;
    }

    .hero .desc {
        text-align: center;
    }

    .navbar {
        padding: 0 40px;
    }

    /* 调整各个section的高度为自适应 */
    .about, .services, .products, .shorttv, .talent, .partners {
        height: auto;
        padding: 60px 0;
    }

    .section_title {
        height: 40px;
    }

    .content {
        width: 100% !important;
        height: auto !important;
    }
}

/* 移动设备 (768px 以下) */
@media screen and (max-width: 768px) {
    .navbar {
        height: 72px;
        padding: 0 20px;
    }

    .navbar .logo img {
        height: 32px;
    }

    .nav-menu ul {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 16px;
    }

    .hero .title {
        font-size: 32px;
        line-height: 48px;
    }

    .hero .pic img {
        max-width: 100%;
    }

    .btn {
        width: 140px;
        height: 48px;
        padding: 10px 24px;
        font-size: 16px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer .flex-row {
        flex-direction: column;
        gap: 40px;
    }

    .footer .flex-column {
        align-items: center !important;
        text-align: center;
    }

    .share {
        height: auto;
        padding: 20px 0;
    }

    .share .flex-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* 小型移动设备 (480px 以下) */
@media screen and (max-width: 480px) {
    .hero .title {
        font-size: 28px;
        line-height: 42px;
    }

    .btn {
        width: 120px;
        height: 40px;
        padding: 8px 20px;
        font-size: 14px;
    }

    .navbar {
        padding: 0 10px;
    }

    .nav-menu {
        display: none; /* 在小屏幕下隐藏导航菜单，可以考虑添加汉堡菜单 */
    }
}

.buy_btn {
    background: linear-gradient(135deg, #FF2E4D 0%, #FF6B8A 100%);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 46, 77, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.buy_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 46, 77, 0.4);
}

.buy_btn .icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* 购买会员弹窗样式 */
.member-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.close-btn {
    font-size: 28px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.uid-section,
.member-type-section,
.payment-section {
    margin-bottom: 20px;
}

.uid-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.uid-input {
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.uid-input::placeholder {
    color: #999;
}

.uid-input:focus {
    border-color: #FF2E4D;
    box-shadow: 0 0 0 3px rgba(255, 46, 77, 0.1);
}

.member-type-section h3,
.payment-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.member-type-list {
    display: flex;
    gap: 10px;
}

.member-type-item {
    flex: 1;
    padding: 14px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background-color: #fff;
}

.member-type-item:hover {
    border-color: #FF2E4D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 46, 77, 0.15);
}

.member-type-item.active {
    border-color: #FF2E4D;
    background: linear-gradient(135deg, #FF2E4D 0%, #FF6B8A 100%);
    color: #fff;
}

.member-type-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.member-type-price {
    font-size: 20px;
    font-weight: 700;
}

.payment-list {
    display: flex;
    gap: 10px;
}

.payment-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

.payment-item:hover {
    border-color: #FF2E4D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 46, 77, 0.15);
}

.payment-item.active {
    border-color: #FF2E4D;
    background: linear-gradient(135deg, #FF2E4D 0%, #FF6B8A 100%);
    color: #fff;
}

.payment-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.payment-item.active .payment-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.payment-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.payment-name {
    font-size: 14px;
    font-weight: 500;
}

.order-info {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 16px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.order-item:last-of-type {
    margin-bottom: 0;
}

.order-item span:last-child {
    color: #333;
    font-weight: 500;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.order-total span:last-child {
    color: #FF2E4D;
    font-size: 20px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-cancel,
.btn-confirm {
    flex: 1;
    height: 42px;
    border-radius: 21px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cancel {
    background-color: #f5f5f5;
    color: #666;
}

.btn-cancel:hover {
    background-color: #e0e0e0;
}

.btn-confirm {
    background: linear-gradient(135deg, #FF2E4D 0%, #FF6B8A 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 46, 77, 0.3);
}

.btn-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 46, 77, 0.4);
}

.btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

