* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    background: #1a1a2e;
    color: #333;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.header {
    height: 280px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header .container {
    position: relative;
    height: 100%;
    z-index: 1;
}

.header .logo {
    position: absolute;
    left: -50px;
    top: 40px;
    z-index: 2;
}

.header .title {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
         -o-transform: translateX(-50%);
            transform: translateX(-50%);
    top: 50px;
    z-index: 2;
}

.header .cert {
    position: absolute;
    right: -15px;
    top: 20px;
    z-index: 2;
}

.nav {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    text-align: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
}

.nav a:hover {
    color: #ffd700;
}

.main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    margin-top: 20px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
       -moz-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.left-sidebar {
    width: 200px;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
}

.sidebar-section {
    background: rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    overflow: hidden;
}

.sidebar-section .title {
    background: -webkit-linear-gradient(to right, #d4a574, #c4956a);
    background: -moz-linear-gradient(to right, #d4a574, #c4956a);
    background: -ms-linear-gradient(to right, #d4a574, #c4956a);
    background: -o-linear-gradient(to right, #d4a574, #c4956a);
    background: linear-gradient(to right, #d4a574, #c4956a);
    padding: 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.sidebar-section .title.title-large {
    font-size: 18px;
    padding: 12px;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section ul li {
    padding: 8px 15px;
    border-bottom: 1px solid #333;
}

.sidebar-section ul li:last-child {
    border-bottom: none;
}

.sidebar-section ul li a {
    color: #ccc;
    text-decoration: none;
    display: block;
    -webkit-transition: color 0.3s;
       -moz-transition: color 0.3s;
        -ms-transition: color 0.3s;
         -o-transition: color 0.3s;
            transition: color 0.3s;
}

.sidebar-section ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.sidebar-section .btn {
    display: block;
    padding: 10px;
    text-align: center;
    margin: 10px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
}

.sidebar-section .btn-red {
    background: -webkit-linear-gradient(to bottom, #c41e3a, #8b0000);
    background: -moz-linear-gradient(to bottom, #c41e3a, #8b0000);
    background: -ms-linear-gradient(to bottom, #c41e3a, #8b0000);
    background: -o-linear-gradient(to bottom, #c41e3a, #8b0000);
    background: linear-gradient(to bottom, #c41e3a, #8b0000);
    color: #fff;
}

.sidebar-section .btn-gold {
    background: -webkit-linear-gradient(to bottom, #ffd700, #daa520);
    background: -moz-linear-gradient(to bottom, #ffd700, #daa520);
    background: -ms-linear-gradient(to bottom, #ffd700, #daa520);
    background: -o-linear-gradient(to bottom, #ffd700, #daa520);
    background: linear-gradient(to bottom, #ffd700, #daa520);
    color: #333;
}

.sidebar-section .btn-blue {
    background: -webkit-linear-gradient(to bottom, #1e90ff, #0066cc);
    background: -moz-linear-gradient(to bottom, #1e90ff, #0066cc);
    background: -ms-linear-gradient(to bottom, #1e90ff, #0066cc);
    background: -o-linear-gradient(to bottom, #1e90ff, #0066cc);
    background: linear-gradient(to bottom, #1e90ff, #0066cc);
    color: #fff;
}

.content {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.content-title {
    border-left: 4px solid #c41e3a;
    padding-left: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.news-highlight {
    background: -webkit-linear-gradient(to right, #fef08a, #fde047);
    background: -moz-linear-gradient(to right, #fef08a, #fde047);
    background: -ms-linear-gradient(to right, #fef08a, #fde047);
    background: -o-linear-gradient(to right, #fef08a, #fde047);
    background: linear-gradient(to right, #fef08a, #fde047);
    padding: 15px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.news-highlight .title {
    color: #c41e3a;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-highlight .date {
    color: #666;
    font-size: 14px;
}

.news-list {
    list-style: none;
    background: #333;
    padding: 15px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    margin-bottom: 15px;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #555;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li a {
    text-decoration: none;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--title-color, #fff);
}
.news-list li a:hover {
    color: #ffd700 !important;
}

.news-list li span {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

.right-sidebar {
    width: 280px;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
}

.section {
    background: #333;
    padding: 15px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    margin-bottom: 15px;
}

.section .title {
    border-bottom: 2px solid #c41e3a;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.qrcode p {
    font-size: 12px;
    color: #fff;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 8px 0;
    font-size: 16px;
    color: #fff;
}

.section .article-list {
    list-style: none;
    padding: 0;
}

.section .article-list a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #444;
    font-size: 16px;
}

.section .article-list a:last-child {
    border-bottom: none;
}

.section .article-list a:hover {
    color: #ffd700;
}

.section .article-list .empty {
    color: #666;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
}

.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px 0;
    margin-top: 30px;
    text-align: center;
}

.footer p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer .links {
    margin-bottom: 15px;
}

.footer .links a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer .links a:hover {
    color: #fff;
}

/* 游戏特色分组布局 */
.feature-group {
    margin-bottom: 15px;
    padding: 15px;
    background: #333;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}



.feature-group .group-title {
    color: var(--title-color, #ffd700);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-left: 5px;
}

.feature-group .feature-items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    gap: 8px;
}

.feature-group .feature-item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 18%;
       -moz-box-flex: 1;
        -ms-flex: 1 0 18%;
            flex: 1 0 18%;
    max-width: 20%;
}

.feature-group .feature-item {
    background: #444;
    padding: 10px 5px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    border: 1px solid #555;
    text-align: center;
}

.feature-group .feature-item a {
    color: var(--title-color, #fff);
    text-decoration: none;
    font-size: 16px;
}

.feature-group .feature-item a:hover {
    color: #ffd700;
}

.feature-group .feature-item.gold {
    background: #ffd700;
    border-color: #ffd700;
}

.feature-group .feature-item.gold a {
    color: #333;
    font-weight: bold;
}

/* 公告样式 */
.announcement {
    background: #444;
    border: 1px solid #555;
    padding: 15px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    margin-bottom: 20px;
}

.announcement h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.announcement p {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
}

/* 文章详情样式 */
.article-detail {
    background: #333;
    padding: 20px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
       -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-detail h1 {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #555;
    text-align: center;
}

.article-detail .description {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #444;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

.article-detail .article-content {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
}

.article-detail .article-content p {
    margin-bottom: 15px;
}

.article-detail .article-content img {
    max-width: 100%;
    height: auto;
}

.article-detail .article-content h2 {
    font-size: 20px;
    margin: 20px 0 15px;
    color: #c41e3a;
}

.article-detail .article-content h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    color: #333;
}

/* 表格容器 */
.article-detail .article-content .table-container {
    overflow-x: auto;
    max-width: 100%;
    margin: 15px 0;
    -webkit-overflow-scrolling: touch;
}

/* 表格样式 */
.article-detail .article-content table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000;
    background: #333;
}

.article-detail .article-content table th,
.article-detail .article-content table td {
    border: 1px solid #000;
    padding: 8px 12px;
    text-align: left;
    font-size: 15px;
}

.article-detail .article-content table th {
    background: #d4a574;
    color: #000;
    font-weight: bold;
}

.article-detail .article-content table tr:not([style]) {
    background: #333;
}

.article-detail .article-content table td {
    color: #fff;
}

.article-detail .article-content table td[style*="background-color: #ffd700"] {
    background-color: #ffd700 !important;
    color: #c41e3a !important;
    font-weight: bold;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .header {
        height: auto;
        padding: 15px 0;
    }
    
    .header .logo,
    .header .title,
    .header .cert {
        position: static;
        text-align: center;
        -webkit-transform: none;
           -moz-transform: none;
            -ms-transform: none;
             -o-transform: none;
                transform: none;
        margin: 10px auto;
        left: auto;
        top: auto;
        right: auto;
    }
    
    .header .logo img,
    .header .title img,
    .header .cert img {
        max-width: 100%;
        height: auto;
    }
    
    .nav {
        padding: 10px;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .nav a {
        margin: 0 10px;
        font-size: 16px;
    }
    
    .main {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    
    .left-sidebar {
        width: 100%;
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
           -moz-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
    }
    
    .content {
        width: 100%;
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
           -moz-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        padding: 15px;
    }
    
    .right-sidebar {
        width: 100%;
        -webkit-box-ordinal-group: 4;
        -webkit-order: 3;
           -moz-box-ordinal-group: 4;
            -ms-flex-order: 3;
                order: 3;
    }
    
    .sidebar-section {
        margin-bottom: 10px;
    }
    
    .feature-group .feature-items {
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
        gap: 5px;
    }
    
    .feature-group .feature-item {
        -webkit-box-flex: 1;
        -webkit-flex: 1 0 48%;
           -moz-box-flex: 1;
            -ms-flex: 1 0 48%;
                flex: 1 0 48%;
        max-width: 50%;
    }
    
    .article-detail {
        padding: 15px;
    }
    
    .article-detail h1 {
        font-size: 20px;
    }
    
    .article-detail .article-content {
        font-size: 14px;
    }
    
    .article-detail .article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .article-detail .article-content table th,
    .article-detail .article-content table td {
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .footer {
        padding: 20px 10px;
    }
    
    .footer .links a {
        margin: 0 5px;
        font-size: 12px;
    }
}

/* 游戏教程列表样式 */
.tutorial-list {
    margin-top: 20px;
}

.tutorial-item {
    background: rgba(255, 255, 255, 0.05);
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-item h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.tutorial-item h2 a {
    color: #ffd700;
    text-decoration: none;
    -webkit-transition: color 0.3s;
       -moz-transition: color 0.3s;
        -ms-transition: color 0.3s;
         -o-transition: color 0.3s;
            transition: color 0.3s;
}

.tutorial-item h2 a:hover {
    color: #fff;
}

.tutorial-item .meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.tutorial-item .summary {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 50px 0;
    color: #666;
}
