/* 顶部导航栏 */
.games {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 5px;
    max-width: 100%;
    box-sizing: border-box;
    gap: 50%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background-color: #011346;
    border-bottom: 2px solid #3B4986;
    border-radius: 8px;
}

.games img {
    width: 100%;
    max-width: 160px;
    height: auto;
}

.games a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.5s ease;
    font-size: 20px;
    font-weight: 550;
}

.games.page-0 a {
    color: #ffffff;
}

.games.page-1 a {
    color: #ffffff;
}

.games.page-2 a {
    color: #ffffff;
}

.games.page-3 a {
    color: #ffffff;
}

.games a:hover {
    color: #3498db;
}

/* 第一页 */
.xiazaitu {
    align-items: center;
    gap: 15px;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    top: 0px;
}

.xiazaitu .xzbj {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}


.xiazaitu .anddow {
    width: 16%;
    max-width: 100%;
    height: auto;
}

.xiazaitu .iosdow {
    width: 16%;
    max-width: 100%;
    height: auto;
}

.xiazaitu .winddow {
    width: 16%;
    max-width: 100%;
    height: auto;
}

.xiazaitu .download-link {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16%;
    max-width: 100%;
}

.xiazaitu .download-link[data-pos="windows"] {
    top: 48%;
    left: 52%;
}

.xiazaitu .download-link[data-pos="ios"] {
    top: 56%;
    left: 52%;
}

.xiazaitu .download-link[data-pos="android"] {
    top: 64%;
    left: 52%;
}

.xiazaitu .download-link img {
    width: 100%;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.xiazaitu .download-link .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top-color: #3498db;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.xiazaitu .download-link.loading img {
    opacity: 0.3;
}

.xiazaitu .download-link.loading .loading-spinner {
    opacity: 1;
    animation: spin 1s linear infinite;
}

.xiazaitu .qa-container {
    position: absolute;
    top: 48%;
    left: 70%;
    width: 11%;
    max-width: 80%;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xiazaitu .qa {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.xiazaitu .qa-container p {
    margin: 0;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    font-weight: bold;
}

.xiazaitu .anddow,
.xiazaitu .iosdow,
.xiazaitu .winddow,
.xiazaitu .download-link {
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.xiazaitu .anddow:hover,
.xiazaitu .iosdow:hover,
.xiazaitu .winddow:hover,
.xiazaitu .download-link:hover {
    transform: translate(-2%) scale(1.1);
}

.xiazaitu .download-link:hover img {
    transform: none;
}

.xiazaitu .ys {
    position: absolute;
    top: 35%;
    left: 10%;
    width: 100%;
    max-width: 100%;
    height: auto;
    animation: move 3s ease-in-out infinite;
}
/* 漂浮动画 */
@keyframes move {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

/* 第二页 */
.xiazaitu2 {
    align-items: center;
    gap: 15px;
    padding: 50px;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.xiazaitu2 .qxbb {
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

/* 第三页 */
.xiazaitu3 {
    align-items: center;
    gap: 15px;
    padding: 50px;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.xiazaitu3 .czzk {
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

/* 第四页 */
.xiazaitu4 {
    align-items: center;
    gap: 15px;
    padding: 50px;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.xiazaitu4 h1,
.xiazaitu4 p {
    text-align: center;
    color: #333;
}

.rectangle-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.rectangle {
    background-color: #fff;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

#rectangle1 {
    width: 900px;
    height: 220px;
}

#rectangle2 {
    width: 200px;
    height: 220px;
}

.rectangle1 p,
.rectangle2 p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 5%;
}

.rectangle .download-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    margin-top: 4%;
    gap: 20px;
    padding: 0 40px;
}

.download-buttons .and,
.download-buttons .ios,
.download-buttons .window {
    width: 80%;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.download-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-link .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #3498db;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.download-link.loading img {
    opacity: 0.3;
}

.download-link.loading .loading-spinner {
    opacity: 1;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.version {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    font-size: 14px;
    margin-top: 10px;
}

.version p {
    margin: 0;
    text-align: center;
}

.qa2 img {
    width: 70%;
    max-width: 100%;
}

.footer-black {
    background-color: #000000;
    padding: 40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 12px;
}

.footer-black .footer-links {
    margin-bottom: 20px;
}

.footer-black .footer-links a {
    color: #cccccc;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-black .footer-links a:hover {
    color: #3498db;
}

.footer-black .footer-links span {
    color: #555555;
    margin: 0 5px;
}

.footer-black .footer-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 15px;
}

.footer-black .footer-info p {
    margin: 0;
    color: #888888;
    font-size: 13px;
}

.footer-black .footer-copyright {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-black .footer-copyright p {
    margin: 0;
    color: #666666;
    font-size: 12px;
}

.footer-black .footer-copyright a {
    color: #666;
    text-decoration: none;
}

html,
body {
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.fullpage-container {
    height: 100vh;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-align: center;
    overflow: hidden;
}

.section:nth-child(1) {
    background: linear-gradient(180deg, #010B2C 0%, #000D30 100%);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.section:nth-child(2) {
    background-color: #EAF8FD;
    border-radius: 20px;
}

.section:nth-child(3) {
    background: url(img/beijingtu1.jpg);
    background-color: #EFF6FE;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.section:nth-child(4) {
    background-image: url(img/bj4.jpg);
    background-size: cover;
    background-position: center;
    background-color: #F6F8FA;
    height: 85%;
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 100;
}

.scroll-indicator img {
    width: 60px;
    height: 60px;
    color: white;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.page-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 10px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}
