body {
    overflow: auto;
    -webkit-overflow-scrolling: touch; /* 平滑滚动 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.content-box {
    min-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 0 0.8rem;
    box-sizing: border-box;
}

html body .footer {
    padding: 0;
    background: #191919;
    width: 100%;
}

html body .footer .footer-content {
    width: 1200px;
    margin: auto;
    padding: 0px 0px;
    background: #191919;
    color: #FFFFFF;
}

html body .footer p {
    font-size: 16px;
    margin-bottom: 0;
    line-height: 2;
    color: #FFFFFF;
    text-align: center;
}

.border-b {
    border-bottom: 1px solid #545454 !important;
}

.flash-img {
    display: block;
    width: 6rem;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: start 2.2s infinite linear;
}

@keyframes start {
    0%, 30% {
        opacity: 0;
        transform: translate(0, 1.2rem);
    }
    60% {
        opacity: 0.8;
        transform: translate(0, 0.8rem);
    }
    100% {
        opacity: 0.1;
        transform: translate(0, -0.2rem);
    }
}

.more-btn {
    display: block;
    width: 160px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3585fa, #207AFF);
    line-height: 48px;
    color: #FFFFFF;
    text-align: center;
    font-size: 22px;
    transition: all ease 0.2s;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.more-btn:hover {
    color: #FFFFFF;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

.container1200 {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.expand-area {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.01), rgba(228, 228, 228, 0.1));
    cursor: pointer;
}

.expand-area:hover {
    opacity: 0.7;
}

.btn-expand {
    display: block;
    margin: 16px auto 0;
    transform: rotate(180deg);
    cursor: pointer;
    -webkit-animation: expandani 1.2s infinite linear;
}

@keyframes expandani {
    0%, 30% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0.1;
    }
}

/* 现代响应式设计 */
@media only screen and (max-width: 1200px) {
    .container1200 {
        width: 95%;
        max-width: 1000px;
    }
}

@media only screen and (max-width: 1024px) {
    .container1200 {
        width: 92%;
        max-width: 900px;
    }

    .content-box {
        padding: 0.5rem 0;
    }
}

@media only screen and (max-width: 768px) {
    .pagewd {
        min-width: auto;
        width: auto;
    }

    #liaoyi {
        width: 100vw;
    }

    .content-box {
        min-width: 0;
        padding: 0.4rem 0;
    }

    .container1200 {
        width: 100%;
        padding: 0 15px;
    }

    html body .footer .footer-content {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    html body .footer p {
        font-size: 0.24rem;
        line-height: 1.6;
        padding: 15px 0;
    }

    /* 触摸优化 */
    .more-btn {
        /* min-height: 44px; iOS推荐最小触摸目标 */
        font-size: 0.28rem;
    }
}

@media only screen and (max-width: 480px) {
    .container1200 {
        padding: 0 10px;
    }

    .content-box {
        padding: 0.3rem 0;
    }
}

/* 横屏模式优化 */
@media screen and (orientation: landscape) and (max-width: 768px) {
    .container1200 {
        width: 90%;
    }
}

/* 触摸设备特殊处理 */
@media (hover: none) and (pointer: coarse) {
    .more-btn:hover {
        transform: none;
    }

    .more-btn:active {
        transform: scale(0.95);
    }
}



/* 减少动画的偏好 */
@media (prefers-reduced-motion: reduce) {
    .flash-img,
    .btn-expand {
        animation: none;
    }

    .more-btn,
    .project-item {
        transition: none;
    }
}
