/* 将导航栏切换按钮图标颜色改为黑色 */
    .navbar-dark .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%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* 确保边框也是黑色 */
    .navbar-dark .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.5);
    }


/* 返回筛选按钮样式 */
.back-to-filter-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FFD700;
    color: #000;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.back-to-filter-btn:hover {
    background-color: #FFC000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.back-to-filter-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .back-to-filter-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .back-to-filter-btn i {
        font-size: 1rem;
        margin-right: 6px;
    }
}

      :root {
            --primary-color: #FFD700;
            --secondary-color: #f8f9fc;
            --accent-color: #FFEE99;
            --active-color: #00eaff;
            --text-color: #5a5c69;
            --light-color: #ffffff;
            --dark-color: #2d3436;
            --cn-color: #e74c3c;
            --tw-color: #3498db;
            --jp-color: #e84393;
            --kr-color: #0984e3;
            --guoji-color: #00b894;
            --other-color: #fdcb6e;
        }
        
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            color: var(--text-color);
            background-color: var(--secondary-color);
            line-height: 1.6;
        }
        
        .navbar {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            padding: 15px 0;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            color: var(--dark-color);
        }
        
        .navbar-brand i {
            margin-right: 10px;
            font-size: 1.5em;
            color: var(--dark-color);
        }
        
        .navbar-nav .nav-link {
            color: var(--dark-color);
            font-weight: 600;
            padding: 0.5rem 1rem;
            margin: 0 0.2rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            background-color: rgba(0, 0, 0, 0.1);
            color: var(--dark-color);
        }
        
        .navbar-nav .nav-link.active {
            background-color: var(--active-color);
            color: white;
            box-shadow: 0 4px 12px rgba(0, 234, 255, 0.3);
        }
        
        /* 修改后的英雄区域样式 */
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                        url('https://www.chishu2018.com/csb/banner1.webp');
            background-size: cover;
            background-position: center;
            color: white;
            height: 860px;
            display: flex;
            align-items: center;
            margin-bottom: 4rem;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            padding: 0 20px;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 1.4rem;
            margin-bottom: 2.5rem;
            text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
            opacity: 0.9;
        }
        
        .btn-hero {
            padding: 12px 30px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            margin: 0 10px;
        }
        
        .btn-hero-primary {
            background-color: var(--primary-color);
            color: var(--dark-color);
            border: 2px solid var(--primary-color);
        }
        
        .btn-hero-primary:hover {
            background-color: transparent;
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .btn-hero-outline {
            background-color: transparent;
            color: white;
            border: 2px solid white;
        }
        
        .btn-hero-outline:hover {
            background-color: white;
            color: var(--dark-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .filter-section {
            background-color: var(--light-color);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 3rem;
        }
        
        .filter-section label {
            font-weight: 600;
            margin-bottom: 0.8rem;
            color: var(--dark-color);
        }
        
        .form-select {
            height: 50px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }
        
        .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
        }
        
        .game-card {
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
            background-color: var(--light-color);
        }
        
        .game-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .game-card-img-container {
            height: 220px;
            overflow: hidden;
            position: relative;
        }
        
        .game-card-img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        
        .game-card:hover .game-card-img {
            transform: scale(1.1);
        }
        
        .game-card-body {
            padding: 2rem;
        }
        
        .game-title {
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 0.8rem;
            font-size: 1.4rem;
        }
        
        .game-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1.2rem;
            font-size: 0.95rem;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .server-tag {
            padding: 0.3rem 0.9rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
        }
        
        .platform-tag {
            padding: 0.3rem 0.9rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background-color: var(--primary-color);
            color: var(--dark-color);
        }
        
        .developer-tag {
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            border: 1px solid var(--primary-color);
            color: var(--text-color);
            margin-right: 8px;
            margin-bottom: 8px;
        }
        
        .publisher-tag {
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            border: 1px solid var(--primary-color);
            color: var(--text-color);
            margin-right: 8px;
        }
        
        .server-cn {
            background-color: var(--cn-color);
        }
        
        .server-tw {
            background-color: var(--tw-color);
        }
        
        .server-jp {
            background-color: var(--jp-color);
        }
        
        .server-kr {
            background-color: var(--kr-color);
        }
        
        .server-guoji {
            background-color: var(--guoji-color);
        }
        
        .server-other {
            background-color: var(--other-color);
            color: var(--dark-color);
        }
        
        .game-type {
            color: #7f8c8d;
            font-weight: 500;
            display: flex;
            align-items: center;
        }
        
        .game-type i {
            margin-right: 5px;
            color: var(--primary-color);
        }
        
        .game-description {
            color: var(--text-color);
            margin-bottom: 1.8rem;
            font-size: 0.95rem;
            line-height: 1.7;
        }
        
        .game-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .game-date {
            color: #636e72;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            font-weight: 500;
        }
        
        .game-date i {
            margin-right: 8px;
            color: var(--primary-color);
            font-size: 1.1rem;
        }
        
        .game-actions {
            display: flex;
            gap: 10px;
        }
        
        .btn-game {
            background-color: var(--primary-color);
            color: var(--dark-color);
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }
        
        .btn-game:hover {
            background-color: var(--accent-color);
            color: var(--dark-color);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
        }
        
        .btn-game i {
            margin-right: 6px;
        }
        
        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 2.5rem;
            position: relative;
            text-align: center;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
            margin: 1rem auto 0;
            border-radius: 2px;
        }
        
        .month-section-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--dark-color);
            margin: 3rem 0 1.5rem;
            position: relative;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
        }
        
        .pagination .page-item .page-link {
            color: var(--dark-color);
            border: none;
            margin: 0 5px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .pagination .page-item.active .page-link {
            background-color: var(--primary-color);
            color: var(--dark-color);
        }
        
        .pagination .page-item .page-link:hover {
            background-color: #f1f1f1;
        }
        
        /* 修改后的页脚样式 */
        .footer {
            background-color: var(--dark-color);
            color: white;
            padding: 4rem 0;
            margin-top: 5rem;
        }
        
        .footer-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            color: var(--primary-color);
        }
        
        .footer-title i {
            margin-right: 10px;
        }
        
        .footer-links h5 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 10px;
            color: var(--primary-color);
        }
        
        .footer-links h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
        }
        
        .footer-links ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: #b2bec3;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .social-icons {
            margin-top: 1.5rem;
        }
        
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            margin-right: 10px;
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            background-color: var(--primary-color);
            color: var(--dark-color);
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            margin-top: 3rem;
        }
        
        .footer-bottom a {
            color: #b2bec3;
            margin: 0 10px;
            transition: all 0.3s ease;
        }
        
        .footer-bottom a:hover {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .test-status {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
            z-index: 3;
        }
        
        .status-open {
            background-color: #00b894;
        }
        
        .status-closed {
            background-color: #d63031;
        }
        
        .status-upcoming {
            background-color: #0984e3;
        }
        
        .platform-filter-row {
            margin-bottom: 1.5rem;
        }
        
        .platform-filter-container {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .platform-filter-btn {
            padding: 0.5rem 1.2rem;
            border-radius: 20px;
            font-weight: 600;
            background-color: #f8f9fa;
            border: 2px solid #e9ecef;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .platform-filter-btn.active {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--dark-color);
        }
        
        /* 月份分隔动画 */
        .month-divider {
            height: 50px;
            position: relative;
            overflow: hidden;
            margin: 2rem 0;
        }
        
        .month-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(to right, transparent, var(--primary-color), transparent);
            transform: translateY(-50%);
        }
        
        .month-divider::after {
            content: attr(data-month);
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            background-color: var(--secondary-color);
            padding: 0 1rem;
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1.2rem;
        }
        
        /* 加载动画 */
        .loading-spinner {
            display: none;
            width: 100%;
            text-align: center;
            padding: 2rem 0;
        }
        
        .spinner {
            width: 40px;
            height: 40px;
            margin: 0 auto;
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        @media (max-width: 992px) {
            .hero-section {
                height: 600px;
            }
            
            .hero-title {
                font-size: 2.8rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
        }
        
        @media (max-width: 768px) {
            .hero-section {
                height: 500px;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .btn-hero {
                display: block;
                width: 80%;
                margin: 0 auto 15px;
            }
            
            .filter-section .col-md-3 {
                margin-bottom: 1rem;
            }
            
            .game-card-body {
                padding: 1.5rem;
            }
            
            .platform-filter-container {
                justify-content: center;
            }
            
            .month-section-title {
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.8rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .navbar-brand {
                font-size: 1.4rem;
            }
            
            .month-section-title {
                font-size: 1.3rem;
            }
        }