/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 主容器 - 占满首屏 */
.main {
    width: 100%;
    height: 100vh;
    background-image: url('../src/background-img.png'); /* 请替换为你的背景图路径 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

/* 落樱logo - 左上角 */
.logo {
    position: absolute;
    left: 15%;
    height: 15%;/* 根据实际logo调整大小 */
    max-height: 100px;
    width: auto; 
    
}

/* 进入官网 - 右上角 */
.main > a {
    position: absolute;
    right: 10%;
}

.main > a div {
    color: black;
    background-color: #fff;
    font-size: 18px;
    text-decoration: none;
    padding: 12px 48px;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.main > a span:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 平台区域 - 中间偏下 */
.platform {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 下载标题样式 */
.download-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 下载区域 - Steam和TapTap长方形logo */
.download {
    display: flex;
    gap: 30px;
    align-items: center;
}

.download a img {
    height: 8vh; /* 长方形logo高度 */
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.download a img:hover {
    transform: scale(1.05);
}

.steam{
    background-color: rgb(24, 34, 46);
}

.taptap{
    background-color: rgb(255, 255, 255);
}

/* 其他平台标题样式 */
.other-title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 其他平台 - 圆形logo */
.other {
    display: flex;
    gap: 20px;
    align-items: center;
}

.other a img {
    height: 8vh; /* 圆形logo尺寸 */
    max-height: 80px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    padding: 5px;
    /* background-color: #fff; */
}

.other a img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px){
    .main {
        height: 100dvh;
        padding: 10px;
        background-position: 65% center; /* 手机版背景图向左偏移，可根据需要调整百分比 */
    }

    .logo {
        width: 35%;
        height: auto;
        left: 5%;
    }

    .main > a {
        right: 3%;
    }

    
    /* 底部栏 */
    footer .footer-top {
        display: block;
    }
}
