* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:Arial,微软雅黑,sans-serif;
    background-color:#002f3c;
    color: #fff;
}

.header {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease; /* 平滑过渡效果 */
   
}
.header.scrolled {
    background: rgba(23,23,26,.8); /* 滚动时更深的背景 */
 }

.logo {
    margin-right: 40px;
}

.logo img {
    height: 45px;
}

.logo:hover img {
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin: 0 24px;
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav a {
    color: hsla(0,0%,100%,.7);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav li.curr a {
    color: #00D5FF;
}

.nav li:hover a {
    color: #00D5FF;
}

.login-area {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.login-area a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s ease;
}

.login-area a:hover {
    color: #00C6FF;
    color:#000;
}



.download-btn {
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    /*border-radius: 20px ;*/
}

.download-btn:hover {
    background-color: #00C6FF;
    color:#000;
}

.download-btnon {
    background-color: #00C6FF;
    color:#000!important;
    /*border-radius: 20px ;*/
}

.footer-msg{
    margin-top: 50px;
}
.game-wiki-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    /*transform: translateX(-50%);*/
    background-color: rgba(26, 31, 51, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    min-width: 180px;
    margin-top: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    pointer-events: none;
}

.game-wiki-dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

.dropdown-content p {
    text-align: center;
    font-size: 14px;
    color: #f0f0f0;
}

.main-content {
    position: relative;
    height: calc(100vh - 0px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 15, 31, 0.2), rgba(10, 15, 31, 0.8));
    z-index: -1;
}

.text-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
    transform: translateY(-30px);
    animation: fadeUp 1.5s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 65px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 30px;
    margin-bottom: 40px;
    color: #e0e0e0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}
.more{
    margin: 0 auto;
    width: 280px;
    height: 60px;
    border: 1px solid #3d3c45;
    background-color: #3d3c45;
    color: #969699;
    text-align: center;
    line-height: 60px;
    font-size: 18px;
}
.more:hover{
    background: #42424c;
}
.download-button {
    background-color: #00D5FF;
    color: #000;
    padding: 16px 36px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background-color: #009EFF;
}

.arrow-up,
.arrow-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arrow-up {
    border-bottom: 8px solid #00D5FF;
    top: -10px;
}

.arrow-down {
    border-top: 8px solid #00D5FF;
    bottom: -10px;
}

.nav li:hover .arrow-up,
.nav li:hover .arrow-down {
    opacity: 1;
    animation: bounceArrow 1.2s infinite ease-in-out;
}

.nav li:hover .arrow-down {
    animation-delay: 0.6s;
}

@keyframes bounceArrow {
    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(5px);
    }
}

.new-tag {
    background-color: #ff3b30;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
.scroll-tip {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-tip img {
    width: 40px;
    height: 70px;
}

/* 小鼠标动画 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-tip.active {
    opacity: 1;
}

.scroll-tip.active img {
    animation: bounce 1.5s infinite ease-in-out;
}

.title-container {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 90px;
}


.sub-title {
    color: #fff;
    font-size: 14px;
    padding-top: 10px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.title{
    font-size: 65px;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 5px;
    color: #ccc;
    transition: color 0.3s ease;
    width: 16%;
    text-align: center;
    font-size: 18px;
}

.tab.active {
    color: #00DCFF;
    border-bottom: 2px solid #00DCFF;
}

.title-1{
    font-size: 36px;
}
.game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}
.game-content{
    max-width: 55%;
    margin: 0 auto;
}
.game-item {
    width: 20%;
    text-align: center;
}

.game-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    /*margin-bottom: 10px;*/
}

.game-name {
    font-size: 14px;
}

.download-cenbtn {
    background-color: red;
    color: #fff;
    border: none;
    padding: 10px 20px;
    /*border-radius: 3px;*/
    cursor: pointer;
    font-size: 14px;
    border-radius: 10px 0 10px 0;
}
.game-container {
    align-items: center;
    background-color: #002f3c;
    padding:10px 0;
    width: 300px;
}
.game-info {
    flex: 1;
}
.game-name {
    font-size: 16px;
    color: #fff;
    margin: 0 0 5px 0;
}
.game-desc {
    font-size: 12px;
    color: #ccc;
    margin: 0;
}
.download-btn {
    
    color: #fff;
    border: .01rem solid hsla(0,0%,100%,.4);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}
.game-bottom {
    margin-top: 20px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    display: none;
}
.game-top {
    position: relative; /* 作为子元素（文字层）的定位参考 */
}
.game-left{
    display: flex;
    flex-flow: row;
}
.game-middle{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}
/* 悬浮文字层：默认隐藏，悬浮时显示 */
.game-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 半透明黑色背景，0.6是透明度 */
    color: #fff; /* 文字白色 */
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0; /* 初始透明，隐藏 */
    visibility: hidden; /* 初始不可见，不占空间 */
    transition: all 0.3s ease; /* 过渡动画 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 文字垂直居中 */
}
/* 鼠标悬浮在.game-top时，显示文字层 */
.game-top:hover .game-tooltip {
    opacity: 1;
    visibility: visible;
}
/* 鼠标悬浮在.game-top时，图片可以略微变暗（可选效果） */
.game-top:hover .game-img {
    filter: brightness(0.8); /* 亮度降低，配合半透明背景更协调 */
}
/* 游戏详情链接：右下角定位 */
.game-detail {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: red; /* 黄色，突出显示 */
    text-decoration: none;
    font-size: 14px;
}
.container-1,.link-list {
    max-width: 1200px;
    margin: 0 auto;
}
.link-list
.title-1 {
    text-align: center;
    /*margin-bottom: 20px;*/
}
.subtitle {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.cards {
    display: flex;
    /*justify-content: space-between;*/
    /*margin-bottom: 20px;*/
    /*display: flex; !* 横向排列卡片 *!*/
    gap: 20px; /* 卡片之间间距 */
    padding: 20px; /* 容器内边距 */
    justify-content: center; /* 卡片水平居中 */
    flex-wrap: wrap; /* 屏幕变窄时自动换行 */
}

.card {
    width: 32%;
    background-color: #3a3a48;
    border-radius: 8px;
    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* 可选：卡片阴影，增强层次感 */
    margin: 0 1px;
}

.card img {
    width: 100%;
    /*height: auto;*/
    height: 100%; /* 图片高度铺满卡片 */
    object-fit: cover; /* 关键：保持图片比例，裁剪多余部分（避免拉伸变形） */
    transition: transform 0.3s ease; /* 动画过渡：0.3秒完成，缓动效果更自然 */
}

.info-cards {
    display: flex;
    justify-content: space-between;
    padding:0 20px 20px 20px;
    overflow: hidden;
    gap: 25px;
}

.info-card {
    min-width: 370px;
    background-color: #3a3a48;
    border-radius: 8px;
    padding: 15px;
    height: 216px;
}

.info-card h3 {
    margin-top: 0;
}

.info-card p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

.info-card .date {
    color: #aaa;
    font-size: 12px;
}
.info-cards h2,.info-cards p{
    color: #babac3;
    margin-bottom: 15px
}
.info-card a {
    color: #fff;
    text-decoration: none;
    float: right;
    font-size: 14px;
}
.card:hover img {
    transform: scale(1.1);
}
.info-card {
    transition: background-color 0.3s, color 0.3s;
}
.info-card  p{
    display: -webkit-box; /* 关键：将元素设置为弹性盒模型 */
    -webkit-box-orient: vertical; /* 关键：设置盒模型的排列方向为垂直 */
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.info-card:hover {
    background-color: #515156;
}
.info-card:hover h2 {
    color: #00D5FF;
}
.info-card:hover p {
    color: white;
}
.swiper{
    position: relative;
    width: 120px;
    margin-left: auto

}
.swiper-arrow {
    /* 箭头容器样式，可根据需要调整位置等 */
    position: absolute;
}
.swiper-prev {
    left: -60px;
    width: 60px;
    height: 40px;
    border-radius: 10px;
    background-color: #303030;
    background-image: url("../img/prev.png");
    /* 确保背景图不重复 */
    background-repeat: no-repeat;
    /* 让背景图居中显示 */
    background-position: center;
}
.swiper-prev:hover {
    /* 悬浮背景图：路径末尾加 1 */
    background-image: url("../img/prev1.png");
    background-color: #ccab29;
}
.swiper-next {
    right: 20px;
    width: 60px;
    height: 40px;
    border-radius: 10px;
    background-color: #303030;
    background-image: url("../img/next.png");
    /* 让背景图填满空间的关键属性 */
    /*background-size: cover;*/
    /* 确保背景图不重复 */
    background-repeat: no-repeat;
    /* 让背景图居中显示 */
    background-position: center;
}

.swiper-next:hover {
    /* 悬浮背景图：路径末尾加 1 */
    background-image: url("../img/next1.png");
    background-color: #ccab29;
}
.link-list{
    margin-top: 100px;
    border-bottom: 1px solid #92929c;
    padding-bottom: 40px;
}
.link-list a{
    color: #92929c;
    text-decoration: none;
    padding:0 10px;
    border-right: 1px solid #92929c;
    font-size: 12px;
}
.link-list a:first-child {
    border-right: none;
}
.link-list a:last-child {
    border-right: none;
}
.link-list a:not(:first-child):hover {
    color: #00D5FF;
}
.ga span:hover{
    color: #00D5FF;
}
.footer-msg__yinsi a{
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
}
.footer-msg__yinsi a:hover{
    color: #00D5FF;
}