/* 基础样式 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: black;
    overflow: hidden;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.headerItems{
    height: 40px;
    width: 1280px;
    margin: 12px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header .appLogo{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-right: 10px;
    color: white;
    fill: white;
}

.dlink{
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.dlink:hover {
    opacity: 0.8;
}

.header h3{
    color: white;
    margin: 0;
    font-size: 18px;
}

.header .logoWrap{
    display: flex;
    align-items: center;
}

.contentWrap{
    padding-top: 64px;
    min-height: 100vh;
}

.mainSeacion{
    position: relative;
    overflow: hidden; 
    display: flex;
    justify-content: space-around;
    height: calc(100vh - 64px);
    padding-top: 10px;
}

.mainSeacionBg{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background-image: url("../img//Singapore1.png");
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    transform: scale(1.2);
}

.main{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 64px);
    padding: 20px;
}

.mainSeacion .mainImg{
    width: 60%;
    max-width: 700px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mainSeacion .mainImg:hover {
    transform: scale(1.02);
}

.mainSeacion .mainRight{
    color: #fff;
    min-width: 300px;
    max-width: 500px;
}

.mainSeacion .mainRight h1{
    font-size: 50px;
    margin-bottom: 10px;
    margin-top: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mainSeacion .mainRight p.subTitle{
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mainRight .down{
    display: inline-block;
    border: 1px solid #fff;
    padding: 10px 20px;
    background: rgba(0,0,0,0.3);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mainRight .down .dlinkLogo{
    display: block;
    width: 94px;
    height: 24px;
}

.mainRight .down:hover{
    background: rgba(0,0,0,0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.main .descWrap{
    width: 400px;
    font-size: 14px;
    margin-bottom: 60px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.main .descWrap p {
    margin: 8px 0;
}

footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    background: #000;
    padding: 20px;
    color: #919191;
    flex-wrap: wrap;
    gap: 20px;
}

footer .links {
    width: 220px;
    display: flex;
    justify-content: space-around;
}

footer .links a{
    font-size: 14px;
    text-decoration: none;
    color: rgb(145, 145, 145);
    transition: color 0.3s ease;
}

footer .links a:hover{
    color: #fff;
}

footer .dlinkLogo{
    /* margin-right: 40px; */
}

/* 平台切换按钮样式 */
.platform-switcher {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    padding: 5px;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.platform-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 80px;
}

.platform-btn.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.platform-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* 平台内容切换样式 */
.platform-content {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.platform-content.active {
    display: flex;
}

.platform-content.ios-content {
    flex-direction: row;
}

.platform-content.android-content {
    flex-direction: row;
}

.androidBtn{
    width: 136px;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.androidBtn .dlinkLogo{
    width: 28px;
    height: 28px;
}

.androidBtn:hover{
    background: rgba(0,0,0,0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.downloadBtns{
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.borderNone{
    border: 0px solid #fff!important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .headerItems{
        width: 100%;
        max-width: 1000px;
    }
    
    .mainSeacion .mainRight h1 {
        font-size: 42px;
    }
    
    .mainSeacion .mainRight p.subTitle {
        font-size: 26px;
    }
}

@media (max-width: 1000px) {
    .headerItems{
        width: 100%;
        max-width: 850px;
    }

    .mainSeacion .mainImg{
        width: 55%;
        max-width: 600px;
    }
    
    .main .descWrap {
        width: 350px;
    }
    
    .platform-content {
        gap: 30px;
    }
}

@media (max-width: 850px) {
    .headerItems{
        width: 90%;
        margin: 12px auto;
    }

    .mainSeacion .mainImg{
        width: 60%;
        max-width: 500px;
    }
    
    .mainSeacion .mainRight h1 {
        font-size: 36px;
    }
    
    .mainSeacion .mainRight p.subTitle {
        font-size: 22px;
    }
    
    .main .descWrap {
        width: 300px;
        font-size: 13px;
    }
    
    .platform-content {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .headerItems {
        width: 100%;
        padding: 0 15px;
    }
    
    .header h3 {
        font-size: 16px;
    }
    
    .mainSeacion {
        height: calc(100vh - 64px);
        padding-top: 80px;
    }
    
    .main {
        flex-direction: column;
        justify-content: center;
        padding: 15px;
        text-align: center;
    }
    
    .mainSeacion .mainImg {
        width: 80%;
        max-width: 450px;
        margin-bottom: 20px;
    }
    
    .mainSeacion .mainRight {
        min-width: auto;
        max-width: 100%;
    }
    
    .mainSeacion .mainRight h1 {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .mainSeacion .mainRight p.subTitle {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .main .descWrap {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 40px auto;
        font-size: 14px;
    }
    
    .platform-content.ios-content,
    .platform-content.android-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .platform-switcher {
        top: 15px;
    }
    
    .platform-btn {
        padding: 8px 16px;
        font-size: 14px;
        min-width: 70px;
    }
    
    .downloadBtns {
        gap: 8px;
    }
    
    .androidBtn {
        width: 120px;
        height: 40px;
        font-size: 13px;
    }
    
    .androidBtn .dlinkLogo {
        width: 24px;
        height: 24px;
    }
    
    footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    footer .links {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .headerItems{
        width: 100%;
        padding: 0 15px;
    }
    
    .header h3{
        display: none;
    }
    
    .mainSeacion {
        padding-top: 70px;
    }
    
    .main {
        margin-top: 0;
        padding: 10px;
    }

    .main .mainImg{
        width: 90%;
        max-width: 380px;
    }

    .main .mainRight{
        text-align: center;
        margin-top: 20px;
    }

    .mainSeacion .mainRight h1 {
        font-size: 28px;
    }
    
    .mainSeacion .mainRight p.subTitle {
        font-size: 18px;
    }
    
    .main .descWrap {
        font-size: 13px;
        margin-bottom: 30px;
    }

    footer .links {
        width: 100%;
        justify-content: center;
    }

    footer .links a{
        font-size: 12px;
    }

    .platform-switcher {
        top: 10px;
    }
    
    .platform-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 60px;
    }
    
    .androidBtn {
        width: 110px;
        height: 36px;
        font-size: 12px;
        padding: 8px;
    }
    
    .androidBtn .dlinkLogo {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .headerItems {
        height: 35px;
        margin: 8px auto;
    }
    
    .header .appLogo {
        width: 35px;
        height: 35px;
    }
    
    .contentWrap {
        padding-top: 51px;
    }
    
    .mainSeacion {
        height: calc(100vh - 51px);
        padding-top: 60px;
    }
    
    .main {
        height: calc(100vh - 51px);
    }
    
    .mainSeacion .mainRight h1 {
        font-size: 24px;
    }
    
    .mainSeacion .mainRight p.subTitle {
        font-size: 16px;
    }
    
    .main .descWrap {
        font-size: 12px;
        margin-bottom: 25px;
    }
    
    .platform-switcher {
        top: 8px;
    }
    
    .platform-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 50px;
    }
    
    .downloadBtns {
        gap: 6px;
    }
    
    .androidBtn {
        width: 110px;
        height: 36px;
        font-size: 12px;
        padding: 8px;
        margin:0 auto;
    }
    
    .androidBtn .dlinkLogo {
        width: 20px;
        height: 20px;
    }
    
    footer {
        padding: 20px 15px;
    }
}

/* 横屏模式优化 */
@media (max-height: 600px) and (orientation: landscape) {
    .mainSeacion {
        height: 100vh;
        padding-top: 60px;
    }
    
    .main {
        height: 100vh;
        padding: 10px;
    }
    
    .mainSeacion .mainImg {
        width: 50%;
        max-width: 400px;
    }
    
    .mainSeacion .mainRight h1 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .mainSeacion .mainRight p.subTitle {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .main .descWrap {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .platform-switcher {
        top: 8px;
    }
}