/* 全局设置 */
:root {
    --real-vh: 1vh;
    /* 图片模态框 */
    --modal-z-index: 9998;
    --img-modal-bg: rgba(0,0,0,0.8);
    --img-modal-close-button: rgba(0,0,0,0.5);
    /* 背景颜色 */
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --box-shadow-other: 0 4px 15px rgba(255, 255, 0, 0.2);
    --top-left-bg: linear-gradient(45deg, rgba(22, 34, 42, 0.90) 0%, rgba(58, 96, 115, 0.90) 50%, rgba(92, 151, 191, 0.90) 100%);
    --top-left-bg-other: linear-gradient(45deg, rgba(22, 34, 42, 1) 0%, rgba(58, 96, 115, 1) 50%, rgba(92, 151, 191, 1) 100%);
    --normal-card-bg: linear-gradient(60deg, rgba(255, 192, 203, 0.70) 10%, rgba(255, 255, 255, 0.70) 30%, rgba(135, 206, 235, 0.70) 60%);
    --normal-card-bg-other: linear-gradient(60deg, rgba(255, 192, 203, 0.80) 10%, rgba(255, 255, 255, 0.80) 30%, rgba(135, 206, 235, 0.80) 60%);
    /* 文本颜色 */
    --text-shadow: 2px 2px 4px rgba(255, 255, 0, 0.5);
    --text-normal: rgba(255, 255, 255, 1);
    --text-normal-other: rgba(0, 0, 139, 1);
    --text-emphasize: rgba(255, 215, 0, 1);
    --text-special: linear-gradient(150deg, rgba(255, 255, 0, 1) 0, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 0, 1) 100%);
    /* 按键属性 */
    --botton: rgba(92, 151, 191, 0.8);
    --botton-shadow: 2px 2px 4px rgba(22, 34, 42, 0.5);
    --botton-shadow-other: 2px 2px 4px rgba(255, 255, 0, 0.5);
    /* 图标属性 */
    --icon-color: rgba(135, 206, 235, 1);
    --icon-color-other: rgba(0, 0, 139, 1);
    --icon-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* 确定栏属性 */
    --confirm-text-color: rgba(25, 25, 112, 1);
    --confirm-text-color-other: rgba(255, 0, 0, 1);
    --confirm-shadow: 2px 2px 4px rgba(255, 255, 0, 0.5);
    --confirm-bg: rgba(190, 190, 190, 0.8);
    --confirm-OK-bg: rgba(173, 216, 230, 0.8);
    --confirm-OK-bg-other: rgba(0, 191, 255, 0.8);
    --confirm-OK-box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
    --confirm-OK-box-shadow-other: 0 6px 20px rgba(30, 144, 255, 0.4);
    --confirm-cancel-bg: rgba(205, 192, 203, 0.8);
    --confirm-cancel-bg-other: rgba(255, 192, 203, 0.8);
    --confirm-cancel-box-shadow: 0 6px 20px rgba(255, 65, 108, 0.3);
    --confirm-cancel-box-shadow-other: 0 6px 20px rgba(255, 65, 108, 0.4);
    --confirm-focus-outline: 2px solid rgb(255, 0, 0, 0.8);
    /* 动画属性 */
    --bg-transition: background 1s ease;
    --transform-transition: transform 0.5s ease;
    --shadow-transition: box-shadow 0.5s ease;
    --text-shadow-transition: text-shadow 0.5s ease;
    --confirm-transition: all 0.3s ease;
}

* {
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    outline: none;
    box-sizing: border-box;
    font-size: 100%;
}
/* -全局设置- */

/* 页面常规设置 */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

div {
    display: block;
    unicode-bidi: isolate;
}

p, button {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.normal_card {
    position: relative;
}

    .normal_card::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 10%;
        width: 80%;
        height: 80%;
        z-index: -1;
        transform: skew(-20deg)scale(1);
        border-radius: 10px;
        background: var(--normal-card-bg);
        background-size: 200% 200%;
        box-shadow: var(--box-shadow);
        transition: var(--bg-transition), var(--transform-transition), var(--shadow-transition);
    }

/*    .normal_card:hover::before {
        background: transparent;
        background: var(--normal-card-bg-other);
        transform: skew(-20deg)scale(1.01);
        box-shadow: var(--box-shadow-other);
    }*/

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}
/* -页面布局相关设置- */

/* 图片模态框 */
#imgModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--img-modal-bg);
    justify-content: center;
    align-items: center;
    z-index: var(--modal-z-index);
}

#modalImg {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

#closeImgModal {
    position: absolute;
    top: 2vh;
    right: 2vw;
    background: var(--img-modal-close-button);
    color: white;
    border: none;
    width: 4vh;
    height: auto;
    font-size: 2rem;
    cursor: pointer;
    z-index: var(--modal-z-index);
}
/* -图片模态框- */

/* 背景视频 */
.video {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    transform: translateZ(0);
    position: absolute;
    z-index: -1;
}

#bg_video {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    transform: translateZ(0);
    position: absolute;
    z-index: -1;
    opacity: 1;
    transition: opacity 1000s ease-in-out;
}

#bg_video_other {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    transform: translateZ(0);
    position: absolute;
    z-index: -2;
    opacity: 0;
    transition: opacity 1000s ease-in-out;
}
/* -背景视频- */

/* 图标 */
.icon_bar {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1rem);
    padding: clamp(0.5rem, 2.5vw, 1.5rem);
}

    .icon_bar svg {
        color: var(--icon-color);
        text-shadow: var(--icon-shadow);
        font-size: clamp(1.2rem, 3vw, 2rem);
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

        .icon_bar svg:hover {
            color: var(--icon-color-other);
            transform: scale(1.2);
        }

    .icon_bar .separate {
        position: relative;
        width: 10%;
        height: 100%;
    }

        .icon_bar .separate::before {
            content: '';
            position: absolute;
            top: 10%;
            left: 10%;
            width: 25%;
            height: 100%;
            z-index: -1;
            transform: skew(-20deg)scale(1);
            border-radius: 2px;
            background: var(--text-normal);
            background-size: 200% 200%;
            box-shadow: var(--text-shadow);
        }
/* -图标- */

/* 页面内容容器 */
.wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.top_navigation {
    width: 100%;
    position: relative;
    display: flex;
    flex: 0 0 15%;
}

.mid_top_navigation {
    width: 100%;
    position: relative;
    display: flex;
    flex: 0 0 25%;
}

.mid_part {
    width: 100%;
    position: relative;
    display: flex;
    flex: 0 0 20%;
}

.mid_bottom_navigation {
    width: 100%;
    position: relative;
    display: flex;
    flex: 0 0 25%;
}

.bottom_navigation {
    width: 100%;
    position: relative;
    display: flex;
    flex: 0 0 15%;
}
/* -页面内容容器- */

/* 顶栏 容器 */
.top_left {
    padding: 1% 0 0 0;
    position: relative;
    flex: 0 0 20%;
    display: flex;
    align-items: center;
}

    .top_left::before {
        content: '';
        position: absolute;
        top: 15%;
        left: -10%;
        width: 100%;
        height: 80%;
        z-index: -1;
        transform: skew(-20deg)scale(1);
        border-radius: 10px;
        background: var(--top-left-bg);
        background-size: 200% 200%;
        box-shadow: var(--box-shadow);
        transition: var(--bg-transition), var(--transform-transition), var(--shadow-transition);
    }

    .top_left:hover::before {
        background: transparent;
        background: var(--top-left-bg-other);
        transform: skew(-20deg)scale(1.01);
        box-shadow: var(--box-shadow-other);
    }

.top_left_left {
    flex: 0 0 30%;
    padding: 0 0 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top_left_left_top {
    flex: 0 0 20%;
    transform: translateY(20%);
    margin: 0;
}

    .top_left_left_top p {
        font-size: 2rem;
        color: var(--text-emphasize);
        transform: scale(1);
        transition: var(--transform-transition);
    }

        .top_left_left_top p:hover {
            transform: scale(1.1);
        }

.top_left_left_bottom {
    flex: 1;
    transform: translateY(-20%);
    margin: 0;
}

    .top_left_left_bottom p {
        font-size: 3rem;
        color: var(--text-normal);
        transform: scale(1);
        transition: var(--transform-transition);
    }

        .top_left_left_bottom p:hover {
            transform: scale(1.1);
        }

.top_left_right {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.top_left_right_top {
    width: 70%;
}

    .top_left_right_top p {
        font-size: 1.5rem;
        color: var(--text-normal);
        transform: scale(1);
        transition: var(--transform-transition);
    }

        .top_left_right_top p:hover {
            transform: scale(1.1);
        }

.top_left_right_mid {
    width: 70%;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
}

.top_left_right_bottom {
    width: 70%;
}

    .top_left_right_bottom p {
        display: inline-block;
        max-width: 100%;
        font-size: 1.2rem;
        background: var(--text-special);
        filter: drop-shadow(var(--text-shadow));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        transform: scale(1);
        transition: var(--transform-transition);
    }

        .top_left_right_bottom p:hover {
            transform: scale(1.1);
        }

.top_mid {
    flex: 1;
}

.top_right {
    position: relative;
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
}

.top_right_top {
    position: relative;
    flex: 0 0 35%;
    display: flex;
    flex-direction: row;
}

.top_right_top_part {
    flex: 1;
}

.top_right_top_special_part {
    flex: 0 0 30%
}

.top_right_bottom {
    flex: 1;
}
/* -顶栏 容器- */

/* 中顶栏 容器 */
.mid_top_left {
    position: relative;
    flex: 0 0 20%;
    background-color: rgba(255, 255, 0, 0.3);
}

.mid_top_mid {
    flex: 1;
}

.mid_top_right {
    position: relative;
    flex: 0 0 15%;
    background-color: rgba(0, 255, 255, 0.3);
}
/* -中顶栏 容器- */

/* 中间栏 容器 */
.mid_part_left {
    position: relative;
    flex: 0 0 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mid_part_left p {
        font-size: 4rem;
        color: var(--botton);
        text-shadow: var(--botton-shadow);
        transform: scale(1);
        transition: var(--transform-transition), var(--text-shadow-transition);
    }

        .mid_part_left p:hover {
            transform: scale(1.1);
            text-shadow: var(--botton-shadow-other);
        }

.mid_part_mid {
    flex: 1;
}

.mid_part_right {
    position: relative;
    flex: 0 0 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mid_part_right p {
        font-size: 4rem;
        color: var(--botton);
        text-shadow: var(--botton-shadow);
        transform: scale(1);
        transition: var(--transform-transition), var(--text-shadow-transition);
    }

        .mid_part_right p:hover {
            transform: scale(1.1);
            text-shadow: var(--botton-shadow-other);
        }
/* -中间栏 容器- */

/* 中底栏 容器 */
.mid_bottom_left {
    position: relative;
    flex: 0 0 35%;
    background-color: rgba(128, 128, 0, 0.3);
}

.mid_bottom_mid {
    flex: 1;
}

.mid_bottom_right {
    position: relative;
    flex: 0 0 25%;
    background-color: rgba(0, 128, 128, 0.3);
}
/* -中底栏 容器- */

/* 底栏 容器 */
.bottom_left {
    position: relative;
    flex: 0 0 75%;
    background-color: rgba(64, 64, 64, 0.3);
}

.bottom_right {
    flex: 1;
    background-color: rgba(192, 192, 192, 0.3);
}

.bottom_bg {
    position: absolute;
    width: 110%;
    height: 50%;
    transform: translateY(100%) translateX(-5%);
}
/* -底栏 容器- */

/* 跳转确定栏 */
.confirm-overlay {
    position: fixed;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-content {
    background: var(--confirm-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--confirm-shadow);
    text-align: center;
}

    .confirm-content p {
        font-size: 1.2rem;
        color: var(--confirm-text-color);
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

#confirmSiteName {
    color: var(--confirm-text-color-other);
    font-weight: bold;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-cancel, .btn-ok {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--confirm-transition);
}

.btn-cancel {
    background: var(--confirm-cancel-bg);
    color: var(--confirm-text-color);
}

    .btn-cancel:hover {
        background: var(--confirm-cancel-bg-other);
        transform: translateY(-2px);
        box-shadow: var(--confirm-cancel-box-shadow);
    }

    .btn-cancel:active {
        transform: translateY(0);
        box-shadow: var(--confirm-cancel-box-shadow-other);
    }

.btn-ok {
    background: var(--confirm-OK-bg);
    color: var(--confirm-text-color);
}

    .btn-ok:hover {
        background: var(--confirm-OK-bg-other);
        transform: translateY(-2px);
        box-shadow: var(--confirm-OK-box-shadow);
    }

    .btn-ok:active {
        transform: translateY(0);
        box-shadow: var(--confirm-OK-box-shadow-other);
    }

    .btn-cancel:focus,
    .btn-ok:focus {
        outline: var( --confirm-focus-outline);
        outline-offset: 2px;
    }
/* -跳转确定栏- */
