/* 首页固定不滚动 */
body.home-page {
    overflow: hidden;
}

.home-page #home {
    background-color: #D4D4D4;
}

/* 首页样式 */
#home {
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.home-gif {
    width: 100vw;
    height: 100vh;
    position: relative;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#physics-container {
    width: 100vw;
    height: 100%;
    background-color: #D4D4D4;
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    margin: 0;
    padding: 0;
}

#home-image {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: #D4D4D4;
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    margin: 0;
    padding: 0;
}

/* 手机端导航 */
.mobile-nav {
    display: none;
}

/* 首页底部样式 - 默认不显示，只在 iPad 和移动端显示 */
.home-footer {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 2rem 0;
}

.home-footer-text {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 1rem;
}

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

/* 响应式设计：iPad 屏幕 */
@media (min-width: 769px) and (max-width: 1024px) {
    .home-gif {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
    }

    #home-image {
        width: 80%;
        height: 50%;
        max-width: none;
        margin: 0 auto;
        position: relative;
        object-fit: contain;
        object-position: center;
        background-color: #D4D4D4;
    }

    .home-footer {
        display: flex;
        bottom: 2rem;
        position: relative;
        margin-top: auto;
    }

    .home-footer-text {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

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

/* 响应式设计：手机屏幕 */
@media (max-width: 768px) {
    .home-gif {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
    }

    #home-image {
        width: 100%;
        height: 30%;
        margin: 0;
        object-fit: contain;
        object-position: center;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
    }

    .mobile-nav-link {
        font-size: 1.2rem;
        font-weight: 400;
        letter-spacing: 1px;
        margin: 1rem 0;
        color: #000000;
        text-decoration: none;
        text-align: center;
    }

    .mobile-nav-link:hover {
        color: #666666;
    }

    .home-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
        position: relative;
    }

    .home-footer-text {
        font-size: 1rem;
        margin-bottom: 1rem;
        order: 2;
    }

    .home-footer-logo {
        order: 1;
        margin-bottom: 1rem;
    }

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