/* CSS Document */

  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            color: #fff;
            min-height: 100vh;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }
        
        /* 动态背景效果 */
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 10% 20%, rgba(255, 94, 247, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(12, 232, 255, 0.1) 0%, transparent 20%);
            z-index: -1;
        }
        
        /* 标题样式 */
        .page-title {
            text-align: center;
            font-size: 36px;
            margin: 20px 0 30px;
            text-transform: uppercase;
            letter-spacing: 3px;
            background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
            position: relative;
        }
        
        .page-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 3px;
            background: linear-gradient(90deg, transparent, #ff0080, #40e0d0, transparent);
        }
        
        /* 查询区域样式 */
        .query-section {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 20px;
            margin: 0 auto 30px;
            max-width: 800px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .query-section p {
            text-align: center;
            margin-bottom: 15px;
            color: #e0e0e0;
        }
        
        /* 选择框样式 */
        select {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: #fff;
            padding: 8px 15px;
            margin: 0 10px;
            outline: none;
            transition: all 0.3s;
        }
        
        select:focus {
            border-color: #ff0080;
            box-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
        }
        
        /* 查询按钮样式 */
        .query-btn {
            display: inline-block;
            background: linear-gradient(90deg, #ff0080, #ff8c00);
            color: white;
            padding: 8px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            margin-left: 15px;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(255, 0, 128, 0.4);
        }
        
        .query-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 0, 128, 0.6);
        }
        
        /* 排行榜容器 */
        .ranking-container {
            max-width: 900px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        /* 表格样式 */
        table {
            width: 100%;
            border-collapse: collapse;
            position: relative;
        }
        
        th {
            background: linear-gradient(90deg, rgba(255, 0, 128, 0.7), rgba(255, 140, 0, 0.7));
            padding: 15px 10px;
            text-align: center;
            font-size: 18px;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
        }
        
        /* 添加竖排线条 */
        th:not(:last-child)::after,
        td:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            height: 60%;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
        }
        
        td {
            padding: 15px 10px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            position: relative;
        }
        
        tr:hover td {
            background: rgba(255, 255, 255, 0.05);
            transform: scale(1.01);
        }
        
        /* 排名样式 */
        .rank-1 {
            background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
            position: relative;
            overflow: hidden;
        }
        
        .rank-1::before {
            content: '??';
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 24px;
        }
        
        .rank-1 td:first-child {
            font-weight: bold;
            color: #ffd700;
            font-size: 20px;
        }
        
        /* 名字样式 */
        .player-name {
            font-weight: bold;
            font-size: 18px;
            text-shadow: 0 0 10px rgba(255, 0, 128, 0.7);
        }
        
        /* 职业样式 */
        .class-swordsman {
            color: #ff4d4d;
            font-weight: bold;
        }
        
        /* 派别样式 */
        .faction-evil {
            color: #ff4d4d;
        }
        
        .faction-good {
            color: #4da6ff;
        }
        
        /* 武勋值样式 */
        .merit-value {
            font-weight: bold;
            color: #ffd700;
            font-size: 18px;
        }
        
        /* 底部装饰 */
        .ranking-footer {
            height: 10px;
            background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0);
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .page-title {
                font-size: 28px;
            }
            
            .query-section {
                padding: 15px;
            }
            
            select {
                display: block;
                width: 100%;
                margin: 10px 0;
            }
            
            .query-btn {
                display: block;
                width: 100%;
                margin: 15px 0 0;
                text-align: center;
            }
            
            th, td {
                padding: 10px 5px;
                font-size: 14px;
            }
            
            /* 在移动设备上隐藏部分竖线 */
            th:not(:first-child):not(:last-child)::after,
            td:not(:first-child):not(:last-child)::after {
                display: none;
            }
        }

        .footer {
            text-align: center;
            margin-top: 40px;
            padding: 20px;
            color: #8a8aff;
            font-size: 14px;
        }