/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    text-align: center;
}

.logo-desc {
    color: #c0392b;
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.main-nav {
    width: 100%;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 14px;
    white-space: nowrap;
    display: block;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #c0392b;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .logo {
        margin-bottom: 0;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-nav.active {
        max-height: 500px;
        padding: 15px 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
    }
}

/* Banner样式 */
.banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('images/chuanqitu.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(192, 57, 43, 0.3), rgba(44, 62, 80, 0.3));
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-search {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 0;
}

.banner-search input {
    padding: 12px 20px;
    width: 400px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-search button {
    padding: 12px 30px;
    background-color: #c0392b;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-search button:hover {
    background-color: #a93226;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 主要内容区域 */
.main-content {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* 服务器列表 */
.server-list {
    margin-bottom: 40px;
}

.server-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #c0392b;
    background: transparent;
    color: #c0392b;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #c0392b;
    color: #fff;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.server-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.server-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.server-status.new {
    background: #27ae60;
}

.server-status.hot {
    background: #e74c3c;
}

.server-status.recommend {
    background: #f39c12;
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.server-header h3 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0;
}

.server-version {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: #666;
}

.server-details {
    margin-bottom: 20px;
}

.server-time,
.server-desc {
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.feature-tag {
    background: #f8f9fa;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    border: 1px solid #eee;
}

.server-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #c0392b;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.server-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-play {
    flex: 2;
    display: inline-block;
    background-color: #c0392b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background-color: #a93226;
    transform: translateY(-2px);
}

.btn-detail {
    flex: 1;
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* 特色区域 */
.features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c0392b, #e74c3c);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #c0392b;
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon::after {
    opacity: 0.2;
    transform: scale(1);
}

.feature-icon i {
    font-size: 36px;
    color: #c0392b;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    background: #c0392b;
    transform: rotateY(180deg);
}

.feature-item:hover .feature-icon i {
    color: #fff;
    transform: rotateY(-180deg);
}

.feature-content {
    flex: 1;
    width: 100%;
}

.feature-content h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #c0392b;
    transition: width 0.3s ease;
}

.feature-item:hover .feature-content h3::after {
    width: 80px;
}

.feature-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.feature-list li {
    background: #f8f9fa;
    color: #666;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li i {
    color: #c0392b;
    font-size: 12px;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.feature-list li:hover i {
    color: #fff;
}

/* 新闻列表 */
.news-list {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #666;
    margin-right: 15px;
}

.news-title {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title:hover {
    color: #c0392b;
}

/* 攻略区域 */
.guide {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.guide-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.guide-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.guide-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.guide-header {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.guide-header i {
    font-size: 24px;
    color: #c0392b;
}

.guide-header h3 {
    color: #2c3e50;
    font-size: 22px;
    margin: 0;
}

.guide-content {
    padding: 25px;
}

.guide-desc {
    color: #666;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.guide-list li {
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    background: #f8f9fa;
}

.guide-list li:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.guide-item-content h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-item-content h4 i {
    color: #c0392b;
    font-size: 16px;
}

.guide-item-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
    padding-left: 26px;
}

.btn-guide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.btn-guide i {
    transition: transform 0.3s ease;
}

.btn-guide:hover {
    background: #c0392b;
    color: #fff;
}

.btn-guide:hover i {
    transform: translateX(5px);
}

/* 攻略侧边栏 */
.guide-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-categories,
.guide-hot {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.guide-categories h3,
.guide-hot h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.guide-categories ul,
.guide-hot ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-categories li,
.guide-hot li {
    margin-bottom: 12px;
}

.guide-categories li:last-child,
.guide-hot li:last-child {
    margin-bottom: 0;
}

.guide-categories a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.guide-categories a i {
    color: #c0392b;
    font-size: 14px;
}

.guide-categories a:hover,
.guide-categories a.active {
    background: #f8f9fa;
    color: #c0392b;
}

.guide-hot a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hot-tag {
    background: #c0392b;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.guide-title {
    flex: 1;
}

.guide-hot a:hover {
    background: #f8f9fa;
    color: #c0392b;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .guide-container {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .guide-card.featured {
        grid-column: 1 / -1;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guide-content {
        padding: 20px;
    }

    .guide-header {
        padding: 15px;
    }

    .guide-header i {
        font-size: 20px;
    }

    .guide-header h3 {
        font-size: 18px;
    }

    .guide-list li {
        padding: 12px;
    }

    .guide-item-content h4 {
        font-size: 15px;
    }

    .guide-item-content p {
        font-size: 13px;
    }
}

/* 下载区域 */
.download {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.download-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.download-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.download-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.download-header {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.download-header i {
    font-size: 24px;
    color: #c0392b;
}

.download-header h3 {
    color: #2c3e50;
    font-size: 22px;
    margin: 0;
}

.download-content {
    padding: 25px;
}

.download-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.info-item i {
    color: #c0392b;
    font-size: 16px;
}

.download-features {
    margin-bottom: 25px;
}

.download-features h4 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.download-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.download-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #666;
}

.download-features li i {
    color: #27ae60;
    font-size: 14px;
}

.download-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download.primary {
    background: #c0392b;
    color: #fff;
}

.btn-download.primary:hover {
    background: #a93226;
    transform: translateY(-2px);
}

.btn-download.secondary {
    background: #f8f9fa;
    color: #666;
}

.btn-download.secondary:hover {
    background: #e0e0e0;
    color: #333;
    transform: translateY(-2px);
}

/* 下载侧边栏 */
.download-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-notice,
.download-help {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.download-notice h3,
.download-help h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.download-notice ul,
.download-help ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.download-notice li,
.download-help li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.download-notice li:last-child,
.download-help li:last-child {
    margin-bottom: 0;
}

.download-notice li i {
    color: #c0392b;
    font-size: 16px;
    margin-top: 3px;
}

.download-notice li span {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.download-help a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.download-help a i {
    color: #c0392b;
    font-size: 16px;
}

.download-help a:hover {
    background: #f8f9fa;
    color: #c0392b;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .download-container {
        grid-template-columns: 1fr;
    }

    .download-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .download-card.featured {
        grid-column: 1 / -1;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-info {
        grid-template-columns: 1fr;
    }

    .download-actions {
        flex-direction: column;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .download-content {
        padding: 20px;
    }

    .download-header {
        padding: 15px;
    }

    .download-header i {
        font-size: 20px;
    }

    .download-header h3 {
        font-size: 18px;
    }

    .download-features h4 {
        font-size: 16px;
    }

    .download-features li {
        font-size: 14px;
    }
}

/* FAQ区域 */
.faq {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-header {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.faq-header i {
    font-size: 24px;
    color: #c0392b;
}

.faq-header h3 {
    color: #2c3e50;
    font-size: 22px;
    margin: 0;
}

.faq-content {
    padding: 25px;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question i {
    color: #c0392b;
    font-size: 18px;
}

.faq-question span {
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
}

.faq-answer {
    padding: 15px;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    background: #c0392b;
}

.faq-item.active .faq-question i,
.faq-item.active .faq-question span {
    color: #fff;
}

/* FAQ侧边栏 */
.faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-categories,
.faq-contact {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-categories h3,
.faq-contact h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.faq-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-categories li {
    margin-bottom: 12px;
}

.faq-categories li:last-child {
    margin-bottom: 0;
}

.faq-categories a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.faq-categories a i {
    color: #c0392b;
    font-size: 14px;
}

.faq-categories a:hover,
.faq-categories a.active {
    background: #f8f9fa;
    color: #c0392b;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #c0392b;
    font-size: 16px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #c0392b;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #a93226;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-header {
        padding: 15px;
    }

    .faq-header i {
        font-size: 20px;
    }

    .faq-header h3 {
        font-size: 18px;
    }

    .faq-content {
        padding: 20px;
    }

    .faq-question {
        padding: 12px;
    }

    .faq-question span {
        font-size: 15px;
    }

    .faq-answer {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .faq-header {
        padding: 12px;
    }

    .faq-content {
        padding: 15px;
    }

    .contact-item {
        font-size: 13px;
    }
}

/* 页脚 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-desc {
    margin-top: 10px;
    color: #999;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .banner {
        padding: 60px 0;
    }

    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .banner-search input {
        width: 250px;
    }

    .section-title {
        font-size: 24px;
    }

    .server-grid {
        grid-template-columns: 1fr;
    }

    .server-filter {
        flex-wrap: wrap;
    }

    .filter-btn {
        font-size: 14px;
        padding: 6px 15px;
    }

    .server-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-value {
        margin-bottom: 0;
    }

    .features {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .feature-item {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .feature-icon i {
        font-size: 32px;
    }

    .feature-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .banner {
        padding: 40px 0;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-search input {
        width: 180px;
        padding: 10px 15px;
    }

    .banner-search button {
        padding: 10px 20px;
    }

    .server-item {
        padding: 20px;
    }

    .server-header h3 {
        font-size: 18px;
    }

    .server-actions {
        flex-direction: column;
    }

    .btn-play,
    .btn-detail {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-list {
        flex-direction: column;
        align-items: center;
    }

    .feature-list li {
        width: 100%;
        justify-content: center;
    }
}

/* 新闻公告区域 */
.news {
    padding: 60px 0;
    background: #f8f9fa;
}

.news-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f0f0f0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(192, 57, 43, 0.9);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta i {
    color: #c0392b;
}

.news-title {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-footer {
    margin-top: auto;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    color: #a93226;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* 侧边栏样式 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-categories,
.news-archive {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.news-categories h3,
.news-archive h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.news-categories ul,
.news-archive ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-categories li,
.news-archive li {
    margin-bottom: 12px;
}

.news-categories li:last-child,
.news-archive li:last-child {
    margin-bottom: 0;
}

.news-categories a,
.news-archive a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.news-categories a i,
.news-archive a i {
    color: #c0392b;
    font-size: 14px;
}

.news-categories a:hover,
.news-archive a:hover,
.news-categories a.active {
    background: #f8f9fa;
    color: #c0392b;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .news-container {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .news-card.featured {
        grid-template-columns: 1fr;
    }

    .news-image {
        aspect-ratio: 16/9;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 20px;
    }

    .news-meta {
        flex-direction: column;
        gap: 10px;
    }

    .news-title {
        font-size: 18px;
    }
} 