* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #b4d0ff;
}

a {
    color: black;
    transition: all 0.3s;
    text-decoration: none;
}

ul {
    list-style-type: none;
}

a:hover {
    color: rgb(0, 140, 255);
}

/* 渐出动画 */
/* 上方渐出 */
.OutTop {
    animation: OutTop 1s ease 0.3s 1 forwards;
    opacity: 0;
}

@keyframes OutTop {
    0% {
        opacity: 0;
        transform: translateY(-100px);
        -moz-transform: translateY(-100px);
        -ms-transform: translateY(-100px);
        -webkit-transform: translateY(-100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -webkit-transform: translateY(0px);
    }
}

/* 下方渐出 */
.OutBottom {
    opacity: 0;
    animation: OutBottom 1s ease 0.3s 1 forwards;
}

@keyframes OutBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
        -moz-transform: translateY(100px);
        -ms-transform: translateY(100px);
        -webkit-transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -webkit-transform: translateY(0px);
    }
}

/* 左侧渐出 */
.OutLeft {
    animation: OutLeft 1s ease 0.3s 1 forwards;
    opacity: 0;
}

@keyframes OutLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
        -moz-transform: translateX(100px);
        -ms-transform: translateX(100px);
        -webkit-transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
}

/* 右侧渐出 */
.OutRight {
    animation: OutRight 1s ease 0.3s 1 forwards;
    opacity: 0;
}

@keyframes OutRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
        -moz-transform: translateX(-100px);
        -ms-transform: translateX(-100px);
        -webkit-transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
}

/* 各区块 */

.Box1 {
    background: url(../image/bg1.png) no-repeat center center;
}

.Box2 {
    background: url(../image/bg2.png) no-repeat center center;
    margin-top: -400px;
}

.Box3 {
    background: url(../image/bg3.png) no-repeat center center;
    margin-top: -10px;
}

.Box4 {
    background: url(../image/bg4.png) no-repeat center center;
    margin-top: -10px;
}

.Box5 {
    background: url(../image/bg5.png) no-repeat center center;
}

.nutscraftBox {
    width: 100%;
    height: 1000px;
}

/* 首页标题 */

.Box1-title {
    background-image: linear-gradient(to left, rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)), url(../image/oak_planks.png);
    width: 600px;
    height: auto;
    color: black;
    border-radius: 5px;
    text-align: center;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, .5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 200px;
    left: 50%;
    margin-left: -300px;
    padding: 50px 0;
    animation: OutBottom 0.5s ease;
    transition: all 0.3s;
}

.Box1-title:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transform: scale(1.02);
}

.Box1-title1 {
    font-size: 3.5rem;
    margin: 0 0 20px;
    opacity: 0;
    animation: OutBottom 1s ease 0.5s 1 forwards;
}

.Box1-title2 {
    font-size: 1.8rem;
    opacity: 0;
    animation: OutBottom 1s ease 0.5s 1 forwards;
}

.Box1-title-Buttom {
    display: inline-block;
    width: 100px;
    height: 40px;
    border: 1px solid black;
    color: black;
    border-radius: 30px;
    text-align: center;
    line-height: 40px;
    margin: 40px auto 0;
    opacity: 0;
    animation: OutBottom 1s ease 1s 1 forwards;
}

.Box1-title-Buttom:hover {
    color: white;
    border: 1px solid white;
}

/* 锚点1 */
#anchor1 {
    position: relative;
    top: 260px;
}

/* 特色介绍 */
.Box2-nutscraft {
    width: 1050px;
    height: auto;
    margin: 0 auto;
    padding-top: 400px;
}

.Box2-nutscraft ul {
    display: inline-block;
}

.Box2-nutscraft ul li {
    display: block;
    float: left;
    width: 240px;
    height: 280px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 10px;
    padding: 60px 0 30px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    transition: all 0.3s;
    text-align: center;
}

.Box2-nutscraft ul li img {
    width: 80px;
    transition: all 0.3s;
}

.Box2-nutscraft ul li h2 {
    margin: 10px 0;
}

.Box2-nutscraft ul li p {
    text-align: left;
    width: 80%;
    margin: 0 auto;
}

.Box2-nutscraft ul li:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    background-color: white;
}

.Box2-nutscraft ul li:hover img {
    transform: scale(1.1);
}

.Box2-More {
    display: block;
    width: 200px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: black;
    text-align: center;
    line-height: 60px;
    margin: 30px auto 0;
    opacity: 0;
    animation: OutBottom 1s ease 0.5s 1 forwards;
}

.Box2-More:hover {
    color: black;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    background-color: white;
}

/* 锚点2 */
#anchor2 {
    position: relative;
    top: 200px;
}

/* 一些话 */
.Box3-talk {
    width: 800px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    top: 280px;
    left: 50%;
    margin-left: -400px;
    padding: 50px 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    transition: all 0.3s;
}

.Box3-talk-text {
    padding: 0 50px;
}

.Box3-talk h1 {
    border-bottom: 1px solid black;
    padding-bottom: 30px;
}

.Box3-talk h1::before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url(../image/g.jpg) no-repeat;
    background-size: 100% 100%;
    border-radius: 50%;
    margin-right: 30px;
    vertical-align: middle;
    transition: all 0.3s;
}

.Box3-talk p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.Box3-talk-text-end {
    text-align: center;
}

.Box3-talk:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    background-color: white;
}

.Box3-More {
    display: block;
    width: 200px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: black;
    text-align: center;
    line-height: 60px;
    position: relative;
    top: 310px;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    animation: OutBottom 1s ease 0.5s 1 forwards;
}

.Box3-More:hover {
    color: black;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    background-color: white;
}

/* 锚点3 */
#anchor3 {
    position: relative;
    top: 230px;
}

/* 风景展示 */
.Box4-Title {
    display: block;
    position: relative;
    top: 290px;
    text-align: center;
    color: black;
    font-size: 2rem;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.Box4 ul {
    width: 940px;
    position: relative;
    top: 240px;
    left: 50%;
    margin-left: -470px;
    margin-top: 80px;
}

.Box4 ul li {
    display: inline-block;
}

.Box4 ul li img {
    width: 260px;
    border: 5px solid white;
    margin: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    transition: all 0.3s;
    cursor: pointer;
}

.Box4 ul li img:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transform: scale(1.02);
}

.Box4-More {
    display: block;
    width: 200px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: black;
    text-align: center;
    line-height: 60px;
    position: relative;
    top: 260px;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    animation: OutBottom 1s ease 0.5s 1 forwards;
}

.Box4-More:hover {
    color: black;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    background-color: white;
}

/* 锚点4 */
#anchor4 {
    position: relative;
    top: 100px;
}

/* 加入我们 */
.Box5-Join {
    width: 600px;
    height: auto;
    background: url(../image/map_background_checkerboard.png);
    background-size: 100% 100%;
    position: relative;
    top: 300px;
    left: 50%;
    margin-left: -300px;
    padding: 50px 0;
}

.Box5-Join-talk {
    margin-left: 70px;
}

.Box5-Join-talk a {
    text-decoration: underline;
}

.Box5-Join-talk h1, .Box5-Join-talk p {
    margin-bottom: 20px;
}

.Box5-Join-talk h1::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url(../image/bread.png);
    background-size: 100% 100%;
    vertical-align: middle;
    margin-right: 10px;
}

/* 页脚 */
.footer {
    position: relative;
    top: 100%;
    margin-top: -410px;
    width: 100%;
    height: 100px;
    background: url(../image/demo_background.png) no-repeat;
    background-size: 100% 100%;
    text-align: center;
    padding-top: 50px;
}

@media screen and (max-width: 1070px) {
    .Box1-title {
        width: 400px;
        margin-left: -200px;
        top: 150px;
    }

    .Box2-nutscraft {
        width: 500px;
        padding-top: 300px;
    }

    .Box2-nutscraft ul li {
        width: 230px;
        height: 200px;
        padding: 20px 0 30px;
    }

    .Box2-nutscraft ul li img {
        width: 40px;
    }

    .Box2-More {
        width: 150px;
    }

    .Box3-talk {
        width: 400px;
        top: 220px;
        height: auto;
        margin-left: -200px;
        padding-top: 10px 0 0;
    }

    .Box3-talk h1 {
        margin: 0;
        padding: 10px;
        font-size: 1.5rem;
    }

    .Box3-talk h1::before {
        margin-right: 10px;
    }

    .Box3-talk p {
        font-size: 1rem;
        margin: 20px 0;
    }

    .Box3-talk-text-end {
        font-size: 1rem;
    }

    .Box3-More {
        width: 150px;
        top: 240px;
        margin-left: -75px;
    }

    .Box4-Title {
        top: 230px;
    }

    .Box4 ul {
        width: 500px;
        top: 170px;
        margin-left: -250px;
    }

    .Box4 ul li img {
        width: 190px;
    }

    .Box4-More {
        top: 170px;
        width: 150px;
        margin-left: -75px;
    }

    .Box5-Join {
        width: 400px;
        margin-left: -200px;
    }
}

@media screen and (max-width: 512px) {
    .Box1-title {
        width: 300px;
        margin-left: -150px;
    }

    .Box1-title1 {
        font-size: 2.5rem;
    }

    .Box1-title2 {
        font-size: 1.5rem;
    }

    .Box2-nutscraft {
        width: 80%;
        padding-top: 300px;
    }

    .Box2-nutscraft ul li {
        width: 100%;
        height: auto;
        padding: 10px 0;
        margin: 5px;
    }

    .Box2-nutscraft ul li h2 {
        margin: 0;
        font-size: 1rem;
    }

    .Box2-nutscraft ul li img {
        width: 30px;
    }

    .Box2-More {
        width: 100px;
        margin: 0 auto;
    }

    .Box3-talk {
        width: 300px;
        top: 220px;
        height: auto;
        margin-left: -150px;
        padding-top: 20px;
    }

    .Box3-talk-text {
        padding: 0 10px;
    }

    .Box3-talk h1 {
        margin: 0;
        padding: 10px;
        font-size: 1rem;
    }

    .Box3-talk h1::before {
        margin-right: 10px;
    }

    .Box3-talk p {
        font-size: 1rem;
        margin: 20px 0;
    }

    .Box3-talk-text-end {
        font-size: 1rem;
    }

    .Box3-More {
        width: 100px;
        top: 240px;
        margin-left: -50px;
    }

    .Box4-Title {
        top: 230px;
        font-size: 1.5rem;
        padding: 10px;
    }

    .Box4 ul {
        width: 300px;
        top: 200px;
        margin-left: -150px;
    }

    .Box4 ul li img {
        width: 130px;
        border: 2px solid white;
        margin: 5px;
    }

    .Box4-More {
        top: 240px;
        width: 150px;
        margin-left: -75px;
    }

    .Box5-Join {
        width: 300px;
        margin-left: -150px;
        padding: 70px 0;
    }

    .Box5-Join-talk {
        margin-left: 30px;
    }
}
.oval-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: white;
    color: #3498db;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #e0f0ff;
    cursor: pointer;
}

.oval-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}
.uptime-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.uptime-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.time-value {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00ffff, #0088ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    line-height: 1;
    margin-bottom: 10px;
}

.time-label {
    font-size: 1.5rem;
    color: #a0d0ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.security-badge {
    background: linear-gradient(135deg, #0088ff, #0044aa);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 100, 255, 0.4);
    border: 2px solid #00ffff;
}

.security-icon {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.shield {
    font-size: 5rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    animation: pulse 2s infinite;
}

.footer-note {
    margin-top: 30px;
    font-size: 1.2rem;
    color: #a0d0ff;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .time-value {
        font-size: 4rem;
    }
/* 网站安全运行时间展示样式 - 黑色主题 */
#uptime-display {
    text-align: center;
    padding: 30px 0;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 15px;
    border: 2px solid rgba(150, 150, 150, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    margin: 20px 0;
}

.uptime-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #f0f0f0;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.uptime-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.time-value {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    line-height: 1;
    margin-bottom: 10px;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 10px;
    padding: 10px 15px;
    min-width: 110px;
    border: 1px solid #555;
}

.time-label {
    font-size: 1.3rem;
    color: #d0d0d0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.security-badge {
    background: linear-gradient(135deg, #333, #222);
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid #666;
    max-width: 400px;
    margin: 20px auto;
    color: #e0e0e0;
}

.security-icon {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.shield {
    font-size: 5rem;
    color: #d0d0d0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .time-value {
        font-size: 3.5rem;
        min-width: 90px;
    }
    .uptime-title {
        font-size: 2rem;
    }
}

@media (max-width: 700px) {
    .time-value {
        font-size: 2.8rem;
        min-width: 75px;
    }
    .time-unit {
        min-width: 80px;
    }
    .uptime-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 500px) {
    .time-value {
        font-size: 2.2rem;
        min-width: 60px;
        padding: 8px 10px;
    }
    .time-unit {
        min-width: 65px;
    }
    .uptime-title {
        font-size: 1.3rem;
    }
    .security-badge {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
}