/* 基础样式 */
        :root {
            --primary-color: #241c03;
            --secondary-color: #daa520;
            --dark-bg: #f8f8f4;
            --light-bg: #fcfcfc;
            --text-color: #333;
            --border-color: #d4af37;
            --gold-light: #ffd700;
            --gold-dark: #b8860b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        .page-icon {
            width: 40px;  /* 可以任意调整大小 */
            height: 40px;
            margin-right: 15px;
            vertical-align: middle;
        }

        /* 背景图片样式 */
        .background-image {
            position: fixed;
            top: 100px;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../image/bj1.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: -1;
        }

        /* 移除原来body的背景样式 */
        body {
            position: relative;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 头部样式 */
        header {
            background: linear-gradient(to bottom, #e73d3d, #221313);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        
        
        nav ul {
            display: flex;
            list-style: none;
            margin-left: -800px; /* 向左移动20像素 */
        }
        
        nav ul li {
            margin-left: 20px;
        }
        
        nav ul li a {
            color: aliceblue;
            text-decoration: none;
            font-size: 18px;
            padding: 8px 15px;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
        }
        
        nav ul li a:hover, nav ul li a.active {
            background-color: rgb(248, 247, 247);
            color: rgb(8, 8, 8);
            box-shadow: 0 15px 30px rgb(252, 252, 252);
        }
        
        /* 页面内容样式 */
        .page {
            display: none;
            min-height: 70vh;
        }
        
        .page.active {
            margin-top: 200px;
            display: block;
        }
        
        .section-title {
            display: flex;
            align-items: center;      /* 垂直居中对齐 */
            justify-content: center;  /* 水平居中对齐 */
            gap: 5px;
            margin-top: 30px;
        }

        .section-title img {
            width: 40px;
            height: 40px;
            object-fit: contain;     /* 保持图片比例 */
        }

        .section-title h3 {
            margin: 0;               /* 清除默认边距 */
            display: flex;
            align-items: center;
        }
        
        .section-title h2 {
            font-size: 32px;
            color: var(--primary-color);
            display: inline-block;
            padding-bottom: 10px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        /* 首页横幅样式 */
        .banner {
            background: linear-gradient(rgba(255,255,255,0.4), rgba(88, 7, 7, 0.4)), center center;
            background-size: cover;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            border-radius: 10px;
            margin-bottom: 30px;
        }
        
        .banner-content {
            position: relative;
            z-index: 1;
        }
        
        .banner h2 {
            font-size: 48px;
            color: var(--primary-color);
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .banner p {
            font-size: 20px;
            max-width: 700px;
            margin: 0 auto;
            color: #555;
        }
        
        /* 首页内容区域样式 */
        .home-content {
            display: flex;
            gap: 30px;
            margin-top: 40px;
            opacity: 0.95; /* 添加40%透明度 */
        }
        
        .servers-area {
            flex: 3;
            /* background-color: #fcfcfc; */
            background: linear-gradient(rgb(248, 200, 97), rgb(38, 98, 167)), center center;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .qq-group-area {
            flex: 1;
            /* background-color: var(--light-bg); */
            padding: 20px;
            text-align: center;
        }

        .qq-group-area a img:hover {
            box-shadow: 0 15px 30px rgb(23, 240, 3);
        }
        
        /* 服务器列表样式 */
        .servers {
            margin-bottom: 20px;
        }
        
        .server-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .server-card {
            background-color: rgb(250, 227, 125);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .spantext {
            display: flex;
            align-items: center;      /* 垂直居中对齐 */
            gap: 8px;                /* 图片和文字间距 */
            line-height: 1.5;
            margin-bottom: 10px;
            color: #080808;
            text-align: left;
            font-size: 14px;
        }

        .spantext img {
            width: 25px;
            height: 25px;
            object-fit: contain;     /* 保持图片比例 */
            flex-shrink: 0;          /* 防止图片被压缩 */
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: rgb(245, 53, 53);
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            text-decoration: none;
            text-align: center;
            transition: background-color 0.3s;
            font-weight: bold;
        }
        
        .btn:hover {
            background-color: var(--gold-dark);
        }
        
        .btn-play {
            width: 100%;
            margin-top: 10px;
        }
        
        /* QQ群样式 */
        .qq-group-title {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 20px;
            font-weight: bold;
        }
        
        .qq-code {
            width: 100%;
            max-width: 200px;
            margin: 0 auto 15px;
        }
        
        .qq-code img {
            width: 100%;
            border-radius: 8px;
            border: 2px solid #f5f4ef;
        }
        
        .qq-group-info {
            /* margin-bottom: 20px; */
            font-size: 14px;
            color: #666;
        }
        
        /* 游戏介绍样式 */
        .game-intro {
            margin-bottom: 50px;
            /* background-color:#fdfdfd; */
            opacity: 0.9; 
        }

        .intro-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            align-items: center;
        }
        
        .intro-text {
            line-height: 1.5;
        }
        
        .intro-text h3 {
            color:#0f0f0f;
            margin-bottom: 15px;
        }
        
        .intro-image img {
            width: 100%;
        }
        
        /* 游戏下载样式 */
        .game-download {
            /* background-color:#fcfcfc; */
            background: linear-gradient(rgb(38, 98, 167), rgb(248, 200, 97)), center center;
            padding: 30px;
            border-radius: 8px;
            margin-bottom: 50px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            opacity: 0.9; 
        }
        
        .download-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .download-card {
            background: linear-gradient(rgb(248, 200, 97), rgb(38, 98, 167)), center center;
            border-radius: 8px;
            padding: 25px;
            text-align: center;
            transition: transform 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            color: #080808;
        }
        
        .download-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        }
        
        .download-icon {
            font-size: 48px;
            margin-bottom: 15px;
        }
        
        .download-card h3 {
            margin-bottom: 15px;
        }
        
        .download-card p {
            margin-bottom: 20px;
            font-size: 14px;
        }

        .download-card a img:hover {
            box-shadow: 0 15px 30px rgb(240, 216, 3);
        }

        .download-size {
            font-size: 14px;
            margin-bottom: 20px;
        }

        .download-text{
            line-height: 1.5;
            font-size: 16px;
            margin-left: 50px;
        }

        .download-text h4{
            padding: 20px;
            line-height: 10px;
        }

        .download-text p{
            line-height: 30px;
        }
        
        /* 充值样式 */
        .recharge {
            margin-bottom: 50px;
        }
        
        .recharge-content {
            background: linear-gradient(rgb(248, 200, 97), rgb(38, 98, 167)), center center;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            opacity: 0.9;
        }
        
        .recharge-text {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            align-items: center;
            background: linear-gradient(rgb(38, 98, 167), rgb(248, 200, 97)), center center;
            padding-left: 100px;
            border-radius: 8px;
        }

        .recharge-text h4{
            padding: 20px;
            line-height: 10px;
        }

        .recharge-text p{
            line-height: 30px;
        }
        
        .recharge-form {
            max-width: 500px;
            margin: 0 auto;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--primary-color);
            font-weight: bold;
        }

        .form-group a:hover {
            box-shadow: 0 5px 20px rgb(4, 240, 248);
        }
        
        .form-control {
            width: 100%;
            padding: 12px;
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            color: var(--text-color);
        }
        
        .recharge-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .recharge-option {
            background-color: white;
            border: 2px solid var(--border-color);
            border-radius: 4px;
            padding: 15px 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .recharge-option:hover, .recharge-option.active {
            border-color: var(--primary-color);
            background-color: #f5ec9f;
        }
        
        .recharge-amount {
            font-size: 18px;
            color: var(--primary-color);
            font-weight: bold;
        }
        
        .recharge-bonus {
            font-size: 12px;
            color: #777;
            margin-top: 5px;
        }
        
        .btn-recharge {
            width: 100%;
            padding: 15px;
            font-size: 18px;
            background-color: var(--primary-color);
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
            }
            
            nav ul {
                margin-top: 15px;
            }
            
            .banner h2 {
                font-size: 36px;
            }
            
            .home-content {
                flex-direction: column;
            }
            
            .intro-content {
                grid-template-columns: 1fr;
            }
            
            .server-list {
                grid-template-columns: 1fr;
            }
        }