* {
    padding: 0;
    margin: 0;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: "Noto Sans TC", sans-serif;
}

a {
    color: #6096e3;
}

a:hover {
    color: #6096e3;
}

button {
    outline: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

img {
    border: 0;
}

ul,
ol {
    list-style: none;
}

table {
    border-spacing: 0;
}

caption {
    height: 0;
    overflow: hidden;
    font-size: 0;
}

/* 开头视频 */
#introVideo {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 888;
    object-fit: cover;
}

.fixed-header {
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f6f6f6;
    color: #4a4a4a;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content-left,
.header-content-right {
    display: flex;
    align-items: center;
    margin-left: 1%;
    margin-right: 1%;
}

.horizontal-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.horizontal-list a {
    color: #4a4a4a;
    text-decoration: none;
}

.horizontal-list img {
    margin-top: 10px;
    max-height: 50px;
}

/* 视频删除按钮 */
#removeButton {
    color: #fff;
    position: absolute;
    top: 85%;
    left: 50%;
    width: 124px;
    height: 42px;
    margin-top: -21px;
    margin-left: -62px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    transition: 0.4s;
    font-size: 16px;
    letter-spacing: -0.1px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#removeButton:hover {
    background-color: rgba(0, 0, 0, 0.25);
    border-color: #fff;
}

#removeButton:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

#removeButton:hover:before {
    width: 100%;
}

/* 下拉按钮样式 */
.dropbtn {
    background-color: #f6f6f6;
    color: rgb(0, 0, 0);
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
}

/* 下拉内容 */
.dropdown {
    position: relative;
    display: inline-block;
}

/* 下拉内容 (默认隐藏) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    margin: 0 auto;
    width: 100%;
    min-width: 960px;
    max-width: 1100px;
    padding: 20px 5px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    z-index: 1000;
}

/* 下拉内容的一级容器 */
.dropdown-content-one,
.dropdown-content-two {
    flex: 1;
    padding: 0 10px;
    display: flex;
}

/* 下拉菜单的链接 */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 鼠标移上去后修改下拉菜单链接颜色 */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* 在鼠标移上去后显示下拉菜单 */
.dropdown:hover .dropdown-content {
    display: flex;
}

/* 当下拉内容显示后修改下拉按钮的背景颜色 */
.dropdown:hover .dropbtn {
    background-color: #ffffff;
    display: flex;
}

/* 导航下拉框图片和文本布局 */
.thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thumb img {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 5px;
}

/* 5个页面 */
.page {
    transform: translateY(100%);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    transition: transform 0.5s cubic-bezier(0.74, -0.01, 0.27, 1.05);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.in-top {
    transform: translateY(0);
}

.out-top {
    transform: translateY(-100%);
}

.in-down {
    transform: translateY(0);
}

.out-down {
    transform: translateY(100%);
}

.page.active {
    transform: translateY(0);
}

.page.hidden {
    transform: translateY(-100%);
}

.page video {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
}

.page-map {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.page-map h4 {
    position: absolute;
    top: 50%;
    left: 60px;
    margin-top: -205px;
    font-size: 48px;
    letter-spacing: -1px;
    color: #ffffff;
}

.page-map a {
    position: absolute;
    width: 125px;
    height: 41px;
    top: 50%;
    left: 60px;
    margin-top: -102px;
    text-align: left;
    text-indent: -9999em;
    white-space: nowrap;
    overflow: hidden;
    background: url("../classic/sec-video-link.png")
}

.page-map p {
    position: absolute;
    left: 60px;
    top: 50%;
    margin-top: -20px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.8px;
    color: #ffffff;
}


/* 页面的单独设置 */
.page2-txt,
.page3-txt,
.page4-txt {
    margin: 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    z-index: 20;
}

.page5-txt {
    margin: 12%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    z-index: 20;
}

.arrow {
    margin-top: 20px;
}

/* --------------------------------------第一页--------------------------------- */
.page:nth-child(1) {
    display: block;
    background-color: rgb(0, 0, 0);
}

.page1-a {
    padding: 1%;
    margin-top: 3%;
    display: flex;
    align-items: center;
}

.page1-a>a {
    margin-right: 10px;
}

.page1-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.page1-right>a {
    margin-left: 10px;
}

.page1-a img,
.page1-right img {
    height: auto;

}

.page1-img {
    display: flex;
    /* 使用 Flexbox 布局 */
    flex-direction: column;
    /* 竖直排列 */
    align-items: center;
    /* 居中对齐 */
    gap: 10px;
    /* 间隔 */
}

.page1-img img {
    max-width: 100%;
    /* 图片宽度不超过容器宽度 */
    height: auto;
    /* 自动调整高度 */
}


/* --------------------------------------第二页--------------------------------- */

.page:nth-child(2) {
    background-color: rgb(0, 0, 0);
}

.page2-txt img {
    max-width: 45%;
}

/* --------------------------------------第三页--------------------------------- */
.page:nth-child(3) {
    background-color: rgb(0, 0, 0);
}

/* --------------------------------------第四页--------------------------------- */
.page:nth-child(4) {
    background-color: rgb(0, 0, 0);
}

/* --------------------------------------第五页--------------------------------- */
#page5 {
    background: url("../classic/sec-5-bg.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    /* 添加这一行 */
}

#page5 .woman {
    position: absolute;
    top: 11px;
    /* 靠上 */
    left: 50%;
    margin-left: -1020px;
    overflow: hidden;
    /* 靠左 */
}

.page:nth-child(5) {
    background-color: rgb(0, 255, 221);
}

/* 下拉框中的图片 */
.thumb {
    display: block;
    background: url(../classic/games_v8.png) no-repeat left top;
    width: 85px;
    height: 85px;
    margin: 0 auto 9px;
}

/* 浮动页码 */
.show {
    height: 100vh;
    overflow-y: scroll;
}

.promokit-fullpage-menu {
    left: auto;
    right: 0;
}

.promokit-fullpage-menu {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    list-style: none;
    padding: 0;
    width: 100px;
    z-index: 100;
}

.promokit-fullpage-menu__item {
    position: relative;
    text-align: right;
}

.promokit-fullpage-menu__item:before {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 6px;
    background-color: #babec2;
    transition: 0.1s ease-out;
    content: '';
}

.promokit-fullpage-menu__item:after {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 33px;
    height: 2px;
    margin-top: -1px;
    transition: 0.2s ease-out;
    background-color: #e95f59;
    content: '';
}

.promokit-fullpage-menu__item:hover:before {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    background-color: #e95f59;
    transition: 0.1s 0.2s ease-out;
}

.promokit-fullpage-menu__item:hover:after {
    -ms-transform: translateX(-20px);
    transform: translateX(-20px);
}

.promokit-fullpage-menu__link {
    text-align: left;
    text-indent: -9999em;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    height: 40px;
    /* 设置固定高度 */
    width: 80px;
    /* 设置固定宽度 */
    margin: 0 10px;
    /* 添加外边距 */
    vertical-align: top;
    box-sizing: content-box;
    -ms-transform: translateX(-35px);
    transform: translateX(-35px);
    transition: transform 0.5s linear;
}


.promokit-fullpage-menu__item .promokit-fullpage-menu__link {
    text-align: left;
    text-indent: -9999em;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    height: 100%;
    margin: 6px 0;
    vertical-align: top;
    box-sizing: content-box;
    -ms-transform: translateX(-35px);
    transform: translateX(-35px);
    transition: transform 0.5s linear;
}

.promokit-fullpage-menu__item--active:before {
    position: absolute;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    -ms-transform: translateX(-13px);
    transform: translateX(-13px);
    transition-delay: 0.2s;
    transition-timing-function: linear;
    background-color: #e95f59;
}

.promokit-fullpage-menu__item--active:after {
    -ms-transform: translateX(-100%) !important;
    transform: translateX(-100%) !important;
    transition-delay: 0.1s;
    transition-timing-function: linear;
}

.promokit-fullpage-menu__item--active .promokit-fullpage-menu__link {
    -ms-transform: translateX(-55px);
    transform: translateX(-55px);
}

.promokit-fullpage-menu__item--0 .promokit-fullpage-menu__link {
    width: 41px;
    height: 22px;
    background: url("../classic/navi-menu-0.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--0.promokit-fullpage-menu__item--active .promokit-fullpage-menu__link {
    width: 60px;
    background: url("../classic/navi-menu-0-active.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--1 .promokit-fullpage-menu__link {
    width: 29px;
    height: 24px;
    background: url("../classic/navi-menu-1.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--1.promokit-fullpage-menu__item--active .promokit-fullpage-menu__link {
    width: 44px;
    background: url("../classic/navi-menu-1-active.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--2 .promokit-fullpage-menu__link {
    width: 29px;
    height: 24px;
    background: url("../classic/navi-menu-2.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--2.promokit-fullpage-menu__item--active .promokit-fullpage-menu__link {
    width: 45px;
    background: url("../classic/navi-menu-2-active.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--3 .promokit-fullpage-menu__link {
    width: 99px;
    height: 24px;
    background: url("../classic/navi-menu-3.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--3.promokit-fullpage-menu__item--active .promokit-fullpage-menu__link {
    transform: translateX(-100px);
    width: 150px;
    background: url("../classic/navi-menu-3-active.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--4 .promokit-fullpage-menu__link {
    width: 58px;
    height: 24px;
    background: url("../classic/navi-menu-4.png") no-repeat 0 0;
}

.promokit-fullpage-menu__item--4.promokit-fullpage-menu__item--active .promokit-fullpage-menu__link {
    width: 89px;
    background: url("../classic/navi-menu-4-active.png") no-repeat 0 0;
}

/* 底边视频栏 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: none;
}

.video-container {
    z-index: 1000;
    display: flex;
    overflow-x: auto;
    /* padding: 10px 0; */
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: row;
}

/* 最外层的视频盒子 */
.video-box {
    width: 300px;
    height: 200px;
    background-color: #000000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    transition: transform 0.5s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    z-index: 101;
    margin-top: 50px;
    margin-bottom: 10px;
}


.video-box.active {
    /* 修改后的样式 */

    transform: scaleY(1);
    margin-top: 15px;
    height: calc(200px + 30px);
}

.expanded .video-box {
    width: calc(50% - 10px);
    /* 每个视频盒子占据一半宽度 */
}

.video-box video {
    width: 100%;
    /* 视频自适应盒子宽度 */
    height: 100%;
    /* 视频自适应盒子高度 */
    object-fit: cover;
    /* 确保视频覆盖盒子 */
    margin-bottom: 30px;

}

.video-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 101;
    /* 贴满背景 */
}

.video-box.enlarged {

    /* transform: scale(1.1); */
    transition: transform 0.3s;
    /* 动画效果 */
}

/* 在现有的 CSS 中添加以下样式 */
.video-box.active video {
    width: 100%;
    height: auto;
}

.video-box video {
    width: 100%;
    height: auto;
}

@keyframes verticalMove {

    0%,
    100% {
        transform: translateY(50px);
    }

    50% {
        transform: translateY(-30px);

    }
}


.animated-image0 {
    margin-top: 50px;
    animation: verticalMove 10s ease-in-out infinite;
    /* 2秒的动画，缓和效果，无限循环 */
}

#videoContainer1,
#videoContainer2,
#videoContainer3,
#videoContainer4 {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    transition: transform 0.3s ease;
    flex-wrap: wrap;
    margin-bottom: 6%;
    flex-direction: column;
    align-content: flex-start;
    justify-content: flex-end;
    align-items: center;
}

#videoContainer2 {
    display: flex;
    justify-content: center;
    align-content: center;
}

#videoContainer2.expanded,
#videoContainer3.expanded,
#videoContainer4.expanded {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

#videoContainer2,
#videoContainer3,
#videoContainer4 {
    height: 200px;
    width: 95%;
    overflow-y: auto;
    /* 允许内容滚动 */

}

/* 针对Webkit内核浏览器（如Chrome）隐藏滚动条 */
#videoContainer4::-webkit-scrollbar,
#videoContainer3::-webkit-scrollbar {
    width: 100%;
    background: transparent;
}

/* 针对Firefox隐藏滚动条 */
::-webkit-scrollbar,
#videoContainer4 {
    scrollbar-width: none;
}

#videoContainer2_fade,
#videoContainer3_fade,
#videoContainer4_fade {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    position: absolute;
    /* 使用绝对定位 */
    bottom: 0;
    /* 紧贴底部 */
    height: 55%;
    /* 高度保持不变 */
    background-color: #00000000;
    z-index: 200;
}

.hidden {
    display: none;
}

.video-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 16px;
    letter-spacing: -0.5px;
    line-height: 40px;
    text-align: center;
    color: #fff;
}

.video-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.controls {
    display: flex;
    justify-content: center;
    /* 中心对齐按钮 */
    position: absolute;
    /* 绝对定位 */
    bottom: 20px;
    /* 距离底部20px */
    left: 50%;
    /* 水平居中 */
    transform: translateX(-50%);
    z-index: 1002;
    margin: 20px 0;
    margin-bottom: 30px;

}

/* 视频左右播放控制按钮 */
button {
    margin: 0 5px;
}

.arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    margin-top: 5%;
}

#prevButton2,
#prevButton3,
#prevButton4 {
    position: absolute;
    width: 25px;
    height: 47px;
    left: 0px;
    bottom: 156px;
    outline: 0;
    right: auto;
    z-index: 1002;
    background: url(../classic/sec-movie-arrow.png) no-repeat 0 0;
    /* 左侧按钮位置 */
}

#nextButton2,
#nextButton3,
#nextButton4 {
    position: absolute;
    width: 25px;
    height: 47px;
    bottom: 156px;
    outline: 0;
    background: url(../classic/sec-movie-arrow.png) no-repeat 0 0;
    left: auto;
    right: 0px;
    z-index: 1002;
    background-position-x: -25px;
}


/**none**/
footer {
    background-color: #0e171e;
    color: #ffffff;
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    /* 使用 Flexbox */
    align-items: center;
    /* 垂直居中对齐 */
    justify-content: flex-start;
    /* 水平对齐到左边 */
    padding: 15px 20px;

    /* 内边距 */
}

footer div {
    font-size: 10px;
    display: flex;
    /* 子元素也使用 Flexbox */
    align-items: center;
    /* 垂直居中对齐 */
}

.footer-right {
    margin-left: auto;
    margin-right: 33px;
}

footer img {
    margin-right: 10px;
    /* 图片右边的间距 */
}

.footer-box{
    width: 50%;
    margin: auto;
}

.dropdown-conten-child{
	display: flex;
}

.dropdown-content-body{
	display: flex;
}

.dropdown-content-one, .dropdown-content-two{
	display: flex;
	flex-direction: column;
}

.dropdown-content-one p, .dropdown-content-two p{
	margin-left: 15px;
	font-weight: 600;
	font-size: 12px;
}
#floating-image-container {
    position: fixed;
    top: 20%;
    left: 97%;
    transform: translate(-50%, -50%);
    animation: floatImage 3s infinite;
}

@keyframes floatImage {
    0% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
    100% { transform: translate(-50%, -50%); }
}