/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Open Sans', sans-serif;
    background: #000a20;
    height: 100vh;
    overflow: hidden;
}

/* 屏幕基础样式 */
.screen {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 84px;
    background: rgba(0, 9, 29, 0.8);
    backdrop-filter: blur(2px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 64px;
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-img {
    width: 100px;
    height: 47px;
}

.logo-text {
    color: #ffffff;
}

.logo-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
}

.logo-subtitle {
    font-size: 12px;
    line-height: 12px;
    letter-spacing: -0.48px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 45px;
}

.nav-link {
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    line-height: 32px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00D4FF;
}

.nav-link.active {
    color: #00D4FF;
}

/* Banner屏幕 */
.banner-screen {
    background: #000a20;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('htmimg/bannerBackground.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1); /* 稍微放大一点，避免边缘出现空白 */
    filter: brightness(1.1); /* 稍微提高亮度 */
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}

.banner-content {
    position: absolute;
    left: 226px;
    top: 334px;
    color: #ffffff;
    z-index: 2;
}

.banner-title {
    margin-bottom: 32px;
}

.banner-title-01 {
    font-family: 'YouSheBiaoTiHei', sans-serif;
    font-size: 72px;
    line-height: 72px;
    background: linear-gradient(to bottom, #ffffff, #68e9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: normal;
}

.banner-title-02 {
    font-family: 'YouSheBiaoTiHei', sans-serif;
    font-size: 136px;
    line-height: 128px;
    color: #ffffff;
    font-weight: normal;
}

.banner-description {
    font-size: 32px;
    line-height: 38px;
    color: #ffffff;
    width: 692px;
    margin-bottom: 32px;
}

.download-btn {
    width: 230px;
    height: 72px;
    background: linear-gradient(to bottom, #ffffb1, #ff4d4d);
    border: none;
    border-radius: 100px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* Main01屏幕 */
.main01-screen {
    background: #000a20;
}

.main01-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('htmimg/Main01Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main01-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0 92px 0; /
}

.main01-header {
    text-align: center;
    flex-shrink: 0;
}

.main01-title {
    font-family: 'YouSheBiaoTiHei', sans-serif;
    font-size: 96px;
    line-height: 96px;
    background: linear-gradient(to bottom, #ffffff, #68e9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 19px;
    font-weight: normal;
}

.main01-subtitle {
    font-size: 32px;
    line-height: 40px;
    color: #ffffff;
    text-align: center;
}

.free-plans {
    display: flex;
    gap: 143px;
    flex-shrink: 0;
}

.free-plan-card {
    width: 375px;
    height: 437px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.plan-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.time-bg {
    background-image: url('htmimg/TimeBg.png');
}

.ad-bg {
    background-image: url('htmimg/AdBg.png');
}

.wechat-bg {
    background-image: url('htmimg/WechatBg.png');
}

.plan-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.plan-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

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

.plan-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    margin-bottom: 22px;
}

.time-bg + .plan-content .plan-title {
    color: #f5b461;
}

.ad-bg + .plan-content .plan-title {
    color: #c262ca;
}

.wechat-bg + .plan-content .plan-title {
    color: #4991e3;
}

.plan-line {
    width: 247px;
    height: 2px;
    margin-bottom: 22px;
}

.line-divider {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, #414754, transparent);
}

.plan-description {
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
    width: 355px;
}

.main01-footer {
    width: 90%;
    max-width: 1411px;
    font-size: 28px;
    line-height: 36px;
    color: #6d8298;
    text-align: center;
    flex-shrink: 0;
}

/* Main02屏幕 */
.main02-screen {
    background: #000a20;
}

.main02-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('htmimg/Main02Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main02-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 160px;
}

.main02-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    width: 90%;
    max-width: 1102px;
}

.main02-description {
    font-size: 28px;
    line-height: 36px;
    color: #ffffff;
    text-align: center;
    width: 90%;
    max-width: 1102px;
}



/* Main03屏幕 */
.main03-screen {
    background: #000a20;
}

.main03-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('htmimg/Main03Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main03-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px; 
}

.main03-header {
    text-align: center;
    margin-bottom: 60px;
}

.main03-title {
    font-family: 'YouSheBiaoTiHei', sans-serif;
    font-size: 96px;
    line-height: 96px;
    background: linear-gradient(to bottom, #ffffff, #68e9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
    font-weight: normal;
}

.main03-subtitle {
    font-size: 32px;
    line-height: 40px;
    color: #ffffff;
    text-align: center;
}

.platform-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.platform-row {
    display: flex;
    justify-content: center;
    gap: 183px;
}

.platform-row:last-child {
    gap: 169px;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.platform-icon {
    width: 160px;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
}

.steam-icon {
    background-image: url('htmimg/SteamIcon.png');
}

.ps-icon {
    background-image: url('htmimg/PlayStationIcon.png');
}

.deck-icon {
    background-image: url('htmimg/SteamDeckIcon.png');
}

.switch-icon {
    background-image: url('htmimg/SwitchIcon.png');
}

.xbox-icon {
    background-image: url('htmimg/XboxIcon.png');
}

.windows-icon {
    background-image: url('htmimg/WindowsIcon.png');
}

.android-icon {
    background-image: url('htmimg/AndroidIcon.png');
}

.platform-name {
    font-size: 32px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
}

/* Main04屏幕 */
.main04-screen {
    background: #000a20;
}

.main04-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('htmimg/Main04Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main04-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 102px;
}

.main04-header {
    text-align: center;
    margin-bottom: 73px;
}

.main04-title {
    font-family: 'YouSheBiaoTiHei', sans-serif;
    font-size: 96px;
    line-height: 96px;
    background: linear-gradient(to bottom, #ffffff, #68e9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
    font-weight: normal;
}

.main04-subtitle {
    font-size: 32px;
    line-height: 40px;
    color: #ffffff;
    text-align: center;
}

.qr-code {
    width: 307px;
    height: 462px;
    border-radius: 16px;
    opacity: 0.8;
    border: 1px solid #414754;
    overflow: hidden;
    margin-top: -40px;
}

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

/* 页脚 */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo-title {
    font-size: 16px;
    line-height: 16px;
    color: #ffffff;
}

.footer-logo-subtitle {
    font-size: 12px;
    line-height: 12px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-description {
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    text-align: center;
    margin-top: 32px;
}

.footer-copyright {
	margin-top: 130px;
    font-size: 15px;
    line-height: 17px;
    color: #949494;
    text-align: center;
}

/* 视差滚动效果 */
.parallax-bg {
    transform: translateZ(0);
    will-change: transform;
}

/* 响应式设计 */
@media (max-width: 1920px) {
    .banner-content {
        left: 8%;
    }
    
    .main01-content {
        padding-left: 8%;
        padding-right: 8%;
    }
    
    .free-plans {
        gap: 5%;
    }
    
    .free-plan-card {
        width: 30%;
        min-width: 300px;
    }
    
    .main02-content {
        width: 80%;
    }
    
    .main03-content {
        padding-left: 8%;
        padding-right: 8%;
    }
    
    .platform-grid {
        gap: 5%;
    }
    
    .main04-content {
        padding-left: 8%;
        padding-right: 8%;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 初始状态隐藏 */
.banner-title, .banner-description, .download-btn,
.main01-header, .free-plans, .main01-footer,
.main02-title, .main02-description,
.main03-header, .platform-grid,
.main04-header, .qr-code {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 确保动画重置时没有过渡效果 */
.banner-title:not(.fade-in-up), .banner-description:not(.fade-in-up), .download-btn:not(.fade-in-up),
.main01-header:not(.fade-in-up), .free-plans:not(.fade-in-up), .main01-footer:not(.fade-in-up),
.main02-title:not(.fade-in-up), .main02-description:not(.fade-in-up),
.main03-header:not(.fade-in-up), .platform-grid:not(.fade-in-up),
.main04-header:not(.fade-in-up), .qr-code:not(.fade-in-up) {
    transition: none;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 优化性能 */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
} 

/* 移动端自适应样式 */
@media (max-width: 1024px) {
    .navbar {
        height: 60px;
        padding: 0 24px;
    }
    .logo-img {
        width: 70px;
        height: 32px;
    }
    .nav-link {
        font-size: 18px;
    }
    .banner-title-01 {
        font-size: 40px;
        line-height: 44px;
    }
    .banner-title-02 {
        font-size: 70px;
        line-height: 70px;
    }
    .banner-description {
        font-size: 20px;
        width: 90vw;
    }
    .download-btn {
        width: 160px;
        height: 48px;
        font-size: 18px;
    }
    .main01-title, .main03-title, .main04-title {
        font-size: 48px;
        line-height: 52px;
    }
    .main01-subtitle, .main03-subtitle, .main04-subtitle {
        font-size: 20px;
    }
    .free-plan-card {
        width: 90vw;
        min-width: unset;
        height: 320px;
    }
    .plan-title {
        font-size: 20px;
    }
    .plan-description {
        font-size: 14px;
        width: 90vw;
    }
    .main02-title {
        font-size: 28px;
    }
    .main02-description {
        font-size: 18px;
    }
    .platform-icon {
        width: 80px;
        height: 80px;
    }
    .platform-name {
        font-size: 18px;
    }
    .qr-code {
        width: 180px;
        height: 270px;
    }
    .footer {
        height: 100px;
    }
    .footer-copyright {
        font-size: 10px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        height: auto;
        padding: 0 4px;
        overflow-x: auto;
        align-items: flex-start;
    }
    .nav-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .logo {
        flex-shrink: 0;
    }
    .logo-img {
        width: 36px;
        height: 16px;
    }
    .logo-title {
        font-size: 12px;
        line-height: 12px;
    }
    .logo-subtitle {
        font-size: 8px;
        line-height: 8px;
    }
    .nav-menu {
        flex-wrap: nowrap;
        gap: 4px;
        overflow-x: auto;
        margin-left: 8px;
    }
    .nav-link {
        font-size: 12px;
        padding: 0 2px;
        white-space: nowrap;
    }
    .banner-title-01, .main01-title, .main03-title, .main04-title {
        font-size: 18px;
        line-height: 22px;
    }
    .banner-title-02 {
        font-size: 24px;
        line-height: 28px;
    }
} 