/* 字体 */
@font-face{
    font-family: "SourceHanSansSC-Medium-2";
    font-weight: 1 999;
    src: url("../font/SourceHanSansSC-Medium-2.otf");
}

@font-face{
    font-family: "Microsoft Yahei UI";
    font-weight: 1 999;
    src: url("../font/Microsoft Yahei UI.ttf");
}

/* 主体 */
html,body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 背景 */
.background {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom left, #273F70, #181d4b); /* 渐变背景 */
}

/* 信息板 */
.info {
    position: absolute;
    width: 1200px;
    height: 675px;
    border-radius: 8px;
    box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}
.info .logo {
    position: absolute;
    margin-left: 32px;
    margin-top: 8px;
    font-family: "Microsoft Yahei UI", bold;
    font-size: 20px;
    letter-spacing: 2px;
    color: white;
    z-index: 1000;
}
.info .button{
    position: absolute;
    width: 32px;
    height: 32px;
    margin-top: 616px;
    margin-left: 32px;
    z-index: 1000;
}
.info img {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 8px;
}
.info .left-box {
    position: relative;
    float: left;
    width: 600px;
    height: 100%;
    top: calc(-100% - 4px);
    background-image: linear-gradient(to top right, rgba(200,104,107, 0.9), rgba(142,145,197, 0.5));
    border-radius: 8px 0 0 8px;
}
.info .right-box {
    position: relative;
    float: left;
    width: 50%;
    height: 100%;
    top: calc(-100% - 4px);
    background-color: rgb(100,100,100);
    border-radius: 0 8px 8px 0;
    opacity: 0.4;
}
.info .time {
    position: relative;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    top: calc(-200% - 4px);
}
.info .time .title {
    font-family: "SourceHanSansSC-Medium-2";
    color: white;
    letter-spacing: 2px;
    font-size: 24px;
}
.info .time .time-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 1000px;
    height: 300px;
    margin-bottom: 48px;
}
.info .time .time-box div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 20%;
    height: 80%;
}
.info .time .time-box div p {
    font-family: "Microsoft Yahei UI", bold;
    color: white;
    font-size: 128px;
    margin: 0;
}
.info .time .time-box div span{
    color: rgb(228, 228, 228);
    font-size: 32px;
    letter-spacing: 8px;
    opacity: 0.6;
}
.info .time .sub-title {
    font-family: "Microsoft Yahei UI";
    color: white;
    font-size: 20px;
    letter-spacing: 4px;
    margin: 0;
}
.info .time .sub-title.tips {
    margin: 16px;
}

.tips a {
    display: inline-block; /* 使链接成为块级元素 */
    padding: 10px 20px; /* 内边距 */
    background-color: #188fff00; /* 背景颜色 */
    color: white; /* 文字颜色 */
    border-radius: 5px; /* 圆角 */
    text-align: center; /* 文字居中 */
    transition: background-color 0.3s; /* 背景颜色过渡效果 */
}

.tips a:hover {
    background-color: #15598a00; /* 悬停时的背景颜色 */
}

.search-submit {
    width: 123px;
    height: 54px;
    line-height: 26px;
    background-color: transparent; /* 设置为全透明 */
    color: #1890FF; /* 文字颜色 */
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    font-family: Roboto;
    border: 1px solid #1890ff; /* 可选：保留边框 */
    cursor: pointer;
    transition: background-color 0.3s; /* 背景颜色过渡效果 */
}

.search-submit:hover {
    background-color: rgba(255, 255, 255, 0.2); /* 悬停时的半透明背景 */
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .background {
        align-items: flex-start;
        padding-top: 8vh;
    }
    .info {
        width: 94vw !important;
        height: auto !important;
        min-height: 80vh;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    .info .logo {
        margin-left: 20px;
        margin-top: 12px;
        font-size: 16px;
        letter-spacing: 1px;
    }
    .info .button {
        margin-top: auto;
        margin-bottom: 16px;
        margin-left: 20px;
        bottom: 10px;
        top: auto;
        width: 28px;
        height: 28px;
    }
    .info img {
        border-radius: 12px;
    }
    .info .left-box {
        width: 100% !important;
        border-radius: 12px 12px 0 0 !important;
        height: 50%;
    }
    .info .right-box {
        width: 100% !important;
        border-radius: 0 0 12px 12px !important;
        height: 50%;
        top: calc(-100% - 4px);
    }
    .info .time {
        top: calc(-200% - 4px);
    }
    .info .time .title {
        font-size: 16px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }
    .info .time .time-box {
        width: 100% !important;
        height: auto;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .info .time .time-box div {
        width: 22%;
        height: auto;
        min-height: 80px;
    }
    .info .time .time-box div p {
        font-size: 48px;
    }
    .info .time .time-box div span {
        font-size: 14px;
        letter-spacing: 3px;
    }
    .info .time .sub-title {
        font-size: 14px;
        letter-spacing: 2px;
    }
    .info .time .sub-title.tips {
        margin: 10px;
    }
}

@media (max-width: 420px) {
    .info .time .time-box div p {
        font-size: 36px;
    }
    .info .time .time-box div span {
        font-size: 12px;
    }
    .info .time .title {
        font-size: 14px;
    }
    .info .time .sub-title {
        font-size: 12px;
    }
    .info .logo {
        font-size: 14px;
    }
}