/* 主要样式文件 */
:root {
    --primary-color: #ff9933;
    --secondary-color: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #66fcf1;
    --bg-overlay: rgba(0, 0, 0, 0.75);
    --card-bg: rgba(30, 30, 30, 0.8);
    --online-color: #4caf50;
    --offline-color: #f44336;
    --nav-bg: rgba(20, 20, 30, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    background-image: url('images/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    line-height: 1.6;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.85), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 头部样式 */
header {
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(50, 50, 80, 0.3) 0%, rgba(20, 20, 30, 0) 70%);
}

.logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.logo {
    max-width: 350px;
    filter: drop-shadow(0 0 10px rgba(255, 153, 51, 0.3));
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 153, 51, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 导航栏样式 */
.main-nav {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav .navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.main-nav .navbar-toggler {
    border-color: rgba(255, 153, 51, 0.5);
}

.main-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 153, 51, 0.2);
}

.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 153, 51, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-nav .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav .navbar-nav {
    gap: 0.5rem;
}

.main-nav .nav-item:last-child {
    margin-left: 1rem;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.main-nav .nav-link:hover {
    color: var(--primary-color);
}

.nav-highlight {
    background-color: var(--primary-color);
    color: #000 !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 4px;
}

.nav-highlight:hover {
    background-color: #ffae5a;
    color: #000 !important;
}

/* 调整小屏幕上的导航样式 */
@media (max-width: 991px) {
    .main-nav .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        margin-top: 0.5rem;
    }
    
    .main-nav .nav-link::after {
        display: none;
    }
    
    .nav-highlight {
        margin-top: 0.5rem;
        text-align: center;
    }
}

/* 部分标题样式 */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #ff9f43;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 3px;
    width: 80px;
    background-color: #ff9f43;
}

.servers-section {
    text-align: center;
    padding: 2rem 0;
}

/* 服务器组样式 */
.servers-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* 服务器卡片样式 */
.server-card {
    background-color: rgba(25, 25, 25, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    height: 100%;
    overflow: hidden;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.server-card h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    padding-bottom: 0.6rem;
    position: relative;
}

.server-card h3:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ff9f43;
}

.server-card p {
    color: #ccc;
    margin-bottom: 1rem;
    text-align: center;
}

/* 服务器状态指示器 */
.server-status {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    z-index: 10;
}

.bg-success {
    background-color: #4CAF50 !important;
}

.bg-warning {
    background-color: #FFC107 !important;
}

.bg-danger {
    background-color: #F44336 !important;
}

/* 服务器特性列表 */
.server-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.server-features li {
    margin-bottom: 10px;
    color: #ddd;
    padding-left: 25px;
    position: relative;
}

.server-features i {
    color: #ff9f43;
    position: absolute;
    left: 0;
    top: 2px;
}

/* 服务器地图数量 */
.server-stats {
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    margin-bottom: 15px;
}

.server-stats i {
    color: #ff9f43;
    margin-right: 5px;
}

.join-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #ff9f43;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.join-button:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

/* 关于我们部分 */
.about-us {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.about-us h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.about-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #eee;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* 加入我们部分 */
.join-us {
    text-align: center;
    padding: 3rem 0;
    background: #1a1a24;
}

.join-us .section-title {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1100px;
}

.step {
    background-color: #191920;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.5;
}

/* 页脚样式 */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
    color: #999;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3,
.footer-links h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-info i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    margin: 2rem 0;
    text-align: center;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #999;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .servers-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .join-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-top: 2rem;
        text-align: center;
    }
    
    .about-image img {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0.5rem 0;
    }
    
    .servers-container {
        grid-template-columns: 1fr;
    }
    
    .server-group {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .server-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .join-steps {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* QQ群卡片样式 */
.qq-groups-section {
    text-align: center;
    padding: 3rem 0;
}

.qq-groups-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.qq-group-card {
    background: #1a1a24;
    border-radius: 6px;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.qq-group-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 153, 51, 0.2);
    border-left-color: var(--primary-color);
}

.qq-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0.8rem;
}

.qq-group-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0;
}

.qq-group-tag {
    background-color: var(--primary-color);
    color: #000;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
}

.qq-group-card p {
    margin: 1.2rem 0;
    color: #ddd;
    flex-grow: 1;
}

.qq-group-info {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 0.8rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.qq-group-info span {
    font-size: 0.9rem;
    color: #ccc;
}

.qq-group-info i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.join-qq-button {
    display: block;
    background-color: var(--primary-color);
    color: #000;
    padding: 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    border: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.join-qq-button:hover {
    background-color: #ffae5a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    .qq-groups-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .qq-groups-container {
        grid-template-columns: 1fr;
    }
}

/* 服务器卡片图片样式 */
.server-image {
    display: none;
}

.server-image img {
    display: none;
}

/* QQ群卡片图片样式 */
.qq-group-image {
    display: none;
}

.qq-group-image img {
    display: none;
}

/* 服务器规则部分 */
.rules-section {
    padding: 3rem 0;
}

.rules-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.rule-card {
    background-color: rgba(25, 25, 25, 0.9);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    flex: 1;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 280px;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.rule-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.rule-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.rule-card ul {
    list-style: none;
    padding-left: 10px;
}

.rule-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
}

.rule-card li::before {
    content: "\2022"; /* 圆点 */
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

/* 精彩瞬间部分 */
.highlights-section {
    padding: 3rem 0;
}

.highlights-container {
    margin-top: 2rem;
}

.video-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background-color: #000;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.video-overlay i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.video-overlay:hover i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.highlights-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .rules-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rules-container {
        grid-template-columns: 1fr;
    }
    
    .highlights-gallery {
        grid-template-columns: 1fr;
    }
}

/* 加载和错误状态样式 */
.text-center {
    text-align: center;
}

.my-5 {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.text-warning {
    color: #ffc107;
}

.d-none {
    display: none !important;
}

.fa-spinner {
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.fa-exclamation-triangle {
    color: #ffc107;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#highlights-loading p,
#highlights-error p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #ddd;
}

/* 当没有内容时的样式 */
#highlights-gallery .text-center {
    grid-column: 1 / -1;
    padding: 3rem 0;
    color: #aaa;
    font-style: italic;
}

/* 添加B站视频容器样式 */
.bilibili-container {
    width: 100%;
    margin: 0 auto 2rem;
    background-color: rgba(20, 20, 30, 0.6);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bilibili-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 70%; /* 16:9宽高比 + 空间给播放器控件 */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
}

.bilibili-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 新闻公告部分 */
.news-section {
    padding: 3rem 0;
}

.news-container {
    margin-top: 2rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    display: flex;
    background: #1a1a24;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--primary-color);
}

.news-date {
    min-width: 80px;
    background-color: var(--primary-color);
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 1rem;
    margin-top: 0.3rem;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.news-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.news-summary {
    color: #ddd;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-time {
    color: #999;
    font-size: 0.9rem;
}

.news-time i {
    margin-right: 0.3rem;
}

.news-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.news-more:hover {
    color: #ffae5a;
}

.news-more i {
    margin-left: 0.3rem;
    transition: all 0.3s ease;
}

.news-more:hover i {
    transform: translateX(3px);
}

.view-all-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.view-all-button:hover {
    background-color: #ffae5a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.view-all-button i {
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.view-all-button:hover i {
    transform: translateX(3px);
}

/* 新闻详情页样式 */
.news-detail-container {
    background: rgba(26, 26, 36, 0.8);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.news-detail-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-detail-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.news-detail-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.9rem;
}

.news-detail-time i,
.news-detail-category i {
    margin-right: 0.3rem;
    color: var(--primary-color);
}

.news-detail-content {
    line-height: 1.8;
    color: #eee;
}

.news-detail-content p {
    margin-bottom: 1.5rem;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-nav-prev,
.news-nav-next,
.news-nav-back {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-nav-prev:hover,
.news-nav-next:hover,
.news-nav-back:hover {
    color: var(--primary-color);
}

.news-nav-prev i,
.news-nav-next i {
    transition: all 0.3s ease;
}

.news-nav-prev:hover i {
    transform: translateX(-3px);
}

.news-nav-next:hover i {
    transform: translateX(3px);
}

/* 新闻列表页样式 */
.news-page-container {
    margin: 3rem 0;
}

.news-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(26, 26, 36, 0.8);
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

.news-search {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.news-search input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 4px 0 0 4px;
}

.news-search button {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.news-search button:hover {
    background: #ffae5a;
}

.news-pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.news-pagination .page-item {
    margin: 0 0.3rem;
}

.news-pagination .page-link {
    background: rgba(26, 26, 36, 0.8);
    color: #ccc;
    border: none;
    border-radius: 4px;
    padding: 0.6rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-pagination .page-link:hover {
    background: var(--primary-color);
    color: #000;
}

.news-pagination .active .page-link {
    background: var(--primary-color);
    color: #000;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        padding: 0.8rem;
        flex-direction: row;
        width: 100%;
        min-width: auto;
    }
    
    .news-date .day {
        font-size: 1.3rem;
        margin-right: 0.5rem;
    }
    
    .news-date .month {
        font-size: 1rem;
        margin-top: 0;
    }
    
    .news-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 加载中和错误提示样式 */
.loading-container, .error-container {
    text-align: center;
    padding: 30px;
    color: #fff;
    width: 100%;
}

.loading-container i, .error-container i {
    margin-right: 10px;
    color: #ccc;
}

.error-container {
    background-color: rgba(220, 53, 69, 0.2);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.loading-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.loading-container p, .error-container p {
    font-size: 18px;
    margin-top: 15px;
}

/* 加入服务器按钮 */
.server-card .btn-primary {
    background-color: #ff9f43;
    border-color: #ff9f43;
    transition: all 0.3s ease;
    padding: 8px 25px;
    font-weight: bold;
    border-radius: 30px;
}

.server-card .btn-primary:hover {
    background-color: #f39028;
    border-color: #f39028;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 159, 67, 0.4);
}

/* 动画旋转效果 */
.loading-container i.bi-arrow-repeat {
    display: inline-block;
    animation: spin 1.5s linear infinite;
    font-size: 1.5rem;
}

/* 服务器状态标签样式 */
.qq-group-tag.bg-success {
    background-color: #4CAF50;
}

.qq-group-tag.bg-warning {
    background-color: #FFC107;
    color: #000;
}

.qq-group-tag.bg-danger {
    background-color: #F44336;
}

/* 服务器特性列表在QQ群卡片中的样式 */
.qq-group-card .server-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.qq-group-card .server-features li {
    margin-bottom: 8px;
    color: #ddd;
    padding-left: 25px;
    position: relative;
}

.qq-group-card .server-features i {
    color: #ff9f43;
    position: absolute;
    left: 0;
    top: 2px;
}

/* 新增：名人堂样式 */
.hall-of-fame-section {
    padding: 60px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.hall-of-fame-container {
    position: relative;
    z-index: 2;
}

.hall-of-fame-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.fame-card {
    background: linear-gradient(135deg, #1a1a24 0%, #252535 100%);
    border-radius: 12px;
    padding: 2rem;
    width: 320px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fame-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(var(--primary-rgb), 0.3);
}

.fame-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.fame-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fame-name {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.fame-description {
    color: #ddd;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.fame-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fame-achievements li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #ccc;
    font-size: 0.9rem;
}

.fame-achievements li::before {
    content: '\2022';
    color: var(--primary-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.45rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hall-of-fame-cards {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .fame-card {
        width: 280px;
    }
}

/* 简单导航链接样式（用于新闻详情页） */
.nav-simple-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-simple-links li {
    margin: 0;
    padding: 0;
}

.nav-simple-links li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    position: relative;
}

.nav-simple-links li a:hover {
    color: var(--primary-color);
}

.nav-simple-links li a.active {
    color: var(--primary-color);
}

.nav-simple-links li a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-simple-links li a:hover::after,
.nav-simple-links li a.active::after {
    width: 70%;
}