/* 基础样式 */
html, body {
    width: 100%;
    height: 100%;
    font-family: "Microsoft YaHei";
    background: #000;
    margin: 0;
    padding: 0;
}

/* 主容器样式 */
.wrap {
    width: 100%;
    position: relative;
}

/* 视频板块样式 */
.video-section {
    width: 100%;
    height: 1080px;
    position: relative;
    background: #000;
}

.video-container {
    width: 1920px;
    height: 1080px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    overflow: hidden;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 内容板块样式优化 */
.content-section {
    width: 100%;
    min-height: 800px;
    position: relative;
    background: url('../images/bj1.png') no-repeat center top;
    background-size: cover;
    padding: 70px 0;
}

/* 按钮容器样式优化 */
.button-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 40px;
    background: rgba(25, 28, 36, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.btns {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.btns a {
    width: 180px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    background: linear-gradient(145deg, #2a3041, #1e232f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btns a:hover {
    background: linear-gradient(145deg, #2f3649, #232836);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 游戏大区样式优化 */
.server-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 70px;
}

.server-list {
    background: rgba(25, 28, 36, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.server-list h2 {
    color: #fff;
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 2px;
    position: relative;
}

.server-list h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.server-list table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.server-list th {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.server-list td {
    padding: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.server-list tr:hover td {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

/* 游戏公告样式优化 */
.news-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.news-box {
    background: rgba(25, 28, 36, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.news-box .box-title h2 {
    color: #fff;
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 2px;
    position: relative;
}

.news-box .box-title h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.news-list {
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.news-list li:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.news-list .time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-left: auto;
}

.news-list .type {
    color: #3498db;
    font-weight: 500;
    margin-right: 20px;
    min-width: 80px;
    text-align: center;
}

.news-list .content {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* 添加全局过渡效果 */
* {
    transition: all 0.3s ease;
}

/* 添加滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: linear-gradient(145deg, #2a3041, #1e232f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.close-btn {
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.modal-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.confirm-btn {
    padding: 10px 30px;
    background: linear-gradient(145deg, #3498db, #2ecc71);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* 弹窗动画 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal.show {
    display: block;
}

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease forwards;
}
  
  