@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    border: 0;
}

body {
    font: 14px/1.6 "微软雅黑", "Microsoft YaHei", "宋体";
    background: #E6F2FF;
    color: #333;
}

a {
    color: #333;
    text-decoration: none;
    line-height: 1.5;
}

a:hover {
    color: #1976D2;
    text-decoration: underline;
}

.clear {
    clear: both;
}

.wrap {
    width: 1080px;
    margin: 0 auto; 
    overflow: visible;
    padding-bottom: 0;
    transform-origin: top left;
}

#top {
    background: #F5F7FA;
    width: 100%;
    position: relative;
    z-index: 999;
}

.top-bar {
    height: 36px;
    line-height: 36px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    background: #F5F7FA;
    width: 1080px; 
    margin: 0 auto;
}

.top-bar-left {
    color: #666;
}

.top-bar-right a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
    line-height: 36px;
}

.top-bar-right a:hover {
    text-decoration: underline;
    color: #1976D2;
}

.top-bar-right span {
    color: rgba(0, 0, 0, 0.2);
    margin: 0 3px;
}

@media screen and (min-width: 769px) {
    html, body {
        overflow-x: auto;
        min-width: 1080px;
        background: #E6F2FF;
    }
    .wrap {
        transform: none;
    }
    .top-bar {
        width: 1080px;
    }
}

@media screen and (max-width: 768px) {
    html, body {
        overflow-x: visible;
        width: 100%;
        background: #E6F2FF;
    }
    .wrap {
        width: 1080px;
        transform: scale(0.38);
        transform-origin: top left;
        margin: 0;
    }
    #top {
        transform: none !important;
        width: 100% !important;
    }
    .top-bar {
        width: 100%;
        font-size: 11px;
        padding: 0 10px;
    }
    .top-bar-right a {
        font-size: 11px;
    }
}

@media screen and (max-width: 375px) {
    .wrap { transform: scale(0.347); }
}
@media screen and (min-width: 376px) and (max-width: 414px) {
    .wrap { transform: scale(0.383); }
}
@media screen and (min-width: 415px) and (max-width: 768px) {
    .wrap { transform: scale(0.42); }
}

.header {
    height: 88px;
    background: linear-gradient(#B3D9FF, #E6F2FF);
    padding: 0 27px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #B3D9FF;
    border-top: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 27px;
    color: #1976D2;
    font-weight: bold;
    line-height: 1.2;
}

.logo span {
    margin: 0 14px;
    color: #FF6600;
    font-size: 14px;
    line-height: 88px;
}

.nav {
    position: relative;
    z-index: 10;
}

.nav ul {
    display: flex;
}

.nav ul li a {
    color: #1976D2;
    font-size: 15px;
    height: 45px;
    line-height: 45px;
    font-weight: bold;
    padding: 0 18px;
    display: block;
}

.nav ul li a:hover {
    background: #D9E8FF;
    color: #0D47A1;
    text-decoration: none;
}

.server-container,
#server-list,
.future-title {
    overflow: hidden;
}
.server-container {
    margin-bottom: 10px;
}

.banner-wrapper {
    display: flex;
    background: #fff;
    height: 300px;
    border: 1px solid #B3D9FF;
    overflow: hidden;
    margin-bottom: 10px;
}

.banner {
    width: 70%;
    height: 300px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.banner ul {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.banner ul li {
    width: 100%;
    height: 100%;
    float: none;
    display: none;
    position: relative;
}

.banner ul li.active {
    display: block;
}

.banner ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner .dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.banner .dots span {
    display: inline-block;
    width: 11px;
    height: 11px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.banner .dots span.active {
    background: #1976D2;
}

.banner-right {
    flex: 1;
    height: 300px;
    background: #fff;
    border-left: 1px solid #B3D9FF;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hot-articles-title {
    background: #E6F2FF;
    border-bottom: 1px solid #99CCFF;
    height: 36px;
    line-height: 36px;
    font-size: 15px;
    font-weight: bold;
    color: #FF6600;
    text-align: center;
}

.hot-articles-list {
    flex: 1;
    overflow-y: auto;
}

.hot-articles-list ul {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hot-articles-list ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 5px;
    border-bottom: 1px dashed #eee;
    position: relative;
}

.hot-articles-list ul li a {
    flex: 1;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 70px 0 8px;
    display: inline-block;
    padding: 4px 0;
    border-radius: 3px;
    transition: all 0.2s;
    line-height: 1.5;
}

.hot-articles-list ul li a:hover {
    background: #E6F2FF;
    color: #1976D2;
    text-decoration: underline;
}

.hot-num {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.hot-rank-1 { background: #FF4444; }
.hot-rank-2 { background: #FF8000; }
.hot-rank-3 { background: #FFCC00; color: #333; }
.hot-rank { background: #B3D9FF; color: #1976D2; }

.hot-articles-list ul li .date {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 11px;
    flex-shrink: 0;
    padding-left: 5px;
    line-height: 1.5;
}

.main {
    padding: 0;
    background: transparent;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.grid-card {
    background: #fff;
    border: 1px solid #B3D9FF;
    overflow: hidden;
}

.card-header {
    background: #E6F2FF;
    border-bottom: 1px solid #99CCFF;
    padding: 0 14px;
    height: 36px;
    line-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 15px;
    font-weight: normal;
    color: #1976D2;
}

.card-header a {
    font-size: 13px;
    color: #1976D2;
    line-height: 36px;
}

.card-header a:hover {
    color: #FF6600;
    text-decoration: underline;
}

.card-list ul {
    padding: 10px 12px;
}

.card-list ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.card-list ul li a {
    flex: 1;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
    padding: 4px 0;
    border-radius: 3px;
    transition: all 0.2s;
    line-height: 1.5;
}

.card-list ul li a:hover {
    background: #E6F2FF;
    color: #1976D2;
    text-decoration: underline;
}

.card-list .date {
    flex-shrink: 0;
    color: #333;
    font-size: 11px;
    line-height: 1.5;
}

.game-gallery-box,
.friend-link-box,
.about-box {
    width: 100%;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #B3D9FF;
    overflow: hidden;
}

.box-title {
    height: 36px;
    line-height: 36px;
    background: #E6F2FF;
    padding: 0 14px;
    border-bottom: 1px solid #99CCFF;
    font-size: 15px;
    position: relative;
}

.box-title h3 {
    float: left;
    font-size: 15px;
    font-weight: normal;
    color: #1976D2;
}

.game-gallery {
    display: flex;
    justify-content: space-between;
    padding: 14px;
    gap: 10px;
}

.gallery-item {
    flex: 1;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gallery-desc {
    margin-top: 10px;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    text-align: center;
    padding: 0 5px;
    display: block;
}

.friend-link-content {
    padding: 14px 10px;
}

.friend-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-link-list a {
    padding: 6px 16px;
    background: #f5f7fa;
    border: 1px solid #e0e6ed;
    color: #1976D2;
    font-size: 13px;
    line-height: 1.5;
}

.friend-link-list a:hover {
    background: #1976D2;
    border-color: #1976D2;
    color: #fff;
    text-decoration: none;
}

.category-list {
    padding: 14px;
}

.category-list ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.category-list ul li a {
    flex: 1;
    color: #1976D2;
    line-height: 1.5;
}

.category-list ul li a:hover {
    color: #FF6600;
    text-decoration: underline;
}

.category-list .date {
    flex-shrink: 0;
    color: #333;
    font-size: 12px;
    line-height: 1.5;
}

.future-title {
    background: linear-gradient(to bottom, #B3D9FF, #E6F2FF);
    color: #1976D2;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    height: 43px;
    line-height: 43px;
    border: 1px solid #99CCFF;
    border-bottom: none;
    margin: 0;
    padding: 0 10px;
    width: 100%;
}

#server-list+.future-title {
    margin-top: 0;
}

.footer {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(to top, #99CCFF, #E6F2FF);
    color: #333;
    line-height: 1.6;
    font-size: 15px;
    border: 1px solid #B3D9FF;
    margin-top: 0;
}

.content-box {
    padding: 20px;
    line-height: 1.7;
    font-size: 14px;
    color: #333;
}

.content-box p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-box img {
    max-width: 100%;
    height: auto;
}

.page-nav {
    padding: 15px;
    border-top: 1px solid #eee;
    overflow: hidden;
}

.about-page-container {
    background: #fff;
    border: 1px solid #B3D9FF;
    margin: 10px 0;
    overflow: hidden;
}

.about-title {
    height: 36px;
    line-height: 36px;
    background: #E6F2FF;
    padding: 0 14px;
    border-bottom: 1px solid #99CCFF;
    font-size: 15px;
    position: relative;
}

.about-title h2 {
    float: left;
    font-size: 15px;
    font-weight: normal;
    color: #1976D2;
}

.about-content {
    padding: 20px 25px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    word-break: break-word;
}

.about-content p {
    margin-bottom: 1.2em;
    line-height: 1.7;
}

.about-content h2 {
    font-size: 18px;
    margin: 25px 0 12px;
    color: #1976D2;
    font-weight: bold;
    border-left: 3px solid #FF6600;
    padding-left: 12px;
    line-height: 1.3;
}

.about-content h3 {
    font-size: 16px;
    margin: 18px 0 10px;
    color: #1976D2;
    font-weight: bold;
    line-height: 1.3;
}

.about-content ul,
.about-content ol {
    margin: 10px 0 15px 25px;
    line-height: 1.7;
}

.about-content li {
    margin: 5px 0;
    line-height: 1.7;
}

.about-content a {
    color: #1976D2;
    text-decoration: none;
}

.about-content a:hover {
    color: #FF6600;
    text-decoration: underline;
}

.about-content strong {
    color: #1976D2;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    border: 1px solid #ddd;
}

.data-table th {
    background: #E6F2FF;
    padding: 8px;
    text-align: center;
    border: 1px solid #99CCFF;
    font-weight: bold;
    color: #1976D2;
    line-height: 1.5;
}

.data-table td {
    text-align: center;
    background: #fff;
    padding: 8px;
    border: 1px solid #99CCFF;
    line-height: 1.5;
}

.download-page-container {
    margin-bottom: 10px;
}

.download-table td {
    text-align: center;
}

.download-table {
    background: #fff;
    font-size: 14px;
}